[Lunar-commits] r24969 - in moonbase/trunk/utils/fcron: . init.d

Auke Kok sofar at lunar-linux.org
Fri Jun 22 02:59:12 CEST 2007


Author: sofar
Date: 2007-06-22 02:59:11 +0200 (Fri, 22 Jun 2007)
New Revision: 24969

Modified:
   moonbase/trunk/utils/fcron/BUILD
   moonbase/trunk/utils/fcron/CONFLICTS
   moonbase/trunk/utils/fcron/DEPENDS
   moonbase/trunk/utils/fcron/DETAILS
   moonbase/trunk/utils/fcron/init.d/crond
Log:
Clean up of DEPENDS and BUILD files. Fixed locations for /var/spool/fcron and /etc for cfg, not /usr/etc.


From:  stelzy at gmail.com


Modified: moonbase/trunk/utils/fcron/BUILD
===================================================================
--- moonbase/trunk/utils/fcron/BUILD	2007-06-21 21:22:30 UTC (rev 24968)
+++ moonbase/trunk/utils/fcron/BUILD	2007-06-22 00:59:11 UTC (rev 24969)
@@ -1,10 +1,5 @@
 (
 
-  if    module_installed  Linux-PAM
-  then  WITH_PAM="--with-pam=yes"
-  else  WITH_PAM="--with-pam=no"
-  fi
-
   EDITOR=`which $EDITOR  2>/dev/null`  ||
   EDITOR=`which nano`
 
@@ -12,13 +7,14 @@
 
   sedit  "s/-O2/$CFLAGS/"  configure
 
-  ./configure  --prefix=/usr           \
-               --with-answer-all=no    \
-	       --without-sendmail      \
-               $WITH_PAM               \
-               --with-editor=$EDITOR  &&
-  default_make                        &&
+  OPTS="$OPTS --prefix=/usr \
+	      --sysconfdir=/etc \
+	      --with-piddir=/var/run \
+              --with-answer-all=no \
+	      --without-sendmail \
+	      --with-editor=$EDITOR"  &&
 
+  default_build  &&
 
   if [ -e /etc/init.d/fcron.sh ]; then
     rm -f /etc/init.d/fcron.sh

Modified: moonbase/trunk/utils/fcron/CONFLICTS
===================================================================
--- moonbase/trunk/utils/fcron/CONFLICTS	2007-06-21 21:22:30 UTC (rev 24968)
+++ moonbase/trunk/utils/fcron/CONFLICTS	2007-06-22 00:59:11 UTC (rev 24969)
@@ -1 +1 @@
-conflicts  hc-cron
+conflicts hc-cron

Modified: moonbase/trunk/utils/fcron/DEPENDS
===================================================================
--- moonbase/trunk/utils/fcron/DEPENDS	2007-06-21 21:22:30 UTC (rev 24968)
+++ moonbase/trunk/utils/fcron/DEPENDS	2007-06-22 00:59:11 UTC (rev 24969)
@@ -1,2 +1,7 @@
-depends  chkconfig  &&
-depends  perl
+depends chkconfig
+depends perl
+
+optional_depends "Linux-PAM" \
+		 "--with-pam=yes" \
+		 "--with-pam=no" \
+		 "Use PAM support"

Modified: moonbase/trunk/utils/fcron/DETAILS
===================================================================
--- moonbase/trunk/utils/fcron/DETAILS	2007-06-21 21:22:30 UTC (rev 24968)
+++ moonbase/trunk/utils/fcron/DETAILS	2007-06-22 00:59:11 UTC (rev 24969)
@@ -5,7 +5,7 @@
        SOURCE_VFY=sha1:8f57be59c32c884d7cbeed4e9997a93285bea11c
         WEB_SITE=http://fcron.free.fr
          ENTERED=20010922
-         UPDATED=20070612
+         UPDATED=20070622
 	   SHORT="Superior periodic scheduler"
 
 cat << EOF

Modified: moonbase/trunk/utils/fcron/init.d/crond
===================================================================
--- moonbase/trunk/utils/fcron/init.d/crond	2007-06-21 21:22:30 UTC (rev 24968)
+++ moonbase/trunk/utils/fcron/init.d/crond	2007-06-22 00:59:11 UTC (rev 24969)
@@ -11,4 +11,5 @@
 # pidfile: /var/run/fcron.pid
 
 ARGS="-b"
+
 . /lib/lsb/init-functions



More information about the Lunar-commits mailing list