aboutsummaryrefslogtreecommitdiff
path: root/system
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
parenta4be51134f676962ff6b29289913fd3f04adb4f9 (diff)
system/cronie: Updated for version 1.4.9.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/cronie/README8
-rw-r--r--system/cronie/cronie.SlackBuild15
-rw-r--r--system/cronie/cronie.info6
-rw-r--r--system/cronie/crontab.root.gzbin0 -> 487 bytes
-rw-r--r--system/cronie/doinst.sh1
-rw-r--r--system/cronie/run-parts.8.gzbin0 -> 699 bytes
-rw-r--r--system/cronie/run-parts.gzbin0 -> 563 bytes
7 files changed, 20 insertions, 10 deletions
diff --git a/system/cronie/README b/system/cronie/README
index 0494ca1eea6eb..619f5743ca0f5 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 529e40cc31be2..6133b06aa5b6c 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 5e5520bcdbedb..e1cfccfc85833 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 0000000000000..599e0f1e673c9
--- /dev/null
+++ b/system/cronie/crontab.root.gz
Binary files differ
diff --git a/system/cronie/doinst.sh b/system/cronie/doinst.sh
index 542e2e7b90497..b3d680f840712 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 0000000000000..6fa2addccc18d
--- /dev/null
+++ b/system/cronie/run-parts.8.gz
Binary files differ
diff --git a/system/cronie/run-parts.gz b/system/cronie/run-parts.gz
new file mode 100644
index 0000000000000..b98263aa3fbfe
--- /dev/null
+++ b/system/cronie/run-parts.gz
Binary files differ