diff options
author | Preston A. Elder <prez@gentoo.org> | 2003-01-31 17:17:13 +0000 |
---|---|---|
committer | Preston A. Elder <prez@gentoo.org> | 2003-01-31 17:17:13 +0000 |
commit | eed3bedd8c697a2f97300a530384bef9baaf7f3b (patch) | |
tree | a0205614b42be32047df9364544440cb3a916629 /sys-apps/cronbase | |
parent | doc fixes (diff) | |
download | gentoo-2-eed3bedd8c697a2f97300a530384bef9baaf7f3b.tar.gz gentoo-2-eed3bedd8c697a2f97300a530384bef9baaf7f3b.tar.bz2 gentoo-2-eed3bedd8c697a2f97300a530384bef9baaf7f3b.zip |
Up'd the month delay time from 30 -> 31 days. Bug #14862
Diffstat (limited to 'sys-apps/cronbase')
-rw-r--r-- | sys-apps/cronbase/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/cronbase/cronbase-0.2.1-r2.ebuild | 26 | ||||
-rw-r--r-- | sys-apps/cronbase/files/digest-cronbase-0.2.1-r2 | 0 | ||||
-rw-r--r-- | sys-apps/cronbase/files/run-crons | 16 |
4 files changed, 42 insertions, 11 deletions
diff --git a/sys-apps/cronbase/ChangeLog b/sys-apps/cronbase/ChangeLog index 37b4eb739c4f..f74b8cc27075 100644 --- a/sys-apps/cronbase/ChangeLog +++ b/sys-apps/cronbase/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for sys-apps/cronbase # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/ChangeLog,v 1.12 2003/01/23 04:19:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/ChangeLog,v 1.13 2003/01/31 17:17:13 prez Exp $ + +*cronbase-0.2.1-r2 (31 Jan 2003) + + 31 Jan 2003 Preston A. Elder <prez@gentoo.org> run-crons : + Chaged month delay from 30 to 31 days, as per Bug #14862 - 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - *cronbase-0.2.1-r1 (13 Nov 2002) 22 Jan 2003; Mike Frysinger <vapier@gentoo.org> : @@ -12,6 +15,8 @@ 19 Jan 2003; Jan Seidel <tuxus@gentoo.org> : Added mips to keywords + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + 13 Nov 2002; Donny Davies <woodchip@gentoo.org> run-crons : Fix #10409. *cronbase-0.2.1 (27 Jun 2002) diff --git a/sys-apps/cronbase/cronbase-0.2.1-r2.ebuild b/sys-apps/cronbase/cronbase-0.2.1-r2.ebuild new file mode 100644 index 000000000000..032f1361f516 --- /dev/null +++ b/sys-apps/cronbase/cronbase-0.2.1-r2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/cronbase-0.2.1-r2.ebuild,v 1.1 2003/01/31 17:17:13 prez Exp $ + +DESCRIPTION="The is the base for all cron ebuilds." +HOMEPAGE="http://www.gentoo.org/" + +KEYWORDS="x86 ppc sparc alpha mips" +SLOT="0" +LICENSE="GPL-2" + +src_install() { + exeinto /usr/sbin + doexe ${FILESDIR}/run-crons + + diropts -m0750; keepdir /etc/cron.hourly + diropts -m0750; keepdir /etc/cron.daily + diropts -m0750; keepdir /etc/cron.weekly + diropts -m0750; keepdir /etc/cron.monthly + + diropts -m0750 -o root -g cron; keepdir /var/spool/cron + + diropts -m0750; keepdir /var/spool/cron/lastrun + + dodoc ${FILESDIR}/README +} diff --git a/sys-apps/cronbase/files/digest-cronbase-0.2.1-r2 b/sys-apps/cronbase/files/digest-cronbase-0.2.1-r2 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/sys-apps/cronbase/files/digest-cronbase-0.2.1-r2 diff --git a/sys-apps/cronbase/files/run-crons b/sys-apps/cronbase/files/run-crons index 8455a6b96562..647c18fa0999 100644 --- a/sys-apps/cronbase/files/run-crons +++ b/sys-apps/cronbase/files/run-crons @@ -1,6 +1,6 @@ #!/bin/sh # -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/files/run-crons,v 1.7 2002/11/13 05:10:55 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/files/run-crons,v 1.8 2003/01/31 17:17:13 prez Exp $ # # 23 Jun 2002; Jon Nelson <jnelson@gentoo.org> run-crons: # @@ -33,17 +33,17 @@ do then case $BASE in hourly) - #>= 65 min -=> +64 min - TIME="-cmin +64" ;; + #>= 1 hour, 5 min -=> +65 min + TIME="-cmin +65" ;; daily) - #>= 1 day, 5 min -=> +1444 min - TIME="-cmin +1444" ;; + #>= 1 day, 5 min -=> +1445 min + TIME="-cmin +1445" ;; weekly) - #>= 1 week, 5 min -=> +10084 min + #>= 1 week, 5 min -=> +10085 min TIME="-cmin +10085" ;; monthly) - #>= 30 days, 5 min -=> +43204 min - TIME="-cmin +43204" ;; + #>= 31 days, 5 min -=> +44645 min + TIME="-cmin +44645" ;; esac find /var/spool/cron/lastrun -name cron.$BASE $TIME -exec rm {} \; fi |