summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-07-28 17:29:04 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-07-28 17:29:04 +0000
commit534b666ad21d170cfe480a92781b730d617dff76 (patch)
treed2594288168ee752f91d7c04fa5182af5ee7de15 /sys-process/fcron
parentRun gnuconfig-update, otherwise the config.{sub,guess} will be too old to rec... (diff)
downloadhistorical-534b666ad21d170cfe480a92781b730d617dff76.tar.gz
historical-534b666ad21d170cfe480a92781b730d617dff76.tar.bz2
historical-534b666ad21d170cfe480a92781b730d617dff76.zip
Version bump.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-process/fcron')
-rw-r--r--sys-process/fcron/ChangeLog7
-rw-r--r--sys-process/fcron/Manifest20
-rw-r--r--sys-process/fcron/fcron-2.9.7.ebuild106
-rw-r--r--sys-process/fcron/files/digest-fcron-2.9.71
4 files changed, 124 insertions, 10 deletions
diff --git a/sys-process/fcron/ChangeLog b/sys-process/fcron/ChangeLog
index 8d6be311b90f..dc0c7c76e4ca 100644
--- a/sys-process/fcron/ChangeLog
+++ b/sys-process/fcron/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/fcron
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.5 2005/05/20 13:10:17 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.6 2005/07/28 17:29:04 ka0ttic Exp $
+
+*fcron-2.9.7 (28 Jul 2005)
+
+ 28 Jul 2005; Aaron Walker <ka0ttic@gentoo.org> +fcron-2.9.7.ebuild:
+ Version bump.
20 May 2005; Diego Pettenò <flameeyes@gentoo.org> fcron-2.9.5.1.ebuild,
fcron-2.9.5.1-r3.ebuild, fcron-2.9.6.ebuild:
diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest
index f46edb78ff75..6e89a012290f 100644
--- a/sys-process/fcron/Manifest
+++ b/sys-process/fcron/Manifest
@@ -1,24 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 e5aefad7fab6b10a83a0cf96386e1f7b ChangeLog 8766
-MD5 c1d0a2ed938718f4afbebd7581e4dbf4 fcron-2.0.2.ebuild 3132
MD5 9e7133598fee50497fe0d9779ea1eee9 fcron-2.9.5.1-r3.ebuild 2977
-MD5 013d69a3c71c5685c3c5cb79262dea8d fcron-2.9.5.1.ebuild 3402
MD5 2bc006c5b79f2e2eed4ab34bf454d584 fcron-2.9.6.ebuild 2981
+MD5 c1d0a2ed938718f4afbebd7581e4dbf4 fcron-2.0.2.ebuild 3132
+MD5 013d69a3c71c5685c3c5cb79262dea8d fcron-2.9.5.1.ebuild 3402
+MD5 606bbf5a63f01483e2b14aab56783756 ChangeLog 8879
MD5 bd1deeb53b2b8e05397238a5479c74cc metadata.xml 251
+MD5 c5be641f3ac32d16043211c7f2d39af3 fcron-2.9.7.ebuild 2924
MD5 92d3b4a42f3e88041e50bb552b9104fd files/crontab 832
MD5 d18b499ccc7338a352ccc5111a23e224 files/digest-fcron-2.0.2 67
-MD5 42d8a93754df65def4a3746bbc68e494 files/digest-fcron-2.9.5.1 69
-MD5 42d8a93754df65def4a3746bbc68e494 files/digest-fcron-2.9.5.1-r3 69
MD5 27402364431631de2372578c57efb3ff files/digest-fcron-2.9.6 67
+MD5 64d9fabcf4bbba9191877ea7031fe575 files/digest-fcron-2.9.7 67
+MD5 b54804c4d3b4f7f16163fb5ce4496ae8 files/fcron.rc6 709
MD5 bebebfe6bc1ce39b1703b624f2be567e files/fcron-2.0.0-configure.diff 390
+MD5 42d8a93754df65def4a3746bbc68e494 files/digest-fcron-2.9.5.1 69
MD5 e87691832e6f48a5aed1c6cf3b681bce files/fcron-2.9.5.1-fix-mail-output.diff 415
-MD5 b54804c4d3b4f7f16163fb5ce4496ae8 files/fcron.rc6 709
+MD5 42d8a93754df65def4a3746bbc68e494 files/digest-fcron-2.9.5.1-r3 69
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCjeDrj5H05b2HAEkRAla3AJ9gUVds+jiCgAracLr7dfAd7dHgewCfbdfy
-8yAViwBnFWo9g/2T7LEiAvI=
-=gAex
+iD8DBQFC6RX5EZCkKN40op4RAjVNAKC6eXqpFjtcI6UObwyinYEDd5sGPwCdEtK1
+yT4C+XzVDnTHnAq566F6kvQ=
+=kOx0
-----END PGP SIGNATURE-----
diff --git a/sys-process/fcron/fcron-2.9.7.ebuild b/sys-process/fcron/fcron-2.9.7.ebuild
new file mode 100644
index 000000000000..ecafc0f26c05
--- /dev/null
+++ b/sys-process/fcron/fcron-2.9.7.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2005 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.1 2005/07/28 17:29:04 ka0ttic 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/files/digest-fcron-2.9.7 b/sys-process/fcron/files/digest-fcron-2.9.7
new file mode 100644
index 000000000000..2cd1766dfbcd
--- /dev/null
+++ b/sys-process/fcron/files/digest-fcron-2.9.7
@@ -0,0 +1 @@
+MD5 9ead65bd13ea6a3278e167f88c572ddb fcron-2.9.7.src.tar.gz 408864