summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-04-18 13:24:55 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-04-18 13:24:55 +0000
commit0d3be740822249acb3c8d0112c6031cffdcc4e65 (patch)
treecc35464a46cdecb7b3bae64d9e08671a0508e6f3 /sys-process
parentadd multilib support wrt #496586, patch by Michael Mair-Keimberger (diff)
downloadgentoo-2-0d3be740822249acb3c8d0112c6031cffdcc4e65.tar.gz
gentoo-2-0d3be740822249acb3c8d0112c6031cffdcc4e65.tar.bz2
gentoo-2-0d3be740822249acb3c8d0112c6031cffdcc4e65.zip
Only use anachron if /etc/cron.hourly/0anacron is executable
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/cronie/ChangeLog8
-rw-r--r--sys-process/cronie/cronie-1.4.11-r3.ebuild (renamed from sys-process/cronie/cronie-1.4.11-r2.ebuild)2
-rw-r--r--sys-process/cronie/files/cronie-1.3-crontab12
3 files changed, 14 insertions, 8 deletions
diff --git a/sys-process/cronie/ChangeLog b/sys-process/cronie/ChangeLog
index 84f734cb8d5e..56c76a00059e 100644
--- a/sys-process/cronie/ChangeLog
+++ b/sys-process/cronie/ChangeLog
@@ -1,6 +1,12 @@
# 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.53 2014/03/30 11:40:32 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.54 2014/04/18 13:24:54 polynomial-c Exp $
+
+*cronie-1.4.11-r3 (18 Apr 2014)
+
+ 18 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> -cronie-1.4.11-r2.ebuild,
+ +cronie-1.4.11-r3.ebuild, files/cronie-1.3-crontab:
+ Only use anachron if /etc/cron.hourly/0anacron is executable.
*cronie-1.4.11-r2 (30 Mar 2014)
diff --git a/sys-process/cronie/cronie-1.4.11-r2.ebuild b/sys-process/cronie/cronie-1.4.11-r3.ebuild
index 20f903128c0b..ec8cae7c83af 100644
--- a/sys-process/cronie/cronie-1.4.11-r2.ebuild
+++ b/sys-process/cronie/cronie-1.4.11-r3.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.11-r3.ebuild,v 1.1 2014/04/18 13:24:54 polynomial-c Exp $
EAPI=5
diff --git a/sys-process/cronie/files/cronie-1.3-crontab b/sys-process/cronie/files/cronie-1.3-crontab
index 60a0bdf27f1a..b14eeda321e0 100644
--- a/sys-process/cronie/files/cronie-1.3-crontab
+++ b/sys-process/cronie/files/cronie-1.3-crontab
@@ -1,5 +1,5 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-crontab,v 1.2 2014/04/18 13:24:55 polynomial-c Exp $
# Global variables
SHELL=/bin/bash
@@ -9,8 +9,8 @@ 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 ; }
+59 * * * * root [ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.hourly
+9 3 * * * root [ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.daily
+19 4 * * 6 root [ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.weekly
+29 5 1 * * root [ ! -x /etc/cron.hourly/0anacron ] && rm -f /var/spool/cron/lastrun/cron.monthly
+*/10 * * * * root [ ! -x /etc/cron.hourly/0anacron ] && { test -x /usr/sbin/run-crons && /usr/sbin/run-crons ; }