diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-04 21:33:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-04 21:33:22 +0000 |
commit | ef07b0a483b470ad0f03ab2873c100b22dc7509a (patch) | |
tree | 8ed6d9a8916b91372db0beaa7e96bdd4b92e2e92 /sys-process | |
parent | Marked ppc stable for bug #150110. (diff) | |
download | gentoo-2-ef07b0a483b470ad0f03ab2873c100b22dc7509a.tar.gz gentoo-2-ef07b0a483b470ad0f03ab2873c100b22dc7509a.tar.bz2 gentoo-2-ef07b0a483b470ad0f03ab2873c100b22dc7509a.zip |
old
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/dcron/dcron-2.9-r2.ebuild | 84 | ||||
-rw-r--r-- | sys-process/dcron/files/dcron-2.7-Makefile-gentoo.diff | 25 | ||||
-rw-r--r-- | sys-process/dcron/files/dcron-2.9-ldflags.patch | 24 | ||||
-rw-r--r-- | sys-process/dcron/files/digest-dcron-2.9-r2 | 1 |
4 files changed, 0 insertions, 134 deletions
diff --git a/sys-process/dcron/dcron-2.9-r2.ebuild b/sys-process/dcron/dcron-2.9-r2.ebuild deleted file mode 100644 index 3a378790fee7..000000000000 --- a/sys-process/dcron/dcron-2.9-r2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/dcron-2.9-r2.ebuild,v 1.1 2005/03/04 23:42:58 ciaranm Exp $ - -inherit eutils toolchain-funcs - -MY_PV=29 -DESCRIPTION="A cute little cron from Matt Dillon" -HOMEPAGE="http://apollo.backplane.com/" -SRC_URI="http://apollo.backplane.com/FreeSrc/${PN}${MY_PV}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" -IUSE="" - -DEPEND="virtual/libc - >=sys-apps/sed-4 - >=sys-apps/portage-2.0.51" -RDEPEND="!virtual/cron - >=sys-process/cronbase-0.2.1-r3 - virtual/mta" -PROVIDE="virtual/cron" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/dcron-2.7-Makefile-gentoo.diff - epatch ${FILESDIR}/dcron-2.9-ldflags.patch - - # fix 'crontab -e' to look at $EDITOR and not $VISUAL - sed -i 's:VISUAL:EDITOR:g' crontab.{c,1} - - # remove gcc hardcode - sed -i "s:\(CC = \)gcc:\1$(tc-getCC):" Makefile -} - -src_compile() { - make || die -} - -src_install() { - #this does not work if the directory already exists - diropts -m 0750 -o root -g cron - keepdir /var/spool/cron/crontabs - - exeopts -m 0700 -o root -g wheel - exeinto /usr/sbin - doexe crond || die - - exeopts -m 4750 -o root -g cron - exeinto /usr/bin - doexe crontab || die - # reset execopts after setuid install of crontab to - # prevent init.d/dcron from being installed setuid as well - exeopts -m 0750 -o root -g root - - dodoc CHANGELOG README ${FILESDIR}/crontab - doman crontab.1 crond.8 - - doinitd ${FILESDIR}/dcron - - insinto /etc/logrotate.d - newins ${FILESDIR}/dcron.logrotate dcron - - insopts -o root -g root -m 0644 - insinto /etc - doins ${FILESDIR}/crontab -} - -pkg_postinst() { - echo - einfo "To activate /etc/cron.{hourly|daily|weekly|montly} please run: " - einfo "crontab /etc/crontab" - echo - einfo "!!! That will replace root's current crontab !!!" - echo - einfo "You may wish to read the Gentoo Linux Cron Guide, which can be" - einfo "found online at:" - einfo " http://www.gentoo.org/doc/en/cron-guide.xml" - echo -} diff --git a/sys-process/dcron/files/dcron-2.7-Makefile-gentoo.diff b/sys-process/dcron/files/dcron-2.7-Makefile-gentoo.diff deleted file mode 100644 index 0272185e550e..000000000000 --- a/sys-process/dcron/files/dcron-2.7-Makefile-gentoo.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- Makefile.orig Tue Feb 27 01:13:24 2001 -+++ Makefile Tue Feb 27 16:32:34 2001 -@@ -2,7 +2,7 @@ - # - - CC = gcc --CFLAGS = -O2 -Wall -Wstrict-prototypes -+CFLAGS += -Wall -Wstrict-prototypes - LIB = - SRCS = main.c subs.c database.c job.c - OBJS = main.o subs.o database.o job.o -@@ -15,11 +15,11 @@ - - crond: ${OBJS} - ${CC} ${CFLAGS} -o crond ${OBJS} ${LIB} -- strip crond -+ - - crontab: ${D_OBJS} - ${CC} ${CFLAGS} -o crontab ${D_OBJS} -- strip crontab -+ - - protos.h: ${SRCS} ${D_SRCS} - fgrep -h Prototype ${SRCS} ${D_SRCS} >protos.h diff --git a/sys-process/dcron/files/dcron-2.9-ldflags.patch b/sys-process/dcron/files/dcron-2.9-ldflags.patch deleted file mode 100644 index 5eedfc8246c8..000000000000 --- a/sys-process/dcron/files/dcron-2.9-ldflags.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- Makefile.orig 2004-09-04 20:15:28.000000000 -0400 -+++ Makefile 2004-09-04 20:18:53.000000000 -0400 -@@ -3,6 +3,7 @@ - - CC = gcc - CFLAGS += -Wall -Wstrict-prototypes -+LDFLAGS += -Wl,-z,now - LIB = - SRCS = main.c subs.c database.c job.c - OBJS = main.o subs.o database.o job.o -@@ -14,11 +15,11 @@ - all: ${PROTOS} crond crontab - - crond: ${OBJS} -- ${CC} ${CFLAGS} -o crond ${OBJS} ${LIB} -+ ${CC} ${CFLAGS} -o crond ${OBJS} ${LIB} ${LDFLAGS} - - - crontab: ${D_OBJS} -- ${CC} ${CFLAGS} -o crontab ${D_OBJS} -+ ${CC} ${CFLAGS} -o crontab ${D_OBJS} ${LDFLAGS} - - - protos.h: ${SRCS} ${D_SRCS} diff --git a/sys-process/dcron/files/digest-dcron-2.9-r2 b/sys-process/dcron/files/digest-dcron-2.9-r2 deleted file mode 100644 index bf4decff8ad3..000000000000 --- a/sys-process/dcron/files/digest-dcron-2.9-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 120fb2ca3d91496b32df0ab01dcaec5e dcron29.tgz 15608 |