[Lunar-commits] CVS: moonbase/utils/hc-cron CONFIGURE, NONE,
1.1 BUILD, 1.4, 1.5
Auke Kok
sofar at lunar-linux.org
Mon Mar 7 15:09:39 UTC 2005
Update of /var/cvs/lunar/moonbase/utils/hc-cron
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/utils/hc-cron
Modified Files:
BUILD
Added Files:
CONFIGURE
Log Message:
Adding options to make hc-cron log to SYSLOG only
--- NEW FILE: CONFIGURE ---
mquery SYSLOG "Use syslog to log messages ?" y
mquery LOG_FILE "disable direct logging to /var/log/cron ?" y
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/hc-cron/BUILD,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- BUILD 14 Sep 2004 20:38:04 -0000 1.4
+++ BUILD 7 Mar 2005 15:09:37 -0000 1.5
@@ -3,6 +3,13 @@
sedit "s/SYS_TIME_H 1/SYS_TIME_H 0/" compat.h &&
patch_it $SOURCE2 1 &&
+ if [ "$SYSLOG" == "y" ]; then
+ echo "#define SYSLOG 1" >> config.h
+ fi &&
+ if [ "$LOG_FILE" == "y" ]; then
+ sedit "/LOG_FILE/d" pathnames.h
+ fi &&
+
make &&
prepare_install &&
make install &&
More information about the Lunar-commits
mailing list