summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 17:32:37 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 17:32:37 +0000
commit43482575706d01cdf04d7fcb430444e4cb80226a (patch)
tree2611f9486dd1c72d851968dab79293a6cdf0bb44 /sys-process/anacron/files
parentsteal from kumba (diff)
downloadgentoo-2-43482575706d01cdf04d7fcb430444e4cb80226a.tar.gz
gentoo-2-43482575706d01cdf04d7fcb430444e4cb80226a.tar.bz2
gentoo-2-43482575706d01cdf04d7fcb430444e4cb80226a.zip
Moved from sys-apps/anacron to sys-process/anacron.
Diffstat (limited to 'sys-process/anacron/files')
-rw-r--r--sys-process/anacron/files/anacron-2.3-compile-fix-from-debian.patch11
-rwxr-xr-xsys-process/anacron/files/anacron.rc615
-rw-r--r--sys-process/anacron/files/anacrontab7
-rw-r--r--sys-process/anacron/files/digest-anacron-2.31
4 files changed, 34 insertions, 0 deletions
diff --git a/sys-process/anacron/files/anacron-2.3-compile-fix-from-debian.patch b/sys-process/anacron/files/anacron-2.3-compile-fix-from-debian.patch
new file mode 100644
index 000000000000..174a975f0ca3
--- /dev/null
+++ b/sys-process/anacron/files/anacron-2.3-compile-fix-from-debian.patch
@@ -0,0 +1,11 @@
+--- anacron-2.3/gregor.c 2000-06-23 02:00:14.000000000 +0200
++++ anacron-2.3-maks/gregor.c 2004-03-26 20:45:13.000000000 +0100
+@@ -65,7 +65,7 @@
+ {
+ int dn;
+ int i;
+- const int isleap; /* save three calls to leap() */
++ int isleap; /* save three calls to leap() */
+
+ /* Some validity checks */
+
diff --git a/sys-process/anacron/files/anacron.rc6 b/sys-process/anacron/files/anacron.rc6
new file mode 100755
index 000000000000..f6b5202d301d
--- /dev/null
+++ b/sys-process/anacron/files/anacron.rc6
@@ -0,0 +1,15 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/anacron/files/anacron.rc6,v 1.1 2005/03/03 17:32:37 ciaranm Exp $
+
+depend() {
+ use logger
+ need clock hostname
+}
+
+start() {
+ ebegin "Running anacron"
+ /usr/sbin/anacron -s >>/var/log/cron.log 2>&1
+ eend $?
+}
diff --git a/sys-process/anacron/files/anacrontab b/sys-process/anacron/files/anacrontab
new file mode 100644
index 000000000000..9c70b60bdaae
--- /dev/null
+++ b/sys-process/anacron/files/anacrontab
@@ -0,0 +1,7 @@
+SHELL=/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+# format: period delay job-identifier command
+1 5 cron.daily run-parts /etc/cron.daily
+7 10 cron.weekly run-parts /etc/cron.weekly
+30 15 cron.monthly run-parts /etc/cron.monthly
+
diff --git a/sys-process/anacron/files/digest-anacron-2.3 b/sys-process/anacron/files/digest-anacron-2.3
new file mode 100644
index 000000000000..ab9203daf8e7
--- /dev/null
+++ b/sys-process/anacron/files/digest-anacron-2.3
@@ -0,0 +1 @@
+MD5 865cc1dfe1ed75c470d3e6de13763f03 anacron-2.3.tar.gz 24140