summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-03-30 11:40:33 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-03-30 11:40:33 +0000
commit197e41859e2d1a32cc55c1ec513633a639abe9ab (patch)
tree3054085345a4b98b5014ea4b0df68ae945cdfb58 /sys-process
parentEnable multilib support. (diff)
downloadhistorical-197e41859e2d1a32cc55c1ec513633a639abe9ab.tar.gz
historical-197e41859e2d1a32cc55c1ec513633a639abe9ab.tar.bz2
historical-197e41859e2d1a32cc55c1ec513633a639abe9ab.zip
Attempt to fix installation of anacron (bug #503666)
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/cronie/ChangeLog9
-rw-r--r--sys-process/cronie/Manifest24
-rw-r--r--sys-process/cronie/cronie-1.4.11-r2.ebuild83
-rw-r--r--sys-process/cronie/files/cronie-1.3-crontab16
4 files changed, 123 insertions, 9 deletions
diff --git a/sys-process/cronie/ChangeLog b/sys-process/cronie/ChangeLog
index d62eee80d0a0..84f734cb8d5e 100644
--- a/sys-process/cronie/ChangeLog
+++ b/sys-process/cronie/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-process/cronie
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.52 2014/03/26 19:00:33 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.53 2014/03/30 11:40:32 polynomial-c Exp $
+
+*cronie-1.4.11-r2 (30 Mar 2014)
+
+ 30 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> +cronie-1.4.11-r2.ebuild,
+ +files/cronie-1.3-crontab:
+ Attempt to fix installation of anacron as suggested by Matthew Schultz in bug
+ #503666.
26 Mar 2014; Christian Ruppert <idl0r@gentoo.org> cronie-1.4.11-r1.ebuild:
Enable inotify by default
diff --git a/sys-process/cronie/Manifest b/sys-process/cronie/Manifest
index a9bad029d375..b95bef217019 100644
--- a/sys-process/cronie/Manifest
+++ b/sys-process/cronie/Manifest
@@ -4,20 +4,28 @@ Hash: SHA256
AUX anacron-1.0-initd 596 SHA256 7ff283ee8b492929d33831461b72e872fe9d3a98344cf39af442f575875b0132 SHA512 2d194102ec0925e1cb99969cac5f69028e1e94afdec590a4292c23c1b87185894c1bae8c2d220223f79fc4fde3d56030f900b764f474fca235c8cbf5adcc182a WHIRLPOOL 5afc6503ce81bb8a802d460b4eb6526a54f6844a7311c950318821c6838b0f5c5974b1d1c4d9f894af92704e25d8653eca1943ff94e4a33a32d1415b0f056124
AUX cronie-1.2-cron.deny 216 SHA256 4a857b2c58bb10d4aefbdd7d4a41710456a8cc27774c365e361ca5271128e0b8 SHA512 88b4bf039d5677e9b63fffa5b40bcfb15bd5fe3e76db6ef8dabe2c7b2fe9f7c45ef8cc0fc2087457f5ec364bcc7dee7548df5b98f1c88cbf9df495b12a601a04 WHIRLPOOL 2f02d1db5b2650ca63345445010853016f1d397aa45c1031d0518fff3702e3eb3ed52b3835fa22f8a637a53b4de193ac74aa3ca190fa9739f161760d11398f44
AUX cronie-1.2-crontab 605 SHA256 369665b00a9f278fb57e6c2e285d6335b38970474d27e7563b68a65aa1045d4b SHA512 12bab43416f76102441be8af99696778e4bd13c704dcda22f7bc4c4f388a2163470c37b1e7d981d49d057b7ece4a1fa8d4c2f4a168db216ecadbe0a570c46905 WHIRLPOOL 440d2d5ae1cf2ed3b2d8bd472927f6136bd6339b8f7e71896cba300b78dff63d9e3e3a55e56754708710e8307b847279761604aaa9c19fa26eb524c02bac2019
+AUX cronie-1.3-crontab 833 SHA256 b325cd1a0f4389b635873537970d7582282c35af44ba295aca99556a65de7492 SHA512 2b2104c9ef37171329d5cd63a109ce8f54120c44ff96564a543cb6d84f64320d78b825bc72f6a67dcfae20c8fbf03cec84450dd2dbbcd6cd0dbd61fe7ed384d7 WHIRLPOOL dffe090717fc8532e664685416ed2f549b8d60d75d00d54a152ce30c757904770a92d70f0a43c4901cf4e566b1bf9c2b732fdc1decbee2373e510274be102cf1
AUX cronie-1.3-initd 395 SHA256 292a7b20fe33bd027357475fea6aa1194afa7e5c1c47a85299db945b9d1c847e SHA512 e52ddbf1a7235aff7756478f807e5c10cccf729d9cbd52294db767b958a5640f3645f3f5784618b55aca302808755707d3eca667637c1f93a233aa83365f567f WHIRLPOOL 112e78802d59aac029d33e3ec8cb833b29417a13ab6212393f15f09b42906d56d92501ac8bad972e3fb91d9255067795b32f4fd0589cedfd2f337572cc2576c5
AUX cronie-1.4.3-pamd 231 SHA256 c281c9b8fb4984e20142a7e099d7032192d5c2ca2eb02ece5eb4f73ca64593dd SHA512 32268d8b097e60eb039c023647ecd651b6940a8fe1587111ce0d49314bbb2de451214f98b7b703fd284e231c10bc4e616d4d0c63c107d9cdbc2bb470a17f2c3a WHIRLPOOL 171dbaa3a49aec2731d1cd78a1a4168369a1a0596b98049fd9c026ab9af54e97fdcf81416fa4fe8201c232dcdf891c4d3e81da20ddfa103eae458094c2095424
DIST cronie-1.4.11.tar.gz 222665 SHA256 fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be SHA512 acf998642266f812dfa5a00737f72ae2d36dfab9edddd3d99a9f6545415f7f6dc980d1401ec8a39b865cf54336853f190d3c542be3281dc368e0d5bc5c7f3e5f WHIRLPOOL 243e145b25928d4cdca22f3c85a6aa9a99e8dca239684debf4fd382bdc25945123054ac0b54e609d882550aae08eda7d8202ab29a7f122b5555b0807666edb19
EBUILD cronie-1.4.11-r1.ebuild 2078 SHA256 7903088ac3ee221184a86184f9c754d6ab6f93b2b3f5548f719e999279e07a5a SHA512 188b064e47f837f720721477bf11a941e14ca493ad43979f15032f7b1e0af67694637a4ad73beb0ff18b99e6bb963592114cc91432667f5f4e551366a8daba1d WHIRLPOOL 164c6f03be7848b1a20a45df607492cf6a804bf0cb0f6a0f218450c6417ed5d72449f58ce9f8ee3cd50d3c0a58e1f72e9977e280e87cb685618ee24c70c7aa26
-MISC ChangeLog 8348 SHA256 75dfc0e6e340a13f7009da20e435854dd63a664685cf1cd25b43353c2a44518e SHA512 3f99d7089cfea54cddc4ca3542b98b702dc36f7a9d48e0d557249a9524d79012ab1cf7e1401aeb96cedf905e00771a08e77197957ea43a5bc4938c28d7ab771b WHIRLPOOL d4ed1b410a7af7fd51af7a2a7f1e6fdfa9329341472238b09c68ce24c911f495f995e34f51362d3cd300f784937122f92ffe30bda1d5397c09700388dd7a3926
+EBUILD cronie-1.4.11-r2.ebuild 2025 SHA256 6e96d3106680b20ff4a0dcb70dd16fe25708b5e6f67728d67f2ee37ba79de287 SHA512 8cb8ead065e3c6339d9f2cd123a802a4812a76bb23e6886001456bc5d2a09ec1909ebbf08ee569222ad29bf5bf55a601285f949c366ec786568ce6382440230c WHIRLPOOL 0e54dc4c3cf027caca70cb2f5cd6035bf873c4dccc7551dbe823c64fdfaf1675fac0fba6866bb4d72bb9f9b22cce779dac0cde198e42d9ab3015cf6c483adeec
+MISC ChangeLog 8589 SHA256 4331e410c2d18089765538548b93972de2a38e7805bcb212f4b760ca91ac7b91 SHA512 406389f4ac252c61e4d4bf76d4ea6deecaf0a0f76ea34f94e30404c9818c15efc489cad9c41e6a7beb5c6e14956de3e2b3f07e2df982443a615a8341d08d4b63 WHIRLPOOL 04688316e409a94288a9f9a0fb329bd380a86552fdaf48e46c2eaac66fda6ac8bf44cd743ed84bde1c035457ad3fd44f6010d3ba59ba284331fb5e9a49d294b1
MISC metadata.xml 799 SHA256 fe8f004016da48f9eaf570c4777bd407f210d468e8779d8db538b5fa1f0dad7d SHA512 9bae8c4edf33af2e6d25aa9db003d40525895dc21ca3388a303a7bba851a0bbe46ac0d254e0aa9c84da8f5c1d2b0e0042e1e317f717c1bd53fe388849366da82 WHIRLPOOL a9e7f4565bc909bc44dc4b676edc48794e8da7235a33b9289fcf53de65fb3406662560588d80fbed90873a9a56fcf00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01TdrRXsyf4cISCX0YArq+KeKEbELPmRQlZgErp3/YSYmwi3RxZK61v7ul7x5
+HoPCiMKHjHYA7l0EQFTe30qnjHA3H1vds9sh4BxaZ12yph9HAiivuXSnZGSl0EWr
+qImgY970rcDzEl5AgftR
+=MgoQ
-----END PGP SIGNATURE-----
diff --git a/sys-process/cronie/cronie-1.4.11-r2.ebuild b/sys-process/cronie/cronie-1.4.11-r2.ebuild
new file mode 100644
index 000000000000..20f903128c0b
--- /dev/null
+++ b/sys-process/cronie/cronie-1.4.11-r2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.11-r2.ebuild,v 1.1 2014/03/30 11:40:32 polynomial-c Exp $
+
+EAPI=5
+
+inherit cron eutils pam systemd user
+
+DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron."
+SRC_URI="https://fedorahosted.org/releases/c/r/cronie/${P}.tar.gz"
+HOMEPAGE="https://fedorahosted.org/cronie/wiki"
+
+LICENSE="ISC BSD BSD-2 GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="anacron +inotify pam selinux"
+
+DEPEND="pam? ( virtual/pam )
+ anacron? ( !sys-process/anacron )"
+RDEPEND="${DEPEND}"
+
+#cronie supports /etc/crontab
+CRON_SYSTEM_CRONTAB="yes"
+
+pkg_setup() {
+ enewgroup crontab
+}
+
+src_configure() {
+ SPOOL_DIR="/var/spool/cron/crontabs" \
+ ANACRON_SPOOL_DIR="/var/spool/anacron" \
+ econf \
+ $(use_with inotify) \
+ $(use_with pam) \
+ $(use_with selinux) \
+ $(use_enable anacron) \
+ --enable-syscrontab \
+ --with-daemon_username=cron \
+ --with-daemon_groupname=cron
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+
+ docrondir -m 1730 -o root -g crontab
+ fowners root:crontab /usr/bin/crontab
+ fperms 2751 /usr/bin/crontab
+
+ insinto /etc/conf.d
+ newins "${S}"/crond.sysconfig ${PN}
+
+ insinto /etc
+ newins "${FILESDIR}/${PN}-1.3-crontab" crontab
+ newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny
+
+ keepdir /etc/cron.d
+ newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN}
+ newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
+
+ sed s:sysconfig/crond:conf.d/cronie: contrib/cronie.systemd \
+ > "${T}"/cronie.service
+ systemd_dounit "${T}"/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
+ fi
+
+ dodoc AUTHORS README contrib/*
+}
+
+pkg_postinst() {
+ cron_pkg_postinst
+}
diff --git a/sys-process/cronie/files/cronie-1.3-crontab b/sys-process/cronie/files/cronie-1.3-crontab
new file mode 100644
index 000000000000..60a0bdf27f1a
--- /dev/null
+++ b/sys-process/cronie/files/cronie-1.3-crontab
@@ -0,0 +1,16 @@
+# for cronie
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-crontab,v 1.1 2014/03/30 11:40:32 polynomial-c Exp $
+
+# Global variables
+SHELL=/bin/bash
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+MAILTO=root
+HOME=/
+
+# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
+# if anacron is not present
+59 * * * * root [ ! -f /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.hourly
+9 3 * * * root [ ! -f /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.daily
+19 4 * * 6 root [ ! -f /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.weekly
+29 5 1 * * root [ ! -f /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.monthly
+*/10 * * * * root [ ! -f /etc/cron.hourly/0anacron ] && { test -x /usr/sbin/run-crons && /usr/sbin/run-crons ; }