diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-10-07 15:14:46 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-10-07 15:53:19 +0200 |
commit | 3574cad54051181e18c1eb96308be688f65e8b16 (patch) | |
tree | 6c882334710ec6ce07fabef03eb377e687c26577 /sys-process/anacron | |
parent | sys-fs/quotatool: Drop old (EAPI=0) (diff) | |
download | gentoo-3574cad54051181e18c1eb96308be688f65e8b16.tar.gz gentoo-3574cad54051181e18c1eb96308be688f65e8b16.tar.bz2 gentoo-3574cad54051181e18c1eb96308be688f65e8b16.zip |
sys-process/anacron: Drop old (EAPI=0)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-process/anacron')
-rw-r--r-- | sys-process/anacron/anacron-2.3-r2.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/sys-process/anacron/anacron-2.3-r2.ebuild b/sys-process/anacron/anacron-2.3-r2.ebuild deleted file mode 100644 index 0cd447e477a6..000000000000 --- a/sys-process/anacron/anacron-2.3-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils - -DESCRIPTION="a periodic command scheduler" -HOMEPAGE="http://anacron.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm ppc x86" -IUSE="" - -DEPEND=">=sys-apps/sed-4 - sys-process/cronbase" -RDEPEND="virtual/mta - virtual/cron" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-compile-fix-from-debian.patch - sed -i "s:^CFLAGS =:CFLAGS = $CFLAGS:" Makefile -} - -src_compile() { - emake || die -} - -src_install() { - #this does not work if the directory exists already - diropts -m0750 -o root -g cron - keepdir /var/spool/anacron - - doman anacrontab.5 anacron.8 - - newinitd "${FILESDIR}"/anacron.rc6 anacron - - dodoc ChangeLog README TODO - - insinto /usr/sbin - insopts -o root -g root -m 0750 ; doins anacron - - insinto /etc - doins "${FILESDIR}"/anacrontab -} - -pkg_postinst() { - einfo "Schedule the command \"anacron -s\" as a daily cron-job (preferably" - einfo "at some early morning hour). This will make sure that jobs are run" - einfo "when the systems is left running for a night." - einfo "" - einfo "Update /etc/anacrontab to include what you want anacron to run." - - echo - einfo "You may wish to read the Gentoo Linux Cron Guide, which can be" - einfo "found online at:" - einfo " https://wiki.gentoo.org/wiki/Cron" - echo -} |