summaryrefslogtreecommitdiff
path: root/sys-process/cronie
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-23 05:29:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-23 05:29:14 +0100
commit7f740fcb9a0165d81bfecf7fb5da647763d76a1b (patch)
tree45dab58d8bd40ef97234398e9e1850495ea60273 /sys-process/cronie
parent0bf5c5a0b1ff93d1f4aaa8cdea6acda5e42c2068 (diff)
gentoo auto-resync : 23:09:2022 - 05:29:13
Diffstat (limited to 'sys-process/cronie')
-rw-r--r--sys-process/cronie/Manifest7
-rw-r--r--sys-process/cronie/cronie-1.5.7.ebuild116
-rw-r--r--sys-process/cronie/cronie-1.6.0-r2.ebuild119
-rw-r--r--sys-process/cronie/cronie-1.6.1-r1.ebuild (renamed from sys-process/cronie/cronie-1.6.1.ebuild)1
-rw-r--r--sys-process/cronie/files/cronie-1.6.0-crontab_entries_regression.patch21
5 files changed, 2 insertions, 262 deletions
diff --git a/sys-process/cronie/Manifest b/sys-process/cronie/Manifest
index ece1feed5f79..119fed55bab9 100644
--- a/sys-process/cronie/Manifest
+++ b/sys-process/cronie/Manifest
@@ -2,12 +2,7 @@ AUX cronie-1.2-cron.deny 148 BLAKE2B 3da92c65667ccacd74e32443e1cd5623d8040a75d78
AUX cronie-1.3-initd 270 BLAKE2B c98021f1b71578aa0ad19ec9512a58301cb9bf472b5418a523a7bb4cad142af4576b4168b141418450d46a074486e7d6b994b4bab0595840a369982004aee0b1 SHA512 4769377ee15fd58a96a4cfe9e42ef4322b4796af417ec146c8e2d6f7dc3c8f5ca94c7b115b5b57e8fb1ff999739ed8f83a45b30a022655bb26fee459cbbd734c
AUX cronie-1.4.3-pamd 231 BLAKE2B d993c025529e817435264c798bec757ead59d77540e1ff08a0f43d2d686d5c82eb9101455bc3191417323286a483e68795ec3a376c73b216ac4ea6d77fbaf2bf SHA512 32268d8b097e60eb039c023647ecd651b6940a8fe1587111ce0d49314bbb2de451214f98b7b703fd284e231c10bc4e616d4d0c63c107d9cdbc2bb470a17f2c3a
AUX cronie-1.5.3-systemd.patch 980 BLAKE2B dc11e7e1f072270f24e4ae420c2bde63412ec8d322d65972eb574cab2594388157c1ea4fb9297500de5ba4c32639792e810590e44dbc2650ae5bb5eab11c160b SHA512 a1e9fef4cff7503357785645ee91cccf54dcfd8433ed9d1fd22813849bcb47f0bb6f96b404a66450d865d586041415b480e53ef1599318df32331a657456b92f
-AUX cronie-1.6.0-crontab_entries_regression.patch 626 BLAKE2B 9d4012dcdd0bef32f58fca96947c77449433ae78703636a4481591dd0e8400907163825f6ccff3869f026a4464277d7b3b26c1ca1052fe5212de3d4ae549f182 SHA512 f372f5044f28449a5236709455ea5865f0a240989f5b4df0f40c0c133bb58c34bdd58a90f518d1765b8cf75daf79a3c9826857a1e7f073c37bc9162e1126a7e6
AUX cronie-crontab 476 BLAKE2B 7e2de210328ad714647b9ec50c611573ba166b63f68643aa001f8ca2d2c6e6a5b1300cbd8e1be2ba4374def366698abe6f990673b427e7db4883a9cb74bd06c0 SHA512 0d42a8e749db5c7f057b980678dbfada3dcf1418000168380097032a69a48ab4bc8fa228fb45c65c9c2a1a8d5290da3ca84816963fb7096fd13e293a68fea0c5
-DIST cronie-1.5.7.tar.gz 148739 BLAKE2B 3e9f8b78a29d2304e2ece7ce2b794b80e6023428d5b07f21936f3690eae2741b9e6814f966d8e3cb3d4f9daf32b3fe730ce6adebb76f8779c3f5039d2a19b6a4 SHA512 cddf1ffd518bf8daed8ae2634ace41da669f6d1039b1936b602200e2f2902944d8e84c80f73f6ab67b2fa755c4192f9181cf44d87bc893201b756367ab55148e
-DIST cronie-1.6.0.tar.gz 149859 BLAKE2B 0b63b07d8138c74c57ff0cbe1ae3cd3abb21178116322327d06cbc5e12a0c54e5f2512fb9f810787721f7ad1bba897f206b96fd83645bbfeeace734eedbcaf3d SHA512 9d078e2f8ffc0d2feaa16d419fcccf354f8de8021869b14d315b6f0a0acbd888da98fb47888b71672354ec221bbbaf5b77a543b909ae44b0fc6d2b39394ddf5b
DIST cronie-1.6.1.tar.gz 149913 BLAKE2B 7b563b90f386a8df09398661e2b3ddc1f83d6c0d19290a02c0622be461e1d160218572adf132d634c60ef8fd0a4bb100e830b90e26270c28c75a69591ccc18a6 SHA512 1e095df9670ec25d6629f4cf2cacd82c6c1cb1487a859815a7881a1d130e4f18f9976396f773abae24dadc232166bb6467bbaeac1cb0254209fcadf3530d5e6f
-EBUILD cronie-1.5.7.ebuild 2468 BLAKE2B ca601372419baeb30da062b3e0016bc4c6a69066af9c0e0585414f1761d3bde19588c3a01dca5b7ef40c04fdce25e46d00cc71b7a83cc98a9da5c4b08bb817d8 SHA512 3c362f291f88584c67f59ba70052ba0c2d22f4ce29a2f5da72c55913fe32b85dcafc7dad35c80ee36e9fd1af9f423bbeccc7f05c17f9890ccad488121361a1ff
-EBUILD cronie-1.6.0-r2.ebuild 2615 BLAKE2B 6aea9c077755f0f2194b0cb455a6b988263e126ceae385fd6183f73ebb051bceacb7649491249f9b661e409c87fbfb74169f30c5b3c9e551eb91ef7404a36496 SHA512 eb38b0d7f7ed570922ea4ecc61f482b57908e879fbe3c4cbc2bcf21c83436d8b0743d6792c625c440629d2fe18397568ecb0e91654ea38efc4d93bd076801bd3
-EBUILD cronie-1.6.1.ebuild 2553 BLAKE2B 0c0d304138139b53122521d82c1080ed110847f517b859e1cf3213904b06bd43aed87a4a91cd6cc328370868de1a7d505c5136c81a7a38fb02c53892ee8feb4e SHA512 97e0408faa80df2ed0d4d970b2a105eb1d09a59ec65b2fdd7096d4dda21399be449e258f6d21ccd0d955f0d16c868e5e4f4187c7f0cc000e0d8f8913ea51b1c6
+EBUILD cronie-1.6.1-r1.ebuild 2587 BLAKE2B 1942016c49257749e54d0b13c1fa733cd6574cebeed5f89c80f0f9790f4bed5bbe353604bf22a22a0ca099f43b856062d861ef85cbf419b0e40bc3f4b599784f SHA512 4e9bc4893e734250efc61cc22540a6f197bfcfc82e0a736c25bb12999d1a615c9475fa38b7b79ed8539a5e1770b940b811e7330be950fec444c993d33e7eca53
MISC metadata.xml 821 BLAKE2B cb3c9d002c660aea2d9ebff9c48f32ca42e2dfb74b42dbd814b3acdd4afa71a9f6bf28fcd6df44492246b64f52a0537e5c24238bfd813f5b66c274242d4bc63e SHA512 2016c15fc50cb8766a8e701853f56f2823ee730e6cb0df122ba74526d0c0fa6909a3ed945a3a405d2d1c35933c4b80b44a9158ced8d8e68372954a740413dfe5
diff --git a/sys-process/cronie/cronie-1.5.7.ebuild b/sys-process/cronie/cronie-1.5.7.ebuild
deleted file mode 100644
index e4bba82a5797..000000000000
--- a/sys-process/cronie/cronie-1.5.7.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools cron flag-o-matic pam systemd
-
-DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron"
-HOMEPAGE="https://github.com/cronie-crond/cronie"
-SRC_URI="https://github.com/cronie-crond/cronie/archive/${P}.tar.gz"
-
-LICENSE="ISC BSD BSD-2 GPL-2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="+anacron +inotify pam selinux"
-
-DEPEND="
- acct-group/crontab
- pam? ( sys-libs/pam )
- anacron? (
- !sys-process/anacron
- !sys-process/systemd-cron
- elibc_musl? ( sys-libs/obstack-standalone )
- )
-"
-RDEPEND="${DEPEND}
- sys-apps/debianutils
-"
-
-#cronie supports /etc/crontab
-CRON_SYSTEM_CRONTAB="yes"
-
-S="${WORKDIR}/${PN}-${P}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.5.3-systemd.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_with inotify)
- $(use_with pam)
- $(use_with selinux)
- $(use_enable anacron)
- --enable-syscrontab
- --with-daemon_username=cron
- --with-daemon_groupname=cron
- )
-
- if use anacron ; then
- if use elibc_musl ; then
- append-cflags "-lobstack"
- fi
- fi
- SPOOL_DIR="/var/spool/cron/crontabs" \
- ANACRON_SPOOL_DIR="/var/spool/anacron" \
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- docrondir -m 1730 -o root -g crontab
- fowners root:crontab /usr/bin/crontab
- fperms 2751 /usr/bin/crontab
-
- newconfd "${S}"/crond.sysconfig ${PN}
-
- insinto /etc
- newins "${FILESDIR}/${PN}-crontab" crontab
- newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny
-
- insinto /etc/cron.d
- doins contrib/0hourly
-
- newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN}
-
- if use pam ; then
- newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
- fi
-
- systemd_newunit contrib/cronie.systemd cronie.service
-
- if use anacron ; then
- local anacrondir="/var/spool/anacron"
- keepdir ${anacrondir}
- fowners root:cron ${anacrondir}
- fperms 0750 ${anacrondir}
-
- insinto /etc
- doins contrib/anacrontab
-
- insinto /etc/cron.hourly
- doins contrib/0anacron
- fperms 0750 /etc/cron.hourly/0anacron
- else
- insinto /etc/cron.d
- doins contrib/dailyjobs
- fi
-
- einstalldocs
-}
-
-pkg_postinst() {
- cron_pkg_postinst
-
- if [[ -n "${REPLACING_VERSIONS}" ]] ; then
- ewarn "You should restart ${PN} daemon or else you might experience segfaults"
- ewarn "or ${PN} not working reliably anymore."
- einfo "(see https://bugs.gentoo.org/557406 for details.)"
- fi
-}
diff --git a/sys-process/cronie/cronie-1.6.0-r2.ebuild b/sys-process/cronie/cronie-1.6.0-r2.ebuild
deleted file mode 100644
index 6f15a911b057..000000000000
--- a/sys-process/cronie/cronie-1.6.0-r2.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools cron flag-o-matic pam systemd
-
-DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron"
-HOMEPAGE="https://github.com/cronie-crond/cronie"
-SRC_URI="https://github.com/cronie-crond/cronie/archive/${P}.tar.gz"
-
-LICENSE="ISC BSD BSD-2 GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="+anacron +inotify pam selinux"
-
-DEPEND="
- acct-group/crontab
- pam? ( sys-libs/pam )
- anacron? (
- !sys-process/anacron
- !sys-process/systemd-cron
- elibc_musl? ( sys-libs/obstack-standalone )
- )
-"
-RDEPEND="${DEPEND}
- sys-apps/debianutils
-"
-
-#cronie supports /etc/crontab
-CRON_SYSTEM_CRONTAB="yes"
-
-S="${WORKDIR}/${PN}-${P}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.5.3-systemd.patch"
- "${FILESDIR}/${P}-crontab_entries_regression.patch" #836888
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_with inotify)
- $(use_with pam)
- $(use_with selinux)
- $(use_enable anacron)
- --enable-syscrontab
- # Required for correct pidfile location #835814
- --runstatedir="${EPREFIX}/run"
- --with-daemon_username=cron
- --with-daemon_groupname=cron
- )
-
- if use anacron ; then
- if use elibc_musl ; then
- append-cflags "-lobstack"
- fi
- fi
- SPOOL_DIR="/var/spool/cron/crontabs" \
- ANACRON_SPOOL_DIR="/var/spool/anacron" \
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- docrondir -m 1730 -o root -g crontab
- fowners root:crontab /usr/bin/crontab
- fperms 2751 /usr/bin/crontab
-
- newconfd "${S}"/crond.sysconfig ${PN}
-
- insinto /etc
- newins "${FILESDIR}/${PN}-crontab" crontab
- newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny
-
- insinto /etc/cron.d
- doins contrib/dailyjobs
-
- newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN}
-
- if use pam ; then
- newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
- fi
-
- systemd_newunit contrib/cronie.systemd cronie.service
-
- if use anacron ; then
- local anacrondir="/var/spool/anacron"
- keepdir ${anacrondir}
- fowners root:cron ${anacrondir}
- fperms 0750 ${anacrondir}
-
- insinto /etc
- doins contrib/anacrontab
-
- insinto /etc/cron.hourly
- doins contrib/0anacron
- fperms 0750 /etc/cron.hourly/0anacron
-
- insinto /etc/cron.d
- doins contrib/0hourly
- fi
-
- einstalldocs
-}
-
-pkg_postinst() {
- cron_pkg_postinst
-
- if [[ -n "${REPLACING_VERSIONS}" ]] ; then
- ewarn "You should restart ${PN} daemon or else you might experience segfaults"
- ewarn "or ${PN} not working reliably anymore."
- einfo "(see https://bugs.gentoo.org/557406 for details.)"
- fi
-}
diff --git a/sys-process/cronie/cronie-1.6.1.ebuild b/sys-process/cronie/cronie-1.6.1-r1.ebuild
index 0a609cc5a6ca..97bb68713f7a 100644
--- a/sys-process/cronie/cronie-1.6.1.ebuild
+++ b/sys-process/cronie/cronie-1.6.1-r1.ebuild
@@ -21,6 +21,7 @@ DEPEND="
!sys-process/systemd-cron
elibc_musl? ( sys-libs/obstack-standalone )
)
+ selinux? ( sys-libs/libselinux )
"
RDEPEND="${DEPEND}
sys-apps/debianutils
diff --git a/sys-process/cronie/files/cronie-1.6.0-crontab_entries_regression.patch b/sys-process/cronie/files/cronie-1.6.0-crontab_entries_regression.patch
deleted file mode 100644
index 160c03116415..000000000000
--- a/sys-process/cronie/files/cronie-1.6.0-crontab_entries_regression.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 62e53f1cdb9c1e12a01ee7814c92cd937d50328d Mon Sep 17 00:00:00 2001
-From: w30023233 <wangyuhang27@huawei.com>
-Date: Wed, 23 Mar 2022 15:40:01 +0800
-Subject: [PATCH] Fix regression in handling 1-5 crontab entries
-
----
- src/entry.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/entry.c b/src/entry.c
-index e9e258b..bb7cb62 100644
---- a/src/entry.c
-+++ b/src/entry.c
-@@ -595,6 +595,7 @@ get_range(bitstr_t * bits, int low, int high, const char *names[],
- return (EOF);
-
- case R_RANGE:
-+ unget_char(ch, file);
- if (get_number(&num2, low, names, file) != EOF) {
- state = R_RANGE_NUM2;
- break;