summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-11 13:27:14 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-11 18:20:58 +0200
commit3761f8c21c91b2d9a3c11ebb40aabac9faea2240 (patch)
tree71436232d3e059cd201d15aab7fa1bc519904c32
parentsys-libs/lwp: Drop old (diff)
downloadgentoo-3761f8c2.tar.gz
gentoo-3761f8c2.tar.bz2
gentoo-3761f8c2.zip
sys-process/anacron: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--sys-process/anacron/anacron-2.3-r3.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/sys-process/anacron/anacron-2.3-r3.ebuild b/sys-process/anacron/anacron-2.3-r3.ebuild
deleted file mode 100644
index 30f89d82973..00000000000
--- a/sys-process/anacron/anacron-2.3-r3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils toolchain-funcs
-
-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-process/cronbase"
-RDEPEND="${RDEPEND}
- virtual/mta"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-compile-fix-from-debian.patch
- epatch "${FILESDIR}"/${P}-headers.patch
- sed -i \
- -e '/^CFLAGS/{s:=:+=:;s:-O2::}' \
- Makefile || die
-}
-
-src_configure() {
- tc-export CC
-}
-
-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
-
- dosbin anacron
-
- insinto /etc
- doins "${FILESDIR}"/anacrontab
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- elog "Schedule the command \"anacron -s\" as a daily cron-job (preferably"
- elog "at some early morning hour). This will make sure that jobs are run"
- elog "when the systems is left running for a night."
- echo
- elog "Update /etc/anacrontab to include what you want anacron to run."
-
- echo
- elog "You may wish to read the Gentoo Linux Cron Guide, which can be"
- elog "found online at:"
- elog " https://wiki.gentoo.org/wiki/Cron"
- fi
-}