PN: cronie
PV: 1.7.2
PR: r0
PKGV: 1.7.2
PKGR: r0@EXTENDPRAUTO@
LICENSE: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND ISC
DESCRIPTION: Cronie contains the standard UNIX daemon crond that runs specified programs at scheduled times and related tools. It is based on the original cron and has security and configuration enhancements like the ability to use pam and SELinux.
SUMMARY: Cron daemon for executing programs at set times
RDEPENDS:cronie: base-files base-passwd initd-functions shadow glibc (>= 2.44+git0+34106fee69)
RRECOMMENDS:cronie:  update-rc.d
SECTION: utils
PKG:cronie: cronie
FILES:cronie: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.*             /etc /com /var             /bin/* /sbin/*             /lib/*.so.*             /lib/udev /usr/lib/udev             /lib/udev /usr/lib/udev             /usr/share/cronie /usr/lib/cronie/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib/bonobo/servers /etc/cron*
CONFFILES:cronie:  /etc/crontab
FILES_INFO:cronie: {"/etc/cron.deny": 0, "/etc/crontab": 653, "/etc/init.d/crond": 1235, "/etc/sysconfig/crond": 110, "/usr/bin/cronnext": 30400, "/usr/bin/crontab": 34468, "/usr/sbin/crond": 42660}
pkg_postinst:cronie: #!/bin/sh\nset -e\nif true && type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-r $D"\n\telse\n\t\tOPT="-s"\n\tfi\n\tupdate-rc.d $OPT crond start 90 2 3 4 5 . stop 60 0 1 6 .\nfi\n
pkg_postrm:cronie: #!/bin/sh\nset -e\nif true && type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-f -r $D"\n\telse\n\t\tOPT="-f"\n\tfi\n\tupdate-rc.d $OPT crond remove\nfi\n
pkg_preinst:cronie: #!/bin/sh\nset -e\nbbnote () {\n\techo "NOTE: $*"\n}\nbbwarn () {\n\techo "WARNING: $*"\n}\nbbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\nperform_groupadd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "cronie: Performing groupadd with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ print $NF }'`\n\tlocal group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\tif test "x$group_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupadd \\$opts\\" || true\n\t\tgroup_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\t\tif test "x$group_exists" = "x"; then\n\t\t\tbbfatal "cronie: groupadd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "cronie: group $groupname already exists, not re-creating it"\n\tfi\n}\nperform_useradd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "cronie: Performing useradd with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c  \\"$PSEUDO useradd \\$opts\\" || true\n\t\tuser_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\t\tif test "x$user_exists" = "x"; then\n\t\t\tbbfatal "cronie: useradd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "cronie: user $username already exists, not re-creating it"\n\tfi\n}\nperform_usermod () {\n\t# Same reason with groupmod, temporarily disable -e option\n\tset +e\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "cronie: Performing usermod with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" != "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO usermod \\$opts\\"\n\t\tif test $? != 0; then\n\t\t\tbbfatal "cronie: usermod command did not succeed."\n\t\tfi\n\telse\n\t\tbbwarn "cronie: user $username doesn't exist, unable to modify it"\n\tfi\n\tset -e\n}\nOPT=""\nSYSROOT=""\n\nif test "x$D" != "x"; then\n\t# Installing into a sysroot\n\tSYSROOT="$D"\n\tOPT="--prefix $D"\n\n\t# Make sure login.defs is there, this is to make debian package backend work\n\t# correctly while doing rootfs.\n\t# The problem here is that if /etc/login.defs is treated as a config file for\n\t# shadow package, then while performing preinsts for packages that depend on\n\t# shadow, there might only be /etc/login.def.dpkg-new there in root filesystem.\n\tif [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then\n\t\tcp $D/etc/login.defs.dpkg-new $D/etc/login.defs\n\tfi\n\n\t# opkg/dpkg run preinsts before shadow's postinst has run pwconv/grpconv\n\tif test "x$UA_SYSROOT" = "x" -a -e $D/etc/login.defs; then\n\t\t# image rootfs only; on deb, packages unpacked before shadow keep the old behaviour\n\t\tif [ ! -e $D/etc/shadow ]; then\n\t\t\tpwconv --root $D || exit 1\n\t\tfi\n\t\tif [ ! -e $D/etc/gshadow ]; then\n\t\t\tgrpconv --root $D || exit 1\n\t\tfi\n\tfi\n\n\t# user/group lookups should match useradd/groupadd --prefix\n\texport PSEUDO_PASSWD="$SYSROOT"\nfi\n\n# If we're not doing a special SSTATE/SYSROOT install\n# then set the values, otherwise use the environment\nif test "x$UA_SYSROOT" = "x"; then\n\t# Installing onto a target\n\t# Add groups and users defined only for this package\n\tGROUPADD_PARAM="--system crontab"\n\tUSERADD_PARAM=""\n\tUSERMOD_PARAM=""\nfi\n\n# Perform group additions first, since user additions may depend\n# on these groups existing\nif test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupadd commands..."\n\t# Invoke multiple instances of groupadd for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupadd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running useradd commands..."\n\t# Invoke multiple instances of useradd for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_useradd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERMOD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running usermod commands..."\n\t# Invoke multiple instances of usermod for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERMOD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERMOD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_usermod "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n
pkg_prerm:cronie: #!/bin/sh\nset -e\nif true && [ -z "$D" -a -x "/etc/init.d/crond" ]; then\n\t/etc/init.d/crond stop || :\nfi\n
FILERDEPENDSFLIST:cronie: /etc/init.d/crond /usr/bin/cronnext /usr/bin/crontab /usr/sbin/crond
FILERDEPENDS:/etc/init.d/crond:cronie:  /bin/sh
FILERDEPENDS:/usr/bin/cronnext:cronie:  libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6 ld-linux-armhf.so.3 rtld(GNU_HASH) ld-linux-armhf.so.3(GLIBC_2.4)
FILERDEPENDS:/usr/bin/crontab:cronie:  rtld(GNU_HASH) ld-linux-armhf.so.3 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.38) ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6
FILERDEPENDS:/usr/sbin/crond:cronie:  libc.so.6(GLIBC_2.38) ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.34) libc.so.6 ld-linux-armhf.so.3 rtld(GNU_HASH)
PKGSIZE:cronie: 109526
