summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2012-02-13 17:38:16 +0000
committerLars Wendler <polynomial-c@gentoo.org>2012-02-13 17:38:16 +0000
commit1e3c2748c61c31ffe54ff79a3636dc797715bd0d (patch)
tree7296e0dd3f3ef1a4e3c5c2bf5e1a53ef1dae0862 /sys-process
parentAdded anacron functionality (bug #403295). Reworked init script (diff)
downloadgentoo-2-1e3c2748c61c31ffe54ff79a3636dc797715bd0d.tar.gz
gentoo-2-1e3c2748c61c31ffe54ff79a3636dc797715bd0d.tar.bz2
gentoo-2-1e3c2748c61c31ffe54ff79a3636dc797715bd0d.zip
Forgot to add some permissions for anacron
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/cronie/ChangeLog5
-rw-r--r--sys-process/cronie/cronie-1.4.8-r1.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/sys-process/cronie/ChangeLog b/sys-process/cronie/ChangeLog
index 72d75458c29c..697cd5cc03ef 100644
--- a/sys-process/cronie/ChangeLog
+++ b/sys-process/cronie/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/cronie
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.21 2012/02/13 17:32:34 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.22 2012/02/13 17:38:16 polynomial-c Exp $
+
+ 13 Feb 2012; Lars Wendler <polynomial-c@gentoo.org> cronie-1.4.8-r1.ebuild:
+ Forgot to add some permissions for anacron.
*cronie-1.4.8-r1 (13 Feb 2012)
diff --git a/sys-process/cronie/cronie-1.4.8-r1.ebuild b/sys-process/cronie/cronie-1.4.8-r1.ebuild
index db6d24ae607b..361190dd58af 100644
--- a/sys-process/cronie/cronie-1.4.8-r1.ebuild
+++ b/sys-process/cronie/cronie-1.4.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.8-r1.ebuild,v 1.1 2012/02/13 17:32:34 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.8-r1.ebuild,v 1.2 2012/02/13 17:38:16 polynomial-c Exp $
EAPI="3"
@@ -54,10 +54,15 @@ src_install() {
newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
if use anacron ; then
+ insinto /etc/cron.daily
+ doins "${S}"/contrib/0anacron
+ fperms 0755 /etc/cron.daily/0anacron
+
keepdir /var/spool/anacron
+ fowners root:cron /var/spool/anacron
+ fperms 0750 /var/spool/anacron
insinto /etc
- doins "${S}"/contrib/anacrontab
newinitd "${FILESDIR}"/anacron-1.0-initd anacron
fi