diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-04 23:54:02 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-04 23:54:02 +0000 |
commit | b0a59d620173e3ac6138935c06fe3cde1a12074d (patch) | |
tree | 272c7b9e3a85a5f2556284fb4c0937b0052e5cba /sys-apps | |
parent | Manifest recommit (diff) | |
download | gentoo-2-b0a59d620173e3ac6138935c06fe3cde1a12074d.tar.gz gentoo-2-b0a59d620173e3ac6138935c06fe3cde1a12074d.tar.bz2 gentoo-2-b0a59d620173e3ac6138935c06fe3cde1a12074d.zip |
Moved to sys-process/fcron.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/fcron/ChangeLog | 188 | ||||
-rw-r--r-- | sys-apps/fcron/Manifest | 27 | ||||
-rw-r--r-- | sys-apps/fcron/fcron-2.0.2.ebuild | 111 | ||||
-rw-r--r-- | sys-apps/fcron/fcron-2.9.5.1-r2.ebuild | 104 | ||||
-rw-r--r-- | sys-apps/fcron/fcron-2.9.5.1.ebuild | 126 | ||||
-rw-r--r-- | sys-apps/fcron/files/crontab | 19 | ||||
-rw-r--r-- | sys-apps/fcron/files/digest-fcron-2.0.2 | 1 | ||||
-rw-r--r-- | sys-apps/fcron/files/digest-fcron-2.9.5.1 | 1 | ||||
-rw-r--r-- | sys-apps/fcron/files/digest-fcron-2.9.5.1-r2 | 1 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron-2.0.0-configure.diff | 16 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron.allow | 10 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron.conf | 24 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron.conf-2.9.5.1 | 24 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron.deny | 8 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron.pam | 11 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcron.rc6 | 31 | ||||
-rw-r--r-- | sys-apps/fcron/files/fcrontab.pam | 18 | ||||
-rw-r--r-- | sys-apps/fcron/metadata.xml | 9 |
18 files changed, 0 insertions, 729 deletions
diff --git a/sys-apps/fcron/ChangeLog b/sys-apps/fcron/ChangeLog deleted file mode 100644 index 3fc9f9f7a973..000000000000 --- a/sys-apps/fcron/ChangeLog +++ /dev/null @@ -1,188 +0,0 @@ -# ChangeLog for sys-apps/fcron -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/ChangeLog,v 1.47 2005/03/04 23:29:29 ciaranm Exp $ - - 04 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> fcron-2.0.2.ebuild, - fcron-2.9.5.1.ebuild: - Move sys-apps/cronbase -> sys-process/cronbase - - 15 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> fcron-2.9.5.1-r2.ebuild: - Fix dopamd invocation since the semantics were changed. - - 23 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> fcron-2.9.5.1-r2.ebuild: - Actually fix bug 78726 this time. - -*fcron-2.9.5.1-r2 (19 Jan 2005) - - 19 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> -fcron-2.9.5.1-r1.ebuild, - +fcron-2.9.5.1-r2.ebuild: - Revision bump. Install fcronsighup into /usr/bin where it should be; fixes - bug 78726 - - 15 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> fcron-2.9.5.1-r1.ebuild: - Fixed crontab perms. - -*fcron-2.9.5.1-r1 (15 Jan 2005) - - 15 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> metadata.xml, - +fcron-2.9.5.1-r1.ebuild: - Revision bump for cron.eclass testing. - - 10 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> fcron-2.0.2.ebuild, - fcron-2.9.5.1.ebuild: - Added in a message with a link to the Cron Guide, bug #77320 - - 02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> : - Change encoding to UTF-8 for GLEP 31 compliance - - 17 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> - -files/fcron-2.0.0-gcc34.diff, -files/fcron-2.9.4-selinuxupdate.diff, - -files/fcron.conf-2.9.4, -files/fcron.conf-2.9.5, -fcron-2.0.0-r4.ebuild, - -fcron-2.0.1.ebuild, fcron-2.0.2.ebuild, -fcron-2.9.4.ebuild, - -fcron-2.9.5.ebuild: - Marked 2.0.2 stable on hppa for bug 71311; removed vulnerable versions and - respective patches. - - 16 Nov 2004; Hardave Riar <hardave@gentoo.org> fcron-2.0.2.ebuild: - Stable on mips, bug #71311 - - 16 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> fcron-2.0.2.ebuild: - Stable on sparc wrt #71311 - - 16 Nov 2004; <SeJo@gentoo.org> fcron-2.0.2.ebuild, fcron-2.9.5.1.ebuild: - stable on ppc gsla: 71311 - - 16 Nov 2004; Simon Stelling <blubb@gentoo.org> fcron-2.0.2.ebuild: - stable on amd64; bug #71311 - -*fcron-2.9.5.1 (16 Nov 2004) - - 16 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> +files/fcron.conf-2.9.5.1, - +fcron-2.0.2.ebuild, +fcron-2.9.5.1.ebuild: - Dual version bumps for security vulnerability (bug #71311); Marked 2.0.2 - stable on x86. Added pkg_setup EDITOR check to fix bug #65263. Remove - --with-cflags configure flag for 2.9.5.1, since it causes CFLAGS to be - specified twice. Also fixed default editor path in fcron.conf-2.5.9.1 (nano - isn't in /bin). - - 12 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> fcron-2.0.1.ebuild: - Stable on sparc - - 12 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> fcron-2.0.1.ebuild: - Marked stable on x86. - - 11 Oct 2004; Aaron Walker <ka0ttic@gentoo.org> metadata.xml, - -files/2.9.4-braindead-configure-check.patch, - +files/fcron-2.0.0-configure.diff, -files/fcron-2.0.0-gentoo.diff, - -files/fcron-2.9.5-configure.diff, +files/fcron.conf-2.9.5, - fcron-2.0.0-r4.ebuild, fcron-2.0.1.ebuild, fcron-2.9.4.ebuild, - fcron-2.9.5.ebuild: - All versions now respect LDFLAGS, which leads to all versions now appending - -Wl,-z,now for the setuid QA notice. Removed duplicate patches. Added missing - sample config for 2.9.5. Also, updated metadata to reflect new cron herd. - -*fcron-2.9.5 (09 Oct 2004) - - 09 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> - +files/fcron-2.9.5-configure.diff, +fcron-2.0.1.ebuild, +fcron-2.9.5.ebuild: - Version bump. - - 04 Sep 2004; Tony Vroon <chainsaw@gentoo.org> +files/fcron-2.0.0-gcc34.diff, - fcron-2.0.0-r4.ebuild: - GCC 3.4 compile fix; patch by Mark Loeser. Closes bug #62625. - - 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> fcron-2.9.4.ebuild: - Masked fcron-2.9.4.ebuild stable for ppc - - 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> : - Masked fcron-2.0.0-r4.ebuild stable for ppc - - 27 Aug 2004; Mike Frysinger <vapier@gentoo.org> files/fcron.rc6: - Dont need logger, use logger #57787 by Paul Varner. - - 25 May 2004; Chris PeBenito <pebenito@gentoo.org> - +files/fcron-2.9.4-selinuxupdate.diff, fcron-2.9.4.ebuild: - Update SELinux support to 2.6 SELinux API. - - 19 Apr 2004; Jon Portnoy <avenj@gentoo.org> files/crontab : - Updated to do run-crons every ten minutes rather than every minute. - Bug #46628. - -*fcron-2.9.4 (18 Apr 2004) - - 18 Apr 2004; Mike Frysinger <vapier@gentoo.org> : - Version bumpage #45353 by Martin Ehmsen. - - 18 Apr 2004; Mike Frysinger <vapier@gentoo.org> : - Change the default fcron.{allow,deny} files to allow everyone so that - the generic Gentoo situation of using a cron group to handle access - control works seemlessly #37904 Klaus-J. Wolf. - - 09 Apr 2004; Joshua Kinard <kumba@gentoo.org> fcron-2.0.0-r4.ebuild: - Marked stable on mips. - - 30 Jan 2004; <gustavoz@gentoo.org> fcron-2.0.0-r3.ebuild: - marked stable on sparc - - 12 Dec 2003; Chris PeBenito <pebenito@gentoo.org> files/crontab, - files/crontab-2.0.0-r4: - Changed daily, weekly, and monthly runtimes to FreeBSD times (3:01, 4:15, - 5:30, respectively) per #3296. - -*fcron-2.0.0-r4 (19 Nov 2003) - - 19 Nov 2003; Preston A. Elder <prez@gentoo.org> fcron-2.0.0-r4.ebuild crontab-2.0.0-r4: - Changed crontab to exec run-crons every minute, requires newer cronbase. - -*fcron-2.0.0-r3 (02 Mar 2003) - - 29 Jun 2003; Bartosch Pixa <darkspecter@gentoo.org> fcron-2.0.0-r3.ebuild: - set ppc in keywords - - 14 May 2003; Joshua Kinard <kumba@gentoo.org> fcron-2.0.0-r3.ebuild: - Added ~mips to KEYWORDS - - 21 Apr 2003; Guy Martin <gmsoft@gentoo.org> fcron-2.0.0-r3.ebuild : - Added hppa to KEYWORDS. - - 02 Mar 2003; Seemant Kulleen <seemant@gentoo.org> fcron-2.0.0-r3.ebuild: - use epach, econf; and use /usr/bin/vim instead of /usr/bin/nano to close bug - #16651 by Nils Ohlmeier <nils@ohlmeier.de> - - 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - -*fcron-2.0.0-r2 (20 Nov 2002) - - 20 Nov 2002; Donny Davies <woodchip@gentoo.org> : Added the fcron.allow - and fcron.deny default config files; #8310. Fix empty crontabs dir. - - 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) - - 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 - 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 : - added RDEPEND="!virtual/cron sys-apps/cronbase" and PROVIDE="virtual/cron" - changed spooldir to /var/spool/cron - added symlink for crontab - fixed html docs - installed default config with crontabs located in /var/spool/cron/crontabs diff --git a/sys-apps/fcron/Manifest b/sys-apps/fcron/Manifest deleted file mode 100644 index ce878037a5d3..000000000000 --- a/sys-apps/fcron/Manifest +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 0970283807189398317c28638141346b ChangeLog 7431 -MD5 911d5bd02ded19cdce6a2eebcf5822e5 fcron-2.9.5.1.ebuild 3455 -MD5 2caf3847ebc4f493142dc509e98023cc fcron-2.0.2.ebuild 3055 -MD5 72cd8766a1f01c8cf64d750037c36922 fcron-2.9.5.1-r2.ebuild 2883 -MD5 bd1deeb53b2b8e05397238a5479c74cc metadata.xml 251 -MD5 f659349d3f24fa1b57684af8f495efe6 files/fcrontab.pam 506 -MD5 42d8a93754df65def4a3746bbc68e494 files/digest-fcron-2.9.5.1-r2 69 -MD5 42d8a93754df65def4a3746bbc68e494 files/digest-fcron-2.9.5.1 69 -MD5 52572ff759db2d68e16f8cbc46fc6cd9 files/crontab 833 -MD5 bebebfe6bc1ce39b1703b624f2be567e files/fcron-2.0.0-configure.diff 390 -MD5 583200a8686cf8bdd59e970ad8a55d21 files/fcron.conf-2.9.5.1 800 -MD5 d450e99144dc943526cd370c2b3a87e1 files/fcron.deny 377 -MD5 2d4d092f7a76917183b5d8086d871e67 files/fcron.allow 375 -MD5 618ee227782ad9a3939c89e932eb2d2e files/fcron.pam 296 -MD5 54d34efc5c1c41481d4605e38ddba3a8 files/fcron.rc6 705 -MD5 d18b499ccc7338a352ccc5111a23e224 files/digest-fcron-2.0.2 67 -MD5 7e9a6dd8e9a4e482d7b6bf33d1f9881b files/fcron.conf 747 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFCKO9HLLFUmVNQ7rkRAnLSAJ9HATY1QC1kI75o6EzdS4muY1OnkACgj0ka -WUgGnM7KB7GVFTpc2jRDvxw= -=Tvbd ------END PGP SIGNATURE----- diff --git a/sys-apps/fcron/fcron-2.0.2.ebuild b/sys-apps/fcron/fcron-2.0.2.ebuild deleted file mode 100644 index fce5fcd5f743..000000000000 --- a/sys-apps/fcron/fcron-2.0.2.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.2.ebuild,v 1.9 2005/03/04 23:29:29 ciaranm Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A command scheduler with extended capabilities over cron and anacron" -HOMEPAGE="http://fcron.free.fr/" -SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc mips hppa amd64" -IUSE="" - -DEPEND="virtual/editor" -RDEPEND="!virtual/cron - >=sys-process/cronbase-0.2.1-r3 - virtual/mta" -PROVIDE="virtual/cron" - -pkg_setup() { - # bug #65263 - # fcron's ./configure complains if EDITOR is not set to an absolute path, - # so try to set it to the abs path if it isn't - if [[ "${EDITOR}" != */* ]] ; then - einfo "Attempting to deduce absolute path of ${EDITOR}" - EDITOR=$(which ${EDITOR} 2>/dev/null) - if [ ! -x "${EDITOR}" ] ; then - die "Please set the EDITOR env variable to the path of a valid executable." - fi - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-2.0.0-configure.diff - # fix LIBOBJS vs AC_LIBOBJ problem - sed -i -e 's|LIBOBJS|AC_LIBOBJ|g' configure.in - # respect LDFLAGS - sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed" - autoconf || die "autoconf failed" -} - -src_compile() { - # QA security notice fix; see "[gentoo-core] Heads up changes in suid - # handing with portage >=51_pre21" for more details. - append-ldflags -Wl,-z,now - - econf \ - --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="${EDITOR}" \ - --with-cflags="${CFLAGS}" \ - || die "bad ./configure" - - emake || die "compile problem" -} - -src_install() { - dodir /var/spool - diropts -m 0770 -o cron -g cron - keepdir /var/spool/cron/fcrontabs - - 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 - - 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 - insopts -m 0644 -o root -g root - doins ${FILESDIR}/crontab - - doman doc/*.{1,3,5,8} - - dodoc MANIFEST VERSION doc/{CHANGES,README,FAQ,INSTALL,THANKS} - newdoc ${FILESDIR}/fcron.conf fcron.conf.sample - dohtml doc/*.html - dodoc ${FILESDIR}/crontab -} - -pkg_postinst() { - einfo "Each user who uses fcron should be added to the cron group" - einfo "in /etc/group and also be added in /etc/fcron/fcron.allow" - 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 - - echo - einfo "You may wish to read the Gentoo Linux Cron Guide, which can be" - einfo "found online at:" - einfo " http://www.gentoo.org/doc/en/cron-guide.xml" - echo -} diff --git a/sys-apps/fcron/fcron-2.9.5.1-r2.ebuild b/sys-apps/fcron/fcron-2.9.5.1-r2.ebuild deleted file mode 100644 index 67f464d8c875..000000000000 --- a/sys-apps/fcron/fcron-2.9.5.1-r2.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.9.5.1-r2.ebuild,v 1.3 2005/02/15 14:04:21 ka0ttic Exp $ - -inherit cron - -DESCRIPTION="A command scheduler with extended capabilities over cron and anacron" -HOMEPAGE="http://fcron.free.fr/" -SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~sparc ~mips ~hppa ~amd64" -IUSE="pam doc selinux" - -DEPEND="virtual/editor - doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 ) - selinux? ( sys-libs/libselinux ) - pam? ( >=sys-libs/pam-0.77 )" - -pkg_setup() { - # bug #65263 - # fcron's ./configure complains if EDITOR is not set to an absolute path, - # so try to set it to the abs path if it isn't - if [[ "${EDITOR}" != */* ]] ; then - einfo "Attempting to deduce absolute path of ${EDITOR}" - EDITOR=$(which ${EDITOR} 2>/dev/null) - if [ ! -x "${EDITOR}" ] ; then - die "Please set the EDITOR env variable to the path of a valid executable." - fi - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-2.0.0-configure.diff - # respect LDFLAGS - sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed" - autoconf || die "autoconf failed" -} - -src_compile() { - local myconf - use doc && \ - myconf="--with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook" - - # QA security notice fix; see "[gentoo-core] Heads up changes in suid - # handing with portage >=51_pre21" for more details. - append-ldflags -Wl,-z,now - - econf \ - $(use_with pam) \ - $(use_with selinux) \ - --with-username=cron \ - --with-groupname=cron \ - --with-piddir=/var/run \ - --with-etcdir=/etc/fcron \ - --with-spooldir=/var/spool/cron \ - --with-fifodir=/var/run \ - --with-sendmail=/usr/sbin/sendmail \ - --with-fcrondyn=yes \ - --with-editor=${EDITOR} \ - ${myconf} \ - || die "Configure problem" - - emake || die "Compile problem" -} - -src_install() { - docrondir /var/spool/cron/fcrontabs -m0770 -o cron -g cron - docron fcron -m0110 -o root -g root - docrontab fcrontab -m6110 -o cron -g cron - - insinto /usr/bin - insopts -o root -g cron -m6110 ; doins fcronsighup - insopts -o cron -g cron -m6110 ; doins fcrondyn - - # /etc stuff - insinto /etc/fcron - insopts -m 640 -o root -g cron - doins ${FILESDIR}/fcron.{allow,deny} - newins ${FILESDIR}/fcron.conf-${PV} fcron.conf - - newpamd ${FILESDIR}/fcron.pam fcron - newpamd ${FILESDIR}/fcrontab.pam fcrontab - - insinto /etc - doins ${FILESDIR}/crontab - newinitd ${FILESDIR}/fcron.rc6 fcron - - # doc stuff - dodoc MANIFEST VERSION doc/txt/*.txt - newdoc ${FILESDIR}/fcron.conf-${PV} fcron.conf.sample - use doc && dohtml doc/HTML/*.html - dodoc ${FILESDIR}/crontab - - doman doc/man/*.{1,3,5,8} -} - -pkg_postinst() { - einfo "Each user who uses fcron should be added to the cron group" - einfo "in /etc/group and also be added in /etc/fcron/fcron.allow" - cron-pkg_postinst -} diff --git a/sys-apps/fcron/fcron-2.9.5.1.ebuild b/sys-apps/fcron/fcron-2.9.5.1.ebuild deleted file mode 100644 index d2c2280a2b21..000000000000 --- a/sys-apps/fcron/fcron-2.9.5.1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.9.5.1.ebuild,v 1.5 2005/03/04 23:29:29 ciaranm Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="A command scheduler with extended capabilities over cron and anacron" -HOMEPAGE="http://fcron.free.fr/" -SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ppc ~sparc ~mips ~hppa ~amd64" -IUSE="pam doc selinux" - -DEPEND="virtual/editor - doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 ) - selinux? ( sys-libs/libselinux ) - pam? ( >=sys-libs/pam-0.77 )" -RDEPEND="!virtual/cron - >=sys-process/cronbase-0.2.1-r3 - virtual/mta" -PROVIDE="virtual/cron" - -pkg_setup() { - # bug #65263 - # fcron's ./configure complains if EDITOR is not set to an absolute path, - # so try to set it to the abs path if it isn't - if [[ "${EDITOR}" != */* ]] ; then - einfo "Attempting to deduce absolute path of ${EDITOR}" - EDITOR=$(which ${EDITOR} 2>/dev/null) - if [ ! -x "${EDITOR}" ] ; then - die "Please set the EDITOR env variable to the path of a valid executable." - fi - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-2.0.0-configure.diff - # respect LDFLAGS - sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed" - autoconf || die "autoconf failed" -} - -src_compile() { - local myconf= - use doc && \ - myconf="--with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook" - - # QA security notice fix; see "[gentoo-core] Heads up changes in suid - # handing with portage >=51_pre21" for more details. - append-ldflags -Wl,-z,now - - econf \ - $(use_with pam) \ - $(use_with selinux) \ - --with-username=cron \ - --with-groupname=cron \ - --with-piddir=/var/run \ - --with-etcdir=/etc/fcron \ - --with-spooldir=/var/spool/cron \ - --with-fifodir=/var/run \ - --with-sendmail=/usr/sbin/sendmail \ - --with-fcrondyn=yes \ - --with-editor=${EDITOR} \ - ${myconf} \ - || die "Configure problem" - - emake || die "Compile problem" -} - -src_install() { - dodir /var/spool - diropts -m 0770 -o cron -g cron - keepdir /var/spool/cron/fcrontabs - - insinto /usr/sbin - insopts -o root -g root -m0110 ; doins fcron - insinto /usr/bin - insopts -o cron -g cron -m6110 ; doins fcrontab fcrondyn - insopts -o root -g cron -m6110 ; doins fcronsighup - dosym fcrontab /usr/bin/crontab - - insinto /etc/fcron - insopts -m 640 -o root -g cron - doins ${FILESDIR}/{fcron.allow,fcron.deny} - newins ${FILESDIR}/fcron.conf-${PV} fcron.conf - - insopts -m 644 -o root -g root - if use pam ; then - insinto /etc/pam.d - newins ${FILESDIR}/fcron.pam fcron - newins ${FILESDIR}/fcrontab.pam fcrontab - fi - insinto /etc - doins ${FILESDIR}/crontab - - exeinto /etc/init.d - newexe ${FILESDIR}/fcron.rc6 fcron - - dodoc MANIFEST VERSION doc/txt/*.txt - newdoc ${FILESDIR}/fcron.conf-${PV} fcron.conf.sample - use doc && dohtml doc/HTML/*.html - dodoc ${FILESDIR}/crontab - - doman doc/man/*.{1,3,5,8} -} - -pkg_postinst() { - einfo "Each user who uses fcron should be added to the cron group" - einfo "in /etc/group and also be added in /etc/fcron/fcron.allow" - 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 - - echo - einfo "You may wish to read the Gentoo Linux Cron Guide, which can be" - einfo "found online at:" - einfo " http://www.gentoo.org/doc/en/cron-guide.xml" - echo -} diff --git a/sys-apps/fcron/files/crontab b/sys-apps/fcron/files/crontab deleted file mode 100644 index 8805c66c4fb9..000000000000 --- a/sys-apps/fcron/files/crontab +++ /dev/null @@ -1,19 +0,0 @@ -# /etc/crontab -# -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/crontab,v 1.7 2004/07/18 04:34:03 dragonheart Exp $ - -# fcron || dcron: -# This is NOT the system crontab! fcron and dcron do not support a system crontab. -# to get /etc/cron.{hourly|daily|weekly|montly} working with fcron or dcron do -# 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 - -0 * * * * rm -f /var/spool/cron/lastrun/cron.hourly -1 3 * * * rm -f /var/spool/cron/lastrun/cron.daily -15 4 * * 6 rm -f /var/spool/cron/lastrun/cron.weekly -30 5 1 * * rm -f /var/spool/cron/lastrun/cron.monthly -*/10 * * * * /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons diff --git a/sys-apps/fcron/files/digest-fcron-2.0.2 b/sys-apps/fcron/files/digest-fcron-2.0.2 deleted file mode 100644 index bfdbd9960fae..000000000000 --- a/sys-apps/fcron/files/digest-fcron-2.0.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 416c55d8a484eb6c9907828009fd649c fcron-2.0.2.src.tar.gz 169081 diff --git a/sys-apps/fcron/files/digest-fcron-2.9.5.1 b/sys-apps/fcron/files/digest-fcron-2.9.5.1 deleted file mode 100644 index bca17bd60680..000000000000 --- a/sys-apps/fcron/files/digest-fcron-2.9.5.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 bf39dcef6d0c452f167f5a31a1231e4e fcron-2.9.5.1.src.tar.gz 398400 diff --git a/sys-apps/fcron/files/digest-fcron-2.9.5.1-r2 b/sys-apps/fcron/files/digest-fcron-2.9.5.1-r2 deleted file mode 100644 index bca17bd60680..000000000000 --- a/sys-apps/fcron/files/digest-fcron-2.9.5.1-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 bf39dcef6d0c452f167f5a31a1231e4e fcron-2.9.5.1.src.tar.gz 398400 diff --git a/sys-apps/fcron/files/fcron-2.0.0-configure.diff b/sys-apps/fcron/files/fcron-2.0.0-configure.diff deleted file mode 100644 index 096bc1a4ab30..000000000000 --- a/sys-apps/fcron/files/fcron-2.0.0-configure.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- fcron-2.0.0.orig/configure.in 2004-10-11 08:37:50.840101374 -0400 -+++ fcron-2.0.0/configure.in 2004-10-11 09:47:14.310439574 -0400 -@@ -202,13 +202,7 @@ - fi - ;; - *) -- if test -d "$withval"; then - etcdir="$withval" -- AC_MSG_RESULT($withval) -- else -- AC_MSG_ERROR([ --Directory $withval does not exist]) -- fi - ;; - esac ], - if test -d "/etc"; then diff --git a/sys-apps/fcron/files/fcron.allow b/sys-apps/fcron/files/fcron.allow deleted file mode 100644 index 0d1fa8424031..000000000000 --- a/sys-apps/fcron/files/fcron.allow +++ /dev/null @@ -1,10 +0,0 @@ -# /etc/fcron/fcron.allow -# -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.allow,v 1.3 2004/07/18 04:34:03 dragonheart 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 ). - -all diff --git a/sys-apps/fcron/files/fcron.conf b/sys-apps/fcron/files/fcron.conf deleted file mode 100644 index 48b0800e1f3c..000000000000 --- a/sys-apps/fcron/files/fcron.conf +++ /dev/null @@ -1,24 +0,0 @@ -# fcron.conf - Configuration file for fcron(8) and fcrontab(1). -# See fcron.conf(5) for syntax and explanations. -# -# WARNING : this file must be owned by root:cron and 640. -# -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.conf,v 1.4 2004/07/18 04:34:03 dragonheart Exp $ -# - -# The spool directory where fcron stores its files -fcrontabs = /var/spool/cron/fcrontabs - -# The location of the pidfile -pidfile = /var/run/fcron.pid - -# allow/deny files to determine which users are allowed to use fcrontab -fcronallow = /etc/fcron/fcron.allow -fcrondeny = /etc/fcron/fcron.deny - -# Location of the programs used by fcron -shell = /bin/sh -sendmail = /usr/sbin/sendmail - -# Location of the default editor for "fcrontab -e" -editor = /usr/bin/nano diff --git a/sys-apps/fcron/files/fcron.conf-2.9.5.1 b/sys-apps/fcron/files/fcron.conf-2.9.5.1 deleted file mode 100644 index be27e30e9e5c..000000000000 --- a/sys-apps/fcron/files/fcron.conf-2.9.5.1 +++ /dev/null @@ -1,24 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.conf-2.9.5.1,v 1.1 2004/11/16 10:34:34 ka0ttic Exp $ -# fcron.conf - Configuration file for fcron(8) and fcrontab(1). -# See fcron.conf(5) for syntax and explanations. -# -# WARNING : this file must be owned by root:cron and 640. -# - -# The spool directory where fcron stores its files -fcrontabs = /var/spool/cron/fcrontabs - -# The locations of the pid file and the fifo file -pidfile = /var/run/fcron.pid -fifofile = /var/run/fcron.fifo - -# allow/deny files to determine which users are allowed to use fcrontab -fcronallow = /etc/fcron/fcron.allow -fcrondeny = /etc/fcron/fcron.deny - -# Location of the programs used by fcron -shell = /bin/sh -sendmail = /usr/sbin/sendmail - -# Location of the default editor for "fcrontab -e" -editor = /usr/bin/nano diff --git a/sys-apps/fcron/files/fcron.deny b/sys-apps/fcron/files/fcron.deny deleted file mode 100644 index d9c70f5aa20d..000000000000 --- a/sys-apps/fcron/files/fcron.deny +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/fcron/fcron.deny -# -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.deny,v 1.3 2004/07/18 04:34:03 dragonheart 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 ). diff --git a/sys-apps/fcron/files/fcron.pam b/sys-apps/fcron/files/fcron.pam deleted file mode 100644 index 756ffc3492f4..000000000000 --- a/sys-apps/fcron/files/fcron.pam +++ /dev/null @@ -1,11 +0,0 @@ -# -# The PAM configuration file for fcron daemon -# - -account required pam_unix.so -# Warning : fcron has no way to prompt user for a password ! -auth required pam_permit.so -#auth required pam_unix.so nullok -#auth required pam_env.so -session required pam_permit.so -#session required pam_unix.so diff --git a/sys-apps/fcron/files/fcron.rc6 b/sys-apps/fcron/files/fcron.rc6 deleted file mode 100644 index 5acd7f43d065..000000000000 --- a/sys-apps/fcron/files/fcron.rc6 +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.rc6,v 1.5 2004/08/27 05:04:38 vapier Exp $ - -depend() { - use logger - need clock hostname - provide cron -} - -checkconfig() { - if [ ! -e /etc/fcron/fcron.conf ] ; then - eerror "You will need an /etc/fcron/fcron.conf first" - eerror "There is a sample in /etc/fcron" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting fcron" - start-stop-daemon --start --quiet --exec /usr/sbin/fcron - eend $? -} - -stop() { - ebegin "Stopping fcron" - start-stop-daemon --stop --quiet --pidfile /var/run/fcron.pid - eend $? -} diff --git a/sys-apps/fcron/files/fcrontab.pam b/sys-apps/fcron/files/fcrontab.pam deleted file mode 100644 index b9ada666cf53..000000000000 --- a/sys-apps/fcron/files/fcrontab.pam +++ /dev/null @@ -1,18 +0,0 @@ -# -# The PAM configuration file for fcrontab -# - -# WARNING : you cannot use every modules here, as some -# (such as pam_unix_acct.so) require the program to be run -# by root or suid root, and fcrontab is *not* suid root. - -### By default we do not ask user for a password -auth required pam_permit.so -#auth required pam_unix.so nullok -#auth required pam_env.so - -account required pam_permit.so -#account required pam_time.so - -session required pam_permit.so -#session required pam_unix.so diff --git a/sys-apps/fcron/metadata.xml b/sys-apps/fcron/metadata.xml deleted file mode 100644 index 5071ab0d2382..000000000000 --- a/sys-apps/fcron/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>cron</herd> - <maintainer> - <email>ka0ttic@gentoo.org</email> - <name>Aaron Walker</name> - </maintainer> -</pkgmetadata> |