[46099] trunk/dports/sysutils/fcron
macsforever2000 at macports.org
macsforever2000 at macports.org
Thu Jan 29 06:37:40 PST 2009
Revision: 46099
http://trac.macports.org/changeset/46099
Author: macsforever2000 at macports.org
Date: 2009-01-29 06:37:40 -0800 (Thu, 29 Jan 2009)
Log Message:
-----------
Updated to version 3.0.4. Added yahoo.com:compconsultant as maintainer. Removed patch file patch-configure. Added patch file patch-fcrontab.c.diff. (#18221)
Modified Paths:
--------------
trunk/dports/sysutils/fcron/Portfile
Added Paths:
-----------
trunk/dports/sysutils/fcron/files/patch-fcrontab.c.diff
Removed Paths:
-------------
trunk/dports/sysutils/fcron/files/patch-configure
Modified: trunk/dports/sysutils/fcron/Portfile
===================================================================
--- trunk/dports/sysutils/fcron/Portfile 2009-01-29 14:27:00 UTC (rev 46098)
+++ trunk/dports/sysutils/fcron/Portfile 2009-01-29 14:37:40 UTC (rev 46099)
@@ -3,34 +3,30 @@
PortSystem 1.0
name fcron
-version 3.0.2
+version 3.0.4
categories sysutils
platforms darwin
-maintainers nomaintainer
+maintainers yahoo.com:compconsultant
description fcron is an alternative scheduler aka cron daemon
long_description fcron is a scheduler. It aims at replacing Vixie Cron, so \
- it implements most of its functionalities. But contrary to \
- Vixie Cron, fcron does not need your system to be up 7 \
- days a week, 24 hours a day : it also works well with \
- systems which are not running neither all the time nor \
- regularly (contrary to anacrontab).
+ it implements most of its functionalities. But contrary to \
+ Vixie Cron, fcron does not need your system to be up 7 \
+ days a week, 24 hours a day : it also works well with \
+ systems which are not running neither all the time nor \
+ regularly (contrary to anacrontab).
-homepage http://fcron.free.fr/
-master_sites ${homepage}/archives/
-worksrcdir ${distname}
-distname ${distname}.src
-checksums md5 f35e6af41d356ebcb38882f86a14fb94 \
- sha1 76df8bdfb874df78e81885eca90f1b9c91b0bd24 \
- rmd160 822f559550780c61c5822f4034fe99dd47577847
-patchfiles patch-configure
+homepage http://fcron.free.fr
+master_sites ${homepage}/archives
+extract.suffix .src.tar.gz
+checksums md5 5a26a1dfd91fdc7e87401e98aef870e6 \
+ sha1 daaa5287be026a425ea5bb56959ad38b1b6d030a \
+ rmd160 2bb8eb489251eaa1380b4e37b6526d2040291313
+patchfiles patch-fcrontab.c.diff
-configure.args --with-etcdir=${prefix}/etc \
- --with-piddir=${prefix}/var/run/fcron \
- --with-fifodir=${prefix}/var/run/fcron \
- --with-spooldir=${prefix}/var/spool/fcron \
- --with-boot-install=no \
- --with-pam=no
+configure.args --with-boot-install=no \
+ --with-pam=no \
+ --with-selinux=no
startupitem.create yes
startupitem.name fcron
@@ -38,19 +34,18 @@
startupitem.stop "\[ -r ${prefix}/var/run/fcron/fcron.pid \] \\" \
"&& kill -KILL `cat ${prefix}/var/run/fcron/fcron.pid`"
+destroot.keepdirs ${destroot}${prefix}/var/spool/fcron \
+ ${destroot}${prefix}/var/run/fcron
pre-destroot {
- # add user:group 'fcron:fcron'
addgroup fcron
set gid [existsgroup fcron]
- adduser fcron shell=/bin/sh gid=${gid} \
- home=${prefix}/var/run/fcron realname=fcron\ Server
+ adduser fcron shell=/bin/bash gid=${gid} \
+ realname=fcronServer
}
post-destroot {
set dp ${destroot}${prefix}
- xinstall -m 755 -d ${dp}/var/run/fcron/ ${dp}/var/spool/fcron
- system "touch ${dp}/var/spool/fcron/fcron ${dp}/var/run/fcron/fcron.pid"
- file attributes ${dp}/var/spool/fcron -owner fcron -group fcron
- file attributes ${dp}/var/spool/fcron/fcron -owner fcron -group fcron
- file attributes ${dp}/var/run/fcron/fcron.pid -owner root -group wheel
+ foreach file [glob ${dp}/etc/fcron*] {
+ file rename ${file} ${file}-default
+ }
}
Deleted: trunk/dports/sysutils/fcron/files/patch-configure
===================================================================
--- trunk/dports/sysutils/fcron/files/patch-configure 2009-01-29 14:27:00 UTC (rev 46098)
+++ trunk/dports/sysutils/fcron/files/patch-configure 2009-01-29 14:37:40 UTC (rev 46099)
@@ -1,62 +0,0 @@
---- configure Sat Mar 12 00:27:39 2005
-+++ ../../configure Tue Mar 15 12:48:54 2005
-@@ -11767,17 +11767,9 @@
- fi
- ;;
- *)
-- if test -d "$withval"; then
- etcdir="$withval"
- echo "$as_me:$LINENO: result: $withval" >&5
- echo "${ECHO_T}$withval" >&6
-- else
-- { { echo "$as_me:$LINENO: error:
--Directory $withval does not exist" >&5
--echo "$as_me: error:
--Directory $withval does not exist" >&2;}
-- { (exit 1); exit 1; }; }
-- fi
- ;;
- esac
- else
-@@ -11838,20 +11830,12 @@
- fi
- ;;
- *)
-- if test -d "$withval"; then
- cat >>confdefs.h <<_ACEOF
- #define PIDFILE "$withval/fcron.pid"
- _ACEOF
-
- echo "$as_me:$LINENO: result: $withval" >&5
- echo "${ECHO_T}$withval" >&6
-- else
-- { { echo "$as_me:$LINENO: error:
--Directory $withval does not exist" >&5
--echo "$as_me: error:
--Directory $withval does not exist" >&2;}
-- { (exit 1); exit 1; }; }
-- fi
- ;;
- esac
- else
-@@ -11917,20 +11901,12 @@
- fi
- ;;
- *)
-- if test -d "$withval"; then
- cat >>confdefs.h <<_ACEOF
- #define FIFOFILE "$withval/fcron.fifo"
- _ACEOF
-
- echo "$as_me:$LINENO: result: $withval" >&5
- echo "${ECHO_T}$withval" >&6
-- else
-- { { echo "$as_me:$LINENO: error:
--Directory $withval does not exist" >&5
--echo "$as_me: error:
--Directory $withval does not exist" >&2;}
-- { (exit 1); exit 1; }; }
-- fi
- ;;
- esac
- else
Added: trunk/dports/sysutils/fcron/files/patch-fcrontab.c.diff
===================================================================
--- trunk/dports/sysutils/fcron/files/patch-fcrontab.c.diff (rev 0)
+++ trunk/dports/sysutils/fcron/files/patch-fcrontab.c.diff 2009-01-29 14:37:40 UTC (rev 46099)
@@ -0,0 +1,10 @@
+--- fcrontab.c.orig 2009-01-27 01:02:11.000000000 -0600
++++ fcrontab.c 2009-01-27 01:02:41.000000000 -0600
+@@ -511,6 +511,7 @@
+ }
+ }
+ snprintf(editorcmd, sizeof(editorcmd), "%s %s", cureditor, tmp_str);
++ chdir("/tmp");
+ execlp(shell, shell, "-c", editorcmd, tmp_str, NULL);
+ error_e("Error while running \"%s\"", cureditor);
+ goto exiterr;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090129/3ef5735e/attachment.html>
More information about the macports-changes
mailing list