mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/cronie: Updated for version 1.4.9.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
a4be51134f
commit
4b0e471e5e
7 changed files with 20 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
BIN
system/cronie/crontab.root.gz
Normal file
BIN
system/cronie/crontab.root.gz
Normal file
Binary file not shown.
|
@ -8,4 +8,5 @@ config() {
|
|||
fi
|
||||
}
|
||||
|
||||
config var/spool/cron/root.new
|
||||
config etc/cron.deny.new
|
||||
|
|
BIN
system/cronie/run-parts.8.gz
Normal file
BIN
system/cronie/run-parts.8.gz
Normal file
Binary file not shown.
BIN
system/cronie/run-parts.gz
Normal file
BIN
system/cronie/run-parts.gz
Normal file
Binary file not shown.
Loading…
Reference in a new issue