diff options
Diffstat (limited to 'sys-process/fcron/files')
-rw-r--r-- | sys-process/fcron/files/fcron-3.0.4-docfix.patch | 36 | ||||
-rwxr-xr-x | sys-process/fcron/files/fcron.init | 50 |
2 files changed, 0 insertions, 86 deletions
diff --git a/sys-process/fcron/files/fcron-3.0.4-docfix.patch b/sys-process/fcron/files/fcron-3.0.4-docfix.patch deleted file mode 100644 index 3af27b22f028..000000000000 --- a/sys-process/fcron/files/fcron-3.0.4-docfix.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -urN fcron-3.0.4.orig/doc/en/changes.sgml fcron-3.0.4/doc/en/changes.sgml ---- fcron-3.0.4.orig/doc/en/changes.sgml 2007-11-08 10:02:42.000000000 +0100 -+++ fcron-3.0.4/doc/en/changes.sgml 2008-07-24 11:47:27.861704216 +0200 -@@ -178,6 +178,7 @@ - <para>made fcrontab behave better when there is no space left in the - spool directory (used to truncate the fcrontab source file). - </para> -+ </listitem> - <listitem> - <para>Added a script, check_system_crontabs, to emulate Vixie cron's - behavior about /etc/crontab and /etc/cron.d. Please have a look -@@ -1135,4 +1136,4 @@ - sgml-parent-document:("fcron-doc.sgml" "book" "chapter" "sect1" "") - End: - --> -- -\ No newline at end of file -+ -diff -urN fcron-3.0.4.orig/doc/fr/changes.sgml fcron-3.0.4/doc/fr/changes.sgml ---- fcron-3.0.4.orig/doc/fr/changes.sgml 2007-11-08 10:02:42.000000000 +0100 -+++ fcron-3.0.4/doc/fr/changes.sgml 2008-07-24 11:48:12.422376403 +0200 -@@ -86,6 +86,7 @@ - <para>made fcrontab behave better when there is no space left in the - spool directory (used to truncate the fcrontab source file). - </para> -+ </listitem> - <listitem> - <para>Added a script, check_system_crontabs, to emulate Vixie cron's - behavior about /etc/crontab and /etc/cron.d. Please have a look -@@ -1043,4 +1044,4 @@ - sgml-parent-document:("fcron-doc.sgml" "book" "chapter" "sect1" "") - End: - --> -- -\ No newline at end of file -+ diff --git a/sys-process/fcron/files/fcron.init b/sys-process/fcron/files/fcron.init deleted file mode 100755 index e57421a97b8f..000000000000 --- a/sys-process/fcron/files/fcron.init +++ /dev/null @@ -1,50 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/files/fcron.init,v 1.3 2007/04/14 15:57:05 wschlich Exp $ - -depend() { - use logger slapd mysql postgresql - need clock hostname - # provide the cron service if we are the main instance - if [ "${SVCNAME}" = "fcron" ]; then - provide cron - fi -} - -checkconfig() { - FCRON_INSTANCE=${SVCNAME##*.} - if [ -n "${FCRON_INSTANCE}" -a "${SVCNAME}" != "fcron" ]; then - FCRON_CONF=/etc/fcron/fcron.${FCRON_INSTANCE}.conf - else - FCRON_CONF=/etc/fcron/fcron.conf - fi - if [ ! -e ${FCRON_CONF} ]; then - eerror "You will need an ${FCRON_CONF} first" - eerror "There is a sample in /etc/fcron" - return 1 - fi - FCRON_PIDFILE=$(grep '^pidfile' ${FCRON_CONF} 2>/dev/null | sed -e 's:^pidfile[[:space:]]*=[[:space:]]*\(.*\)$:\1:') - FCRON_PIDFILE=${FCRON_PIDFILE:-/var/run/fcron.pid} - FCRON_SPOOLDIR=$(grep '^fcrontabs' ${FCRON_CONF} 2>/dev/null | sed -e 's:^fcrontabs[[:space:]]*=[[:space:]]*\(.*\)$:\1:') - FCRON_SPOOLDIR=${FCRON_SPOOLDIR:-/var/spool/cron/fcrontabs} - if [ ! -d ${FCRON_SPOOLDIR} ]; then - ebegin "Creating missing spooldir ${FCRON_SPOOLDIR}" - /usr/sbin/fcron --newspooldir ${FCRON_SPOOLDIR} - eend $? - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --pidfile ${FCRON_PIDFILE} --exec /usr/sbin/fcron -- -c ${FCRON_CONF} - eend $? -} - -stop() { - checkconfig || return 1 - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --pidfile ${FCRON_PIDFILE} - eend $? -} |