summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2008-01-24 09:55:12 +0000
committerWolfram Schlich <wschlich@gentoo.org>2008-01-24 09:55:12 +0000
commitdfde56032e92c4d0b76929c298c1b62e61c38401 (patch)
tree5983d437338546582a35743b2d5ffd258601cdf5 /sys-process/fcron
parentNew patch to fix some undefined pointer (mainly on amd64). Trying to fix bug ... (diff)
downloadgentoo-2-dfde56032e92c4d0b76929c298c1b62e61c38401.tar.gz
gentoo-2-dfde56032e92c4d0b76929c298c1b62e61c38401.tar.bz2
gentoo-2-dfde56032e92c4d0b76929c298c1b62e61c38401.zip
removed old versions
(Portage version: 2.1.4)
Diffstat (limited to 'sys-process/fcron')
-rw-r--r--sys-process/fcron/ChangeLog13
-rw-r--r--sys-process/fcron/fcron-2.0.2.ebuild112
-rw-r--r--sys-process/fcron/fcron-2.9.5.1.ebuild123
-rw-r--r--sys-process/fcron/fcron-2.9.7.ebuild106
-rw-r--r--sys-process/fcron/fcron-3.0.0.ebuild126
-rw-r--r--sys-process/fcron/fcron-3.0.1-r1.ebuild136
-rw-r--r--sys-process/fcron/fcron-3.0.1-r2.ebuild179
-rw-r--r--sys-process/fcron/fcron-3.0.1.ebuild126
-rw-r--r--sys-process/fcron/fcron-3.0.2-r1.ebuild232
-rw-r--r--sys-process/fcron/fcron-3.0.2-r2.ebuild244
-rw-r--r--sys-process/fcron/fcron-3.0.2.ebuild193
-rw-r--r--sys-process/fcron/fcron-3.0.3_rc1.ebuild249
-rw-r--r--sys-process/fcron/files/digest-fcron-2.0.23
-rw-r--r--sys-process/fcron/files/digest-fcron-2.9.5.13
-rw-r--r--sys-process/fcron/files/digest-fcron-2.9.73
-rw-r--r--sys-process/fcron/files/digest-fcron-3.0.03
-rw-r--r--sys-process/fcron/files/digest-fcron-3.0.13
-rw-r--r--sys-process/fcron/files/digest-fcron-3.0.1-r13
-rw-r--r--sys-process/fcron/files/digest-fcron-3.0.1-r23
-rw-r--r--sys-process/fcron/files/digest-fcron-3.0.23
-rw-r--r--sys-process/fcron/files/digest-fcron-3.0.2-r13
-rw-r--r--sys-process/fcron/files/digest-fcron-3.0.2-r23
-rw-r--r--sys-process/fcron/files/digest-fcron-3.0.3_rc13
-rw-r--r--sys-process/fcron/files/fcron-2.0.0-configure.diff34
-rw-r--r--sys-process/fcron/files/fcron-2.9.5.1-fix-mail-output.diff11
-rwxr-xr-xsys-process/fcron/files/fcron.rc631
26 files changed, 11 insertions, 1937 deletions
diff --git a/sys-process/fcron/ChangeLog b/sys-process/fcron/ChangeLog
index 8f18302b0ecf..7216ddee657b 100644
--- a/sys-process/fcron/ChangeLog
+++ b/sys-process/fcron/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-process/fcron
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.52 2007/11/20 04:26:18 kumba Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.53 2008/01/24 09:55:11 wschlich Exp $
+
+ 24 Jan 2008; Wolfram Schlich <wschlich@gentoo.org>
+ -files/fcron-2.0.0-configure.diff,
+ -files/fcron-2.9.5.1-fix-mail-output.diff, -files/fcron.rc6,
+ -fcron-2.0.2.ebuild, -fcron-2.9.5.1.ebuild, -fcron-2.9.7.ebuild,
+ -fcron-3.0.0.ebuild, -fcron-3.0.1.ebuild, -fcron-3.0.1-r1.ebuild,
+ -fcron-3.0.1-r2.ebuild, -fcron-3.0.2.ebuild, -fcron-3.0.2-r1.ebuild,
+ -fcron-3.0.2-r2.ebuild, -fcron-3.0.3_rc1.ebuild:
+ removed old versions
20 Nov 2007; Joshua Kinard <kumba@gentoo.org> fcron-3.0.4.ebuild:
Marked unstable on mips.
diff --git a/sys-process/fcron/fcron-2.0.2.ebuild b/sys-process/fcron/fcron-2.0.2.ebuild
deleted file mode 100644
index 054945c95cb7..000000000000
--- a/sys-process/fcron/fcron-2.0.2.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-2.0.2.ebuild,v 1.3 2006/09/29 19:19:03 wormo 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)
- [[ -x "${EDITOR}" ]] || \
- die "Please set the EDITOR env variable to the path of a valid executable."
- 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"
-}
-
-src_compile() {
- autoconf || die "autoconf failed"
-
- # 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 files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- newinitd ${FILESDIR}/fcron.rc6 fcron || die "newinitd failed"
-
- insinto /etc
- insopts -m 0644 -o root -g root
- doins ${FILESDIR}/crontab
-
- doman doc/*.[1-8]
-
- dodoc MANIFEST VERSION doc/{CHANGES,README,FAQ,INSTALL,THANKS}
- newdoc files/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-process/fcron/fcron-2.9.5.1.ebuild b/sys-process/fcron/fcron-2.9.5.1.ebuild
deleted file mode 100644
index 8d68ffccc31d..000000000000
--- a/sys-process/fcron/fcron-2.9.5.1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-2.9.5.1.ebuild,v 1.4 2006/09/29 19:19:03 wormo Exp $
-
-inherit eutils flag-o-matic pam
-
-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)
- [[ -x "${EDITOR}" ]] || \
- die "Please set the EDITOR env variable to the path of a valid executable."
- 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"
-}
-
-src_compile() {
- local myconf=
- use doc && \
- myconf="--with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- autoconf || die "autoconf failed"
-
- # 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 files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- insinto /etc
- doins ${FILESDIR}/crontab
-
- newinitd ${FILESDIR}/fcron.rc6 fcron || die "newinitd failed"
-
- dodoc MANIFEST VERSION doc/txt/*.txt
- newdoc files/fcron.conf fcron.conf.sample
- use doc && dohtml doc/HTML/*.html
- dodoc ${FILESDIR}/crontab
-
- doman doc/man/*
-}
-
-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-process/fcron/fcron-2.9.7.ebuild b/sys-process/fcron/fcron-2.9.7.ebuild
deleted file mode 100644
index 611db124f805..000000000000
--- a/sys-process/fcron/fcron-2.9.7.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-2.9.7.ebuild,v 1.2 2006/09/29 19:19:03 wormo Exp $
-
-inherit cron pam
-
-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)
- [[ -x "${EDITOR}" ]] || \
- die "Please set the EDITOR env variable to the path of a valid executable."
- 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"
-}
-
-src_compile() {
- local myconf
- use doc && \
- myconf="--with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- autoconf || die "autoconf failed"
-
- # 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 files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- insinto /etc
- doins ${FILESDIR}/crontab
-
- newinitd ${FILESDIR}/fcron.rc6 fcron || die "newinitd failed"
-
- # doc stuff
- dodoc MANIFEST VERSION doc/txt/*.txt
- newdoc files/fcron.conf fcron.conf.sample
- use doc && dohtml doc/HTML/*.html
- dodoc ${FILESDIR}/crontab
-
- doman doc/man/*
-}
-
-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-process/fcron/fcron-3.0.0.ebuild b/sys-process/fcron/fcron-3.0.0.ebuild
deleted file mode 100644
index 0636c6fed8e0..000000000000
--- a/sys-process/fcron/fcron-3.0.0.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.0.ebuild,v 1.6 2006/09/29 19:19:03 wormo Exp $
-
-inherit cron pam eutils
-
-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="debug doc pam selinux"
-
-DEPEND="virtual/editor
- doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
- selinux? ( sys-libs/libselinux )
- pam? ( >=sys-libs/pam-0.77 )"
-
-pkg_setup() {
- # sudo unsets EDITOR
- if [[ -z "${EDITOR}" ]] ; then
- eerror "EDITOR seems to be unset. If you use sudo, it may be the cause."
- eerror "Try using 'sudo env EDITOR=\${EDITOR} emerge' instead."
- die "Please set the EDITOR env variable to the path of a valid executable."
- fi
-
- # 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)
- [[ -x "${EDITOR}" ]] || \
- die "Please set the EDITOR env variable to the path of a valid executable."
- fi
-
- ROOTUSER=$(egetent passwd 0 | cut -d':' -f1)
- ROOTGROUP=$(egetent group 0 | cut -d':' -f1)
-}
-
-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"
-}
-
-src_compile() {
- local myconf
-
- autoconf || die "autoconf failed"
-
- use doc && \
- myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- [[ -n "${ROOTUSER}" ]] && myconf="${myconf} --with-rootname=${ROOTUSER}"
- [[ -n "${ROOTGROUP}" ]] && myconf="${myconf} --with-rootgroup=${ROOTGROUP}"
-
- # QA security notice fix; see "[gentoo-core] Heads up changes in suid
- # handing with portage >=51_pre21" for more details.
- append-ldflags $(bindnow-flags)
-
- econf \
- $(use_with pam) \
- $(use_with selinux) \
- $(use_with debug) \
- --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} \
- --with-shell=/bin/sh \
- ${myconf} \
- || die "Configure problem"
-
- emake || die "Compile problem"
-}
-
-src_install() {
- docrondir /var/spool/cron/fcrontabs -m0770 -o cron -g cron
- docron fcron -m0110 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- docrontab fcrontab -m6110 -o cron -g cron
-
- insinto /usr/bin
- insopts -o ${ROOTUSER:-root} -g cron -m6110 ; doins fcronsighup
- insopts -o cron -g cron -m6110 ; doins fcrondyn
-
- # /etc stuff
- insinto /etc/fcron
- insopts -m 640 -o ${ROOTUSER:-root} -g cron
- doins files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- insinto /etc
- doins ${FILESDIR}/crontab
-
- newinitd ${FILESDIR}/fcron.rc6 fcron || die "newinitd failed"
-
- # doc stuff
- dodoc MANIFEST VERSION doc/txt/*.txt script/check_system_crontabs
- newdoc files/fcron.conf fcron.conf.sample
- use doc && dohtml doc/HTML/*.html
- dodoc ${FILESDIR}/crontab
-
- doman doc/man/*
-}
-
-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 "It is possible to emulate vixie-cron's behavior with regards to /etc/crontab"
- einfo "and /etc/cron.d. To do so, read the directions provided in the script,"
- einfo "/usr/share/doc/${PF}/check_system_crontabs.gz."
- cron_pkg_postinst
-}
diff --git a/sys-process/fcron/fcron-3.0.1-r1.ebuild b/sys-process/fcron/fcron-3.0.1-r1.ebuild
deleted file mode 100644
index b0d2b5bfcb45..000000000000
--- a/sys-process/fcron/fcron-3.0.1-r1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.1-r1.ebuild,v 1.1 2006/06/20 19:44:58 wschlich Exp $
-
-inherit cron pam eutils
-
-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="debug doc pam selinux"
-
-DEPEND="virtual/editor
- doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
- selinux? ( sys-libs/libselinux )
- pam? ( >=sys-libs/pam-0.77 )"
-
-pkg_setup() {
- # sudo unsets EDITOR
- if [[ -z "${EDITOR}" ]] ; then
- eerror "EDITOR seems to be unset. If you use sudo, it may be the cause."
- eerror "Try using 'sudo env EDITOR=\${EDITOR} emerge' instead."
- die "Please set the EDITOR env variable to the path of a valid executable."
- fi
-
- # 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)
- [[ -x "${EDITOR}" ]] || \
- die "Please set the EDITOR env variable to the path of a valid executable."
- fi
-
- ROOTUSER=$(egetent passwd 0 | cut -d':' -f1)
- ROOTGROUP=$(egetent group 0 | cut -d':' -f1)
-}
-
-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"
-}
-
-src_compile() {
- local myconf
-
- autoconf || die "autoconf failed"
-
- use doc && \
- myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- [[ -n "${ROOTUSER}" ]] && myconf="${myconf} --with-rootname=${ROOTUSER}"
- [[ -n "${ROOTGROUP}" ]] && myconf="${myconf} --with-rootgroup=${ROOTGROUP}"
-
- # QA security notice fix; see "[gentoo-core] Heads up changes in suid
- # handing with portage >=51_pre21" for more details.
- append-ldflags $(bindnow-flags)
-
- econf \
- $(use_with pam) \
- $(use_with selinux) \
- $(use_with debug) \
- --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} \
- --with-shell=/bin/sh \
- ${myconf} \
- || die "Configure problem"
-
- emake || die "Compile problem"
-}
-
-src_install() {
- docrondir /var/spool/cron/fcrontabs -m0770 -o cron -g cron
- docron fcron -m0110 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- docrontab fcrontab -m6110 -o cron -g cron
-
- insinto /usr/bin
- insopts -o ${ROOTUSER:-root} -g cron -m6110 ; doins fcronsighup
- insopts -o cron -g cron -m6110 ; doins fcrondyn
-
- # /etc stuff
- insinto /etc/fcron
- insopts -m 640 -o ${ROOTUSER:-root} -g cron
- doins files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- insinto /etc
- doins ${FILESDIR}/crontab
-
- newinitd ${FILESDIR}/fcron.init fcron || die "newinitd failed"
-
- # doc stuff
- dodoc MANIFEST VERSION script/check_system_crontabs
- newdoc files/fcron.conf fcron.conf.sample
- dodoc ${FILESDIR}/crontab
- dodoc doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt
- doman doc/en/man/*.[0-9]
- use doc && dohtml doc/en/HTML/*.html
-
- # localized docs
- local LANGUAGES=$(sed -n 's:LANGUAGES =::p' doc/Makefile)
- LANGUAGES="${LANGUAGES/en/}"
- local lang
- for lang in ${LANGUAGES}; do
- hasq ${lang} ${LINGUAS} || continue
- doman -i18n=${lang} doc/${lang}/man/*.[0-9]
- use doc && docinto html/${lang} && dohtml doc/${lang}/HTML/*.html
- done
-}
-
-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 "It is possible to emulate vixie-cron's behavior with regards to /etc/crontab"
- einfo "and /etc/cron.d. To do so, read the directions provided in the script,"
- einfo "/usr/share/doc/${PF}/check_system_crontabs.gz."
- cron_pkg_postinst
-}
diff --git a/sys-process/fcron/fcron-3.0.1-r2.ebuild b/sys-process/fcron/fcron-3.0.1-r2.ebuild
deleted file mode 100644
index 31fbcb99c5cf..000000000000
--- a/sys-process/fcron/fcron-3.0.1-r2.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.1-r2.ebuild,v 1.8 2007/01/18 18:58:45 jer Exp $
-
-inherit cron pam eutils
-
-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="amd64 hppa ~mips ppc sparc x86 ~x86-fbsd"
-IUSE="debug doc pam selinux"
-
-DEPEND="app-editors/nano
- doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
- selinux? ( sys-libs/libselinux )
- pam? ( virtual/pam )"
-
-pkg_setup() {
- ROOTUSER=$(egetent passwd 0 | cut -d ':' -f 1)
- ROOTGROUP=$(egetent group 0 | cut -d ':' -f 1)
-}
-
-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"
-}
-
-src_compile() {
- local myconf
-
- autoconf || die "autoconf failed"
-
- use doc && \
- myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- [[ -n "${ROOTUSER}" ]] && myconf="${myconf} --with-rootname=${ROOTUSER}"
- [[ -n "${ROOTGROUP}" ]] && myconf="${myconf} --with-rootgroup=${ROOTGROUP}"
-
- # QA security notice fix; see "[gentoo-core] Heads up changes in suid
- # handing with portage >=51_pre21" for more details.
- append-ldflags $(bindnow-flags)
-
- econf \
- $(use_with pam) \
- $(use_with selinux) \
- $(use_with debug) \
- --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=/bin/nano \
- --with-shell=/bin/sh \
- ${myconf} \
- || die "Configure problem"
-
- emake || die "Compile problem"
-}
-
-src_install() {
- # cron eclass stuff
- docrondir /var/spool/cron/fcrontabs -m0770 -o cron -g cron
- docron fcron -m0110 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- docrontab fcrontab -m6110 -o cron -g cron
-
- # install fcron tools
- insinto /usr/bin
- insopts -o ${ROOTUSER:-root} -g cron -m6110 ; doins fcronsighup
- insopts -o cron -g cron -m6110 ; doins fcrondyn
-
- # /etc stuff
- insinto /etc/fcron
- insopts -m 640 -o ${ROOTUSER:-root} -g cron
- doins files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- # install PAM files
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- # install /etc/crontab and /etc/fcrontab
- insinto /etc
- doins ${FILESDIR}/crontab ${FILESDIR}/fcrontab
-
- # install init script
- newinitd ${FILESDIR}/fcron.init fcron || die "newinitd failed"
-
- # install the very handy check_system_crontabs script
- mv script/check_system_crontabs script/check_system_crontabs.orig
- sed -e 's:^FCRONTABS_DIR=.*$:FCRONTABS_DIR=/var/spool/cron/fcrontabs:' \
- script/check_system_crontabs.orig > script/check_system_crontabs
- dosbin script/check_system_crontabs
-
- # doc stuff
- dodoc MANIFEST VERSION
- newdoc files/fcron.conf fcron.conf.sample
- dodoc ${FILESDIR}/crontab
- dodoc doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt
- doman doc/en/man/*.[0-9]
- use doc && dohtml doc/en/HTML/*.html
-
- # localized docs
- local LANGUAGES=$(sed -n 's:LANGUAGES =::p' doc/Makefile)
- LANGUAGES="${LANGUAGES/en/}"
- local lang
- for lang in ${LANGUAGES}; do
- hasq ${lang} ${LINGUAS} || continue
- doman -i18n=${lang} doc/${lang}/man/*.[0-9]
- use doc && docinto html/${lang} && dohtml doc/${lang}/HTML/*.html
- done
-}
-
-pkg_postinst() {
- einfo
- einfo "Each user who uses fcron should be added to the cron group"
- einfo "in /etc/group and also be added to /etc/fcron/fcron.allow"
- einfo
- einfo "fcron has some important differences compared to vixie-cron:"
- einfo
- einfo "1. fcron stores the crontabs in /var/spool/cron/fcrontabs"
- einfo
- einfo "2. fcron uses a special binary file format for storing the"
- einfo " crontabs in /var/spool/cron/fcrontabs/USERNAME,"
- einfo " but the original plain text version is saved as"
- einfo " /var/spool/cron/fcrontabs/USERNAME.orig for your reference."
- einfo
- einfo "3. fcron does not feature a system crontab in exactly the"
- einfo " same way as vixie-cron does. This version of fcron"
- einfo " features a crontab for a pseudo-user 'systab' for use"
- einfo " as the system crontab. Running a command like"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo " will write /etc/crontab to the fcron crontabs directory as"
- einfo
- einfo " /var/spool/cron/fcrontabs/systab"
- einfo
- einfo " Please note that changes to /etc/crontab will not become"
- einfo " active automatically! fcron also does not use the directory"
- einfo " /etc/cron.d by default like vixie-cron does."
- einfo " Fortunately, it's possible to emulate vixie-cron's behavior"
- einfo " with regards to /etc/crontab and /etc/cron.d by using a"
- einfo " little helper script called 'check_system_crontabs'."
- einfo " The file /etc/fcrontab (not /etc/crontab!) has been set up"
- einfo " to run the script once a while to check whether"
- einfo " /etc/fcrontab, /etc/crontab or files in /etc/cron.d/ have"
- einfo " changed since the last generation of the systab and"
- einfo " regenerate it from those three locations as necessary."
- einfo " You should run 'check_system_crontabs' once now to properly"
- einfo " generate an initial systab:"
- einfo
- einfo " check_system_crontabs -v -i -f"
- einfo
- einfo " The file /etc/fcrontab should only be used to run that"
- einfo " script in order to ensure independence from the standard"
- einfo " system crontab file /etc/crontab."
- einfo " You may of course adjust the schedule for the script"
- einfo " 'check_system_crontabs' or any other setting in"
- einfo " /etc/fcrontab as you desire."
- einfo
- einfo "If you do NOT want to use 'check_system_crontabs', you"
- einfo "might still want to activate the use of the well known"
- einfo "directories /etc/cron.{hourly|daily|weekly|monthly} by"
- einfo "just generating a systab once from /etc/crontab:"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo "Happy fcron'ing!"
- einfo
-}
diff --git a/sys-process/fcron/fcron-3.0.1.ebuild b/sys-process/fcron/fcron-3.0.1.ebuild
deleted file mode 100644
index fa00f177e366..000000000000
--- a/sys-process/fcron/fcron-3.0.1.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.1.ebuild,v 1.1 2006/02/22 02:45:02 ka0ttic Exp $
-
-inherit cron pam eutils
-
-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="debug doc pam selinux"
-
-DEPEND="virtual/editor
- doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
- selinux? ( sys-libs/libselinux )
- pam? ( >=sys-libs/pam-0.77 )"
-
-pkg_setup() {
- # sudo unsets EDITOR
- if [[ -z "${EDITOR}" ]] ; then
- eerror "EDITOR seems to be unset. If you use sudo, it may be the cause."
- eerror "Try using 'sudo env EDITOR=\${EDITOR} emerge' instead."
- die "Please set the EDITOR env variable to the path of a valid executable."
- fi
-
- # 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)
- [[ -x "${EDITOR}" ]] || \
- die "Please set the EDITOR env variable to the path of a valid executable."
- fi
-
- ROOTUSER=$(egetent passwd 0 | cut -d':' -f1)
- ROOTGROUP=$(egetent group 0 | cut -d':' -f1)
-}
-
-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"
-}
-
-src_compile() {
- local myconf
-
- autoconf || die "autoconf failed"
-
- use doc && \
- myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- [[ -n "${ROOTUSER}" ]] && myconf="${myconf} --with-rootname=${ROOTUSER}"
- [[ -n "${ROOTGROUP}" ]] && myconf="${myconf} --with-rootgroup=${ROOTGROUP}"
-
- # QA security notice fix; see "[gentoo-core] Heads up changes in suid
- # handing with portage >=51_pre21" for more details.
- append-ldflags $(bindnow-flags)
-
- econf \
- $(use_with pam) \
- $(use_with selinux) \
- $(use_with debug) \
- --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} \
- --with-shell=/bin/sh \
- ${myconf} \
- || die "Configure problem"
-
- emake || die "Compile problem"
-}
-
-src_install() {
- docrondir /var/spool/cron/fcrontabs -m0770 -o cron -g cron
- docron fcron -m0110 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- docrontab fcrontab -m6110 -o cron -g cron
-
- insinto /usr/bin
- insopts -o ${ROOTUSER:-root} -g cron -m6110 ; doins fcronsighup
- insopts -o cron -g cron -m6110 ; doins fcrondyn
-
- # /etc stuff
- insinto /etc/fcron
- insopts -m 640 -o ${ROOTUSER:-root} -g cron
- doins files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- insinto /etc
- doins ${FILESDIR}/crontab
-
- newinitd ${FILESDIR}/fcron.rc6 fcron || die "newinitd failed"
-
- # doc stuff
- dodoc MANIFEST VERSION doc/txt/*.txt script/check_system_crontabs
- newdoc files/fcron.conf fcron.conf.sample
- use doc && dohtml doc/HTML/*.html
- dodoc ${FILESDIR}/crontab
-
- doman doc/man/*
-}
-
-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 "It is possible to emulate vixie-cron's behavior with regards to /etc/crontab"
- einfo "and /etc/cron.d. To do so, read the directions provided in the script,"
- einfo "/usr/share/doc/${PF}/check_system_crontabs.gz."
- cron_pkg_postinst
-}
diff --git a/sys-process/fcron/fcron-3.0.2-r1.ebuild b/sys-process/fcron/fcron-3.0.2-r1.ebuild
deleted file mode 100644
index d3903fab7e00..000000000000
--- a/sys-process/fcron/fcron-3.0.2-r1.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.2-r1.ebuild,v 1.12 2007/04/24 11:02:03 eroyf Exp $
-
-inherit cron pam eutils
-
-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="amd64 hppa mips ppc sparc x86 ~x86-fbsd"
-IUSE="debug doc pam selinux"
-
-DEPEND="app-editors/nano
- doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
- selinux? ( sys-libs/libselinux )
- pam? ( virtual/pam )
- virtual/mta"
-
-pkg_setup() {
- enewgroup fcron
- enewuser fcron -1 -1 -1 fcron,cron
- ROOTUSER=$(egetent passwd 0 | cut -d ':' -f 1)
- ROOTGROUP=$(egetent group 0 | cut -d ':' -f 1)
- if useq debug; then
- ewarn
- ewarn "WARNING: debug USE flag active!"
- ewarn "The debug USE flag makes fcron start in debug mode"
- ewarn "by default, thus not detaching into background."
- ewarn "This will make your system HANG on bootup if"
- ewarn "fcron is to be started automatically by the"
- ewarn "init system!"
- ewarn
- ebeep 5
- epause 60
- 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"
-}
-
-src_compile() {
- local myconf
-
- autoconf || die "autoconf failed"
-
- use doc && \
- myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- [[ -n "${ROOTUSER}" ]] && myconf="${myconf} --with-rootname=${ROOTUSER}"
- [[ -n "${ROOTGROUP}" ]] && myconf="${myconf} --with-rootgroup=${ROOTGROUP}"
-
- # QA security notice fix; see "[gentoo-core] Heads up changes in suid
- # handing with portage >=51_pre21" for more details.
- append-ldflags $(bindnow-flags)
-
- econf \
- $(use_with pam) \
- $(use_with selinux) \
- $(use_with debug) \
- --with-username=fcron \
- --with-groupname=fcron \
- --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=/bin/nano \
- --with-shell=/bin/sh \
- ${myconf} \
- || die "Configure problem"
-
- emake || die "Compile problem"
-}
-
-src_install() {
- # cron eclass stuff
- docron fcron -m0755 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- docrondir /var/spool/cron/fcrontabs -m6770 -o fcron -g fcron
- docrontab fcrontab -m6755 -o fcron -g fcron
-
- # install fcron tools
- insinto /usr/bin
- # fcronsighup needs to be suid root, because it sends a HUP
- # to the running fcron daemon
- insopts -m6755 -o ${ROOTUSER:-root} -g fcron
- doins fcronsighup
- insopts -m6755 -o fcron -g fcron
- doins fcrondyn
-
- # /etc stuff
- diropts -m0750 -o ${ROOTUSER:-root} -g fcron
- dodir /etc/fcron
- insinto /etc/fcron
- insopts -m0640 -o ${ROOTUSER:-root} -g fcron
- doins files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- # install PAM files
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- # install /etc/crontab and /etc/fcrontab
- insopts -m0640 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- insinto /etc
- doins ${FILESDIR}/crontab ${FILESDIR}/fcrontab
-
- # install init script
- newinitd ${FILESDIR}/fcron.init fcron || die "newinitd failed"
-
- # install the very handy check_system_crontabs script
- mv script/check_system_crontabs script/check_system_crontabs.orig
- sed -e 's:^FCRONTABS_DIR=.*$:FCRONTABS_DIR=/var/spool/cron/fcrontabs:' \
- script/check_system_crontabs.orig > script/check_system_crontabs
- dosbin script/check_system_crontabs
-
- # doc stuff
- dodoc MANIFEST VERSION
- newdoc files/fcron.conf fcron.conf.sample
- dodoc ${FILESDIR}/crontab
- dodoc doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt
- rm -f doc/en/man/*.3 # ugly hack for bitstring.3 manpage
- doman doc/en/man/*.[0-9]
- use doc && dohtml doc/en/HTML/*.html
-
- # localized docs
- local LANGUAGES=$(sed -n 's:LANGUAGES =::p' doc/Makefile)
- LANGUAGES="${LANGUAGES/en/}"
- local lang
- for lang in ${LANGUAGES}; do
- hasq ${lang} ${LINGUAS} || continue
- rm -f doc/${lang}/man/*.3 # ugly hack for bitstring.3 manpage
- doman -i18n=${lang} doc/${lang}/man/*.[0-9]
- use doc && docinto html/${lang} && dohtml doc/${lang}/HTML/*.html
- done
-}
-
-pkg_postinst() {
- einfo
- einfo "fcron has some important differences compared to vixie-cron:"
- einfo
- einfo "1. fcron stores the crontabs in /var/spool/cron/fcrontabs"
- einfo
- einfo "2. fcron uses a special binary file format for storing the"
- einfo " crontabs in /var/spool/cron/fcrontabs/USERNAME,"
- einfo " but the original plain text version is saved as"
- einfo " /var/spool/cron/fcrontabs/USERNAME.orig for your"
- einfo " reference (and for being edited with fcrontab)."
- einfo
- einfo "3. fcron does not feature a system crontab in exactly the"
- einfo " same way as vixie-cron does. This version of fcron"
- einfo " features a crontab for a pseudo-user 'systab' for use"
- einfo " as the system crontab. Running a command like"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo " will write /etc/crontab to the fcron crontabs directory as"
- einfo
- einfo " /var/spool/cron/fcrontabs/systab"
- einfo
- einfo " Please note that changes to /etc/crontab will not become"
- einfo " active automatically! fcron also does not use the directory"
- einfo " /etc/cron.d by default like vixie-cron does."
- einfo " Fortunately, it's possible to emulate vixie-cron's behavior"
- einfo " with regards to /etc/crontab and /etc/cron.d by using a"
- einfo " little helper script called 'check_system_crontabs'."
- einfo " The file /etc/fcrontab (not /etc/crontab!) has been set up"
- einfo " to run the script once a while to check whether"
- einfo " /etc/fcrontab, /etc/crontab or files in /etc/cron.d/ have"
- einfo " changed since the last generation of the systab and"
- einfo " regenerate it from those three locations as necessary."
- einfo " You should now run 'check_system_crontabs' once to properly"
- einfo " generate an initial systab:"
- einfo
- einfo " check_system_crontabs -v -i -f"
- einfo
- einfo " The file /etc/fcrontab should only be used to run that"
- einfo " script in order to ensure independence from the standard"
- einfo " system crontab file /etc/crontab."
- einfo " You may of course adjust the schedule for the script"
- einfo " 'check_system_crontabs' or any other setting in"
- einfo " /etc/fcrontab as you desire."
- einfo
- einfo "If you do NOT want to use 'check_system_crontabs', you"
- einfo "might still want to activate the use of the well known"
- einfo "directories /etc/cron.{hourly|daily|weekly|monthly} by"
- einfo "just generating a systab once from /etc/crontab:"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo "Happy fcron'ing!"
- einfo
-
- ewarn
- ewarn "Fixing permissions and ownership of /var/spool/cron/fcrontabs"
- chown fcron:fcron /var/spool/cron/fcrontabs
- chmod 6770 /var/spool/cron/fcrontabs
- chown root:root /var/spool/cron/fcrontabs/*
- chmod 0600 /var/spool/cron/fcrontabs/*
- chown fcron:fcron /var/spool/cron/fcrontabs/*.orig
- chmod 0640 /var/spool/cron/fcrontabs/*.orig
- ewarn "Fixing permissions and ownership of /usr/bin/fcron{tab,dyn,sighup}"
- chown fcron:fcron /usr/bin/fcron{tab,dyn}
- chown ${ROOTUSER:-root}:fcron /usr/bin/fcronsighup
- chmod 6755 /usr/bin/fcron{tab,dyn,sighup}
- ewarn "Fixing permissions and ownership of /etc/{fcron,fcrontab,crontab}"
- chown -R ${ROOTUSER:-root}:fcron /etc/{fcron,fcrontab,crontab}
- chmod -R g+rX,o= /etc/fcron /etc/{fcron,fcrontab,crontab}
- ewarn
- ewarn "WARNING: fcron now uses a dedicated user and group"
- ewarn "'fcron' for the suid/sgid programs/files instead of"
- ewarn "the user and group 'cron' that were previously used."
- ewarn
- ewarn "fcron usage can now only be restricted by adding users"
- ewarn "to the following files instead of to the group 'cron':"
- ewarn
- ewarn " /etc/fcron/fcron.allow"
- ewarn " /etc/fcron/fcron.deny"
- ewarn
-
- ebeep 5
- epause 10
-
-}
diff --git a/sys-process/fcron/fcron-3.0.2-r2.ebuild b/sys-process/fcron/fcron-3.0.2-r2.ebuild
deleted file mode 100644
index 88968e51f4d1..000000000000
--- a/sys-process/fcron/fcron-3.0.2-r2.ebuild
+++ /dev/null
@@ -1,244 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.2-r2.ebuild,v 1.3 2007/04/14 18:23:13 wschlich Exp $
-
-inherit cron pam eutils
-
-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="~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="debug doc pam selinux"
-
-DEPEND="app-editors/nano
- doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
- selinux? ( sys-libs/libselinux )
- pam? ( virtual/pam )"
-
-pkg_setup() {
- enewgroup fcron
- enewuser fcron -1 -1 -1 fcron
- ROOTUSER=$(egetent passwd 0 | cut -d ':' -f 1)
- ROOTGROUP=$(egetent group 0 | cut -d ':' -f 1)
- if useq debug; then
- ewarn
- ewarn "WARNING: debug USE flag active!"
- ewarn "The debug USE flag makes fcron start in debug mode"
- ewarn "by default, thus not detaching into background."
- ewarn "This will make your system HANG on bootup if"
- ewarn "fcron is to be started automatically by the"
- ewarn "init system!"
- ewarn
- ebeep 10
- epause 60
- 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"
-}
-
-src_compile() {
- local myconf
-
- autoconf || die "autoconf failed"
-
- use doc \
- && myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- [[ -n "${ROOTUSER}" ]] && myconf="${myconf} --with-rootname=${ROOTUSER}"
- [[ -n "${ROOTGROUP}" ]] && myconf="${myconf} --with-rootgroup=${ROOTGROUP}"
-
- # QA security notice fix; see "[gentoo-core] Heads up changes in suid
- # handing with portage >=51_pre21" for more details.
- append-ldflags $(bindnow-flags)
-
- econf \
- $(use_with pam) \
- $(use_with selinux) \
- $(use_with debug) \
- --with-username=fcron \
- --with-groupname=fcron \
- --with-piddir=/var/run \
- --with-etcdir=/etc/fcron \
- --with-spooldir=/var/spool/fcron \
- --with-fifodir=/var/run \
- --with-sendmail=/usr/sbin/sendmail \
- --with-fcrondyn=yes \
- --with-editor=/bin/nano \
- --with-shell=/bin/sh \
- ${myconf} \
- || die "Configure problem"
-
- emake || die "Compile problem"
-}
-
-src_install() {
- # cron eclass stuff
- docron fcron -m0755 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- docrondir /var/spool/fcron -m6770 -o fcron -g fcron
- docrontab fcrontab -m6755 -o fcron -g fcron
-
- # install fcron tools
- insinto /usr/bin
- # fcronsighup needs to be suid root, because it sends a HUP
- # to the running fcron daemon
- insopts -m6755 -o ${ROOTUSER:-root} -g fcron
- doins fcronsighup
- insopts -m6755 -o fcron -g fcron
- doins fcrondyn
-
- # /etc stuff
- diropts -m0750 -o ${ROOTUSER:-root} -g fcron
- dodir /etc/fcron
- insinto /etc/fcron
- insopts -m0640 -o ${ROOTUSER:-root} -g fcron
- doins files/fcron.{allow,deny,conf}
-
- # install PAM files
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- # install /etc/crontab and /etc/fcrontab
- insopts -m0640 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- insinto /etc
- doins ${FILESDIR}/crontab ${FILESDIR}/fcrontab
-
- # install init script
- newinitd ${FILESDIR}/fcron.init fcron || die "newinitd failed"
-
- # install the very handy check_system_crontabs script
- dosbin script/check_system_crontabs
-
- # doc stuff
- dodoc MANIFEST VERSION
- newdoc files/fcron.conf fcron.conf.sample
- dodoc ${FILESDIR}/crontab
- dodoc doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt
- rm -f doc/en/man/*.3 # ugly hack for bitstring.3 manpage
- doman doc/en/man/*.[0-9]
- use doc && dohtml doc/en/HTML/*.html
-
- # localized docs
- local LANGUAGES=$(sed -n 's:LANGUAGES =::p' doc/Makefile)
- LANGUAGES="${LANGUAGES/en/}"
- local lang
- for lang in ${LANGUAGES}; do
- hasq ${lang} ${LINGUAS} || continue
- rm -f doc/${lang}/man/*.3 # ugly hack for bitstring.3 manpage
- doman -i18n=${lang} doc/${lang}/man/*.[0-9]
- use doc && docinto html/${lang} && dohtml doc/${lang}/HTML/*.html
- done
-}
-
-pkg_postinst() {
- einfo
- einfo "fcron has some important differences compared to vixie-cron:"
- einfo
- einfo "1. fcron stores the crontabs in /var/spool/fcron"
- einfo " instead of /var/spool/cron/crontabs"
- einfo
- einfo "2. fcron uses a special binary file format for storing the"
- einfo " crontabs in /var/spool/fcron/USERNAME,"
- einfo " but the original plain text version is saved as"
- einfo " /var/spool/fcron/USERNAME.orig for your"
- einfo " reference (and for being edited with fcrontab)."
- einfo
- einfo "3. fcron does not feature a system crontab in exactly the"
- einfo " same way as vixie-cron does. This version of fcron"
- einfo " features a crontab for a pseudo-user 'systab' for use"
- einfo " as the system crontab. Running a command like"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo " will write /etc/crontab to the fcron crontabs directory as"
- einfo
- einfo " /var/spool/fcron/systab"
- einfo
- einfo " Please note that changes to /etc/crontab will not become"
- einfo " active automatically! fcron also does not use the directory"
- einfo " /etc/cron.d by default like vixie-cron does."
- einfo " Fortunately, it's possible to emulate vixie-cron's behavior"
- einfo " with regards to /etc/crontab and /etc/cron.d by using a"
- einfo " little helper script called 'check_system_crontabs'."
- einfo " The file /etc/fcrontab (not /etc/crontab!) has been set up"
- einfo " to run the script once a while to check whether"
- einfo " /etc/fcrontab, /etc/crontab or files in /etc/cron.d/ have"
- einfo " changed since the last generation of the systab and"
- einfo " regenerate it from those three locations as necessary."
- einfo " You should now run 'check_system_crontabs' once to properly"
- einfo " generate an initial systab:"
- einfo
- einfo " check_system_crontabs -v -i -f"
- einfo
- einfo " The file /etc/fcrontab should only be used to run that"
- einfo " script in order to ensure independence from the standard"
- einfo " system crontab file /etc/crontab."
- einfo " You may of course adjust the schedule for the script"
- einfo " 'check_system_crontabs' or any other setting in"
- einfo " /etc/fcrontab as you desire."
- einfo
- einfo "If you do NOT want to use 'check_system_crontabs', you"
- einfo "might still want to activate the use of the well known"
- einfo "directories /etc/cron.{hourly|daily|weekly|monthly} by"
- einfo "just generating a systab once from /etc/crontab:"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo "Happy fcron'ing!"
- einfo
-
- ewarn
- ewarn "Fixing permissions and ownership of /usr/bin/fcron{tab,dyn,sighup}"
- chown fcron:fcron /usr/bin/fcron{tab,dyn} >&/dev/null
- chown ${ROOTUSER:-root}:fcron /usr/bin/fcronsighup >&/dev/null
- chmod 6755 /usr/bin/fcron{tab,dyn,sighup} >&/dev/null
- ewarn "Fixing permissions and ownership of /etc/{fcron,fcrontab,crontab}"
- chown -R ${ROOTUSER:-root}:fcron /etc/{fcron,fcrontab,crontab} >&/dev/null
- chmod -R g+rX,o= /etc/fcron /etc/{fcron,fcrontab,crontab} >&/dev/null
- ewarn
-
- ewarn
- ewarn "WARNING: fcron now uses a dedicated user and group"
- ewarn "'fcron' for the suid/sgid programs/files instead of"
- ewarn "the user and group 'cron' that were previously used."
- ewarn
- ewarn "fcron usage can now only be restricted by adding users"
- ewarn "to the following files instead of to the group 'cron':"
- ewarn
- ewarn " /etc/fcron/fcron.allow"
- ewarn " /etc/fcron/fcron.deny"
- ewarn
- ebeep 10
- epause 10
-
- if ls -1 /var/spool/cron/fcrontabs/* >&/dev/null; then
- ewarn
- ewarn "WARNING: fcron now uses a dedicated fcron-specific"
- ewarn "spooldir /var/spool/fcron instead of the commonly"
- ewarn "used /var/spool/cron for several reasons."
- ewarn
- ewarn "Copying over existing crontabs from /var/spool/cron/fcrontabs"
- cp /var/spool/cron/fcrontabs/* /var/spool/fcron/ >&/dev/null \
- || die "failed to migrate existing crontabs"
- ewarn "You should now remove /var/spool/cron/fcrontabs!"
- ewarn
- ewarn "Fixing permissions and ownership of /var/spool/fcron"
- chown root:root /var/spool/fcron/* >&/dev/null
- chmod 0600 /var/spool/fcron/* >&/dev/null
- chown fcron:fcron /var/spool/fcron/*.orig >&/dev/null
- chmod 0640 /var/spool/fcron/*.orig >&/dev/null
- ewarn
- ewarn "*** YOU SHOULD IMMEDIATELY UPDATE THE"
- ewarn "*** fcrontabs ENTRY IN /etc/fcron/fcron.conf"
- ewarn "*** AND RESTART YOUR FCRON DAEMON!"
- ebeep 20
- epause 10
- fi
-}
diff --git a/sys-process/fcron/fcron-3.0.2.ebuild b/sys-process/fcron/fcron-3.0.2.ebuild
deleted file mode 100644
index c2ebdcd27157..000000000000
--- a/sys-process/fcron/fcron-3.0.2.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.2.ebuild,v 1.3 2007/03/11 10:59:41 welp Exp $
-
-inherit cron pam eutils
-
-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="~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="debug doc pam selinux"
-
-DEPEND="app-editors/nano
- doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
- selinux? ( sys-libs/libselinux )
- pam? ( virtual/pam )"
-
-pkg_setup() {
- ROOTUSER=$(egetent passwd 0 | cut -d ':' -f 1)
- ROOTGROUP=$(egetent group 0 | cut -d ':' -f 1)
- if useq debug; then
- ewarn
- ewarn "WARNING: debug USE flag active!"
- ewarn "The debug USE flag makes fcron start in debug mode"
- ewarn "by default, thus not detaching into background."
- ewarn "This will make your system HANG on bootup if"
- ewarn "fcron is to be started automatically by the"
- ewarn "init system!"
- ewarn
- ebeep 5
- epause 60
- 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"
-}
-
-src_compile() {
- local myconf
-
- autoconf || die "autoconf failed"
-
- use doc && \
- myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- [[ -n "${ROOTUSER}" ]] && myconf="${myconf} --with-rootname=${ROOTUSER}"
- [[ -n "${ROOTGROUP}" ]] && myconf="${myconf} --with-rootgroup=${ROOTGROUP}"
-
- # QA security notice fix; see "[gentoo-core] Heads up changes in suid
- # handing with portage >=51_pre21" for more details.
- append-ldflags $(bindnow-flags)
-
- econf \
- $(use_with pam) \
- $(use_with selinux) \
- $(use_with debug) \
- --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=/bin/nano \
- --with-shell=/bin/sh \
- ${myconf} \
- || die "Configure problem"
-
- emake || die "Compile problem"
-}
-
-src_install() {
- # cron eclass stuff
- docrondir /var/spool/cron/fcrontabs -m0770 -o cron -g cron
- docron fcron -m0110 -o ${ROOTUSER:-root} -g ${ROOTGROUP:-root}
- docrontab fcrontab -m6110 -o cron -g cron
-
- # install fcron tools
- insinto /usr/bin
- insopts -o ${ROOTUSER:-root} -g cron -m6110 ; doins fcronsighup
- insopts -o cron -g cron -m6110 ; doins fcrondyn
-
- # /etc stuff
- insinto /etc/fcron
- insopts -m 640 -o ${ROOTUSER:-root} -g cron
- doins files/fcron.{allow,deny,conf}
- dosed 's:^\(fcrontabs.*=.*\)$:\1/fcrontabs:' /etc/fcron/fcron.conf \
- || die "dosed fcron.conf failed"
-
- # install PAM files
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- # install /etc/crontab and /etc/fcrontab
- insinto /etc
- doins ${FILESDIR}/crontab ${FILESDIR}/fcrontab
-
- # install init script
- newinitd ${FILESDIR}/fcron.init fcron || die "newinitd failed"
-
- # install the very handy check_system_crontabs script
- mv script/check_system_crontabs script/check_system_crontabs.orig
- sed -e 's:^FCRONTABS_DIR=.*$:FCRONTABS_DIR=/var/spool/cron/fcrontabs:' \
- script/check_system_crontabs.orig > script/check_system_crontabs
- dosbin script/check_system_crontabs
-
- # doc stuff
- dodoc MANIFEST VERSION
- newdoc files/fcron.conf fcron.conf.sample
- dodoc ${FILESDIR}/crontab
- dodoc doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt
- rm -f doc/en/man/*.3 # ugly hack for bitstring.3 manpage
- doman doc/en/man/*.[0-9]
- use doc && dohtml doc/en/HTML/*.html
-
- # localized docs
- local LANGUAGES=$(sed -n 's:LANGUAGES =::p' doc/Makefile)
- LANGUAGES="${LANGUAGES/en/}"
- local lang
- for lang in ${LANGUAGES}; do
- hasq ${lang} ${LINGUAS} || continue
- rm -f doc/${lang}/man/*.3 # ugly hack for bitstring.3 manpage
- doman -i18n=${lang} doc/${lang}/man/*.[0-9]
- use doc && docinto html/${lang} && dohtml doc/${lang}/HTML/*.html
- done
-}
-
-pkg_postinst() {
- einfo
- einfo "Each user who uses fcron should be added to the cron group"
- einfo "in /etc/group and also be added to /etc/fcron/fcron.allow"
- einfo
- einfo "fcron has some important differences compared to vixie-cron:"
- einfo
- einfo "1. fcron stores the crontabs in /var/spool/cron/fcrontabs"
- einfo
- einfo "2. fcron uses a special binary file format for storing the"
- einfo " crontabs in /var/spool/cron/fcrontabs/USERNAME,"
- einfo " but the original plain text version is saved as"
- einfo " /var/spool/cron/fcrontabs/USERNAME.orig for your reference."
- einfo
- einfo "3. fcron does not feature a system crontab in exactly the"
- einfo " same way as vixie-cron does. This version of fcron"
- einfo " features a crontab for a pseudo-user 'systab' for use"
- einfo " as the system crontab. Running a command like"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo " will write /etc/crontab to the fcron crontabs directory as"
- einfo
- einfo " /var/spool/cron/fcrontabs/systab"
- einfo
- einfo " Please note that changes to /etc/crontab will not become"
- einfo " active automatically! fcron also does not use the directory"
- einfo " /etc/cron.d by default like vixie-cron does."
- einfo " Fortunately, it's possible to emulate vixie-cron's behavior"
- einfo " with regards to /etc/crontab and /etc/cron.d by using a"
- einfo " little helper script called 'check_system_crontabs'."
- einfo " The file /etc/fcrontab (not /etc/crontab!) has been set up"
- einfo " to run the script once a while to check whether"
- einfo " /etc/fcrontab, /etc/crontab or files in /etc/cron.d/ have"
- einfo " changed since the last generation of the systab and"
- einfo " regenerate it from those three locations as necessary."
- einfo " You should run 'check_system_crontabs' once now to properly"
- einfo " generate an initial systab:"
- einfo
- einfo " check_system_crontabs -v -i -f"
- einfo
- einfo " The file /etc/fcrontab should only be used to run that"
- einfo " script in order to ensure independence from the standard"
- einfo " system crontab file /etc/crontab."
- einfo " You may of course adjust the schedule for the script"
- einfo " 'check_system_crontabs' or any other setting in"
- einfo " /etc/fcrontab as you desire."
- einfo
- einfo "If you do NOT want to use 'check_system_crontabs', you"
- einfo "might still want to activate the use of the well known"
- einfo "directories /etc/cron.{hourly|daily|weekly|monthly} by"
- einfo "just generating a systab once from /etc/crontab:"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo "Happy fcron'ing!"
- einfo
-}
diff --git a/sys-process/fcron/fcron-3.0.3_rc1.ebuild b/sys-process/fcron/fcron-3.0.3_rc1.ebuild
deleted file mode 100644
index 52823337e33c..000000000000
--- a/sys-process/fcron/fcron-3.0.3_rc1.ebuild
+++ /dev/null
@@ -1,249 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.3_rc1.ebuild,v 1.1 2007/04/16 15:50:28 wschlich Exp $
-
-inherit cron pam eutils
-
-MY_P=${P/_/-}
-DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
-HOMEPAGE="http://fcron.free.fr/"
-SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="debug doc pam selinux"
-
-DEPEND="doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
- selinux? ( sys-libs/libselinux )
- pam? ( virtual/pam )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- enewgroup fcron
- enewuser fcron -1 -1 -1 fcron
- rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
- rootgroup=$(egetent group 0 | cut -d ':' -f 1)
- if useq debug; then
- ewarn
- ewarn "WARNING: debug USE flag active!"
- ewarn "The debug USE flag makes fcron start in debug mode"
- ewarn "by default, thus not detaching into background."
- ewarn "This will make your system HANG on bootup if"
- ewarn "fcron is to be started automatically by the"
- ewarn "init system!"
- ewarn
- ebeep 10
- epause 60
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # respect LDFLAGS
- sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
-}
-
-src_compile() {
- local myconf
-
- autoconf || die "autoconf failed"
-
- use doc \
- && myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-
- [[ -n "${rootuser}" ]] && myconf="${myconf} --with-rootname=${rootuser}"
- [[ -n "${rootgroup}" ]] && myconf="${myconf} --with-rootgroup=${rootgroup}"
-
- # QA security notice fix; see "[gentoo-core] Heads up changes in suid
- # handing with portage >=51_pre21" for more details.
- append-ldflags $(bindnow-flags)
-
- econf \
- "$(useq debug || echo --with-cflags=${CFLAGS})" \
- $(use_with debug '' yes) \
- $(use_with pam) \
- $(use_with selinux) \
- --sysconfdir=/etc/fcron \
- --with-username=fcron \
- --with-groupname=fcron \
- --with-piddir=/var/run \
- --with-etcdir=/etc/fcron \
- --with-spooldir=/var/spool/fcron \
- --with-fifodir=/var/run \
- --with-fcrondyn=yes \
- --disable-checks \
- --with-editor=/usr/bin/vi \
- --with-sendmail=/usr/sbin/sendmail \
- --with-shell=/bin/sh \
- ${myconf} \
- || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- # cron eclass stuff
- docron fcron -m0755 -o ${rootuser:-root} -g ${rootgroup:-root}
- docrondir /var/spool/fcron -m6770 -o fcron -g fcron
- docrontab fcrontab -m6755 -o fcron -g fcron
-
- # install fcron tools
- insinto /usr/bin
- # fcronsighup needs to be suid root, because it sends a HUP
- # to the running fcron daemon
- insopts -m6755 -o ${rootuser:-root} -g fcron
- doins fcronsighup
- insopts -m6755 -o fcron -g fcron
- doins fcrondyn
-
- # /etc stuff
- diropts -m0750 -o ${rootuser:-root} -g fcron
- dodir /etc/fcron
- insinto /etc/fcron
- insopts -m0640 -o ${rootuser:-root} -g fcron
- doins files/fcron.{allow,deny,conf}
-
- # install PAM files
- newpamd files/fcron.pam fcron
- newpamd files/fcrontab.pam fcrontab
-
- # install /etc/crontab and /etc/fcrontab
- insopts -m0640 -o ${rootuser:-root} -g ${rootgroup:-root}
- insinto /etc
- doins ${FILESDIR}/crontab ${FILESDIR}/fcrontab
-
- # install init script
- newinitd ${FILESDIR}/fcron.init fcron
-
- # install the very handy check_system_crontabs script
- dosbin script/check_system_crontabs
-
- # doc stuff
- dodoc MANIFEST VERSION
- newdoc files/fcron.conf fcron.conf.sample
- dodoc ${FILESDIR}/crontab
- dodoc doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt
- rm -f doc/en/man/*.3 # ugly hack for bitstring.3 manpage
- doman doc/en/man/*.[0-9]
- use doc && dohtml doc/en/HTML/*.html
-
- # localized docs
- local LANGUAGES=$(sed -n 's:LANGUAGES =::p' doc/Makefile)
- LANGUAGES="${LANGUAGES/en/}"
- local lang
- for lang in ${LANGUAGES}; do
- hasq ${lang} ${LINGUAS} || continue
- rm -f doc/${lang}/man/*.3 # ugly hack for bitstring.3 manpage
- doman -i18n=${lang} doc/${lang}/man/*.[0-9]
- use doc && docinto html/${lang} && dohtml doc/${lang}/HTML/*.html
- done
-}
-
-pkg_postinst() {
- einfo
- einfo "fcron has some important differences compared to vixie-cron:"
- einfo
- einfo "1. fcron stores the crontabs in /var/spool/fcron"
- einfo " instead of /var/spool/cron/crontabs"
- einfo
- einfo "2. fcron uses a special binary file format for storing the"
- einfo " crontabs in /var/spool/fcron/USERNAME,"
- einfo " but the original plain text version is saved as"
- einfo " /var/spool/fcron/USERNAME.orig for your"
- einfo " reference (and for being edited with fcrontab)."
- einfo
- einfo "3. fcron does not feature a system crontab in exactly the"
- einfo " same way as vixie-cron does. This version of fcron"
- einfo " features a crontab for a pseudo-user 'systab' for use"
- einfo " as the system crontab. Running a command like"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo " will write /etc/crontab to the fcron crontabs directory as"
- einfo
- einfo " /var/spool/fcron/systab"
- einfo
- einfo " Please note that changes to /etc/crontab will not become"
- einfo " active automatically! fcron also does not use the directory"
- einfo " /etc/cron.d by default like vixie-cron does."
- einfo " Fortunately, it's possible to emulate vixie-cron's behavior"
- einfo " with regards to /etc/crontab and /etc/cron.d by using a"
- einfo " little helper script called 'check_system_crontabs'."
- einfo " The file /etc/fcrontab (not /etc/crontab!) has been set up"
- einfo " to run the script once a while to check whether"
- einfo " /etc/fcrontab, /etc/crontab or files in /etc/cron.d/ have"
- einfo " changed since the last generation of the systab and"
- einfo " regenerate it from those three locations as necessary."
- einfo " You should now run 'check_system_crontabs' once to properly"
- einfo " generate an initial systab:"
- einfo
- einfo " check_system_crontabs -v -i -f"
- einfo
- einfo " The file /etc/fcrontab should only be used to run that"
- einfo " script in order to ensure independence from the standard"
- einfo " system crontab file /etc/crontab."
- einfo " You may of course adjust the schedule for the script"
- einfo " 'check_system_crontabs' or any other setting in"
- einfo " /etc/fcrontab as you desire."
- einfo
- einfo "If you do NOT want to use 'check_system_crontabs', you"
- einfo "might still want to activate the use of the well known"
- einfo "directories /etc/cron.{hourly|daily|weekly|monthly} by"
- einfo "just generating a systab once from /etc/crontab:"
- einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
- einfo "Happy fcron'ing!"
- einfo
-
- ewarn
- ewarn "Fixing permissions and ownership of /usr/bin/fcron{tab,dyn,sighup}"
- chown fcron:fcron /usr/bin/fcron{tab,dyn} >&/dev/null
- chown ${rootuser:-root}:fcron /usr/bin/fcronsighup >&/dev/null
- chmod 6755 /usr/bin/fcron{tab,dyn,sighup} >&/dev/null
- ewarn "Fixing permissions and ownership of /etc/{fcron,fcrontab,crontab}"
- chown -R ${rootuser:-root}:fcron /etc/{fcron,fcrontab,crontab} >&/dev/null
- chmod -R g+rX,o= /etc/fcron /etc/{fcron,fcrontab,crontab} >&/dev/null
- ewarn
-
- ewarn
- ewarn "WARNING: fcron now uses a dedicated user and group"
- ewarn "'fcron' for the suid/sgid programs/files instead of"
- ewarn "the user and group 'cron' that were previously used."
- ewarn
- ewarn "fcron usage can now only be restricted by adding users"
- ewarn "to the following files instead of to the group 'cron':"
- ewarn
- ewarn " /etc/fcron/fcron.allow"
- ewarn " /etc/fcron/fcron.deny"
- ewarn
- ebeep 10
- epause 10
-
- if ls -1 /var/spool/cron/fcrontabs/* >&/dev/null; then
- ewarn
- ewarn "WARNING: fcron now uses a dedicated fcron-specific"
- ewarn "spooldir /var/spool/fcron instead of the commonly"
- ewarn "used /var/spool/cron for several reasons."
- ewarn
- ewarn "Copying over existing crontabs from /var/spool/cron/fcrontabs"
- cp /var/spool/cron/fcrontabs/* /var/spool/fcron/ >&/dev/null \
- || die "failed to migrate existing crontabs"
- ewarn "You should now remove /var/spool/cron/fcrontabs!"
- ewarn
- ewarn "Fixing permissions and ownership of /var/spool/fcron"
- chown root:root /var/spool/fcron/* >&/dev/null
- chmod 0600 /var/spool/fcron/* >&/dev/null
- chown fcron:fcron /var/spool/fcron/*.orig >&/dev/null
- chmod 0640 /var/spool/fcron/*.orig >&/dev/null
- ewarn
- ewarn "*** YOU SHOULD IMMEDIATELY UPDATE THE"
- ewarn "*** fcrontabs ENTRY IN /etc/fcron/fcron.conf"
- ewarn "*** AND RESTART YOUR FCRON DAEMON!"
- ebeep 20
- epause 10
- fi
-}
diff --git a/sys-process/fcron/files/digest-fcron-2.0.2 b/sys-process/fcron/files/digest-fcron-2.0.2
deleted file mode 100644
index bb428098c78f..000000000000
--- a/sys-process/fcron/files/digest-fcron-2.0.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 416c55d8a484eb6c9907828009fd649c fcron-2.0.2.src.tar.gz 169081
-RMD160 2eb8c0890c2d97d3e16b7ca7c453ee2f97c65b75 fcron-2.0.2.src.tar.gz 169081
-SHA256 aff43e96f6b252f4f56f155190a494b3bd95adb61b881ddfc2bd1cda9e71b77e fcron-2.0.2.src.tar.gz 169081
diff --git a/sys-process/fcron/files/digest-fcron-2.9.5.1 b/sys-process/fcron/files/digest-fcron-2.9.5.1
deleted file mode 100644
index ae895ad21de9..000000000000
--- a/sys-process/fcron/files/digest-fcron-2.9.5.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 bf39dcef6d0c452f167f5a31a1231e4e fcron-2.9.5.1.src.tar.gz 398400
-RMD160 05adef20321957eb6bc2167c82ae88c8d9a64182 fcron-2.9.5.1.src.tar.gz 398400
-SHA256 decc81f189f3d2e3caaeb7649f34171a524f654eb929b7243410cfb5f26c7c20 fcron-2.9.5.1.src.tar.gz 398400
diff --git a/sys-process/fcron/files/digest-fcron-2.9.7 b/sys-process/fcron/files/digest-fcron-2.9.7
deleted file mode 100644
index 4101c816f1e0..000000000000
--- a/sys-process/fcron/files/digest-fcron-2.9.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 9ead65bd13ea6a3278e167f88c572ddb fcron-2.9.7.src.tar.gz 408864
-RMD160 1068fde79e72eaedc8e60d50053cd0950c9c1778 fcron-2.9.7.src.tar.gz 408864
-SHA256 05662ff1c07b7f07dad79f3f060fc77ae4a0fc2463965b0b9802a4d58ebb7d04 fcron-2.9.7.src.tar.gz 408864
diff --git a/sys-process/fcron/files/digest-fcron-3.0.0 b/sys-process/fcron/files/digest-fcron-3.0.0
deleted file mode 100644
index 913d94dca166..000000000000
--- a/sys-process/fcron/files/digest-fcron-3.0.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 55e92f8536c8b52c9b73b96a6a3e0fe3 fcron-3.0.0.src.tar.gz 409015
-RMD160 e0d29f5cce81a4e184c3be96005a681edd885a74 fcron-3.0.0.src.tar.gz 409015
-SHA256 861e0ea68525f960e512aaebbc09d5848a9862982038a14a3e65c9e74ff2650e fcron-3.0.0.src.tar.gz 409015
diff --git a/sys-process/fcron/files/digest-fcron-3.0.1 b/sys-process/fcron/files/digest-fcron-3.0.1
deleted file mode 100644
index 59c004866df2..000000000000
--- a/sys-process/fcron/files/digest-fcron-3.0.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8e5dcb3a646c11294294895954ef0a48 fcron-3.0.1.src.tar.gz 536972
-RMD160 1b723f563b1340a5091f559e7f0c2eed7f8ee5ff fcron-3.0.1.src.tar.gz 536972
-SHA256 31288b04619bb9c7cd5fe6ff004c1e2c1340685cec2d0fa8725259c491699de9 fcron-3.0.1.src.tar.gz 536972
diff --git a/sys-process/fcron/files/digest-fcron-3.0.1-r1 b/sys-process/fcron/files/digest-fcron-3.0.1-r1
deleted file mode 100644
index 59c004866df2..000000000000
--- a/sys-process/fcron/files/digest-fcron-3.0.1-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8e5dcb3a646c11294294895954ef0a48 fcron-3.0.1.src.tar.gz 536972
-RMD160 1b723f563b1340a5091f559e7f0c2eed7f8ee5ff fcron-3.0.1.src.tar.gz 536972
-SHA256 31288b04619bb9c7cd5fe6ff004c1e2c1340685cec2d0fa8725259c491699de9 fcron-3.0.1.src.tar.gz 536972
diff --git a/sys-process/fcron/files/digest-fcron-3.0.1-r2 b/sys-process/fcron/files/digest-fcron-3.0.1-r2
deleted file mode 100644
index 59c004866df2..000000000000
--- a/sys-process/fcron/files/digest-fcron-3.0.1-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8e5dcb3a646c11294294895954ef0a48 fcron-3.0.1.src.tar.gz 536972
-RMD160 1b723f563b1340a5091f559e7f0c2eed7f8ee5ff fcron-3.0.1.src.tar.gz 536972
-SHA256 31288b04619bb9c7cd5fe6ff004c1e2c1340685cec2d0fa8725259c491699de9 fcron-3.0.1.src.tar.gz 536972
diff --git a/sys-process/fcron/files/digest-fcron-3.0.2 b/sys-process/fcron/files/digest-fcron-3.0.2
deleted file mode 100644
index c39f78dc0007..000000000000
--- a/sys-process/fcron/files/digest-fcron-3.0.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 f35e6af41d356ebcb38882f86a14fb94 fcron-3.0.2.src.tar.gz 540559
-RMD160 822f559550780c61c5822f4034fe99dd47577847 fcron-3.0.2.src.tar.gz 540559
-SHA256 ea25f4e9a78f6872c65cc97aa18c018b548e9fcd73b06d77c312e635ecf9ad48 fcron-3.0.2.src.tar.gz 540559
diff --git a/sys-process/fcron/files/digest-fcron-3.0.2-r1 b/sys-process/fcron/files/digest-fcron-3.0.2-r1
deleted file mode 100644
index c39f78dc0007..000000000000
--- a/sys-process/fcron/files/digest-fcron-3.0.2-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 f35e6af41d356ebcb38882f86a14fb94 fcron-3.0.2.src.tar.gz 540559
-RMD160 822f559550780c61c5822f4034fe99dd47577847 fcron-3.0.2.src.tar.gz 540559
-SHA256 ea25f4e9a78f6872c65cc97aa18c018b548e9fcd73b06d77c312e635ecf9ad48 fcron-3.0.2.src.tar.gz 540559
diff --git a/sys-process/fcron/files/digest-fcron-3.0.2-r2 b/sys-process/fcron/files/digest-fcron-3.0.2-r2
deleted file mode 100644
index c39f78dc0007..000000000000
--- a/sys-process/fcron/files/digest-fcron-3.0.2-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 f35e6af41d356ebcb38882f86a14fb94 fcron-3.0.2.src.tar.gz 540559
-RMD160 822f559550780c61c5822f4034fe99dd47577847 fcron-3.0.2.src.tar.gz 540559
-SHA256 ea25f4e9a78f6872c65cc97aa18c018b548e9fcd73b06d77c312e635ecf9ad48 fcron-3.0.2.src.tar.gz 540559
diff --git a/sys-process/fcron/files/digest-fcron-3.0.3_rc1 b/sys-process/fcron/files/digest-fcron-3.0.3_rc1
deleted file mode 100644
index 83c838fc47c3..000000000000
--- a/sys-process/fcron/files/digest-fcron-3.0.3_rc1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c8c7a5bf7c51548c70d1717105428a90 fcron-3.0.3-rc1.src.tar.gz 550772
-RMD160 c8d027e6e715c149c49f112ab511816ef59abd04 fcron-3.0.3-rc1.src.tar.gz 550772
-SHA256 5c6c6e66c842e69542649b7639a5849660558ec03730fde00ee4c574543b7e9d fcron-3.0.3-rc1.src.tar.gz 550772
diff --git a/sys-process/fcron/files/fcron-2.0.0-configure.diff b/sys-process/fcron/files/fcron-2.0.0-configure.diff
deleted file mode 100644
index b2c9ed983f1e..000000000000
--- a/sys-process/fcron/files/fcron-2.0.0-configure.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- configure.in.orig 2005-09-25 03:51:51.000000000 -0400
-+++ configure.in 2005-09-25 03:55:50.000000000 -0400
-@@ -265,13 +265,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
-@@ -795,7 +789,7 @@
- [ --with-debug=CFLAGS Use default debug flags or CFLAGS if given to compile fcron in debug mode.],
- [ case "$withval" in
- no)
-- cflags="-O2 -Wall"
-+ cflags="-Wall"
- debug="0"
- ;;
- yes)
-@@ -808,7 +802,7 @@
- debug="1"
- ;;
- esac ],
-- cflags="-O2 -Wall"
-+ cflags=""
- debug="0"
- )
- DEBUG=$debug
diff --git a/sys-process/fcron/files/fcron-2.9.5.1-fix-mail-output.diff b/sys-process/fcron/files/fcron-2.9.5.1-fix-mail-output.diff
deleted file mode 100644
index ed322237bc77..000000000000
--- a/sys-process/fcron/files/fcron-2.9.5.1-fix-mail-output.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- job.c 2004-11-14 11:32:36.000000000 -0500
-+++ job.c 2005-03-07 01:23:37.181878096 -0500
-@@ -535,7 +535,7 @@
- foreground = 0;
-
- /* set stdin to the job's output */
-- if ( fseek(mailf, 0, SEEK_SET ) != 0) die_e("Can't fseek()");
-+ if ( lseek(fileno(mailf), 0, SEEK_SET ) == -1) die_e("Can't lseek()");
- if ( dup2(fileno(mailf), 0) != 0 ) die_e("Can't dup2(fileno(mailf))");
-
- xcloselog();
diff --git a/sys-process/fcron/files/fcron.rc6 b/sys-process/fcron/files/fcron.rc6
deleted file mode 100755
index 5836eb33e768..000000000000
--- a/sys-process/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-process/fcron/files/fcron.rc6,v 1.2 2005/10/27 23:53:50 ka0ttic Exp $
-
-depend() {
- use logger slapd mysql postgresql
- 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 $?
-}