[Lunar-commits] CVS: moonbase/utils/vixie-cron BUILD, 1.1,
1.2 DEPENDS, 1.1, 1.2 DETAILS, 1.3, 1.4 crontab, 1.2, 1.3
Stefan Wold
ratler at lunar-linux.org
Tue Feb 22 14:25:43 UTC 2005
Update of /var/cvs/lunar/moonbase/utils/vixie-cron
In directory espresso.foo-projects.org:/tmp/cvs-serv19117
Modified Files:
BUILD DEPENDS DETAILS crontab
Log Message:
Reworked vixie-cron. Now supports pam and get a proper /etc/crontab installed. Version bumped to 4.1
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/vixie-cron/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD 1 Mar 2003 06:55:09 -0000 1.1
+++ BUILD 22 Feb 2005 14:25:41 -0000 1.2
@@ -1,27 +1,25 @@
(
+ unpack $SOURCE2 &&
+ patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-crond.patch 1 &&
+ patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-Makefile.patch 1 &&
+ patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-pathnames.patch 1 &&
+ patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-vfork.patch 1 &&
+ patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-saveuid.patch 1 &&
+ patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-man.patch 1 &&
+
+ if module_installed Linux-PAM; then
+ patch_it $MODULE-patches-$PVERSION/$MODULE-$VERSION-pam.patch 1
+ fi &&
make &&
prepare_install &&
make install &&
+ install -c -m 755 $MODULE-patches-$PVERSION/run-parts /usr/bin/ &&
+
mkdir -p /etc/cron.daily /etc/cron.hourly /etc/cron.d\
/etc/cron.monthly /etc/cron.weekly &&
- if [ ! -e /etc/crontab ]; then
- install -m600 $SCRIPT_DIRECTORY/crontab /etc/crontab
- fi &&
-
- mkdir -p /var/cache/locate &&
- if [ -f /var/cache/locatedb ] ; then
- mv /var/cache/locatedb /var/cache/locate/locatedb
- fi &&
- if [ -e "/etc/init.d/crond.sh" ]; then
- rm -f /etc/init.d/crond.sh
- rm -f /etc/rc?.d/???crond.sh
- fi &&
-
- if [ -e "/usr/man/man?/cron*" ]; then
- rm -f /usr/man/man?/cron*
- fi
+ install -c -m 600 $SCRIPT_DIRECTORY/crontab /etc/crontab
) > $C_FIFO 2>&1
Index: DEPENDS
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/vixie-cron/DEPENDS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- DEPENDS 1 Mar 2003 06:55:09 -0000 1.1
+++ DEPENDS 22 Feb 2005 14:25:41 -0000 1.2
@@ -1,2 +1,3 @@
depends chkconfig &&
-depends mailx
+depends mailx &&
+optional_depends "Linux-PAM" "" "" "for PAM support"
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/vixie-cron/DETAILS,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- DETAILS 5 Oct 2004 09:30:20 -0000 1.3
+++ DETAILS 22 Feb 2005 14:25:41 -0000 1.4
@@ -1,10 +1,16 @@
MODULE=vixie-cron
- VERSION=3.0.1
- SOURCE=$MODULE-$VERSION.tar.gz
- SOURCE_URL[0]=$LRESORT_URL/
+ VERSION=4.1
+ PVERSION=1.0
+ SOURCE=$MODULE-$VERSION.tar.bz2
+ SOURCE2=$MODULE-patches-$PVERSION.tar.bz2
+ SOURCE_URL=http://lunar-linux.org/lunar/mirrors/
+ SOURCE2_URL=$PATCH_URL/
+ SOURCE_VFY=sha1:e353e13ef889fd27a8e52616a552fad64049aa6e
+ SOURCE2_VFY=sha1:72d25df48306ac0afdf720c43e736249cc5a1894
WEB_SITE=unknown
+ MAINTAINER=ratler at lunar-linux.org
ENTERED=20030301
- UPDATED=20030301
+ UPDATED=20050222
SHORT="vixie-cron is a periodic scheduler"
cat << EOF
This is a version of 'cron' that is known to run on linux systems.
Index: crontab
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/vixie-cron/crontab,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- crontab 16 Dec 2003 13:08:49 -0000 1.2
+++ crontab 22 Feb 2005 14:25:41 -0000 1.3
@@ -3,7 +3,12 @@
#
# see man crontab(5) for more information about this file.
#
- at hourly root for i in /etc/cron.hourly/* ; do $i ; done > /dev/null 2>&1
- at daily root for d in /etc/cron.daily/* ; do $d ; done > /dev/null 2>&1
- at weekly root for w in /etc/cron.weekly/* ; do $w ; done > /dev/null 2>&1
- at monthly root for m in /etc/cron.monthly/* ; do $m ; done > /dev/null 2>&1
+SHELL=/bin/bash
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+MAILTO=root
+HOME=/
+
+0 * * * * root run-parts /etc/cron.hourly
+0 0 * * * root run-parts /etc/cron.daily
+0 0 * * 0 root run-parts /etc/cron.weekly
+0 0 1 * * root run-parts /etc/cron.monthly
More information about the Lunar-commits
mailing list