summaryrefslogtreecommitdiff
path: root/system/cronie/cronie.SlackBuild
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2013-06-20 23:00:35 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-20 23:00:35 -0300
commit4b0e471e5ee7ae2a63984f856ed54ab86b71f6f9 (patch)
tree0902040e28c6290ddad6c6fe2e250d5e531f9645 /system/cronie/cronie.SlackBuild
parenta4be51134f676962ff6b29289913fd3f04adb4f9 (diff)
downloadslackbuilds-4b0e471e5ee7ae2a63984f856ed54ab86b71f6f9.tar.gz
system/cronie: Updated for version 1.4.9.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/cronie/cronie.SlackBuild')
-rw-r--r--system/cronie/cronie.SlackBuild15
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 \