From d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jan 2021 18:03:51 +0000 Subject: gentoo resync : 29.01.2021 --- sys-process/cronie/Manifest | 2 +- sys-process/cronie/cronie-1.5.5-r1.ebuild | 121 ++++++++++++++++++++++++++++++ sys-process/cronie/cronie-1.5.5.ebuild | 118 ----------------------------- 3 files changed, 122 insertions(+), 119 deletions(-) create mode 100644 sys-process/cronie/cronie-1.5.5-r1.ebuild delete mode 100644 sys-process/cronie/cronie-1.5.5.ebuild (limited to 'sys-process/cronie') diff --git a/sys-process/cronie/Manifest b/sys-process/cronie/Manifest index 689873d2d9a4..b3a4447aacd9 100644 --- a/sys-process/cronie/Manifest +++ b/sys-process/cronie/Manifest @@ -5,5 +5,5 @@ AUX cronie-1.5.3-systemd.patch 980 BLAKE2B dc11e7e1f072270f24e4ae420c2bde63412ec AUX cronie-1.5.5-autoconf270.patch 582 BLAKE2B 8bfc34dfa925abab58ac156845d848b4d714430c3cfed0a453b565e76e6462f3214acaa338bb9d36b72a1d3484d7daf16f5ea41d42ccb8cbca024394d3e85c00 SHA512 7a7f5496e68fd43c804a7b39e32e0b7cc07183c02cc60bea91cf949e9783d85cd8e8143b53e0a1341dbc8dc209c688a35ae04940b2ae953db723eae6f0962639 AUX cronie-crontab 476 BLAKE2B 7e2de210328ad714647b9ec50c611573ba166b63f68643aa001f8ca2d2c6e6a5b1300cbd8e1be2ba4374def366698abe6f990673b427e7db4883a9cb74bd06c0 SHA512 0d42a8e749db5c7f057b980678dbfada3dcf1418000168380097032a69a48ab4bc8fa228fb45c65c9c2a1a8d5290da3ca84816963fb7096fd13e293a68fea0c5 DIST cronie-1.5.5.tar.gz 124642 BLAKE2B 19bb690a2ae66b9b99dcd0536c115fbdf46c0f1c58922e08fb31d9789df3358438001bd4b6b55d16e99e3927364c618ac22cb04661db1245d09709fcb58eef1e SHA512 88b0e877e5b36a0063b37a6ce82133117c95ebd4435ce843e09c6247ac50f36c66503b850aafa75512fab07d46a110ddfdf52e7e984638ed794588e338547166 -EBUILD cronie-1.5.5.ebuild 2578 BLAKE2B c6005d25ba50ab7859e947c1c36602daf1192ee9a342948cac42db6c05b7f5cc5f6f50deefe181772b01564bdc191e0c41aaf1500215c82a760e02d0bde51e06 SHA512 1962b49e47557cc556f7ba4d9aa1f19df82aa52a6b956420b8e0823d02b462d50c0d6052fd4ce73ab136e9a805bf40c3a5e5a19f82540b07dd1a0d34eebf777e +EBUILD cronie-1.5.5-r1.ebuild 2602 BLAKE2B 67149bc5f6e388930042163ebb28b62e5d2dc6710283c635ad4bf036d7d0c08d6aafca69bbf92e62340313ae3dd0fdb3f0034e5c4f87e2f4c03a821ea2f23d53 SHA512 77b5a10e3ad99ecc1d555c429060979d2fc9e8d4310383ee426d33b6f100a206b3e2f13d89e01a1d607bf6703388f8baa9d395068c70bfa5e9654868285479f6 MISC metadata.xml 891 BLAKE2B fe26178ef61d59391ea0ec3817c37bf3ca71b196ceb070244099a7cb1a34110c5c0d0903b682d08f1afc69ed2fd9a18aa9aaee21d61e22f388625dfa7a63a908 SHA512 91d9c91d6997261d59cff08c5c2724476d6709993debf0dbcf4abb38d2c99fe301e7d64ed759fd660e9774e81a8fb51e147a0a194ebe733ed6f9c80940ea7658 diff --git a/sys-process/cronie/cronie-1.5.5-r1.ebuild b/sys-process/cronie/cronie-1.5.5-r1.ebuild new file mode 100644 index 000000000000..87d7137e8e3b --- /dev/null +++ b/sys-process/cronie/cronie-1.5.5-r1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools cron flag-o-matic pam systemd user + +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=" + pam? ( sys-libs/pam ) + anacron? ( + !sys-process/anacron + !sys-process/systemd-cron + elibc_musl? ( sys-libs/obstack-standalone ) + elibc_uclibc? ( 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}-autoconf270.patch" #750728 +) + +pkg_setup() { + enewgroup crontab +} + +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 || use elibc_uclibc ; 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.5.5.ebuild b/sys-process/cronie/cronie-1.5.5.ebuild deleted file mode 100644 index 4bbef2e9bb0c..000000000000 --- a/sys-process/cronie/cronie-1.5.5.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools cron flag-o-matic pam systemd user - -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=" - pam? ( sys-libs/pam ) - anacron? ( - !sys-process/anacron - !sys-process/systemd-cron - elibc_musl? ( sys-libs/obstack-standalone ) - elibc_uclibc? ( 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}-autoconf270.patch" #750728 -) - -pkg_setup() { - enewgroup crontab -} - -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 || use elibc_uclibc ; 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} - newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond - - 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 -} -- cgit v1.2.3