summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-27 19:22:15 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-27 19:22:15 +0000
commitc19c7dbf4e2a01d90bd509e0e69d9f2dd2929ecd (patch)
tree54b617d7052def23f618d5e20a77da0e0fa8ffaa /sys-process
parentFix building with GCC 4.4. (bug #276188 by the diegobot) (diff)
downloadgentoo-2-c19c7dbf4e2a01d90bd509e0e69d9f2dd2929ecd.tar.gz
gentoo-2-c19c7dbf4e2a01d90bd509e0e69d9f2dd2929ecd.tar.bz2
gentoo-2-c19c7dbf4e2a01d90bd509e0e69d9f2dd2929ecd.zip
old, still using bindnow-flags
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/vixie-cron/Manifest1
-rw-r--r--sys-process/vixie-cron/vixie-cron-4.1-r9.ebuild105
2 files changed, 0 insertions, 106 deletions
diff --git a/sys-process/vixie-cron/Manifest b/sys-process/vixie-cron/Manifest
index 2014a182aac9..49e3973e2736 100644
--- a/sys-process/vixie-cron/Manifest
+++ b/sys-process/vixie-cron/Manifest
@@ -16,6 +16,5 @@ DIST vixie-cron-4.1-gentoo-r4.patch.bz2 4204 RMD160 1d439c0bb473e8307a5c33e2449e
DIST vixie-cron-4.1.tar.bz2 54246 RMD160 a7f6aaa6deb9924d56da8dca3e2e323e0786f97e SHA1 d8b087c0e5f7a2a9c74e3400b660756ab6d800c9 SHA256 fd25119b301e0e8306ec27ee912298740c5c8ae879bac02381429cf355d1122d
EBUILD vixie-cron-4.1-r10.ebuild 3442 RMD160 2ea9efaba757ca9604b78af20a35bb633229a5e6 SHA1 fb5c6f82817208f8dea8d10bd41d733dfaece238 SHA256 48c057fb2daf4f70f5522d18b4f27c684589c5684eb8b3aa4a5564b4986490ad
EBUILD vixie-cron-4.1-r11.ebuild 3455 RMD160 0e35d659fc12688dd641f14546acf3d92c2d5062 SHA1 eed6e9e7cd02a4420137e23df844fd5e6c2a31f1 SHA256 af0210b47a379ad0f2d3888612ca261fe2bda4038a8e75d54ea63a767addd325
-EBUILD vixie-cron-4.1-r9.ebuild 2819 RMD160 a212c7c3c541624d66abba6afc1478914309fa78 SHA1 0e80a5711a8a1af4fbac01e8b9843e013998b889 SHA256 fd3a9124ef472f42f56cf304b2b721de0dc7a45eee9c3a71f14cae36b97ccc8e
MISC ChangeLog 21097 RMD160 6639d34aa5c98ad05a99e8e0f7f7e8f3f35c15f0 SHA1 e3e32b21e6405092a66c8d0fa885649993917836 SHA256 aec847bdc03340cc038fd5bae17b70ea8506351daf13e9e500f8d71ed220c60f
MISC metadata.xml 158 RMD160 298878d8b5da225547b337739a1a48192546d7b8 SHA1 5a9f7a1c9f0f56d1b0e72ee9b67b5cc5771f6d7d SHA256 a262a73b2049a89ab6a4bdf51df27bea44c7f0aa0ee33176c59a9c63eb45e764
diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r9.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r9.ebuild
deleted file mode 100644
index 986db61a6a49..000000000000
--- a/sys-process/vixie-cron/vixie-cron-4.1-r9.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2009 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-r9.ebuild,v 1.16 2009/05/14 16:41:49 bangert Exp $
-
-inherit cron toolchain-funcs pam
-
-# 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="ISC BSD-2 BSD"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="selinux pam debug"
-
-DEPEND="selinux? ( sys-libs/libselinux )
- pam? ( virtual/pam )"
-
-RDEPEND="selinux? ( sys-libs/libselinux )
- pam? ( virtual/pam )"
-
-#vixie-cron supports /etc/crontab
-CRON_SYSTEM_CRONTAB="yes"
-
-pkg_setup() {
- enewgroup cron 16
-}
-
-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
- epatch ${FILESDIR}/${P}-setuid_check.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 $(bindnow-flags)
- 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}/pamd.compatible 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
-}