File vixie-cron-4.1-pathnames.diff of Package cron
--- vixie-cron-4.1/pathnames.h
+++ vixie-cron-4.1/pathnames.h
@@ -35,7 +35,7 @@
* to; SPOOL_DIR, CRON_ALLOW, CRON_DENY, and LOG_FILE
* are all relative to this directory.
*/
-#define CRONDIR "/var/cron"
+#define CRONDIR "/var/spool/cron"
#endif
/* SPOOLDIR is where the crontabs live.
@@ -51,8 +51,8 @@
/* cron allow/deny file. At least cron.deny must
* exist for ordinary users to run crontab.
*/
-#define CRON_ALLOW "cron.allow"
-#define CRON_DENY "cron.deny"
+#define CRON_ALLOW "/etc/cron.allow"
+#define CRON_DENY "/etc/cron.deny"
/* undefining this turns off logging to a file. If
* neither LOG_FILE or SYSLOG is defined, we don't log.
@@ -60,7 +60,8 @@
* LOG_CRON is defined by <syslog.h>, LOG_FILE will not
* be used.
*/
-#define LOG_FILE "log"
+/*#define LOG_FILE "log"*/
+#define SYSLOG
/* where should the daemon stick its PID?
* PIDDIR must end in '/'.
@@ -68,13 +69,14 @@
#ifdef _PATH_VARRUN
# define PIDDIR _PATH_VARRUN
#else
-# define PIDDIR "/etc/"
+# define PIDDIR "/var/run/"
#endif
#define PIDFILE "cron.pid"
#define _PATH_CRON_PID PIDDIR PIDFILE
/* 4.3BSD-style crontab */
#define SYSCRONTAB "/etc/crontab"
+#define SYSCRONDIR "/etc/cron.d"
/* what editor to use if no EDITOR or VISUAL
* environment variable specified.
@@ -82,11 +84,11 @@
#if defined(_PATH_VI)
# define EDITOR _PATH_VI
#else
-# define EDITOR "/usr/ucb/vi"
+# define EDITOR "/bin/vim"
#endif
#ifndef _PATH_SENDMAIL
-# define _PATH_SENDMAIL "/usr/lib/sendmail"
+# define _PATH_SENDMAIL "/usr/sbin/sendmail"
#endif
#ifndef _PATH_BSHELL