diff options
author | Lance Albertson <ramereth@gentoo.org> | 2008-04-28 19:27:29 +0000 |
---|---|---|
committer | Lance Albertson <ramereth@gentoo.org> | 2008-04-28 19:27:29 +0000 |
commit | 7d10757c08e43f3b29fb54dcea83876e05e03aa3 (patch) | |
tree | c1e1ec03536af23c06e38b46297a3ac2b429217c /net-misc/cfengine/files | |
parent | Keyworded on alpha, bug #219468 (diff) | |
download | gentoo-2-7d10757c08e43f3b29fb54dcea83876e05e03aa3.tar.gz gentoo-2-7d10757c08e43f3b29fb54dcea83876e05e03aa3.tar.bz2 gentoo-2-7d10757c08e43f3b29fb54dcea83876e05e03aa3.zip |
Bump cfengine to 2.2.6, misc cleanups in the ebuild
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/cfengine/files')
-rw-r--r-- | net-misc/cfengine/files/cfengine-2.2.6-typo-fix.patch | 12 | ||||
-rwxr-xr-x | net-misc/cfengine/files/cfenvd.rc6 | 17 | ||||
-rwxr-xr-x | net-misc/cfengine/files/cfexecd.rc6 | 17 |
3 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/cfengine/files/cfengine-2.2.6-typo-fix.patch b/net-misc/cfengine/files/cfengine-2.2.6-typo-fix.patch new file mode 100644 index 000000000000..db53583f6fe9 --- /dev/null +++ b/net-misc/cfengine/files/cfengine-2.2.6-typo-fix.patch @@ -0,0 +1,12 @@ +diff -ur cfengine-2.2.6-orig/src/cfenvd.c cfengine-2.2.6/src/cfenvd.c +--- cfengine-2.2.6-orig/src/cfenvd.c 2008-04-21 23:26:19.000000000 -0700 ++++ cfengine-2.2.6/src/cfenvd.c 2008-04-28 12:08:46.000000000 -0700 +@@ -36,7 +36,7 @@ + #include "cf.defs.h" + #include "cf.extern.h" + #ifdef HAVE_SYS_LOADAVG_H +-v# include <sys/loadavg.h> ++# include <sys/loadavg.h> + #else + # define LOADAVG_5MIN 1 + #endif diff --git a/net-misc/cfengine/files/cfenvd.rc6 b/net-misc/cfengine/files/cfenvd.rc6 new file mode 100755 index 000000000000..5c76bd88dbf2 --- /dev/null +++ b/net-misc/cfengine/files/cfenvd.rc6 @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting cfenvd" + start-stop-daemon --start --quiet --exec /usr/sbin/cfenvd + eend $? +} + +stop() { + ebegin "Stopping cfenvd" + start-stop-daemon --stop --quiet --exec /usr/sbin/cfenvd + eend $? +} diff --git a/net-misc/cfengine/files/cfexecd.rc6 b/net-misc/cfengine/files/cfexecd.rc6 new file mode 100755 index 000000000000..43cc144fff41 --- /dev/null +++ b/net-misc/cfengine/files/cfexecd.rc6 @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting cfexecd" + start-stop-daemon --start --quiet --exec /usr/sbin/cfexecd + eend $? +} + +stop() { + ebegin "Stopping cfexecd" + start-stop-daemon --stop --quiet --exec /usr/sbin/cfexecd + eend $? +} |