Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 529350 | Differences between
and this patch

Collapse All | Expand All

(-)a/sys-process/cronie/ChangeLog (+267 lines)
Line 0 Link Here
1
# ChangeLog for sys-process/cronie
2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.61 2014/12/30 17:42:09 maekke Exp $
4
5
  30 Dec 2014; Markus Meier <maekke@gentoo.org> cronie-1.4.12.ebuild:
6
  arm stable, bug #533276
7
8
  22 Dec 2014; Mikle Kolyada <zlogene@gentoo.org> cronie-1.4.12.ebuild:
9
  amd64 stable wrt bug #533276
10
11
  22 Dec 2014; Jeroen Roovers <jer@gentoo.org> cronie-1.4.12.ebuild:
12
  Stable for HPPA (bug #533276).
13
14
*cronie-1.4.12 (22 Sep 2014)
15
16
  22 Sep 2014; Lars Wendler <polynomial-c@gentoo.org> +cronie-1.4.12.ebuild:
17
  Version bump.
18
19
  07 Sep 2014; Jack Morgan <jmorgan@gentoo.org> cronie-1.4.11-r3.ebuild:
20
  sparc, ppc, ppc64 stable
21
22
  10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> cronie-1.4.11-r1.ebuild,
23
  cronie-1.4.11-r3.ebuild:
24
  QA: drop trailing '.' from DESCRIPTION
25
26
  05 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> cronie-1.4.11-r3.ebuild:
27
  Add ~s390 keyword wrt bug #497394
28
29
*cronie-1.4.11-r3 (18 Apr 2014)
30
31
  18 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> -cronie-1.4.11-r2.ebuild,
32
  +cronie-1.4.11-r3.ebuild, files/cronie-1.3-crontab:
33
  Only use anachron if /etc/cron.hourly/0anacron is executable.
34
35
*cronie-1.4.11-r2 (30 Mar 2014)
36
37
  30 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> +cronie-1.4.11-r2.ebuild,
38
  +files/cronie-1.3-crontab:
39
  Attempt to fix installation of anacron as suggested by Matthew Schultz in bug
40
  #503666.
41
42
  26 Mar 2014; Christian Ruppert <idl0r@gentoo.org> cronie-1.4.11-r1.ebuild:
43
  Enable inotify by default
44
45
  04 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> files/anacron-1.0-initd,
46
  files/cronie-1.3-initd:
47
  Fixed pidfile location for non-linux systems.
48
49
*cronie-1.4.11-r1 (25 Feb 2014)
50
51
  25 Feb 2014; Lars Wendler <polynomial-c@gentoo.org> -cronie-1.4.9-r5.ebuild,
52
  -cronie-1.4.11.ebuild, +cronie-1.4.11-r1.ebuild, files/anacron-1.0-initd,
53
  files/cronie-1.3-initd:
54
  Revbump to install anacrontab as well. Thanks to Matthew Schultz for
55
  reporting this in bug #502420 and providing an ebuild patch. Committed
56
  straight to stable. Fixed pidfile location in init scripts. Removed old.
57
58
  11 Jan 2014;  <zlogene@gentoo.org> cronie-1.4.11.ebuild:
59
  Add ~ppc64 keyword wrt bug #497394
60
61
  11 Jan 2014;  <zlogene@gentoo.org> cronie-1.4.11.ebuild:
62
  Add ~ppc keyword wrt bug #497394
63
64
  10 Jan 2014;  <zlogene@gentoo.org> cronie-1.4.11.ebuild:
65
  Add ~ia64 keyword wrt bug #497394
66
67
  10 Jan 2014;  <zlogene@gentoo.org> cronie-1.4.11.ebuild:
68
  Add ~alpha keyword wrt bug #497394
69
70
  09 Jan 2014; Sergey Popov <pinkbyte@gentoo.org> cronie-1.4.11.ebuild:
71
  Add ~mips keyword, wrt bug #497394
72
73
  07 Jan 2014; Jeroen Roovers <jer@gentoo.org> cronie-1.4.11.ebuild:
74
  Stable for HPPA (bug #497394).
75
76
  23 Dec 2013; Agostino Sarubbo <ago@gentoo.org> cronie-1.4.11.ebuild:
77
  Stable for sparc, wrt bug #490368
78
79
  29 Nov 2013; Markus Meier <maekke@gentoo.org> cronie-1.4.11.ebuild:
80
  arm stable, bug #490368
81
82
  04 Nov 2013; Sergey Popov <pinkbyte@gentoo.org> cronie-1.4.11.ebuild:
83
  Stable on amd64 and x86, wrt bug #490368
84
85
  04 Nov 2013; Lars Wendler <polynomial-c@gentoo.org> cronie-1.4.9-r5.ebuild,
86
  cronie-1.4.11.ebuild:
87
  Added GPL-2 license as init scripts are covered by it (bug #426168).
88
89
*cronie-1.4.11 (10 Aug 2013)
90
91
  10 Aug 2013; Lars Wendler <polynomial-c@gentoo.org> -cronie-1.4.9-r4.ebuild,
92
  +cronie-1.4.11.ebuild:
93
  Version bump (bug #480434). Removed old.
94
95
  03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> cronie-1.4.9-r5.ebuild:
96
  Stable for sparc, wrt bug #476030
97
98
  14 Jul 2013; Agostino Sarubbo <ago@gentoo.org> cronie-1.4.9-r5.ebuild:
99
  Stable for arm, wrt bug #476030
100
101
  07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> cronie-1.4.9-r5.ebuild:
102
  Stable for x86, wrt bug #476030
103
104
  07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> cronie-1.4.9-r5.ebuild:
105
  Stable for amd64, wrt bug #476030
106
107
  14 Feb 2013; Lars Wendler <polynomial-c@gentoo.org> -files/cronie-1.2-initd,
108
  -cronie-1.4.8.ebuild:
109
  Removed old.
110
111
  06 Feb 2013; Agostino Sarubbo <ago@gentoo.org> cronie-1.4.9-r4.ebuild:
112
  Stable for sparc, wrt bug #453364
113
114
  30 Jan 2013; Agostino Sarubbo <ago@gentoo.org> cronie-1.4.9-r4.ebuild:
115
  Stable for x86, wrt bug #453364
116
117
*cronie-1.4.9-r5 (23 Jan 2013)
118
*cronie-1.4.9-r4 (23 Jan 2013)
119
120
  23 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> files/anacron-1.0-initd,
121
  -cronie-1.4.9-r2.ebuild, -cronie-1.4.9-r3.ebuild, +cronie-1.4.9-r4.ebuild,
122
  +cronie-1.4.9-r5.ebuild:
123
  Fixed location of pidfile in anacron init script. Thanks to Marcin Mirosław
124
  for reporting this in bug #453708. cronie-1.4.9-r4 committed straight to
125
  stable.
126
127
*cronie-1.4.9-r3 (23 Jan 2013)
128
129
  23 Jan 2013; Mike Gilbert <floppym@gentoo.org> +cronie-1.4.9-r3.ebuild:
130
  Install systemd service unit and hourly anacron file (disabled by default).
131
  Bug 450728 by Enrico Tagliavini.
132
133
*cronie-1.4.9-r2 (22 Jan 2013)
134
135
  22 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> -cronie-1.4.9-r1.ebuild,
136
  +cronie-1.4.9-r2.ebuild:
137
  Fixed location of anacron spool directory. Thanks to Marcin Mirosław for
138
  reporting this in bug #453548. Comitted straight to stable.
139
140
  21 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> cronie-1.4.9-r1.ebuild:
141
  Stable on amd64, wrt bug #453364
142
143
  21 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> cronie-1.4.9-r1.ebuild:
144
  Stable on arm, wrt bug #453364
145
146
*cronie-1.4.9-r1 (19 Jan 2013)
147
148
  19 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> -cronie-1.4.8-r1.ebuild,
149
  -cronie-1.4.9.ebuild, +cronie-1.4.9-r1.ebuild:
150
  Make cronie use /etc/crontab again. Thanks to Dave Armstrong who reported
151
  this in bug #452970.
152
153
*cronie-1.4.9 (18 Dec 2012)
154
155
  18 Dec 2012; Lars Wendler <polynomial-c@gentoo.org> cronie-1.4.8.ebuild,
156
  cronie-1.4.8-r1.ebuild, +cronie-1.4.9.ebuild:
157
  Version bump (bug #447772). Fixed QA warning about missing user.eclass.
158
159
  06 Apr 2012; <swift@gentoo.org> cronie-1.4.8-r1.ebuild:
160
  Toggling SELinux support through USE=selinux (bug #403293)
161
162
  13 Feb 2012; Lars Wendler <polynomial-c@gentoo.org> cronie-1.4.8-r1.ebuild:
163
  Don't add anacron to cron.daily
164
165
  13 Feb 2012; Lars Wendler <polynomial-c@gentoo.org> cronie-1.4.8-r1.ebuild:
166
  Forgot to add some permissions for anacron.
167
168
*cronie-1.4.8-r1 (13 Feb 2012)
169
170
  13 Feb 2012; Lars Wendler <polynomial-c@gentoo.org> +files/anacron-1.0-initd,
171
  +files/cronie-1.3-initd, -cronie-1.4.4-r1.ebuild, -cronie-1.4.6.ebuild,
172
  +cronie-1.4.8-r1.ebuild:
173
  Added anacron functionality and conf.d file. Thanks to Florian Steinel for
174
  providing an ebuild patch in bug #403295. Reworked init script.
175
176
  27 Oct 2011; Mike Frysinger <vapier@gentoo.org> cronie-1.4.8.ebuild:
177
  Arm love #388713 by Norman Shulman.
178
179
  24 Aug 2011; Markus Meier <maekke@gentoo.org> cronie-1.4.8.ebuild:
180
  x86 stable, bug #380057
181
182
  22 Aug 2011; Tony Vroon <chainsaw@gentoo.org> cronie-1.4.8.ebuild:
183
  Mark stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug
184
  #380057 filed by Lars "Polynomial-C" Wendler.
185
186
  31 Jul 2011; Lars Wendler <polynomial-c@gentoo.org> cronie-1.4.8.ebuild:
187
  Added ~sparc keyword.
188
189
  10 Jul 2011; Lars Wendler <polynomial-c@gentoo.org> cronie-1.4.6.ebuild:
190
  Fixed typo
191
192
*cronie-1.4.8 (10 Jul 2011)
193
*cronie-1.4.4-r1 (10 Jul 2011)
194
195
  10 Jul 2011; Lars Wendler <polynomial-c@gentoo.org> -cronie-1.4.4.ebuild,
196
  +cronie-1.4.4-r1.ebuild, cronie-1.4.6.ebuild, +cronie-1.4.8.ebuild,
197
  metadata.xml:
198
  Fixed "crontab -e" permission bug reported by Mike Gilbert (bug #365651) who
199
  also provided a complete fix. Committed a fixed revision straight to stable.
200
  Version bump (bug #374011). Added myself as new package maintainer.
201
202
*cronie-1.4.6 (08 Nov 2010)
203
204
  08 Nov 2010; Thilo Bangert <bangert@gentoo.org> +cronie-1.4.6.ebuild:
205
  version bump
206
207
  12 Aug 2010; Markus Meier <maekke@gentoo.org> cronie-1.4.4.ebuild:
208
  amd64/x86 stable, bug #329695
209
210
  14 Mar 2010; Thilo Bangert <bangert@gentoo.org> -cronie-1.4.ebuild,
211
  -cronie-1.4.1.ebuild, -cronie-1.4.3.ebuild, -cronie-1.4.3-r1.ebuild:
212
  remove vulnerable versions
213
214
*cronie-1.4.4 (06 Mar 2010)
215
216
  06 Mar 2010; Thilo Bangert <bangert@gentoo.org> +cronie-1.4.4.ebuild:
217
  security version bump (bug #308055)
218
219
  03 Dec 2009; Markus Meier <maekke@gentoo.org> cronie-1.4.3-r1.ebuild:
220
  add ~amd64, bug #290780
221
222
*cronie-1.4.3-r1 (01 Dec 2009)
223
224
  01 Dec 2009; Thilo Bangert <bangert@gentoo.org> +cronie-1.4.3-r1.ebuild:
225
  add version bump to push pam fix to users
226
227
  29 Nov 2009; Thilo Bangert <bangert@gentoo.org> files/cronie-1.4.3-pamd:
228
  fix PAM - bug #294631
229
230
*cronie-1.4.3 (20 Nov 2009)
231
232
  20 Nov 2009; Thilo Bangert <bangert@gentoo.org> +cronie-1.4.3.ebuild,
233
  +files/cronie-1.4.3-pamd:
234
  version bump
235
236
*cronie-1.4.1 (23 Aug 2009)
237
238
  23 Aug 2009; Thilo Bangert <bangert@gentoo.org> -cronie-1.2.ebuild,
239
  -files/cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch, -cronie-1.3.ebuild,
240
  +cronie-1.4.1.ebuild:
241
  version bump - remove old versions
242
243
*cronie-1.4 (28 Jul 2009)
244
245
  28 Jul 2009; Thilo Bangert <bangert@gentoo.org> +cronie-1.4.ebuild:
246
  version bump
247
248
  14 May 2009; Thilo Bangert <bangert@gentoo.org> cronie-1.2.ebuild,
249
  cronie-1.3.ebuild:
250
  fix LICENSE - bug #263598
251
252
  12 May 2009; Thilo Bangert <bangert@gentoo.org> files/cronie-1.2-crontab:
253
  reduce chance of race condition - bug #98189
254
255
*cronie-1.3 (12 May 2009)
256
257
  12 May 2009; Thilo Bangert <bangert@gentoo.org> +cronie-1.3.ebuild:
258
  version bump
259
260
*cronie-1.2 (17 Feb 2009)
261
262
  17 Feb 2009; Thilo Bangert <bangert@gentoo.org>
263
  +files/cronie-1.2-cron.deny, +files/cronie-1.2-crontab,
264
  +files/cronie-1.2-initd,
265
  +files/cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch, +metadata.xml,
266
  +cronie-1.2.ebuild:
267
  cronie - a vixie-cron fork by the fedora people
(-)a/sys-process/cronie/Manifest (+23 lines)
Line 0 Link Here
1
-----BEGIN PGP SIGNED MESSAGE-----
2
Hash: SHA256
3
4
AUX anacron-1.0-initd 596 SHA256 7ff283ee8b492929d33831461b72e872fe9d3a98344cf39af442f575875b0132 SHA512 2d194102ec0925e1cb99969cac5f69028e1e94afdec590a4292c23c1b87185894c1bae8c2d220223f79fc4fde3d56030f900b764f474fca235c8cbf5adcc182a WHIRLPOOL 5afc6503ce81bb8a802d460b4eb6526a54f6844a7311c950318821c6838b0f5c5974b1d1c4d9f894af92704e25d8653eca1943ff94e4a33a32d1415b0f056124
5
AUX cronie-1.2-cron.deny 216 SHA256 4a857b2c58bb10d4aefbdd7d4a41710456a8cc27774c365e361ca5271128e0b8 SHA512 88b4bf039d5677e9b63fffa5b40bcfb15bd5fe3e76db6ef8dabe2c7b2fe9f7c45ef8cc0fc2087457f5ec364bcc7dee7548df5b98f1c88cbf9df495b12a601a04 WHIRLPOOL 2f02d1db5b2650ca63345445010853016f1d397aa45c1031d0518fff3702e3eb3ed52b3835fa22f8a637a53b4de193ac74aa3ca190fa9739f161760d11398f44
6
AUX cronie-1.2-crontab 605 SHA256 369665b00a9f278fb57e6c2e285d6335b38970474d27e7563b68a65aa1045d4b SHA512 12bab43416f76102441be8af99696778e4bd13c704dcda22f7bc4c4f388a2163470c37b1e7d981d49d057b7ece4a1fa8d4c2f4a168db216ecadbe0a570c46905 WHIRLPOOL 440d2d5ae1cf2ed3b2d8bd472927f6136bd6339b8f7e71896cba300b78dff63d9e3e3a55e56754708710e8307b847279761604aaa9c19fa26eb524c02bac2019
7
AUX cronie-1.3-crontab 833 SHA256 700714927dea9ed271924817863e9b45cb50b3dd650bd00e072f09aadc4c3684 SHA512 9c21d9ab6f7ae45f75b3f681abdfb043f1ba61c8522fb6cd2a6ffd32a628b3dc07c4011c1fbe43228016fe670d99a230ebdcac08d0ace12ec749cff4f2a85895 WHIRLPOOL 4c60338d73a6163812802b23377ec93dfe3a29339bd01d5f24fcd17ed4b749354d5660464d334c06b04de1cfd9540ba78d732695759fc0d8880904646030d984
8
AUX cronie-1.3-initd 395 SHA256 292a7b20fe33bd027357475fea6aa1194afa7e5c1c47a85299db945b9d1c847e SHA512 e52ddbf1a7235aff7756478f807e5c10cccf729d9cbd52294db767b958a5640f3645f3f5784618b55aca302808755707d3eca667637c1f93a233aa83365f567f WHIRLPOOL 112e78802d59aac029d33e3ec8cb833b29417a13ab6212393f15f09b42906d56d92501ac8bad972e3fb91d9255067795b32f4fd0589cedfd2f337572cc2576c5
9
AUX cronie-1.4.3-pamd 231 SHA256 c281c9b8fb4984e20142a7e099d7032192d5c2ca2eb02ece5eb4f73ca64593dd SHA512 32268d8b097e60eb039c023647ecd651b6940a8fe1587111ce0d49314bbb2de451214f98b7b703fd284e231c10bc4e616d4d0c63c107d9cdbc2bb470a17f2c3a WHIRLPOOL 171dbaa3a49aec2731d1cd78a1a4168369a1a0596b98049fd9c026ab9af54e97fdcf81416fa4fe8201c232dcdf891c4d3e81da20ddfa103eae458094c2095424
10
DIST cronie-1.4.11.tar.gz 222665 SHA256 fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be SHA512 acf998642266f812dfa5a00737f72ae2d36dfab9edddd3d99a9f6545415f7f6dc980d1401ec8a39b865cf54336853f190d3c542be3281dc368e0d5bc5c7f3e5f WHIRLPOOL 243e145b25928d4cdca22f3c85a6aa9a99e8dca239684debf4fd382bdc25945123054ac0b54e609d882550aae08eda7d8202ab29a7f122b5555b0807666edb19
11
DIST cronie-1.4.12.tar.gz 234214 SHA256 0f5c9bf32f352599451c4ca0d6bc076d19e73ecfa5a90b34ecfe47c918c8bafd SHA512 ff17c9a1ba39957727db390d28d21248f05414f55119094d99a646695698e1b148b920f3fc91e9733b862bc8ce226824d290fff51abe17410a0e63ab3b424865 WHIRLPOOL 61a6a7c3a660bbbb38ff2b7b700fe6fa84b1144d20d658e26f4cde522f6fc3faa6141f4cb176f78cfb22cfb50e17f2a945aeb382761ba2aa1b25e6e16ad20082
12
EBUILD cronie-1.4.11-r1.ebuild 2078 SHA256 811837bb2f2129c644a2dbe222e57b9342080f297f32917115ea36377ae6ad05 SHA512 f786deb1daa02068c9ebbe2377f7f69f151d9c39dfbdaf0c1cccc5ee506428a8a3efae5a3cad2bee76dcbc03314f1174eb2cf7c43915cabc2c727fae65c6a724 WHIRLPOOL 500a82a0e357ec4a6dedadb487b77508a443cfad7fa9dfb8f63942943b3b4f523c25cbea22c4a60bb984e2f1e37edff06e9ab5a99016221ef31c253d86bf6487
13
EBUILD cronie-1.4.11-r3.ebuild 2022 SHA256 fa3a7d65eebed1c55c83940feb0850bc7b6cf606d12095f400df81fdeb1218d5 SHA512 08a3da61c64a97a80440e36b52b363650d508fc93c5136815ce7888584ebe1076fe4e833fbac948ca05aa7a29798745b7f93c4367abedfa59d11fa79b97fcebf WHIRLPOOL cf52decc671df129a9032ca5b66f21d4feb7ab0ff57e1719887bc4e8d0fb395570069ba0d75ad4aecd6828be73f30ce121e62e35471053a65f2f84d70b854ba1
14
EBUILD cronie-1.4.12.ebuild 2018 SHA256 8cf80cc02d4334d26d9ba6746edaede864a5f5f973370aa481d66ab8a4fff82e SHA512 f7ab0d8d024c1288184cc82a3d1aebae6381c624628628ab7a696a5c6b50d65dca739c18f7e087bfd0a3d7d9f379c40f88d3d37b1110431d17896d43ff751736 WHIRLPOOL a145281bf3a96c227beeeecf0fa4d87cecded279f81f6f4fd4d7a0d5d1a7183df922fb65bd09161f615cb43b3c2370379816b2332010876be172305434234b93
15
MISC ChangeLog 9604 SHA256 728cdafad88615bce67ea3cf4474734d60877b58d37ea01d4a45c941c3662720 SHA512 01de3be8ee6fea6004437d4b3e64ed509b61edd892a111d52794a127f95b45bb6bbbb28a81bfd82585bd4fae249929d34fd265a2eb2ce8eddba6b79bb843b324 WHIRLPOOL 68d7b3affa56231fa1e258ce8d1a044cf9d529b6c603996f23481002ca5370be135ab6488088c3d8beb14c65bbdb16ffa21501cfd2b06ec5ace621ff29bd3149
16
MISC metadata.xml 799 SHA256 fe8f004016da48f9eaf570c4777bd407f210d468e8779d8db538b5fa1f0dad7d SHA512 9bae8c4edf33af2e6d25aa9db003d40525895dc21ca3388a303a7bba851a0bbe46ac0d254e0aa9c84da8f5c1d2b0e0042e1e317f717c1bd53fe388849366da82 WHIRLPOOL a9e7f4565bc909bc44dc4b676edc48794e8da7235a33b9289fcf53de65fb3406662560588d80fbed90873a9a56fcf00a0ec03fd80325ec2c8e56b9a38b66e01a
17
-----BEGIN PGP SIGNATURE-----
18
Version: GnuPG v2
19
20
iEYEAREIAAYFAlSi4/IACgkQkKaRLQcq0GLj6QCdGet4MAvHWrXPp0NpD/MzDZPP
21
YSQAmwUjJ1Ufh7dAu0oplt0Hpjh7T+HZ
22
=9I8w
23
-----END PGP SIGNATURE-----
(-)a/sys-process/cronie/cronie-1.4.12-r99.ebuild (+87 lines)
Line 0 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.12.ebuild,v 1.4 2014/12/30 17:42:09 maekke Exp $
4
5
EAPI=5
6
7
inherit cron eutils pam systemd user
8
9
DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron"
10
SRC_URI="https://fedorahosted.org/releases/c/r/cronie/${P}.tar.gz"
11
HOMEPAGE="https://fedorahosted.org/cronie/wiki"
12
13
LICENSE="ISC BSD BSD-2 GPL-2"
14
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
15
IUSE="anacron +inotify pam selinux"
16
17
DEPEND="pam? ( virtual/pam )
18
	anacron? ( !sys-process/anacron )"
19
RDEPEND="${DEPEND}"
20
21
#cronie supports /etc/crontab
22
CRON_SYSTEM_CRONTAB="yes"
23
24
src_prepare() {
25
	epatch "${FILESDIR}"/0001-add_limits_h_and_MAXNAMLEN.patch
26
}
27
28
pkg_setup() {
29
	enewgroup crontab
30
}
31
32
src_configure() {
33
	SPOOL_DIR="/var/spool/cron/crontabs" \
34
	ANACRON_SPOOL_DIR="/var/spool/anacron" \
35
	econf \
36
		$(use_with inotify) \
37
		$(use_with pam) \
38
		$(use_with selinux) \
39
		$(use_enable anacron) \
40
		--enable-syscrontab \
41
		--with-daemon_username=cron \
42
		--with-daemon_groupname=cron
43
}
44
45
src_install() {
46
	emake install DESTDIR="${D}"
47
48
	docrondir -m 1730 -o root -g crontab
49
	fowners root:crontab /usr/bin/crontab
50
	fperms 2751 /usr/bin/crontab
51
52
	insinto /etc/conf.d
53
	newins "${S}"/crond.sysconfig ${PN}
54
55
	insinto /etc
56
	newins "${FILESDIR}/${PN}-1.3-crontab" crontab
57
	newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny
58
59
	keepdir /etc/cron.d
60
	newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN}
61
	newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
62
63
	sed s:sysconfig/crond:conf.d/cronie: contrib/cronie.systemd \
64
		> "${T}"/cronie.service
65
	systemd_dounit "${T}"/cronie.service
66
67
	if use anacron ; then
68
		local anacrondir="/var/spool/anacron"
69
		keepdir ${anacrondir}
70
		fowners root:cron ${anacrondir}
71
		fperms 0750 ${anacrondir}
72
73
		insinto /etc
74
75
		doins contrib/anacrontab
76
77
		insinto /etc/cron.hourly
78
		doins contrib/0anacron
79
		fperms 0750 /etc/cron.hourly/0anacron
80
	fi
81
82
	dodoc AUTHORS README contrib/*
83
}
84
85
pkg_postinst() {
86
	cron_pkg_postinst
87
}
(-)a/sys-process/cronie/files/anacron-1.0-initd (+19 lines)
Line 0 Link Here
1
--- src/database.c	2015-01-10 13:17:11.253148769 +0000
Line 0 Link Here
1
#!/sbin/runscript
2
# Copyright 1999-2014 Gentoo Foundation
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/anacron-1.0-initd,v 1.4 2014/03/04 00:17:58 polynomial-c Exp $
5
6
# anacron forks itself when -d gets omitted. So s-s-d fails to create a valid
7
# pidfile. DO NOT remove -d from command_args and let s-s-d start anacron
8
# in background!
9
10
command="/usr/sbin/anacron"
11
command_args="-d -s -S /var/spool/anacron"
12
pidfile="/var/run/anacron.pid"
13
command_background="true"
14
15
depend() {
16
	use clock logger
17
	need localmount
18
}
(-)a/sys-process/cronie/files/cronie-1.2-cron.deny (+5 lines)
Line 0 Link Here
1
# $Id: cronie-1.2-cron.deny,v 1.1 2009/02/17 22:09:35 bangert Exp $
2
# If for any reason you have users in the 'cron' group who should not
3
# be allowed to run crontab, add them to this file (one username per
4
# line)
5
(-)a/sys-process/cronie/files/cronie-1.2-crontab (+15 lines)
Line 0 Link Here
1
# for cronie
2
# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.2-crontab,v 1.2 2009/05/12 09:10:59 bangert Exp $
3
4
# Global variables
5
SHELL=/bin/bash
6
PATH=/sbin:/bin:/usr/sbin:/usr/bin
7
MAILTO=root
8
HOME=/
9
10
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
11
59  *  * * *	root	rm -f /var/spool/cron/lastrun/cron.hourly
12
9  3  * * *	root	rm -f /var/spool/cron/lastrun/cron.daily
13
19 4  * * 6	root	rm -f /var/spool/cron/lastrun/cron.weekly
14
29 5  1 * *	root	rm -f /var/spool/cron/lastrun/cron.monthly
15
*/10  *  * * *	root	test -x /usr/sbin/run-crons && /usr/sbin/run-crons 
(-)a/sys-process/cronie/files/cronie-1.3-crontab (+16 lines)
Line 0 Link Here
1
# for cronie
2
# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-crontab,v 1.2 2014/04/18 13:24:55 polynomial-c Exp $
3
4
# Global variables
5
SHELL=/bin/bash
6
PATH=/sbin:/bin:/usr/sbin:/usr/bin
7
MAILTO=root
8
HOME=/
9
10
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
11
# if anacron is not present
12
59  *  * * *	root	[ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.hourly
13
9  3  * * *	root	[ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.daily
14
19 4  * * 6	root	[ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.weekly
15
29 5  1 * *	root	[ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.monthly
16
*/10  *  * * *	root	[ ! -x /etc/cron.hourly/0anacron ] && { test -x /usr/sbin/run-crons && /usr/sbin/run-crons ; }
(-)a/sys-process/cronie/files/cronie-1.3-initd (+14 lines)
Line 0 Link Here
1
#!/sbin/runscript
2
# Copyright 1999-2014 Gentoo Foundation
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-initd,v 1.3 2014/03/04 00:17:58 polynomial-c Exp $
5
6
command="/usr/sbin/crond"
7
command_args="${CRONDARGS}"
8
pidfile="/var/run/crond.pid"
9
10
depend() {
11
	use clock logger
12
	need localmount
13
	provide cron	
14
}
(-)a/sys-process/cronie/files/cronie-1.4.3-pamd (+9 lines)
Line 0 Link Here
1
#
2
# The PAM configuration file for the cron daemon
3
#
4
#
5
auth       include    system-auth
6
account    required   pam_access.so
7
account    include    system-auth
8
session    required   pam_loginuid.so
9
session    include    system-auth
(-)a/sys-process/cronie/metadata.xml (-1 / +20 lines)
Line 0 Link Here
0
- 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
<pkgmetadata>
4
<herd>cron</herd>
5
<maintainer>
6
  <email>polynomial-c@gentoo.org</email>
7
  <name>Lars Wendler</name>
8
</maintainer>
9
  <longdescription lang="en">
10
  Cronie contains the standard UNIX daemon crond that runs specified programs at
11
  scheduled times and related tools. It is based on the original cron and
12
  has security and configuration enhancements like the ability to use pam and
13
  SELinux.
14
  And why cronie? See http://www.urbandictionary.com/define.php?term=cronie
15
  </longdescription>
16
  <use>
17
    <flag name='anacron'>Install the periodic anacron command scheduler.</flag>
18
    <flag name='inotify'>Enable inotify filesystem monitoring support.</flag>
19
  </use>
20
</pkgmetadata>

Return to bug 529350