summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-03-13 10:29:05 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-03-13 10:29:05 +0000
commit6bc40e58547ace51049aed717934e3f180706a11 (patch)
tree1d25551a731c888bdf4085f6f478544f33a331bc /sys-process/vixie-cron
parentremove perl dep #70984 and use $(get_libdir) #78297 (diff)
downloadhistorical-6bc40e58547ace51049aed717934e3f180706a11.tar.gz
historical-6bc40e58547ace51049aed717934e3f180706a11.tar.bz2
historical-6bc40e58547ace51049aed717934e3f180706a11.zip
Revision bump; updated list of files ignored in /etc/cron.d
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-process/vixie-cron')
-rw-r--r--sys-process/vixie-cron/ChangeLog7
-rw-r--r--sys-process/vixie-cron/Manifest10
-rw-r--r--sys-process/vixie-cron/files/digest-vixie-cron-4.1-r72
-rw-r--r--sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild98
4 files changed, 112 insertions, 5 deletions
diff --git a/sys-process/vixie-cron/ChangeLog b/sys-process/vixie-cron/ChangeLog
index e7a0c1e56c8d..7195950ed285 100644
--- a/sys-process/vixie-cron/ChangeLog
+++ b/sys-process/vixie-cron/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/vixie-cron
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.2 2005/03/05 13:37:45 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.3 2005/03/13 10:29:05 ka0ttic Exp $
+
+*vixie-cron-4.1-r7 (13 Mar 2005)
+
+ 13 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> +vixie-cron-4.1-r7.ebuild:
+ Revision bump; updated list of files ignored in /etc/cron.d
*vixie-cron-3.0.1-r5 (04 Mar 2005)
diff --git a/sys-process/vixie-cron/Manifest b/sys-process/vixie-cron/Manifest
index b0bb88a82518..5336e633f6bc 100644
--- a/sys-process/vixie-cron/Manifest
+++ b/sys-process/vixie-cron/Manifest
@@ -2,9 +2,10 @@
Hash: SHA1
MD5 da21751a527096452e591d8defac6026 vixie-cron-3.0.1-r4.ebuild 2024
+MD5 81fc7b47c869e07db1d1d00deb1cfcbd vixie-cron-4.1-r7.ebuild 2673
MD5 09e2d4607c603eb1bedaceaa87bf92c6 vixie-cron-4.1-r4.ebuild 3300
MD5 af45391149f90c6a9a7fca422e349727 vixie-cron-3.0.1-r5.ebuild 2208
-MD5 feedd57c5ea39031c8181da78ae9198f ChangeLog 13406
+MD5 cc31b255187daf707d10c32941bd8e67 ChangeLog 13578
MD5 6d7f5fd27859bb9653f8b45b2178e466 vixie-cron-4.1-r6.ebuild 2673
MD5 0fcc78652b11c683f3fe76d614934379 metadata.xml 288
MD5 2d67e6c187ebd062179a892d79466462 files/vixie-cron-4.1-cron.deny 220
@@ -23,11 +24,12 @@ MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r5 144
MD5 cec7bf697ed66fa43aedb973b2ad5362 files/vixie-cron-3.0.1-pam.patch 1854
MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r4 143
MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r6 143
+MD5 97c19ba5204c68115a2648856e685c0c files/digest-vixie-cron-4.1-r7 143
MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 1853
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFCKbYvI1lqEGTUzyQRAt+SAJ9/N4GIhpfI04Et68U332+qB1cc7wCfQccz
-M2qfaYqFJ8yexgRl2+m7U6E=
-=LEm6
+iD8DBQFCNBX9EZCkKN40op4RAq7MAJwNnNmUIRGDP0lBQESquD3hp9XSSgCfbePt
+zjL4AT1JSQqtqoonZa4Yg44=
+=+k5d
-----END PGP SIGNATURE-----
diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r7 b/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r7
new file mode 100644
index 000000000000..acb420b92e8b
--- /dev/null
+++ b/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r7
@@ -0,0 +1,2 @@
+MD5 09dc04f9879684d27c64c910174a9536 vixie-cron-4.1.tar.bz2 54246
+MD5 c674b03c6e76798b1c74f6070df167cc vixie-cron-4.1-gentoo-r4.patch.bz2 4204
diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild
new file mode 100644
index 000000000000..3864787f937f
--- /dev/null
+++ b/sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild,v 1.1 2005/03/13 10:29:05 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="r4"
+
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2"
+
+LICENSE="as-is"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+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
+ epatch ${FILESDIR}/${P}-basename.diff
+
+ 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
+ newpamd ${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
+}