Version bump.
authorBryan Østergaard <kloeri@gentoo.org>
Sat, 9 Oct 2004 07:53:50 +0000 (07:53 +0000)
committerBryan Østergaard <kloeri@gentoo.org>
Sat, 9 Oct 2004 07:53:50 +0000 (07:53 +0000)
sys-apps/fcron/ChangeLog
sys-apps/fcron/Manifest
sys-apps/fcron/fcron-2.0.1.ebuild [new file with mode: 0644]
sys-apps/fcron/fcron-2.9.5.ebuild [new file with mode: 0644]
sys-apps/fcron/files/digest-fcron-2.0.1 [new file with mode: 0644]
sys-apps/fcron/files/digest-fcron-2.9.5 [new file with mode: 0644]
sys-apps/fcron/files/fcron-2.9.5-configure.diff [new file with mode: 0644]

index 517b51d1d7473a1efa06415f98c6534cd5763a99..440676c89cdcadaa5edaecc79d60c9ccebf8ff02 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/fcron
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/ChangeLog,v 1.29 2004/09/04 21:31:29 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/ChangeLog,v 1.30 2004/10/09 07:53:50 kloeri Exp $
+
+*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:
index 87aa9f8deedccc61ea4591233299f1cb42159406..9e63a30c29f88b1b2e63219f1c5b747b30111895 100644 (file)
@@ -1,18 +1,23 @@
-MD5 020a8397134cfcfbc8057d5060e607cb fcron-2.9.4.ebuild 2869
 MD5 f1473e29d6627b7440ebe83124ff3512 fcron-2.0.0-r4.ebuild 2134
-MD5 5728089a58f5fb379fda8f65a338a5f6 ChangeLog 4099
+MD5 65f2376d0c7376a23e37396fb3bdfdaf fcron-2.0.1.ebuild 2149
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 8331ba4de4f67517afa3af7c269bab22 files/fcron.conf-2.9.4 681
-MD5 52572ff759db2d68e16f8cbc46fc6cd9 files/crontab 833
-MD5 7e9a6dd8e9a4e482d7b6bf33d1f9881b files/fcron.conf 747
-MD5 d450e99144dc943526cd370c2b3a87e1 files/fcron.deny 377
-MD5 068bd306e10da92d3c159ee12be338bb files/digest-fcron-2.9.4 67
-MD5 b53d17ddba7360bc230a94a0537b4395 files/fcron-2.0.0-gcc34.diff 251
+MD5 1d2217d4cb545987ea3729bdfbfa34a7 fcron-2.9.5.ebuild 2784
+MD5 020a8397134cfcfbc8057d5060e607cb fcron-2.9.4.ebuild 2869
+MD5 82d970b15c6050280074c2b973f001aa ChangeLog 4273
 MD5 618ee227782ad9a3939c89e932eb2d2e files/fcron.pam 296
-MD5 54d34efc5c1c41481d4605e38ddba3a8 files/fcron.rc6 705
+MD5 f659349d3f24fa1b57684af8f495efe6 files/fcrontab.pam 506
 MD5 f5fbd4d1733d97b08034756b0e9bf3c2 files/fcron-2.0.0-gentoo.diff 492
 MD5 2d4d092f7a76917183b5d8086d871e67 files/fcron.allow 375
-MD5 f659349d3f24fa1b57684af8f495efe6 files/fcrontab.pam 506
+MD5 7e9a6dd8e9a4e482d7b6bf33d1f9881b files/fcron.conf 747
+MD5 068bd306e10da92d3c159ee12be338bb files/digest-fcron-2.9.4 67
+MD5 4ca5f2b70a7519c6390c5b23c9d058b4 files/digest-fcron-2.0.0-r4 67
+MD5 fdf5c18f2b46001e9a6c1bf561e49676 files/digest-fcron-2.0.1 67
+MD5 52572ff759db2d68e16f8cbc46fc6cd9 files/crontab 833
+MD5 54d34efc5c1c41481d4605e38ddba3a8 files/fcron.rc6 705
+MD5 d450e99144dc943526cd370c2b3a87e1 files/fcron.deny 377
+MD5 36ac9fab5fd89ba7f8f9a1900d5562fc files/digest-fcron-2.9.5 67
 MD5 f74287027182d448b6022db116d87d24 files/2.9.4-braindead-configure-check.patch 366
+MD5 f74287027182d448b6022db116d87d24 files/fcron-2.9.5-configure.diff 366
+MD5 b53d17ddba7360bc230a94a0537b4395 files/fcron-2.0.0-gcc34.diff 251
 MD5 d69c448b972f28fe669f2d70b7bf4c5b files/fcron-2.9.4-selinuxupdate.diff 6902
