summaryrefslogtreecommitdiff
path: root/sys-process/cronie
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/cronie')
-rw-r--r--sys-process/cronie/Manifest3
-rw-r--r--sys-process/cronie/cronie-1.7.2.ebuild4
-rw-r--r--sys-process/cronie/files/cronie-1.7.2-c23.patch42
3 files changed, 48 insertions, 1 deletions
diff --git a/sys-process/cronie/Manifest b/sys-process/cronie/Manifest
index de089f39ffeb..0ccf92d90d32 100644
--- a/sys-process/cronie/Manifest
+++ b/sys-process/cronie/Manifest
@@ -4,6 +4,7 @@ AUX cronie-1.4.3-pamd 231 BLAKE2B d993c025529e817435264c798bec757ead59d77540e1ff
AUX cronie-1.7.0-optional-default-anacron.patch 610 BLAKE2B 249c8452b9a5cdc7ab0d70cfd642fa495dc29822ee89ce442ddc6fc83850e5620e2bc8405bd010fe0cedb4c20fada97bc725183ac4e71f21f918e9e7404353dc SHA512 0ae0a8c7317b1412a3848ca7099e6235476958e9baf6efb698a2e9ed4e283175be1e39def2d01302f790bb62c308c15d263a5d7b46f12657f8e1dcc2dfafb4b5
AUX cronie-1.7.0-optional-envionment.patch 825 BLAKE2B df9feb6fd53570adf78812d4403092ae974be733a25655d797bdf7f4bca592645c16cd51060fa363d204a859fdf7aa571e45c471305db847b292597b11b148a8 SHA512 43bfd8cc3560e9acee1deaf68a7182f2c101857374b46a03c2bdab2fc16d2957e0e770ef5291ccfbcebd0a78eae7cd869e491d5309e4d64ddd4dbdc7195d3cfe
AUX cronie-1.7.1-envelope-revert.patch 2169 BLAKE2B 70090c54a070e35b548ec58258d607c2d836a1cc3fd1c21ca472c65c46c54a2691d3333a2a8f22ff8126f1301fd1c7ec01e66d0cb3fd762fe29eadf5d3cead71 SHA512 1d363345c21d44a13baf8d3b85b36ff8e79d2a3351386a18cc5fba98c4d6bd2ae402292ab808bf994d502d2c0a8a8a3508721224cde4d8b3a4f97597d3737498
+AUX cronie-1.7.2-c23.patch 1582 BLAKE2B 9be83519b3a10fc090d02f89af5c0364a5e55f10f853be0434eb8e14e75a2df363111de07fbfb37157298b741513ec1c83f20c7b2ba8f7727ad8cc6cb9eadaf8 SHA512 e84e4d54a6ee6317a5f6b69496f09ffe14788158818aed8b431c41494750e70fb0eef2552349059ff91ed6a2c7d1d97b62e57107913eb041c4865b8dbb7e86b3
AUX cronie-crontab 476 BLAKE2B 7e2de210328ad714647b9ec50c611573ba166b63f68643aa001f8ca2d2c6e6a5b1300cbd8e1be2ba4374def366698abe6f990673b427e7db4883a9cb74bd06c0 SHA512 0d42a8e749db5c7f057b980678dbfada3dcf1418000168380097032a69a48ab4bc8fa228fb45c65c9c2a1a8d5290da3ca84816963fb7096fd13e293a68fea0c5
DIST cronie-1.7.0.tar.gz 271404 BLAKE2B 44745f68dba212da60f3013b10737be2390d8c76186dc641fa1930b1c7d103fa2e3127a63fe73571434683137044f7fda8cc31435c59092a14c0091a372ffead SHA512 a8e6688a164540e2cd3741c58813b6684c4c22a04806bcc8ba028a9ff72f986f165715ac3663bd34133af6566bdbd272a3e7be893f139e315aef35b2dbeb622f
DIST cronie-1.7.1.tar.gz 271985 BLAKE2B 9cbf22fe9c86f265e625563fc5426f39f79ac9c9cfa090ba47957c14391ed3b8ac202b244fed35ea043bed428b4c97a71ad400719a265bd95f5ac28bf3dc9b3a SHA512 4479f6f05ca9da3ecefa0e9b73662f1db58ffff309916de9f92f89c5e7f93f1c5c744f18cb3e1a3df9664d533afe7dad710f97484e72a314c87d84f57a6c56fb
@@ -11,5 +12,5 @@ DIST cronie-1.7.2.tar.gz 272450 BLAKE2B 8e426fd0e279bc6a98a4f31dff867b66c87fe062
EBUILD cronie-1.7.0-r2.ebuild 2562 BLAKE2B 39e482a14df04bce7279aca189a87a7ce76f855e45621a7d0a419f0140d6fb184ca361e23200e44c67c8fbb435ad75f4e75dd8d92ec169d99cc819a79ef1180b SHA512 f46a0aaf1967d14ab0b6450c2087067e9b9d22a5c717b81146ebaecc3d7a631044503f99f388380caa39113c5ffc56fb1674183cf1a77fc4741ac9abc58ca201
EBUILD cronie-1.7.1-r1.ebuild 2507 BLAKE2B 51c28a5a7f3ee6ebd4854b1d629cd268879bec131285e528e28928deaffbd5af9f269ae666b9bd4d0b3371e4f7932816640a5d95598a676f2c4f173c7e258fa4 SHA512 84d3b4b786c2c369525e7b3ee411205390549fd3fc2e17c8fa38426398b9653ba3d92e01896eef45ad404a160194e6da9a8dedb3dde2564c7f941627625bca73
EBUILD cronie-1.7.1.ebuild 2460 BLAKE2B a3875521b3038296c4b4223f6a7e40f986d7c5f96d5ba0ba2dec4164fbf4168b2dff8ecf96d482fd9f72e11a4610f5094c550e8e3f25222c1419c80e9301e73e SHA512 89b483af9a676f2d701b3cd71637e3f7ae9b696a8d0ce82ed3c8549de3f82df2cea7e7719fc07a78c8af7a1e535c4822f1de6c9b9e7e8292078e58f887615a7f
-EBUILD cronie-1.7.2.ebuild 2452 BLAKE2B f1bc4a3dc6ce64aca743be754f566f8a6ed71094792eca66c608e983378717ef9deb8d7e3474e3d21d60bd659a8b87ce1f518b89585708f2d36205f52011569d SHA512 d2c00965fd51a65fe0baba0dcb3297b6393a7938b92dcde3e553d15e50a704a2020430439023123e9fc094cdce4a7b8705b84b0fd61da7f6356d62ba4a9c482e
+EBUILD cronie-1.7.2.ebuild 2495 BLAKE2B ee79d763f0d142d17e38ca3ae870443b4aed7dd1666f7c077379de06d83797b67f91c08c76d959846065bb18edb8dda8b580a5f74a71394ec8d1576397331308 SHA512 dc454787931390bb263f914a4fb00b73ed3017d07293b102d86b4b85bbe7aa4443b680ce48c1a1f42e482d2207f9dc384e231a05ddc8ec361318dc1be8044d7e
MISC metadata.xml 821 BLAKE2B cb3c9d002c660aea2d9ebff9c48f32ca42e2dfb74b42dbd814b3acdd4afa71a9f6bf28fcd6df44492246b64f52a0537e5c24238bfd813f5b66c274242d4bc63e SHA512 2016c15fc50cb8766a8e701853f56f2823ee730e6cb0df122ba74526d0c0fa6909a3ed945a3a405d2d1c35933c4b80b44a9158ced8d8e68372954a740413dfe5
diff --git a/sys-process/cronie/cronie-1.7.2.ebuild b/sys-process/cronie/cronie-1.7.2.ebuild
index a4d99c5828fd..fffb6482974d 100644
--- a/sys-process/cronie/cronie-1.7.2.ebuild
+++ b/sys-process/cronie/cronie-1.7.2.ebuild
@@ -33,6 +33,10 @@ RDEPEND="
sys-apps/debianutils
"
+PATCHES=(
+ "${FILESDIR}"/${P}-c23.patch
+)
+
src_configure() {
local myeconfargs=(
$(use_with inotify)
diff --git a/sys-process/cronie/files/cronie-1.7.2-c23.patch b/sys-process/cronie/files/cronie-1.7.2-c23.patch
new file mode 100644
index 000000000000..a94f4bec5c4d
--- /dev/null
+++ b/sys-process/cronie/files/cronie-1.7.2-c23.patch
@@ -0,0 +1,42 @@
+https://bugs.gentoo.org/880387
+https://github.com/cronie-crond/cronie/issues/193
+https://github.com/cronie-crond/cronie/commit/09c630c654b2aeff06a90a412cce0a60ab4955a4
+
+From 09c630c654b2aeff06a90a412cce0a60ab4955a4 Mon Sep 17 00:00:00 2001
+From: Tomas Mraz <tmraz@fedoraproject.org>
+Date: Mon, 18 Nov 2024 21:02:30 +0100
+Subject: [PATCH] load_entry(): Make error_func prototype complete
+
+Fixes #193
+---
+ src/entry.c | 2 +-
+ src/funcs.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/entry.c b/src/entry.c
+index 586eb9d..a2077e8 100644
+--- a/src/entry.c
++++ b/src/entry.c
+@@ -90,7 +90,7 @@ void free_entry(entry * e) {
+ /* return NULL if eof or syntax error occurs;
+ * otherwise return a pointer to a new entry.
+ */
+-entry *load_entry(FILE * file, void (*error_func) (), struct passwd *pw,
++entry *load_entry(FILE * file, void (*error_func) (const char *), struct passwd *pw,
+ char **envp) {
+ /* this function reads one crontab entry -- the next -- from a file.
+ * it skips any leading blank lines, ignores comments, and returns
+diff --git a/src/funcs.h b/src/funcs.h
+index 427e027..f28d634 100644
+--- a/src/funcs.h
++++ b/src/funcs.h
+@@ -89,7 +89,7 @@ char *env_get(const char *, char **),
+ user *load_user(int, struct passwd *, const char *, const char *, const char *),
+ *find_user(cron_db *, const char *, const char *);
+
+-entry *load_entry(FILE *, void (*)(), struct passwd *, char **);
++entry *load_entry(FILE *, void (*)(const char *), struct passwd *, char **);
+
+ FILE *cron_popen(char *, const char *, struct passwd *, char **);
+
+