diff options
| author | Michelangelo De Simone <michelangelo@sempliva.com> | 2023-07-22 23:26:39 -0700 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-08-09 15:01:18 +0200 |
| commit | b10e091f6f2df5d65453e060d8e82a9a8d603e33 (patch) | |
| tree | a0008fed4b12c07406c4ffe8f144b979d5e32b7d /security/knock/files/patch-src_knockd.c | |
| parent | www/angie-module-xslt: Angie XSLT dynamic module (diff) | |
security/knock: update to 0.8
- chase to new home
Changelog: https://github.com/jvinet/knock/blob/master/ChangeLog
PR: 267232
Approved by: sbz (maintainer timeout)
Diffstat (limited to 'security/knock/files/patch-src_knockd.c')
| -rw-r--r-- | security/knock/files/patch-src_knockd.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/knock/files/patch-src_knockd.c b/security/knock/files/patch-src_knockd.c new file mode 100644 index 000000000000..bce069c7ca1a --- /dev/null +++ b/security/knock/files/patch-src_knockd.c @@ -0,0 +1,20 @@ +--- src/knockd.c.orig 2021-04-24 16:54:37 UTC ++++ src/knockd.c +@@ -63,7 +63,7 @@ + extern int daemon(int, int); + #endif + +-static char version[] = "0.8"; ++static char version[] = "#VERSION#"; + + #define SEQ_TIMEOUT 25 /* default knock timeout in seconds */ + #define CMD_TIMEOUT 10 /* default timeout in seconds between start and stop commands */ +@@ -163,7 +163,7 @@ int o_daemon = 0; + int o_lookup = 0; + int o_skipIpV6 = 0; + char o_int[32] = ""; /* default (eth0) is set after parseconfig() */ +-char o_cfg[PATH_MAX] = "/etc/knockd.conf"; ++char o_cfg[PATH_MAX] = "%%PREFIX%%/etc/knockd.conf"; + char o_pidfile[PATH_MAX] = "/var/run/knockd.pid"; + char o_logfile[PATH_MAX] = ""; + |