-MD5 4ca5f2b70a7519c6390c5b23c9d058b4 files/digest-fcron-2.0.0-r4 67
+MD5 8331ba4de4f67517afa3af7c269bab22 files/fcron.conf-2.9.4 681
diff --git a/sys-apps/fcron/fcron-2.0.1.ebuild b/sys-apps/fcron/fcron-2.0.1.ebuild
new file mode 100644 (file)
index 0000000..4d98042
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.1.ebuild,v 1.1 2004/10/09 07:53:50 kloeri Exp $
+
+inherit 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"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~hppa ~amd64"
+IUSE=""
+
+DEPEND="virtual/editor"
+RDEPEND="!virtual/cron
+       >=sys-apps/cronbase-0.2.1-r3
+       virtual/mta"
+PROVIDE="virtual/cron"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${PN}-2.0.0-gentoo.diff
+       epatch ${FILESDIR}/${PN}-2.0.0-gcc34.diff
+       # fix LIBOBJS vs AC_LIBOBJ problem
+       sed -i -e 's|LIBOBJS|AC_LIBOBJ|g' configure.in
+       autoconf || die "autoconf problem"
+}
+
+src_compile() {
+       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() {
+       insinto /usr/sbin
+       insopts -o root -g root -m 0110 ; doins fcron
+       insinto /usr/bin
+       insopts -o cron -g cron -m 6110 ; doins fcrontab
+       insopts -o root -g cron -m 6110 ; doins fcronsighup
+
+       dosym fcrontab /usr/bin/crontab
+
+       doman doc/*.{1,3,5,8}
+
+       dodoc MANIFEST VERSION doc/{CHANGES,README,FAQ,INSTALL,THANKS}
+       newdoc ${FILESDIR}/fcron.conf fcron.conf.sample
+       docinto html ; dohtml doc/*.html
+       dodoc ${FILESDIR}/crontab
+
+       insinto /etc/fcron
+       insopts -m 640 -o root -g cron
+       doins ${FILESDIR}/{fcron.allow,fcron.deny,fcron.conf}
+
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/fcron.rc6 fcron
+
+       dodir /etc
+       install -o root -g root -m 0644 ${FILESDIR}/crontab ${D}/etc/crontab
+}
+
+pkg_postinst() {
+       # empty dir
+       install -m0770 -o cron -g cron -d ${ROOT}/var/spool/cron/fcrontabs
+
+       einfo
+       einfo "To activate /etc/cron.{hourly|daily|weekly|montly} please run: "
+       einfo "crontab /etc/crontab"
+       einfo
+       einfo "!!! That will replace root's current crontab !!!"
+       einfo
+}
diff --git a/sys-apps/fcron/fcron-2.9.5.ebuild b/sys-apps/fcron/fcron-2.9.5.ebuild
new file mode 100644 (file)
index 0000000..b3bbe64
--- /dev/null
@@ -0,0 +1,105 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/10/09 07:53:50 kloeri Exp $
+
+inherit 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"
+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-apps/cronbase-0.2.1-r3
+       virtual/mta"
+PROVIDE="virtual/cron"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${P}-configure.diff
+       autoconf || die "autoconf failed"
+}
+
+src_compile() {
+       local myconf=
+       use pam \
+               && myconf="${myconf} --with-pam=yes" \
+               || myconf="${myconf} --with-pam=no"
+       use doc && myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
+       use selinux \
+               && myconf="${myconf} --with-selinux=yes" \
+               || myconf="${myconf} --with-selinux=no"
+       econf \
+               --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-cflags="${CFLAGS}" \
+               ${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,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
+       if use doc ; then
+               docinto html ; dohtml doc/HTML/*.html
+       fi
+       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
+}
diff --git a/sys-apps/fcron/files/digest-fcron-2.0.1 b/sys-apps/fcron/files/digest-fcron-2.0.1
new file mode 100644 (file)
index 0000000..dce4cca
--- /dev/null
@@ -0,0 +1 @@
+MD5 8a5652f025ee81627f289162270a5bd0 fcron-2.0.1.src.tar.gz 145324
diff --git a/sys-apps/fcron/files/digest-fcron-2.9.5 b/sys-apps/fcron/files/digest-fcron-2.9.5
new file mode 100644 (file)
index 0000000..7038089
--- /dev/null
@@ -0,0 +1 @@
+MD5 73042f2666dff27444789d542bbcd607 fcron-2.9.5.src.tar.gz 396421
diff --git a/sys-apps/fcron/files/fcron-2.9.5-configure.diff b/sys-apps/fcron/files/fcron-2.9.5-configure.diff
new file mode 100644 (file)
index 0000000..f122730
--- /dev/null
@@ -0,0 +1,16 @@
+--- configure.in.orig  2004-04-18 18:14:37.944027760 -0400
++++ configure.in       2004-04-18 18:14:57.447062848 -0400
+@@ -254,13 +254,8 @@
+     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