summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-process/bcron/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-process/bcron/files')
-rw-r--r--sys-process/bcron/files/bcron-0.09-fix-parallel-build.patch19
-rw-r--r--sys-process/bcron/files/bcron-0.09-fix-socket-permissions.patch10
-rw-r--r--sys-process/bcron/files/crontab15
3 files changed, 44 insertions, 0 deletions
diff --git a/sys-process/bcron/files/bcron-0.09-fix-parallel-build.patch b/sys-process/bcron/files/bcron-0.09-fix-parallel-build.patch
new file mode 100644
index 000000000000..987b302abe4f
--- /dev/null
+++ b/sys-process/bcron/files/bcron-0.09-fix-parallel-build.patch
@@ -0,0 +1,19 @@
+--- Makefile.orig 2010-01-14 15:39:07.000000000 +0100
++++ Makefile 2010-01-14 15:39:40.000000000 +0100
+@@ -96,14 +96,14 @@
+ ./load insthier -lbg-installer -lbg
+ mv insthier installer
+
+-instcheck: load insthier.o
++instcheck: load insthier.o installer instshow
+ ./load insthier -lbg-instcheck -lbg
+ mv insthier instcheck
+
+ insthier.o: compile insthier.c conf_bin.c
+ ./compile insthier.c
+
+-instshow: load insthier.o
++instshow: load insthier.o installer
+ ./load insthier -lbg-instshow -lbg
+ mv insthier instshow
+
diff --git a/sys-process/bcron/files/bcron-0.09-fix-socket-permissions.patch b/sys-process/bcron/files/bcron-0.09-fix-socket-permissions.patch
new file mode 100644
index 000000000000..a8b13038e608
--- /dev/null
+++ b/sys-process/bcron/files/bcron-0.09-fix-socket-permissions.patch
@@ -0,0 +1,10 @@
+--- a/bcron-spool.run 2005-06-09 04:14:42.000000000 +0400
++++ b/bcron-spool/run 2010-07-12 01:29:24.000000000 +0400
+@@ -5,6 +5,6 @@
+ envuidgid cron \
+ sh -c '
+ exec \
+-unixserver -U ${BCRON_SOCKET:-/var/run/bcron-spool} \
++unixserver -U ${BCRON_SOCKET:-/var/run/bcron-spool} -r 16 -p 0660 \
+ bcron-spool
+ '
diff --git a/sys-process/bcron/files/crontab b/sys-process/bcron/files/crontab
new file mode 100644
index 000000000000..318d0e40879f
--- /dev/null
+++ b/sys-process/bcron/files/crontab
@@ -0,0 +1,15 @@
+# for bcron
+# $Id$
+
+# 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
+59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
+9 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
+19 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
+29 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
+*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons