diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-03-19 19:52:32 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-03-19 19:52:32 +0000 |
commit | fab3f5f68e53cead634bb4f2827d70b4164f7166 (patch) | |
tree | e35f8864e6c0ab5fc6329076d3824b64b57500c1 /sys-apps/dcron | |
parent | Version bumped. Closes #14702. (diff) | |
download | historical-fab3f5f68e53cead634bb4f2827d70b4164f7166.tar.gz historical-fab3f5f68e53cead634bb4f2827d70b4164f7166.tar.bz2 historical-fab3f5f68e53cead634bb4f2827d70b4164f7166.zip |
cleanup
Diffstat (limited to 'sys-apps/dcron')
-rw-r--r-- | sys-apps/dcron/dcron-2.7-r8.ebuild | 54 | ||||
-rw-r--r-- | sys-apps/dcron/dcron-2.7-r9.ebuild | 72 | ||||
-rw-r--r-- | sys-apps/dcron/files/digest-dcron-2.7-r8 | 1 | ||||
-rw-r--r-- | sys-apps/dcron/files/digest-dcron-2.7-r9 | 1 |
4 files changed, 0 insertions, 128 deletions
diff --git a/sys-apps/dcron/dcron-2.7-r8.ebuild b/sys-apps/dcron/dcron-2.7-r8.ebuild deleted file mode 100644 index 2c875b83c355..000000000000 --- a/sys-apps/dcron/dcron-2.7-r8.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.7-r8.ebuild,v 1.10 2003/02/13 15:51:42 vapier Exp $ - -# to use this, you must be part of the "cron" group - -S=${WORKDIR}/dcron -DESCRIPTION="A cute little cron from Matt Dillon" -SRC_URI="http://apollo.backplane.com/FreeSrc/dcron27.tgz" -HOMEPAGE="http://apollo.backplane.com" -KEYWORDS="x86 ppc sparc " -SLOT="0" -LICENSE="GPL-2" - -DEPEND="virtual/glibc" - -src_unpack() { - unpack ${A} - cd ${S} - patch -p0 < ${FILESDIR}/${P}-Makefile-gentoo.diff || die - # fix 'crontab -e' to look at $EDITOR and not $VISUAL - cp ${S}/crontab.c ${S}/crontab.c.orig - sed -e 's:VISUAL:EDITOR:g' ${S}/crontab.c.orig > ${S}/crontab.c - cp ${S}/crontab.1 ${S}/crontab.1.orig - sed -e 's:VISUAL:EDITOR:g' ${S}/crontab.1.orig > ${S}/crontab.1 - # fix for lines starting with whitespace - patch -p0 < ${FILESDIR}/${P}-whitespace.diff || die -} - -src_compile() { - make || die -} - -src_install() { - # lets just do it this way shall we - dodir /usr/{sbin,bin} - install -o root -g wheel -m 0700 crond ${D}/usr/sbin - install -o root -g cron -m 4750 crontab ${D}/usr/bin - - diropts -m0755 ; dodir /var - diropts -m0750 ; dodir /var/cron/lastrun - # gotcha: /var/spool needs to be 755 - diropts -m0755 ; dodir /var/spool - diropts -m0750 ; dodir /var/spool/cron/crontabs - # this still do not alway get created - touch ${D}/var/spool/cron/crontabs/.dummy - - dodoc CHANGELOG README - doman crontab.1 crond.8 - - insinto /etc ; doins ${FILESDIR}/crontab - - exeinto /etc/init.d ; newexe ${FILESDIR}/dcron.rc6 dcron -} diff --git a/sys-apps/dcron/dcron-2.7-r9.ebuild b/sys-apps/dcron/dcron-2.7-r9.ebuild deleted file mode 100644 index 1bd4dd356aed..000000000000 --- a/sys-apps/dcron/dcron-2.7-r9.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.7-r9.ebuild,v 1.11 2003/02/13 15:51:48 vapier Exp $ - -# to use this, you must be part of the "cron" group - -S=${WORKDIR}/dcron -DESCRIPTION="A cute little cron from Matt Dillon" -SRC_URI="http://apollo.backplane.com/FreeSrc/dcron27.tgz" -HOMEPAGE="http://apollo.backplane.com/" -KEYWORDS="x86 ppc sparc hppa" -SLOT="0" -LICENSE="GPL-2" - -DEPEND="virtual/glibc" - -RDEPEND="!virtual/cron - sys-apps/cronbase - virtual/mta" - -PROVIDE="virtual/cron" - -src_unpack() { - unpack ${A} - cd ${S} - patch -p0 < ${FILESDIR}/${P}-Makefile-gentoo.diff || die - # fix 'crontab -e' to look at $EDITOR and not $VISUAL - cp ${S}/crontab.c ${S}/crontab.c.orig - sed -e 's:VISUAL:EDITOR:g' ${S}/crontab.c.orig > ${S}/crontab.c - cp ${S}/crontab.1 ${S}/crontab.1.orig - sed -e 's:VISUAL:EDITOR:g' ${S}/crontab.1.orig > ${S}/crontab.1 - # fix for lines starting with whitespace - patch -p0 < ${FILESDIR}/${P}-whitespace.diff || die -} - -src_compile() { - make || die -} - -src_install() { - - #this does not work if the directory already exists - diropts -m 0750 -o root -g cron - dodir /var/spool/cron/crontabs - - - dodir /usr/{sbin,bin} - install -o root -g wheel -m 0700 crond ${D}/usr/sbin - install -o root -g cron -m 4750 crontab ${D}/usr/bin - - dodoc CHANGELOG README - doman crontab.1 crond.8 - - exeinto /etc/init.d ; newexe ${FILESDIR}/dcron.rc6 dcron - - insinto /etc - doins ${FILESDIR}/crontab - - dodoc ${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 - -} diff --git a/sys-apps/dcron/files/digest-dcron-2.7-r8 b/sys-apps/dcron/files/digest-dcron-2.7-r8 deleted file mode 100644 index 0bbc16c10bc6..000000000000 --- a/sys-apps/dcron/files/digest-dcron-2.7-r8 +++ /dev/null @@ -1 +0,0 @@ -MD5 8984a6bb120cd674d4fb7f1cc52630a2 dcron27.tgz 15868 diff --git a/sys-apps/dcron/files/digest-dcron-2.7-r9 b/sys-apps/dcron/files/digest-dcron-2.7-r9 deleted file mode 100644 index 0bbc16c10bc6..000000000000 --- a/sys-apps/dcron/files/digest-dcron-2.7-r9 +++ /dev/null @@ -1 +0,0 @@ -MD5 8984a6bb120cd674d4fb7f1cc52630a2 dcron27.tgz 15868 |