diff options
Diffstat (limited to 'system/cronie')
-rw-r--r-- | system/cronie/README | 8 | ||||
-rw-r--r-- | system/cronie/cronie.SlackBuild | 15 | ||||
-rw-r--r-- | system/cronie/cronie.info | 6 | ||||
-rw-r--r-- | system/cronie/crontab.root.gz | bin | 0 -> 487 bytes | |||
-rw-r--r-- | system/cronie/doinst.sh | 1 | ||||
-rw-r--r-- | system/cronie/run-parts.8.gz | bin | 0 -> 699 bytes | |||
-rw-r--r-- | system/cronie/run-parts.gz | bin | 0 -> 563 bytes |
7 files changed, 20 insertions, 10 deletions
diff --git a/system/cronie/README b/system/cronie/README index 0494ca1eea6e..619f5743ca0f 100644 --- a/system/cronie/README +++ b/system/cronie/README @@ -3,16 +3,16 @@ 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. -By default this SlackBuild will include anacron in the package. If you do want -this, pass ANACRON=no to the SlackBuild. +By default this SlackBuild will include anacron in the package. If you +don't want this, pass ANACRON=no to the SlackBuild. Note that Slackware has dcron - Dillon's Cron daemon. This package will conflict with this package. It is advised to remove dcron before installing cronie: Stop the dcron daemon: - # ps x | grep cron - # kill <cron_pid> + # pgrep crond + # kill <crond_pid> Remove the dcron package: # removepkg dcron # rm -rf /var/spool/cron diff --git a/system/cronie/cronie.SlackBuild b/system/cronie/cronie.SlackBuild index 529e40cc31be..6133b06aa5b6 100644 --- a/system/cronie/cronie.SlackBuild +++ b/system/cronie/cronie.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cronie -# Copyright 2012 Chris Abela, Malta +# Copyright 2012, 2013 Chris Abela, Malta # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cronie -VERSION=${VERSION:-1.4.8} +VERSION=${VERSION:-1.4.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -96,10 +96,19 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/etc/cron.d # The absence of this directory would be logged # These will allow non-privileged users to run crontab -chmod 4755 $PKG/usr/bin/crontab +chmod 4711 $PKG/usr/bin/crontab touch $PKG/etc/cron.deny.new chmod 600 $PKG/etc/cron.deny.new +# These are copied from Slackware's dcron.SlackBuild +zcat $CWD/run-parts.gz > $PKG/usr/bin/run-parts +cat $CWD/run-parts.8.gz > $PKG/usr/man/man8/run-parts.8.gz +mkdir -p $PKG/etc/cron.{hourly,daily,weekly,monthly} +mkdir -p $PKG/var/spool/cron/ +chmod 0700 $PKG/var/spool/cron/ +zcat $CWD/crontab.root.gz > $PKG/var/spool/cron/root.new +chmod 0600 $PKG/var/spool/cron/root.new + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING ChangeLog INSTALL README \ diff --git a/system/cronie/cronie.info b/system/cronie/cronie.info index 5e5520bcdbed..e1cfccfc8583 100644 --- a/system/cronie/cronie.info +++ b/system/cronie/cronie.info @@ -1,8 +1,8 @@ PRGNAM="cronie" -VERSION="1.4.8" +VERSION="1.4.9" HOMEPAGE="https://fedorahosted.org/cronie/" -DOWNLOAD="https://fedorahosted.org/releases/c/r/cronie/cronie-1.4.8.tar.gz" -MD5SUM="9b1d2ce6db8d1883e06635f437170657" +DOWNLOAD="https://fedorahosted.org/releases/c/r/cronie/cronie-1.4.9.tar.gz" +MD5SUM="9133195e5e6f824ef460f5ccc533f1b7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/system/cronie/crontab.root.gz b/system/cronie/crontab.root.gz Binary files differnew file mode 100644 index 000000000000..599e0f1e673c --- /dev/null +++ b/system/cronie/crontab.root.gz diff --git a/system/cronie/doinst.sh b/system/cronie/doinst.sh index 542e2e7b9049..b3d680f84071 100644 --- a/system/cronie/doinst.sh +++ b/system/cronie/doinst.sh @@ -8,4 +8,5 @@ config() { fi } +config var/spool/cron/root.new config etc/cron.deny.new diff --git a/system/cronie/run-parts.8.gz b/system/cronie/run-parts.8.gz Binary files differnew file mode 100644 index 000000000000..6fa2addccc18 --- /dev/null +++ b/system/cronie/run-parts.8.gz diff --git a/system/cronie/run-parts.gz b/system/cronie/run-parts.gz Binary files differnew file mode 100644 index 000000000000..b98263aa3fbf --- /dev/null +++ b/system/cronie/run-parts.gz |