diff options
Diffstat (limited to 'security/fwknop/files/patch-fwknop.conf')
-rw-r--r-- | security/fwknop/files/patch-fwknop.conf | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/security/fwknop/files/patch-fwknop.conf b/security/fwknop/files/patch-fwknop.conf new file mode 100644 index 000000000000..ba8ec4b07230 --- /dev/null +++ b/security/fwknop/files/patch-fwknop.conf @@ -0,0 +1,45 @@ +--- fwknop.conf.orig 2007-11-23 22:37:27.000000000 +0200 ++++ fwknop.conf 2007-11-23 22:40:56.000000000 +0200 +@@ -10,7 +10,7 @@ + # + # Note there are no access control directives in this file. All access + # control directives are located in the file +-# /etc/fwknop/access.conf. You will need to edit the access.conf file in ++# %%PREFIX%%/etc/fwknop/access.conf. You will need to edit the access.conf file in + # order for fwknop to function correctly. + # + ############################################################################# +@@ -90,7 +90,7 @@ + + ### If GPG keys are used instead of a Rijndael symmetric key, this is + ### the default GPG keys directory. Note that each access block in +-### /etc/fwknop/access.conf can specify its own GPG directory to override ++### %%PREFIX%%/etc/fwknop/access.conf can specify its own GPG directory to override + ### this default. + GPG_DEFAULT_HOME_DIR /root/.gnupg; + +@@ -184,8 +184,8 @@ + FWKNOP_DIR /var/log/fwknop; + FWKNOP_RUN_DIR /var/run/fwknop; + FWKNOP_LIB_DIR /var/lib/fwknop; # for legacy port knocking mode +-FWKNOP_MOD_DIR /usr/lib/fwknop; +-FWKNOP_CONF_DIR /etc/fwknop; ++FWKNOP_MOD_DIR %%PREFIX%%/lib/fwknop; ++FWKNOP_CONF_DIR %%PREFIX%%/etc/fwknop; + FWKNOP_ERR_DIR $FWKNOP_DIR/errs; + + ### Files +@@ -216,8 +216,8 @@ + mknodCmd /bin/mknod; + iptablesCmd /sbin/iptables; + ipfwCmd /sbin/ipfw; ### BSD and Mac OS X only +-fwknopdCmd /usr/sbin/fwknopd; +-fwknop_servCmd /usr/sbin/fwknop_serv; +-knopmdCmd /usr/sbin/knopmd; +-knoptmCmd /usr/sbin/knoptm; +-knopwatchdCmd /usr/sbin/knopwatchd; ++fwknopdCmd %%PREFIX%%/sbin/fwknopd; ++fwknop_servCmd %%PREFIX%%/sbin/fwknop_serv; ++knopmdCmd %%PREFIX%%/sbin/knopmd; ++knoptmCmd %%PREFIX%%/sbin/knoptm; ++knopwatchdCmd %%PREFIX%%/sbin/knopwatchd; |