diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-11-20 18:33:34 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-11-20 18:33:34 +0000 |
commit | 55a1151f5bc12bd3c379fc8253ff2c75ed3db549 (patch) | |
tree | 292d61778ef51f5ea38f46b96a6234737d537ab6 /sys-apps/fcron | |
parent | initial (diff) | |
download | gentoo-2-55a1151f5bc12bd3c379fc8253ff2c75ed3db549.tar.gz gentoo-2-55a1151f5bc12bd3c379fc8253ff2c75ed3db549.tar.bz2 gentoo-2-55a1151f5bc12bd3c379fc8253ff2c75ed3db549.zip |
#8310
Diffstat (limited to 'sys-apps/fcron')
-rw-r--r-- | sys-apps/fcron/ChangeLog | 32 | ||||
-rw-r--r-- | sys-apps/fcron/fcron-2.0.0-r2.ebuild | 80 | ||||
-rw-r--r-- | sys-apps/fcron/files/crontab | 10 | ||||
-rw-r--r-- | sys-apps/fcron/files/digest-fcron-2.0.0-r2 | 1 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron.allow | 10 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron.deny | 10 |
6 files changed, 117 insertions, 26 deletions
diff --git a/sys-apps/fcron/ChangeLog b/sys-apps/fcron/ChangeLog index 0494bc0dd648..2b1334dea3d5 100644 --- a/sys-apps/fcron/ChangeLog +++ b/sys-apps/fcron/ChangeLog @@ -1,43 +1,37 @@ # ChangeLog for sys-apps/fcron # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/ChangeLog,v 1.8 2002/09/01 20:20:07 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/ChangeLog,v 1.9 2002/11/20 18:33:34 woodchip Exp $ - 1 Sep 2002; Matthew Kennedy <mkennedy@gentoo.org> - fcron-2.0.0-r1.ebuild, files/digest-fcron-2.0.0-r1, ChangeLog : +*fcron-2.0.0-r2 (20 Nov 2002) - Resolved bug #4242 (ie. vim is no longer a dependency -- vim in turn - depends on xfree86 which will surprise users when they emerge fcron) + 20 Nov 2002; Donny Davies <woodchip@gentoo.org> : Added the fcron.allow + and fcron.deny default config files; #8310. Fix empty crontabs dir. - 31 May 2002; Thilo Bangert <bangert@gentoo.org> fcron-2.0.0-r1.ebuild : + 01 Sep 2002; Matthew Kennedy <mkennedy@gentoo.org> fcron-2.0.0-r1.ebuild, + files/digest-fcron-2.0.0-r1, ChangeLog : Resolved bug #4242 (ie. vim is + no longer a dependency -- vim in turn depends on xfree86 which will + surprise users when they emerge fcron) - 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: - updated keywords (-ppc) + 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: updated keywords (-ppc) - 14 Jul 2002; phoen][x <phoenix@gentoo.org> fcron-2.0.0-r1.ebuild : - Added KEYWORDS. - fix for --path-to-editor - reported by avi schwartz - added SLOT="0" + 14 Jul 2002; phoen][x <phoenix@gentoo.org> fcron-2.0.0-r1.ebuild : Added KEYWORDS. + fix for --path-to-editor - reported by avi schwartz. added SLOT="0" 31 May 2002; Thilo Bangert <bangert@gentoo.org> fcron-2.0.0-r1.ebuild : - fix for autoconf troubles - contributed by Maik Schreiber - <bZ@iq-computing.de> + fix for autoconf troubles - by Maik Schreiber <bZ@iq-computing.de> 4 May 2002; Thilo Bangert <bangert@gentoo.org> fcron-2.0.0-r1.ebuild : added LICENSE - lintoolize - *fcron-2.0.0-r1 (20 Apr 2002) 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> files/fcron.rc6 : - added "logger hostname" to need - "backport" from app-admin/fcron/files/fcron.rc6 19 Apr 2002; Thilo Bangert <bangert@gentoo.org> files/fcron.rc6 : - added "provide cron" - 19 Apr 2002; Thilo Bangert <bangert@gentoo.org> frcon-2.0.0-r1.ebuild : - + 19 Apr 2002; Thilo Bangert <bangert@gentoo.org> frcon-2.0.0-r1.ebuild : added RDEPEND="!virtual/cron sys-apps/cronbase" and PROVIDE="virtual/cron" changed spooldir to /var/spool/cron added symlink for crontab diff --git a/sys-apps/fcron/fcron-2.0.0-r2.ebuild b/sys-apps/fcron/fcron-2.0.0-r2.ebuild new file mode 100644 index 000000000000..6e33c3b1d3d1 --- /dev/null +++ b/sys-apps/fcron/fcron-2.0.0-r2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.0-r2.ebuild,v 1.1 2002/11/20 18:33:34 woodchip Exp $ + +DESCRIPTION="A command scheduler with extended capabilities over cron and anacron" +HOMEPAGE="http://fcron.free.fr/" +KEYWORDS="x86 -ppc sparc sparc64" + +S=${WORKDIR}/${P} +SRC_URI="http://fcron.free.fr/${P}.src.tar.gz" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="virtual/glibc" +RDEPEND="!virtual/cron sys-apps/cronbase virtual/mta" +PROVIDE="virtual/cron" + +src_unpack() { + unpack ${A} ; cd ${S} + patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die "bad patchfile" + # fix LIBOBJS vs AC_LIBOBJ problem + mv configure.in configure.in~ + sed <configure.in~ >configure.in -e 's|LIBOBJS|AC_LIBOBJ|g' + autoconf || die "autoconf problem" +} + +src_compile() { + ./configure \ + --prefix=/usr \ + --with-username=cron \ + --with-groupname=cron \ + --with-piddir=/var/run \ + --with-etcdir=/etc/fcron \ + --with-spooldir=/var/spool/cron \ + --with-sendmail=/usr/sbin/sendmail \ + --with-editor=/usr/bin/nano \ + --with-cflags="${CFLAGS}" --host=${CHOST} || die "bad ./configure" + + emake || die "compile problem" +} + +src_install() { + insinto /usr/sbin + insopts -o root -g root -m 0110 ; doins fcron + insinto /usr/bin + insopts -o cron -g cron -m 6110 ; doins fcrontab + insopts -o root -g cron -m 6110 ; doins fcronsighup + + dosym fcrontab /usr/bin/crontab + + doman doc/*.{1,3,5,8} + + dodoc MANIFEST VERSION doc/{CHANGES,README,LICENSE,FAQ,INSTALL,THANKS} + newdoc ${FILESDIR}/fcron.conf fcron.conf.sample + docinto html ; dohtml doc/*.html + dodoc ${FILESDIR}/crontab + + insinto /etc/fcron + insopts -m 640 -o root -g cron + doins ${FILESDIR}/{fcron.allow,fcron.deny,fcron.conf} + + exeinto /etc/init.d + newexe ${FILESDIR}/fcron.rc6 fcron + + insinto /etc + doins ${FILESDIR}/crontab +} + +pkg_postinst() { + # empty dir + install -m0770 -o cron -g cron -d ${ROOT}/var/spool/cron/fcrontabs + + einfo + einfo "To activate /etc/cron.{hourly|daily|weekly|montly} please run: " + einfo "crontab /etc/crontab" + einfo + einfo "!!! That will replace root's current crontab !!!" + einfo +} diff --git a/sys-apps/fcron/files/crontab b/sys-apps/fcron/files/crontab index fdc6446f3931..791ee9b4d422 100644 --- a/sys-apps/fcron/files/crontab +++ b/sys-apps/fcron/files/crontab @@ -1,7 +1,6 @@ - # /etc/crontab -# 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/crontab,v 1.2 2002/04/27 21:46:45 bangert Exp $ +# +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/crontab,v 1.3 2002/11/20 18:33:34 woodchip Exp $ # fcron || dcron: # This is NOT the system crontab! fcron and dcron do not support a system crontab. @@ -9,7 +8,7 @@ # crontab /etc/crontab # as root. # NOTE: This will REPLACE root's current crontab!! - +# 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly @@ -18,6 +17,3 @@ 0 0 * * * rm -f /var/spool/cron/lastrun/cron.daily 0 0 * * 6 rm -f /var/spool/cron/lastrun/cron.weekly 0 0 1 * * rm -f /var/spool/cron/lastrun/cron.monthly - - - diff --git a/sys-apps/fcron/files/digest-fcron-2.0.0-r2 b/sys-apps/fcron/files/digest-fcron-2.0.0-r2 new file mode 100644 index 000000000000..45d732101fce --- /dev/null +++ b/sys-apps/fcron/files/digest-fcron-2.0.0-r2 @@ -0,0 +1 @@ +MD5 b20c6bc5d9435a790e5500ecb7990df8 fcron-2.0.0.src.tar.gz 144069 diff --git a/sys-apps/fcron/files/fcron.allow b/sys-apps/fcron/files/fcron.allow new file mode 100644 index 000000000000..43dec428546e --- /dev/null +++ b/sys-apps/fcron/files/fcron.allow @@ -0,0 +1,10 @@ +# /etc/fcron/fcron.allow +# +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.allow,v 1.1 2002/11/20 18:33:34 woodchip Exp $ +# +# List here every users who are allowed to use fcron/fcrontab. +# You must put one name by line. +# The word "all" means that every users that are not in fcron.deny +# are allowed to use that softwares ( should be put on the top ). + +root diff --git a/sys-apps/fcron/files/fcron.deny b/sys-apps/fcron/files/fcron.deny new file mode 100644 index 000000000000..aaa26aaee3ec --- /dev/null +++ b/sys-apps/fcron/files/fcron.deny @@ -0,0 +1,10 @@ +# /etc/fcron/fcron.deny +# +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.deny,v 1.1 2002/11/20 18:33:34 woodchip Exp $ +# +# List here every users who are not allowed to use fcron/fcrontab. +# You must put one name by line. +# The word "all" means that every users that are not in fcron.allow +# are not allowed to use that softwares ( should be put on the top ). + +all |