SOURCES: vixie-cron-pld.patch - enabled syslog - changed program n...

hawk hawk at pld-linux.org
Wed Aug 3 15:20:02 CEST 2005


Author: hawk                         Date: Wed Aug  3 13:20:01 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- enabled syslog
- changed program name to "crond"

---- Files affected:
SOURCES:
   vixie-cron-pld.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/vixie-cron-pld.patch
diff -u SOURCES/vixie-cron-pld.patch:1.2 SOURCES/vixie-cron-pld.patch:1.3
--- SOURCES/vixie-cron-pld.patch:1.2	Tue Aug  2 14:10:19 2005
+++ SOURCES/vixie-cron-pld.patch	Wed Aug  3 15:19:56 2005
@@ -126,7 +126,7 @@
  			 * be used.
  			 */
 -#define LOG_FILE	"log"
-+#define LOG_FILE	"/var/log/cron"
++#undef LOG_FILE
  
  			/* where should the daemon stick its PID?
  			 * PIDDIR must end in '/'.
@@ -139,14 +139,15 @@
  #define _PATH_CRON_PID	PIDDIR PIDFILE
  
  			/* 4.3BSD-style crontab */
---- vixie-cron-4.1/config.h	Wed May 31 17:37:20 1995
-+++ vixie-cron-4.1/config.h	Wed Feb 12 19:26:35 1997
-@@ -78,7 +78,7 @@
- 			 * are both defined, then logging will go to both
- 			 * places.
- 			 */
--#define SYSLOG	 			/*-*/
-+/*#define SYSLOG	 			/*-*/
+diff -uNr vixie-cron-4.1.orig/globals.h vixie-cron-4.1/globals.h
+--- vixie-cron-4.1.orig/globals.h	2005-08-03 15:03:12.699629976 +0200
++++ vixie-cron-4.1/globals.h	2005-08-03 15:03:58.225708960 +0200
+@@ -59,7 +59,7 @@
+ #endif
+ 	;
  
- 			/* if you want cron to capitalize its name in ps
- 			 * when running a job.  Does not work on SYSV.
+-XTRN char	*ProgramName INIT("amnesia");
++XTRN char	*ProgramName INIT("crond");
+ XTRN int	LineNumber INIT(0);
+ XTRN time_t	StartTime INIT(0);
+ XTRN int	NoFork INIT(0);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/vixie-cron-pld.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list