1 |
commit: bf80b30548b904aff57482f8eeaa352a1ebcad36 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 14 16:39:21 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 14 17:03:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf80b305 |
7 |
|
8 |
sys-process/cronie: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.55, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-process/cronie/Manifest | 1 - |
14 |
sys-process/cronie/cronie-1.5.1-r1.ebuild | 101 ------------------------------ |
15 |
2 files changed, 102 deletions(-) |
16 |
|
17 |
diff --git a/sys-process/cronie/Manifest b/sys-process/cronie/Manifest |
18 |
index bbbaf37067c..5b198abb6e9 100644 |
19 |
--- a/sys-process/cronie/Manifest |
20 |
+++ b/sys-process/cronie/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST cronie-1.5.1.tar.gz 114848 BLAKE2B 9b2a045c2c3c18a931588c620e455c4f2efbf17a5f5826bc1b276bd2c4537fe91d7f81cdb7434dc7d8357414c14d9dc89c90bb7a5dc22956d90b6a84c731f498 SHA512 7e5b2e5cc782d04b84ffced21b4601ed5a041c125ec9daa3ae3c704c04b376b07f8f6e6e1351659690ce695ca4c9373456420099eefde985e15fbe5d3ebdcf5a |
23 |
DIST cronie-1.5.2.tar.gz 121604 BLAKE2B 4225439fd13a32bba3bd24f25d7dd405cdb123e666ebbf14574143af9d161867f82ea3fc479d81a884590faaa9c42e19c971285e01a19d6ac793b7deb7fc4775 SHA512 6455e234becc44e6568fa25fd72abfaa293cb0bc2d2f1d124e551c068ba01083192b21e82e941158c8c1f41cb6dad3851d665b9f3baa82fd49080f3f8619740b |
24 |
|
25 |
diff --git a/sys-process/cronie/cronie-1.5.1-r1.ebuild b/sys-process/cronie/cronie-1.5.1-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 43b64498605..00000000000 |
28 |
--- a/sys-process/cronie/cronie-1.5.1-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,101 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-inherit autotools cron pam systemd user |
37 |
- |
38 |
-DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron" |
39 |
-HOMEPAGE="https://github.com/cronie-crond/cronie" |
40 |
-SRC_URI="https://github.com/cronie-crond/cronie/archive/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="ISC BSD BSD-2 GPL-2" |
43 |
-KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86" |
44 |
-IUSE="+anacron +inotify pam selinux" |
45 |
- |
46 |
-DEPEND="pam? ( virtual/pam ) |
47 |
- anacron? ( !sys-process/anacron )" |
48 |
-RDEPEND="${DEPEND} |
49 |
- sys-apps/debianutils" |
50 |
- |
51 |
-#cronie supports /etc/crontab |
52 |
-CRON_SYSTEM_CRONTAB="yes" |
53 |
- |
54 |
-S="${WORKDIR}/${PN}-${P}" |
55 |
- |
56 |
-PATCHES=( |
57 |
- "${FILESDIR}/cronie-systemd.patch" |
58 |
-) |
59 |
- |
60 |
-pkg_setup() { |
61 |
- enewgroup crontab |
62 |
-} |
63 |
- |
64 |
-src_prepare() { |
65 |
- default |
66 |
- eautoreconf |
67 |
-} |
68 |
- |
69 |
-src_configure() { |
70 |
- SPOOL_DIR="/var/spool/cron/crontabs" \ |
71 |
- ANACRON_SPOOL_DIR="/var/spool/anacron" \ |
72 |
- econf \ |
73 |
- $(use_with inotify) \ |
74 |
- $(use_with pam) \ |
75 |
- $(use_with selinux) \ |
76 |
- $(use_enable anacron) \ |
77 |
- --enable-syscrontab \ |
78 |
- --with-daemon_username=cron \ |
79 |
- --with-daemon_groupname=cron |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- emake install DESTDIR="${D}" |
84 |
- |
85 |
- docrondir -m 1730 -o root -g crontab |
86 |
- fowners root:crontab /usr/bin/crontab |
87 |
- fperms 2751 /usr/bin/crontab |
88 |
- |
89 |
- newconfd "${S}"/crond.sysconfig ${PN} |
90 |
- |
91 |
- insinto /etc |
92 |
- newins "${FILESDIR}/${PN}-crontab" crontab |
93 |
- newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny |
94 |
- |
95 |
- insinto /etc/cron.d |
96 |
- doins contrib/0hourly |
97 |
- |
98 |
- newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN} |
99 |
- newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond |
100 |
- |
101 |
- systemd_newunit contrib/cronie.systemd cronie.service |
102 |
- |
103 |
- if use anacron ; then |
104 |
- local anacrondir="/var/spool/anacron" |
105 |
- keepdir ${anacrondir} |
106 |
- fowners root:cron ${anacrondir} |
107 |
- fperms 0750 ${anacrondir} |
108 |
- |
109 |
- insinto /etc |
110 |
- doins contrib/anacrontab |
111 |
- |
112 |
- insinto /etc/cron.hourly |
113 |
- doins contrib/0anacron |
114 |
- fperms 0750 /etc/cron.hourly/0anacron |
115 |
- else |
116 |
- insinto /etc/cron.d |
117 |
- doins contrib/dailyjobs |
118 |
- fi |
119 |
- |
120 |
- einstalldocs |
121 |
-} |
122 |
- |
123 |
-pkg_postinst() { |
124 |
- cron_pkg_postinst |
125 |
- |
126 |
- if [[ -n "${REPLACING_VERSIONS}" ]] ; then |
127 |
- ewarn "You should restart ${PN} daemon or else you might experience segfaults" |
128 |
- ewarn "or ${PN} not working reliably anymore." |
129 |
- einfo "(see https://bugs.gentoo.org/557406 for details.)" |
130 |
- fi |
131 |
-} |