public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-process/cronie/files: cronie-1.2-cron.deny cronie-1.2-crontab cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch cronie-1.2-initd
@ 2009-02-17 22:09 Thilo Bangert (bangert)
  0 siblings, 0 replies; only message in thread
From: Thilo Bangert (bangert) @ 2009-02-17 22:09 UTC (permalink / raw
  To: gentoo-commits

bangert     09/02/17 22:09:35

  Added:                cronie-1.2-cron.deny cronie-1.2-crontab
                        cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch
                        cronie-1.2-initd
  Log:
  cronie - a vixie-cron fork by the fedora people
  (Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)

Revision  Changes    Path
1.1                  sys-process/cronie/files/cronie-1.2-cron.deny

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronie/files/cronie-1.2-cron.deny?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronie/files/cronie-1.2-cron.deny?rev=1.1&content-type=text/plain

Index: cronie-1.2-cron.deny
===================================================================
# $Id: cronie-1.2-cron.deny,v 1.1 2009/02/17 22:09:35 bangert Exp $
# If for any reason you have users in the 'cron' group who should not
# be allowed to run crontab, add them to this file (one username per
# line)




1.1                  sys-process/cronie/files/cronie-1.2-crontab

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronie/files/cronie-1.2-crontab?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronie/files/cronie-1.2-crontab?rev=1.1&content-type=text/plain

Index: cronie-1.2-crontab
===================================================================
# for vixie cron
#
# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.2-crontab,v 1.1 2009/02/17 22:09:35 bangert Exp $
#
#

# 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
0  *  * * *	root	rm -f /var/spool/cron/lastrun/cron.hourly
1  3  * * *	root	rm -f /var/spool/cron/lastrun/cron.daily
15 4  * * 6	root	rm -f /var/spool/cron/lastrun/cron.weekly
30 5  1 * *	root	rm -f /var/spool/cron/lastrun/cron.monthly
*/10  *  * * *	root	test -x /usr/sbin/run-crons && /usr/sbin/run-crons 



1.1                  sys-process/cronie/files/cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronie/files/cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronie/files/cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch?rev=1.1&content-type=text/plain

Index: cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch
===================================================================
--- src/pathnames.h.orig	2009-02-17 22:43:14.000000000 +0100
+++ src/pathnames.h	2009-02-17 22:43:31.000000000 +0100
@@ -46,7 +46,7 @@
 			 * newer than they were last time around (or which
 			 * didn't exist last time around...)
 			 */
-#define SPOOL_DIR	"cron"
+#define SPOOL_DIR	"cron/crontabs"
 
 			/* cron allow/deny file.  At least cron.deny must
 			 * exist for ordinary users to run crontab.



1.1                  sys-process/cronie/files/cronie-1.2-initd

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronie/files/cronie-1.2-initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronie/files/cronie-1.2-initd?rev=1.1&content-type=text/plain

Index: cronie-1.2-initd
===================================================================
#!/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/cronie/files/cronie-1.2-initd,v 1.1 2009/02/17 22:09:35 bangert Exp $

depend() {
	use clock logger
	need localmount
	provide cron	
}

start() {
	ebegin "Starting cronie"
	start-stop-daemon --start --quiet --exec /usr/sbin/crond
	eend $?
}

stop() {
	ebegin "Stopping cronie"
	start-stop-daemon --stop --quiet --pidfile /var/run/crond.pid
	eend $?
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-17 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 22:09 [gentoo-commits] gentoo-x86 commit in sys-process/cronie/files: cronie-1.2-cron.deny cronie-1.2-crontab cronie-1.2-pathnames.h-fix-SPOOL_DIR.patch cronie-1.2-initd Thilo Bangert (bangert)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox