diff options
Diffstat (limited to 'sysutils/cfengine326/files')
-rw-r--r-- | sysutils/cfengine326/files/cf-execd.in | 26 | ||||
-rw-r--r-- | sysutils/cfengine326/files/cf-monitord.in | 26 | ||||
-rw-r--r-- | sysutils/cfengine326/files/cf-serverd.in | 26 | ||||
-rw-r--r-- | sysutils/cfengine326/files/patch-libntech_libutils_known_dirs.c | 10 |
4 files changed, 88 insertions, 0 deletions
diff --git a/sysutils/cfengine326/files/cf-execd.in b/sysutils/cfengine326/files/cf-execd.in new file mode 100644 index 000000000000..b40d3507649a --- /dev/null +++ b/sysutils/cfengine326/files/cf-execd.in @@ -0,0 +1,26 @@ +#!/bin/sh + +# PROVIDE: cf-execd +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf[.local] to enable cf-execd(8) +# +# cf_execd_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable cf-execd. +# cf_execd_flags (str): Custom additional arguments to be passed +# to cf-execd (default empty). +# + +. /etc/rc.subr + +name="cf_execd" +rcvar=cf_execd_enable + +command="%%PREFIX%%/bin/cf-execd" + +load_rc_config $name + +: ${cf_execd_enable="NO"} + +run_rc_command "$1" diff --git a/sysutils/cfengine326/files/cf-monitord.in b/sysutils/cfengine326/files/cf-monitord.in new file mode 100644 index 000000000000..dd21a0aaed6d --- /dev/null +++ b/sysutils/cfengine326/files/cf-monitord.in @@ -0,0 +1,26 @@ +#!/bin/sh + +# PROVIDE: cf-monitord +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf[.local] to enable cf-monitord(8) +# +# cf_monitord_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable cf-monitord. +# cf_monitord_flags (str): Custom additional arguments to be passed +# to cf-monitord (default empty). +# + +. /etc/rc.subr + +name="cf_monitord" +rcvar=cf_monitord_enable + +command="%%PREFIX%%/bin/cf-monitord" + +load_rc_config $name + +: ${cf_monitord_enable="NO"} + +run_rc_command "$1" diff --git a/sysutils/cfengine326/files/cf-serverd.in b/sysutils/cfengine326/files/cf-serverd.in new file mode 100644 index 000000000000..938274887353 --- /dev/null +++ b/sysutils/cfengine326/files/cf-serverd.in @@ -0,0 +1,26 @@ +#!/bin/sh + +# PROVIDE: cf-serverd +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf[.local] to enable cf-serverd(8) +# +# cf_serverd_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable cf-serverd. +# cf_serverd_flags (str): Custom additional arguments to be passed +# to cf-serverd (default empty). +# + +. /etc/rc.subr + +name="cf_serverd" +rcvar=cf_serverd_enable + +command="%%PREFIX%%/bin/cf-serverd" + +load_rc_config $name + +: ${cf_serverd_enable="NO"} + +run_rc_command "$1" diff --git a/sysutils/cfengine326/files/patch-libntech_libutils_known_dirs.c b/sysutils/cfengine326/files/patch-libntech_libutils_known_dirs.c new file mode 100644 index 000000000000..68849193a44c --- /dev/null +++ b/sysutils/cfengine326/files/patch-libntech_libutils_known_dirs.c @@ -0,0 +1,10 @@ +--- libntech/libutils/known_dirs.c.orig 2023-12-01 14:09:56.000000000 -0800 ++++ libntech/libutils/known_dirs.c 2023-12-05 20:25:45.098318000 -0800 +@@ -21,6 +21,7 @@ + included file COSL.txt. + */ + ++#include "../config.h" + #include <platform.h> + #include <known_dirs.h> + #include <definitions.h> |