pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/knock knock: updated to 0.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1be0f4bc5c70
branches:  trunk
changeset: 456042:1be0f4bc5c70
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jul 17 16:01:34 2021 +0000

description:
knock: updated to 0.8

0.8
- Multiple fixes
- IPv6 support

diffstat:

 net/knock/Makefile                                |   6 ++++--
 net/knock/PLIST                                   |   3 ++-
 net/knock/distinfo                                |  13 +++++++------
 net/knock/patches/patch-doc_knockd.1.in           |   8 ++++----
 net/knock/patches/patch-src_knock__helper__ipt.sh |  22 ++++++++++++++++++++++
 5 files changed, 39 insertions(+), 13 deletions(-)

diffs (98 lines):

diff -r efa195f01119 -r 1be0f4bc5c70 net/knock/Makefile
--- a/net/knock/Makefile        Sat Jul 17 15:58:12 2021 +0000
+++ b/net/knock/Makefile        Sat Jul 17 16:01:34 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2020/01/26 17:31:50 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2021/07/17 16:01:34 adam Exp $
 
-DISTNAME=      knock-0.7
+DISTNAME=      knock-0.8
 CATEGORIES=    net
 MASTER_SITES=  http://www.zeroflux.org/proj/knock/files/
 
@@ -16,6 +16,8 @@
 
 BUILD_DEFS+=   VARBASE
 
+CHECK_PORTABILITY_SKIP=        src/knock_helper_ipt.sh
+
 EGDIR=         ${PREFIX}/share/examples/knock
 CONF_FILES=    ${EGDIR}/knockd.conf ${PKG_SYSCONFDIR}/knockd.conf
 
diff -r efa195f01119 -r 1be0f4bc5c70 net/knock/PLIST
--- a/net/knock/PLIST   Sat Jul 17 15:58:12 2021 +0000
+++ b/net/knock/PLIST   Sat Jul 17 16:01:34 2021 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2017/07/16 21:25:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/07/17 16:01:34 adam Exp $
 bin/knock
 man/man1/knock.1
 man/man8/knockd.8
+sbin/knock_helper_ipt.sh
 sbin/knockd
 share/doc/knock/COPYING
 share/doc/knock/ChangeLog
diff -r efa195f01119 -r 1be0f4bc5c70 net/knock/distinfo
--- a/net/knock/distinfo        Sat Jul 17 15:58:12 2021 +0000
+++ b/net/knock/distinfo        Sat Jul 17 16:01:34 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2017/07/16 21:25:06 adam Exp $
+$NetBSD: distinfo,v 1.5 2021/07/17 16:01:34 adam Exp $
 
-SHA1 (knock-0.7.tar.gz) = 186a687c9db11733cf23a7423884a863873ebb27
-RMD160 (knock-0.7.tar.gz) = 09a85c7cc7e4eacf1b144a3cfe06737a0308759c
-SHA512 (knock-0.7.tar.gz) = eab5d855f7111d9411e84a56a15e8ea74f41c5bd9dee27ab49f0d8d509eeeb96a60c508928c92916dc0ec9b737c447ca8ca5ed4db6479b389549d60e76a85aa7
-Size (knock-0.7.tar.gz) = 110791 bytes
-SHA1 (patch-doc_knockd.1.in) = 88a7f4a1fd632c4928820858da71f7e39d3b1f43
+SHA1 (knock-0.8.tar.gz) = d17a46ae994771d8f09d34b5cee6829936d726bf
+RMD160 (knock-0.8.tar.gz) = f5c48af7c4edaefe0c204caa86a1af3ad94e8ac5
+SHA512 (knock-0.8.tar.gz) = 6511e29f604cebc4a4048f5e49c1b73db0bbe0041a88f7c8559fa1a60ea894aadb72a608c423f867a5a4dddb06d00a0713863473981e42273662a77364c260ec
+Size (knock-0.8.tar.gz) = 377107 bytes
+SHA1 (patch-doc_knockd.1.in) = be3127150973a9600ea4c5f68c2f9c7c7cdbf03c
+SHA1 (patch-src_knock__helper__ipt.sh) = 3cf40fb4a6bb50b85ed466a823427f3f19f1e2c9
diff -r efa195f01119 -r 1be0f4bc5c70 net/knock/patches/patch-doc_knockd.1.in
--- a/net/knock/patches/patch-doc_knockd.1.in   Sat Jul 17 15:58:12 2021 +0000
+++ b/net/knock/patches/patch-doc_knockd.1.in   Sat Jul 17 16:01:34 2021 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-doc_knockd.1.in,v 1.1 2011/05/02 10:11:34 adam Exp $
+$NetBSD: patch-doc_knockd.1.in,v 1.2 2021/07/17 16:01:34 adam Exp $
 
 Change section to 8.
 
---- doc/knockd.1.in.orig       2011-05-02 10:05:38.000000000 +0000
+--- doc/knockd.1.in.orig       2021-07-17 15:57:27.000000000 +0000
 +++ doc/knockd.1.in
 @@ -1,4 +1,4 @@
--.TH knockd 1 "June 26, 2005" "knockd #VERSION#" ""
-+.TH knockd 8 "June 26, 2005" "knockd #VERSION#" ""
+-.TH knockd 1 "April 22, 2021" "knockd #VERSION#" ""
++.TH knockd 8 "April 22, 2021" "knockd #VERSION#" ""
  .SH NAME
  knockd \- port-knock server
  .SH SYNOPSIS
diff -r efa195f01119 -r 1be0f4bc5c70 net/knock/patches/patch-src_knock__helper__ipt.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/knock/patches/patch-src_knock__helper__ipt.sh Sat Jul 17 16:01:34 2021 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_knock__helper__ipt.sh,v 1.1 2021/07/17 16:01:34 adam Exp $
+
+Portablility fix.
+
+--- src/knock_helper_ipt.sh.orig       2021-07-17 15:59:26.000000000 +0000
++++ src/knock_helper_ipt.sh
+@@ -167,7 +167,7 @@ do
+               echo "$SCRIPT_NAME - $IP"
+       fi
+ 
+-      if [ "$IPT_SRC_IP" == "$IP" ]; then
++      if [ "$IPT_SRC_IP" = "$IP" ]; then
+               SEEN=1
+       fi
+ done
+@@ -186,4 +186,4 @@ if [ "$SEEN" -eq 0 ]; then
+       if [ "$DRY_RUN" -eq 0 ]; then
+               eval $IPTABLES $IPT_METHOD $IPT_CHAIN -s $IPT_SRC_IP -p $IPT_PROTO --dport $IPT_DST_PORT -j $IPT_RULE_TARGET $COMMENT
+       fi
+-fi
+\ No newline at end of file
++fi



Home | Main Index | Thread Index | Old Index