From 4b0e471e5ee7ae2a63984f856ed54ab86b71f6f9 Mon Sep 17 00:00:00 2001 From: Chris Abela Date: Thu, 20 Jun 2013 23:00:35 -0300 Subject: system/cronie: Updated for version 1.4.9. Signed-off-by: Niels Horn --- system/cronie/README | 8 ++++---- system/cronie/cronie.SlackBuild | 15 ++++++++++++--- system/cronie/cronie.info | 6 +++--- system/cronie/crontab.root.gz | Bin 0 -> 487 bytes system/cronie/doinst.sh | 1 + system/cronie/run-parts.8.gz | Bin 0 -> 699 bytes system/cronie/run-parts.gz | Bin 0 -> 563 bytes 7 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 system/cronie/crontab.root.gz create mode 100644 system/cronie/run-parts.8.gz create mode 100644 system/cronie/run-parts.gz (limited to 'system/cronie') diff --git a/system/cronie/README b/system/cronie/README index 0494ca1eea..619f5743ca 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 + # pgrep crond + # kill Remove the dcron package: # removepkg dcron # rm -rf /var/spool/cron 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 \ diff --git a/system/cronie/cronie.info b/system/cronie/cronie.info index 5e5520bcdb..e1cfccfc85 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 new file mode 100644 index 0000000000..599e0f1e67 Binary files /dev/null and b/system/cronie/crontab.root.gz differ diff --git a/system/cronie/doinst.sh b/system/cronie/doinst.sh index 542e2e7b90..b3d680f840 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 new file mode 100644 index 0000000000..6fa2addccc Binary files /dev/null and b/system/cronie/run-parts.8.gz differ diff --git a/system/cronie/run-parts.gz b/system/cronie/run-parts.gz new file mode 100644 index 0000000000..b98263aa3f Binary files /dev/null and b/system/cronie/run-parts.gz differ -- cgit v1.2.3