1 |
commit: 3761f8c21c91b2d9a3c11ebb40aabac9faea2240 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 11 11:27:14 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 11 16:20:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3761f8c2 |
7 |
|
8 |
sys-process/anacron: Drop old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-process/anacron/anacron-2.3-r3.ebuild | 63 ------------------------------- |
13 |
1 file changed, 63 deletions(-) |
14 |
|
15 |
diff --git a/sys-process/anacron/anacron-2.3-r3.ebuild b/sys-process/anacron/anacron-2.3-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 30f89d82973..00000000000 |
18 |
--- a/sys-process/anacron/anacron-2.3-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,63 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="5" |
25 |
- |
26 |
-inherit eutils toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="a periodic command scheduler" |
29 |
-HOMEPAGE="http://anacron.sourceforge.net/" |
30 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="GPL-2+" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~amd64 ~arm ~ppc ~x86" |
35 |
-IUSE="" |
36 |
- |
37 |
-DEPEND="sys-process/cronbase" |
38 |
-RDEPEND="${RDEPEND} |
39 |
- virtual/mta" |
40 |
- |
41 |
-src_prepare() { |
42 |
- epatch "${FILESDIR}"/${P}-compile-fix-from-debian.patch |
43 |
- epatch "${FILESDIR}"/${P}-headers.patch |
44 |
- sed -i \ |
45 |
- -e '/^CFLAGS/{s:=:+=:;s:-O2::}' \ |
46 |
- Makefile || die |
47 |
-} |
48 |
- |
49 |
-src_configure() { |
50 |
- tc-export CC |
51 |
-} |
52 |
- |
53 |
-src_install() { |
54 |
- #this does not work if the directory exists already |
55 |
- diropts -m0750 -o root -g cron |
56 |
- keepdir /var/spool/anacron |
57 |
- |
58 |
- doman anacrontab.5 anacron.8 |
59 |
- |
60 |
- newinitd "${FILESDIR}"/anacron.rc6 anacron |
61 |
- |
62 |
- dodoc ChangeLog README TODO |
63 |
- |
64 |
- dosbin anacron |
65 |
- |
66 |
- insinto /etc |
67 |
- doins "${FILESDIR}"/anacrontab |
68 |
-} |
69 |
- |
70 |
-pkg_postinst() { |
71 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
72 |
- elog "Schedule the command \"anacron -s\" as a daily cron-job (preferably" |
73 |
- elog "at some early morning hour). This will make sure that jobs are run" |
74 |
- elog "when the systems is left running for a night." |
75 |
- echo |
76 |
- elog "Update /etc/anacrontab to include what you want anacron to run." |
77 |
- |
78 |
- echo |
79 |
- elog "You may wish to read the Gentoo Linux Cron Guide, which can be" |
80 |
- elog "found online at:" |
81 |
- elog " https://wiki.gentoo.org/wiki/Cron" |
82 |
- fi |
83 |
-} |