pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/knock



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jul 17 16:01:34 UTC 2021

Modified Files:
        pkgsrc/net/knock: Makefile PLIST distinfo
        pkgsrc/net/knock/patches: patch-doc_knockd.1.in
Added Files:
        pkgsrc/net/knock/patches: patch-src_knock__helper__ipt.sh

Log Message:
knock: updated to 0.8

0.8
- Multiple fixes
- IPv6 support


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/net/knock/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/knock/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/knock/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/knock/patches/patch-doc_knockd.1.in
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/knock/patches/patch-src_knock__helper__ipt.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/knock/Makefile
diff -u pkgsrc/net/knock/Makefile:1.9 pkgsrc/net/knock/Makefile:1.10
--- pkgsrc/net/knock/Makefile:1.9       Sun Jan 26 17:31:50 2020
+++ pkgsrc/net/knock/Makefile   Sat Jul 17 16:01:34 2021
@@ -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 @@ CONFIGURE_ARGS+=      --sysconfdir=${EGDIR}
 
 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
 

Index: pkgsrc/net/knock/PLIST
diff -u pkgsrc/net/knock/PLIST:1.3 pkgsrc/net/knock/PLIST:1.4
--- pkgsrc/net/knock/PLIST:1.3  Sun Jul 16 21:25:06 2017
+++ pkgsrc/net/knock/PLIST      Sat Jul 17 16:01:34 2021
@@ -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

Index: pkgsrc/net/knock/distinfo
diff -u pkgsrc/net/knock/distinfo:1.4 pkgsrc/net/knock/distinfo:1.5
--- pkgsrc/net/knock/distinfo:1.4       Sun Jul 16 21:25:06 2017
+++ pkgsrc/net/knock/distinfo   Sat Jul 17 16:01:34 2021
@@ -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

Index: pkgsrc/net/knock/patches/patch-doc_knockd.1.in
diff -u pkgsrc/net/knock/patches/patch-doc_knockd.1.in:1.1 pkgsrc/net/knock/patches/patch-doc_knockd.1.in:1.2
--- pkgsrc/net/knock/patches/patch-doc_knockd.1.in:1.1  Mon May  2 10:11:34 2011
+++ pkgsrc/net/knock/patches/patch-doc_knockd.1.in      Sat Jul 17 16:01:34 2021
@@ -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

Added files:

Index: pkgsrc/net/knock/patches/patch-src_knock__helper__ipt.sh
diff -u /dev/null pkgsrc/net/knock/patches/patch-src_knock__helper__ipt.sh:1.1
--- /dev/null   Sat Jul 17 16:01:35 2021
+++ pkgsrc/net/knock/patches/patch-src_knock__helper__ipt.sh    Sat Jul 17 16:01:34 2021
@@ -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