1 |
commit: 3a6b4e18f5023176eab1e50e2cc9887f78f3bf4a |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 06:45:23 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 06:49:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6b4e18 |
7 |
|
8 |
sys-process/cronie: Removed old |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
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.4-r1.ebuild | 117 ------------------------------ |
15 |
2 files changed, 118 deletions(-) |
16 |
|
17 |
diff --git a/sys-process/cronie/Manifest b/sys-process/cronie/Manifest |
18 |
index 85685348109..2d8069394e6 100644 |
19 |
--- a/sys-process/cronie/Manifest |
20 |
+++ b/sys-process/cronie/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST cronie-1.5.4.tar.gz 122452 BLAKE2B 042961390807c22aa1db3ab592470538d9a348d33fee8f088dfa20e45ee72c72d9502bf5eb5a957494c55d99a6705b94774442f5a2fb06eeab1aa0b0e1a4d6ae SHA512 40a8cd750bc18dcb264e88cf049b0ea66f053b7b6cc10f38fd4f4e6b912871f41ce7ad126521a08203e81c00846e001016b47da3c5e8730a7b49fc970d7b2a6a |
23 |
DIST cronie-1.5.5.tar.gz 124642 BLAKE2B 19bb690a2ae66b9b99dcd0536c115fbdf46c0f1c58922e08fb31d9789df3358438001bd4b6b55d16e99e3927364c618ac22cb04661db1245d09709fcb58eef1e SHA512 88b0e877e5b36a0063b37a6ce82133117c95ebd4435ce843e09c6247ac50f36c66503b850aafa75512fab07d46a110ddfdf52e7e984638ed794588e338547166 |
24 |
|
25 |
diff --git a/sys-process/cronie/cronie-1.5.4-r1.ebuild b/sys-process/cronie/cronie-1.5.4-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 50c1b98619e..00000000000 |
28 |
--- a/sys-process/cronie/cronie-1.5.4-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,117 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit autotools cron flag-o-matic 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 ~riscv ~s390 sparc x86" |
44 |
-IUSE="+anacron +inotify pam selinux" |
45 |
- |
46 |
-DEPEND=" |
47 |
- pam? ( sys-libs/pam ) |
48 |
- anacron? ( |
49 |
- !sys-process/anacron |
50 |
- !sys-process/systemd-cron |
51 |
- elibc_musl? ( sys-libs/obstack-standalone ) |
52 |
- elibc_uclibc? ( sys-libs/obstack-standalone ) |
53 |
- ) |
54 |
-" |
55 |
-RDEPEND="${DEPEND} |
56 |
- sys-apps/debianutils |
57 |
-" |
58 |
- |
59 |
-#cronie supports /etc/crontab |
60 |
-CRON_SYSTEM_CRONTAB="yes" |
61 |
- |
62 |
-S="${WORKDIR}/${PN}-${P}" |
63 |
- |
64 |
-PATCHES=( |
65 |
- "${FILESDIR}/${PN}-1.5.3-systemd.patch" |
66 |
-) |
67 |
- |
68 |
-pkg_setup() { |
69 |
- enewgroup crontab |
70 |
-} |
71 |
- |
72 |
-src_prepare() { |
73 |
- default |
74 |
- eautoreconf |
75 |
-} |
76 |
- |
77 |
-src_configure() { |
78 |
- local myeconfargs=( |
79 |
- $(use_with inotify) |
80 |
- $(use_with pam) |
81 |
- $(use_with selinux) |
82 |
- $(use_enable anacron) |
83 |
- --enable-syscrontab |
84 |
- --with-daemon_username=cron |
85 |
- --with-daemon_groupname=cron |
86 |
- ) |
87 |
- |
88 |
- if use anacron; then |
89 |
- if use elibc_musl || use elibc_uclibc ; then |
90 |
- append-cflags "-lobstack" |
91 |
- fi |
92 |
- fi |
93 |
- SPOOL_DIR="/var/spool/cron/crontabs" \ |
94 |
- ANACRON_SPOOL_DIR="/var/spool/anacron" \ |
95 |
- econf "${myeconfargs[@]}" |
96 |
-} |
97 |
- |
98 |
-src_install() { |
99 |
- default |
100 |
- |
101 |
- docrondir -m 1730 -o root -g crontab |
102 |
- fowners root:crontab /usr/bin/crontab |
103 |
- fperms 2751 /usr/bin/crontab |
104 |
- |
105 |
- newconfd "${S}"/crond.sysconfig ${PN} |
106 |
- |
107 |
- insinto /etc |
108 |
- newins "${FILESDIR}/${PN}-crontab" crontab |
109 |
- newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny |
110 |
- |
111 |
- insinto /etc/cron.d |
112 |
- doins contrib/0hourly |
113 |
- |
114 |
- newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN} |
115 |
- newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond |
116 |
- |
117 |
- systemd_newunit contrib/cronie.systemd cronie.service |
118 |
- |
119 |
- if use anacron ; then |
120 |
- local anacrondir="/var/spool/anacron" |
121 |
- keepdir ${anacrondir} |
122 |
- fowners root:cron ${anacrondir} |
123 |
- fperms 0750 ${anacrondir} |
124 |
- |
125 |
- insinto /etc |
126 |
- doins contrib/anacrontab |
127 |
- |
128 |
- insinto /etc/cron.hourly |
129 |
- doins contrib/0anacron |
130 |
- fperms 0750 /etc/cron.hourly/0anacron |
131 |
- else |
132 |
- insinto /etc/cron.d |
133 |
- doins contrib/dailyjobs |
134 |
- fi |
135 |
- |
136 |
- einstalldocs |
137 |
-} |
138 |
- |
139 |
-pkg_postinst() { |
140 |
- cron_pkg_postinst |
141 |
- |
142 |
- if [[ -n "${REPLACING_VERSIONS}" ]] ; then |
143 |
- ewarn "You should restart ${PN} daemon or else you might experience segfaults" |
144 |
- ewarn "or ${PN} not working reliably anymore." |
145 |
- einfo "(see https://bugs.gentoo.org/557406 for details.)" |
146 |
- fi |
147 |
-} |