diff options
Diffstat (limited to 'system/cronie/cronie.SlackBuild')
-rw-r--r-- | system/cronie/cronie.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/system/cronie/cronie.SlackBuild b/system/cronie/cronie.SlackBuild index 529e40cc31..6133b06aa5 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 \ |