diff --git a/debian/patches/0003-fix-manpage-to-match-debian-config.patch b/debian/patches/0003-fix-manpage-to-match-debian-config.patch new file mode 100644 index 0000000..80b3a35 --- /dev/null +++ b/debian/patches/0003-fix-manpage-to-match-debian-config.patch @@ -0,0 +1,28 @@ +From: Leo Antunes +Date: Mon, 18 Oct 2021 23:57:32 +0200 +Subject: fix manpage to match debian config + +--- + doc/knockd.1.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/doc/knockd.1.in b/doc/knockd.1.in +index b69ca06..28d43ec 100644 +--- a/doc/knockd.1.in ++++ b/doc/knockd.1.in +@@ -63,13 +63,13 @@ firewall and would like to access it discreetly. + sequence = 7000,8000,9000 + seq_timeout = 10 + tcpflags = syn +- command = /usr/sbin/iptables \-A INPUT \-s %IP% \-\-dport 22 \-j ACCEPT ++ command = /sbin/iptables \-A INPUT \-s %IP% \-\-dport 22 \-j ACCEPT + + [closeSSH] + sequence = 9000,8000,7000 + seq_timeout = 10 + tcpflags = syn +- command = /usr/sbin/iptables \-D INPUT \-s %IP% \-\-dport 22 \-j ACCEPT ++ command = /sbin/iptables \-D INPUT \-s %IP% \-\-dport 22 \-j ACCEPT + + .fi + .RE diff --git a/debian/patches/series b/debian/patches/series index 61b4508..467675c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ default_config.patch syslog_facility_daemon.patch +0003-fix-manpage-to-match-debian-config.patch