- new use flag anacron - dont't install empty NEWS file - install contrib file - install /etc/conf.d/cronie --- cronie-1.4.8.ebuild.orig 2011-10-28 00:42:32.000000000 +0200 +++ cronie-1.4.8.ebuild 2012-02-12 16:52:35.270090163 +0100 @@ -12,9 +12,10 @@ HOMEPAGE="https://fedorahosted.org/croni LICENSE="ISC BSD BSD-2" KEYWORDS="amd64 ~arm ~sparc x86" -IUSE="inotify pam" +IUSE="inotify pam anacron" -DEPEND="pam? ( virtual/pam )" +DEPEND="pam? ( virtual/pam ) + anacron? ( !sys-process/anacron )" RDEPEND="${DEPEND}" #cronie supports /etc/crontab @@ -28,6 +29,7 @@ src_configure() { SPOOL_DIR="/var/spool/cron/crontabs" econf \ $(use_with inotify ) \ $(use_with pam ) \ + $(use_enable anacron ) \ --with-daemon_username=cron \ --with-daemon_groupname=cron \ || die "econf failed" @@ -40,6 +42,11 @@ src_install() { fowners root:crontab /usr/bin/crontab fperms 2751 /usr/bin/crontab + use anacron && keepdir /var/spool/anacron + + insinto /etc/conf.d + newins crond.sysconfig + insinto /etc newins "${FILESDIR}/${PN}-1.2-crontab" crontab newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny @@ -48,7 +55,8 @@ src_install() { newinitd "${FILESDIR}/${PN}-1.2-initd" cronie newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond - dodoc NEWS AUTHORS README + dodoc contrib/* + dodoc AUTHORS README } pkg_postinst() { Reproducible: Always
Created attachment 301661 [details] cronie-1.4.8.ebuild
+*cronie-1.4.8-r1 (13 Feb 2012) + + 13 Feb 2012; Lars Wendler <polynomial-c@gentoo.org> +files/anacron-1.0-initd, + +files/cronie-1.3-initd, -cronie-1.4.4-r1.ebuild, -cronie-1.4.6.ebuild, + +cronie-1.4.8-r1.ebuild: + Added anacron functionality and conf.d file. Thanks to Florian Steinel for + providing an ebuild patch in bug #403295. Reworked init script. +