summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-01-15 12:42:14 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-01-15 12:42:14 +0000
commitecd3b5f2050ddaac6f6c48bbdf171edf1127c6ea (patch)
tree5ecfc585531c914099cc13947ca31484af514f72 /sys-apps/vixie-cron
parentInitial commit. (diff)
downloadgentoo-2-ecd3b5f2050ddaac6f6c48bbdf171edf1127c6ea.tar.gz
gentoo-2-ecd3b5f2050ddaac6f6c48bbdf171edf1127c6ea.tar.bz2
gentoo-2-ecd3b5f2050ddaac6f6c48bbdf171edf1127c6ea.zip
Revision bump for cron.eclass testing.
(Portage version: 2.0.51-r12)
Diffstat (limited to 'sys-apps/vixie-cron')
-rw-r--r--sys-apps/vixie-cron/ChangeLog7
-rw-r--r--sys-apps/vixie-cron/Manifest46
-rw-r--r--sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r52
-rw-r--r--sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild97
4 files changed, 124 insertions, 28 deletions
diff --git a/sys-apps/vixie-cron/ChangeLog b/sys-apps/vixie-cron/ChangeLog
index c0e8cbfdfe1b..7e4011d03e40 100644
--- a/sys-apps/vixie-cron/ChangeLog
+++ b/sys-apps/vixie-cron/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/vixie-cron
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/ChangeLog,v 1.48 2005/01/10 06:49:11 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/ChangeLog,v 1.49 2005/01/15 12:42:13 ka0ttic Exp $
+
+*vixie-cron-4.1-r5 (15 Jan 2005)
+
+ 15 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> +vixie-cron-4.1-r5.ebuild:
+ Revision bump for cron.eclass testing.
10 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org>
vixie-cron-3.0.1-r1.ebuild, vixie-cron-3.0.1-r3.ebuild,
diff --git a/sys-apps/vixie-cron/Manifest b/sys-apps/vixie-cron/Manifest
index e09c8e544034..d21496d9dde3 100644
--- a/sys-apps/vixie-cron/Manifest
+++ b/sys-apps/vixie-cron/Manifest
@@ -1,36 +1,28 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 4b48f0ba12308f1afe776e97cf757957 vixie-cron-4.1-r3.ebuild 2830
-MD5 18d86105047be4b43ffdacd31092e91e vixie-cron-4.1-r4.ebuild 3298
-MD5 5f6e2e2e1586bca899cf1ea2080de64a vixie-cron-3.0.1-r3.ebuild 1915
MD5 1985d806ba1556d197f4054765b6006e vixie-cron-3.0.1-r4.ebuild 2019
-MD5 f3774f6f04f01a785c5ba1be837ba5e3 ChangeLog 11244
-MD5 10e6e5c36bab78f2ad1c22adb26c4931 vixie-cron-3.0.1-r5.ebuild 2202
+MD5 f69931bb1558b7ab9c161cfb970066fc vixie-cron-4.1-r5.ebuild 2633
MD5 96f9e03ead97dce72db64ee9a6730ae2 vixie-cron-3.0.1-r1.ebuild 1670
+MD5 5f6e2e2e1586bca899cf1ea2080de64a vixie-cron-3.0.1-r3.ebuild 1915
+MD5 18d86105047be4b43ffdacd31092e91e vixie-cron-4.1-r4.ebuild 3298
+MD5 10e6e5c36bab78f2ad1c22adb26c4931 vixie-cron-3.0.1-r5.ebuild 2202
+MD5 64ee12357ca15f885f60934cc41d674a ChangeLog 11396
MD5 0fcc78652b11c683f3fe76d614934379 metadata.xml 288
-MD5 4c35adb745265e3008fe1999d6a18952 files/vixie-cron-4.1-selinux.diff 3557
+MD5 8692002451e69ee31d667eb2d0dc904d files/vixie-cron-4.1-cron.deny 220
MD5 90b7dda2ca0ecdd2f4dcd9764eaa2358 files/crontab-3.0.1-r4 617
-MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 1853
-MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r5 144
-MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r4 143
-MD5 9d66b761d15afae9471d33509b712fe9 files/vixie-cron-3.0.1-close_stdin.diff 810
MD5 f9c762005dc744193babe199ba3fb297 files/crontab 604
-MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r4 144
-MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r1 144
-MD5 08c5d571b72d52a2762b2c40639d6946 files/vixie-cron-4.1-commandline.patch 387
-MD5 cec7bf697ed66fa43aedb973b2ad5362 files/vixie-cron-3.0.1-pam.patch 1854
-MD5 620b10c2982aed3071acd92d52e76d8e files/vixie-cron-4.1-pam.patch 1714
-MD5 cdf831673f04d48d38020428f6c72937 files/digest-vixie-cron-4.1-r3 143
-MD5 2790891d7be3833a500e5af547546b0d files/vixie-cron.rc6 526
MD5 de84c3326555349db053b4aa13c0805f files/crontab.5.diff 772
MD5 5eab102dfecfc35810ab8cf50f95d0d3 files/cron.pam.d 123
-MD5 8692002451e69ee31d667eb2d0dc904d files/vixie-cron-4.1-cron.deny 220
+MD5 620b10c2982aed3071acd92d52e76d8e files/vixie-cron-4.1-pam.patch 1714
+MD5 4c35adb745265e3008fe1999d6a18952 files/vixie-cron-4.1-selinux.diff 3557
+MD5 2790891d7be3833a500e5af547546b0d files/vixie-cron.rc6 526
+MD5 9d66b761d15afae9471d33509b712fe9 files/vixie-cron-3.0.1-close_stdin.diff 810
+MD5 08c5d571b72d52a2762b2c40639d6946 files/vixie-cron-4.1-commandline.patch 387
+MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r1 144
MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r3 144
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFB4iWdLLFUmVNQ7rkRAnHFAJ9Chkhq9BdAVGdnKybocjgHbd4qkwCfV8nR
-2mdDXmW+nVcXZuOZMSMjhhE=
-=gTls
------END PGP SIGNATURE-----
+MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r4 144
+MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r5 144
+MD5 cec7bf697ed66fa43aedb973b2ad5362 files/vixie-cron-3.0.1-pam.patch 1854
+MD5 cdf831673f04d48d38020428f6c72937 files/digest-vixie-cron-4.1-r3 143
+MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r4 143
+MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r5 143
+MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 1853
diff --git a/sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r5 b/sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r5
new file mode 100644
index 000000000000..23195713d1ae
--- /dev/null
+++ b/sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r5
@@ -0,0 +1,2 @@
+MD5 09dc04f9879684d27c64c910174a9536 vixie-cron-4.1.tar.bz2 54246
+MD5 7b52dead5180d5769a70b581413bd6f0 vixie-cron-4.1-gentoo-r3.patch.bz2 4121
diff --git a/sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild b/sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild
new file mode 100644
index 000000000000..3e6dc33aa79f
--- /dev/null
+++ b/sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild,v 1.1 2005/01/15 12:42:14 ka0ttic Exp $
+
+inherit cron toolchain-funcs debug
+
+# no useful homepage, bug #65898
+HOMEPAGE="ftp://ftp.isc.org/isc/cron/"
+DESCRIPTION="Paul Vixie's cron daemon, a fully featured crond implementation"
+
+SELINUX_PATCH="${P}-selinux.diff"
+GENTOO_PATCH_REV="r3"
+
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2"
+
+LICENSE="as-is"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~ia64 ~amd64 ~ppc64"
+IUSE="selinux pam debug"
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ selinux? ( sys-libs/libselinux )
+ pam? ( sys-libs/pam )"
+
+RDEPEND="selinux? ( sys-libs/libselinux )
+ pam? ( sys-libs/pam )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${WORKDIR}/${P}-gentoo-${GENTOO_PATCH_REV}.patch
+ epatch ${FILESDIR}/crontab.5.diff
+ epatch ${FILESDIR}/${P}-commandline.patch
+
+ use pam && epatch ${FILESDIR}/${P}-pam.patch
+ use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
+}
+
+src_compile() {
+ # we need to tinker with ldflags since we're installing as setuid. see
+ # "[gentoo-core] Heads up changes in suid handing with portage >=51_pre21"
+ # for details. Note that we do the sed fixes here rather than in unpack so
+ # that our changes to LDFLAGS are picked up.
+
+ append-ldflags -Wl,-z,now
+ use debug && append-flags -DDEBUGGING
+
+ sed -i -e "s:gcc \(-Wall.*\):$(tc-getCC) \1 ${CFLAGS}:" \
+ -e "s:^\(LDFLAGS[ \t]\+=\).*:\1 ${LDFLAGS}:" Makefile \
+ || die "sed Makefile failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ docrondir
+ docron
+ docrontab
+
+ # /etc stuff
+ insinto /etc
+ newins ${FILESDIR}/crontab-3.0.1-r4 crontab
+ newins ${FILESDIR}/${P}-cron.deny cron.deny
+
+ keepdir /etc/cron.d
+ use pam && dopamd ${FILESDIR}/cron.pam.d cron
+ newinitd ${FILESDIR}/vixie-cron.rc6 vixie-cron
+
+ # doc stuff
+ doman crontab.1 crontab.5 cron.8
+ dodoc ${FILESDIR}/crontab
+ dodoc CHANGES CONVERSION FEATURES MAIL README THANKS
+}
+
+pkg_postinst() {
+ if [ -f ${ROOT}/etc/init.d/vcron ]
+ then
+ ewarn "Please run:"
+ ewarn "rc-update del vcron"
+ ewarn "rc-update add vixie-cron default"
+ fi
+
+ # bug 71326
+ if [ -u ${ROOT}/etc/pam.d/cron ] ; then
+ echo
+ ewarn "Warning: previous ebuilds didn't reset permissions prior"
+ ewarn "to installing crontab, resulting in /etc/pam.d/cron being"
+ ewarn "installed with the SUID and executable bits set."
+ ewarn
+ ewarn "Run the following as root to set the proper permissions:"
+ ewarn " chmod 0644 /etc/pam.d/cron"
+ echo
+ fi
+
+ cron-pkg_postinst
+}