diff options
Diffstat (limited to 'sys-apps/vcron')
-rw-r--r-- | sys-apps/vcron/ChangeLog | 28 | ||||
-rw-r--r-- | sys-apps/vcron/files/crontab | 15 | ||||
-rw-r--r-- | sys-apps/vcron/files/digest-vcron-3.0.1-r1 | 1 | ||||
-rw-r--r-- | sys-apps/vcron/files/vcron.rc6 | 3 | ||||
-rw-r--r-- | sys-apps/vcron/vcron-3.0.1-r1.ebuild | 60 |
5 files changed, 100 insertions, 7 deletions
diff --git a/sys-apps/vcron/ChangeLog b/sys-apps/vcron/ChangeLog index 549b7f9a5b3d..e53d65152873 100644 --- a/sys-apps/vcron/ChangeLog +++ b/sys-apps/vcron/ChangeLog @@ -1,17 +1,33 @@ # ChangeLog for sys-apps/vcron # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/vcron/ChangeLog,v 1.2 2002/04/20 12:07:13 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/vcron/ChangeLog,v 1.3 2002/04/20 22:03:25 bangert Exp $ + + +*vcron-3.0.1-r1 (20 Apr 2002) + + 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> files/crontab : + + added own crontab + fixed path to suit /var/spool/cron/lastrun + added support for /etc/cron.hourly + + 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> vcron-3.0.1.ebuild : + + added PROVIDE="virtual/cron" && RDEPEND="virtual/cron" + removed code duplication + install own version of /etc/crontab + rdepend on sys-apps/cronbase and virtual/mta + + 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> files/vcron.rc6 : + + added "provide cron" 20 April 2002; Martin Schlemmer <azarah@gentoo.org> files/vcron.rc6 : Update to NEED "logger" + *vcron-3.0.1 (1 Feb 2002) 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : - Added initial ChangeLog which should be updated whenever the package is - updated in any way. This changelog is targetted to users. This means that the - comments should well explained and written in clean English. The details about - writing correct changelogs are explained in the skel.ChangeLog file which you - can find in the root directory of the portage repository. diff --git a/sys-apps/vcron/files/crontab b/sys-apps/vcron/files/crontab new file mode 100644 index 000000000000..64619cb94cdb --- /dev/null +++ b/sys-apps/vcron/files/crontab @@ -0,0 +1,15 @@ +# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly +# for vixie cron +# remember to give cron a sighup when updating this file +# +# $ Header: $ +# +# +*/15 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons +0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly +0 0 * * * root rm -f /var/spool/cron/lastrun/cron.daily +0 0 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly +0 0 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly + + + diff --git a/sys-apps/vcron/files/digest-vcron-3.0.1-r1 b/sys-apps/vcron/files/digest-vcron-3.0.1-r1 new file mode 100644 index 000000000000..730747648de8 --- /dev/null +++ b/sys-apps/vcron/files/digest-vcron-3.0.1-r1 @@ -0,0 +1 @@ +MD5 369390355808fcf947cd2f9847f88859 vixie-cron-3.0.1.tar.bz2 50376 diff --git a/sys-apps/vcron/files/vcron.rc6 b/sys-apps/vcron/files/vcron.rc6 index 3f483c4807fe..e5641c94f8e1 100644 --- a/sys-apps/vcron/files/vcron.rc6 +++ b/sys-apps/vcron/files/vcron.rc6 @@ -1,10 +1,11 @@ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/vcron/files/vcron.rc6,v 1.4 2002/04/20 12:07:13 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/vcron/files/vcron.rc6,v 1.5 2002/04/20 22:03:25 bangert Exp $ depend() { need clock localmount logger + provide cron } start() { diff --git a/sys-apps/vcron/vcron-3.0.1-r1.ebuild b/sys-apps/vcron/vcron-3.0.1-r1.ebuild new file mode 100644 index 000000000000..51366a7708f3 --- /dev/null +++ b/sys-apps/vcron/vcron-3.0.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Martin Schlemmer <azarah@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/vcron/vcron-3.0.1-r1.ebuild,v 1.1 2002/04/20 22:03:25 bangert Exp $ + +MY_P=${P/vcron/vixie-cron} +S=${WORKDIR}/${MY_P} +DESCRIPTION="The Vixie cron daemon" +SRC_URI="ftp://ftp.vix.com/pub/vixie/${MY_P}.tar.bz2" + +DEPEND="virtual/glibc" + +RDEPEND="!virtual/cron + sys-apps/cronbase + virtual/mta" +PROVIDE="virtual/cron" + +src_unpack() { + + unpack ${A} + + cd ${S} + patch -p1 < ${FILESDIR}/${MY_P}-gentoo.patch || die + + cp Makefile Makefile.orig + sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile +} + +src_compile() { + + emake || die +} + +src_install() { + + diropts -m0750 -o root -g cron + dodir /var/spool/cron/crontabs + + doman crontab.1 crontab.5 cron.8 + + dodoc CHANGES CONVERSION FEATURES MAIL MANIFEST README THANKS + + diropts -m0755 ; dodir /etc/cron.d + touch ${D}/etc/cron.d/.keep + + exeinto /etc/init.d + newexe ${FILESDIR}/vcron.rc6 vcron + + insinto /etc + doins ${FILESDIR}/crontab + + dodoc ${FILESDIR}/crontab + + insinto /usr/sbin + insopts -o root -g root -m 0750 ; doins cron + + insinto /usr/bin + insopts -o root -g cron -m 4750 ; doins crontab + +} |