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:           Sun Jul 16 21:25:06 UTC 2017

Modified Files:
        pkgsrc/net/knock: Makefile PLIST distinfo
Removed Files:
        pkgsrc/net/knock/patches: patch-Makefile.in patch-src_knockd.c

Log Message:
0.7:
- Document the 'target' configuration directive.
- Merging OS-specific networking code to reduce LOCs and the
  sea of #ifdefs.
- Added 50ms timeout to pcap_open_live() to reduce CPU usage
  on network-heavy hosts. Pcap recommends we not use zero.

0.6:
- Cleanup: Don't null-check before free
- Cleanup: Consolidate flag-check logic
- Accept single-knock sequences
- Introduce a 'target' configuration directive, enabling
  knockd to react to connect attempts to a target host.
  Useful in cases where knockd is on a router and you want
  to send a target a wakeup packet.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/knock/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/knock/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/knock/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/net/knock/patches/patch-Makefile.in \
    pkgsrc/net/knock/patches/patch-src_knockd.c

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.7 pkgsrc/net/knock/Makefile:1.8
--- pkgsrc/net/knock/Makefile:1.7       Wed Feb  6 19:30:58 2013
+++ pkgsrc/net/knock/Makefile   Sun Jul 16 21:25:06 2017
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2013/02/06 19:30:58 jperkin Exp $
+# $NetBSD: Makefile,v 1.8 2017/07/16 21:25:06 adam Exp $
 
-DISTNAME=      knock-0.5
-PKGREVISION=   2
+DISTNAME=      knock-0.7
 CATEGORIES=    net
 MASTER_SITES=  http://www.zeroflux.org/proj/knock/files/
 
@@ -13,7 +12,7 @@ LICENSE=      gnu-gpl-v2
 USE_LANGUAGES=         c
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --sysconfdir=${EGDIR}
 
 BUILD_DEFS+=   VARBASE
 
@@ -29,5 +28,8 @@ SUBST_FILES.paths=    src/knockd.c
 SUBST_SED.paths=       -e 's,"/etc,"${PKG_SYSCONFDIR},g'
 SUBST_SED.paths+=      -e 's,"/var,"${VARBASE},g'
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && ${MV} man1/knockd.1 man8/knockd.8 || ${TRUE}
+
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/knock/PLIST
diff -u pkgsrc/net/knock/PLIST:1.2 pkgsrc/net/knock/PLIST:1.3
--- pkgsrc/net/knock/PLIST:1.2  Mon May  2 10:11:34 2011
+++ pkgsrc/net/knock/PLIST      Sun Jul 16 21:25:06 2017
@@ -1,6 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2011/05/02 10:11:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/07/16 21:25:06 adam Exp $
 bin/knock
 man/man1/knock.1
 man/man8/knockd.8
 sbin/knockd
+share/doc/knock/COPYING
+share/doc/knock/ChangeLog
+share/doc/knock/README.md
+share/doc/knock/TODO
 share/examples/knock/knockd.conf

Index: pkgsrc/net/knock/distinfo
diff -u pkgsrc/net/knock/distinfo:1.3 pkgsrc/net/knock/distinfo:1.4
--- pkgsrc/net/knock/distinfo:1.3       Wed Nov  4 00:35:07 2015
+++ pkgsrc/net/knock/distinfo   Sun Jul 16 21:25:06 2017
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 00:35:07 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/07/16 21:25:06 adam Exp $
 
-SHA1 (knock-0.5.tar.gz) = 26f3b2f2d698bc6978390ef6e93c628361605059
-RMD160 (knock-0.5.tar.gz) = 089ea289a51478a89945c46469b378c3b33fff6d
-SHA512 (knock-0.5.tar.gz) = c5f7f3320d4d9a41847dba0cda4d66852f983db419b23d3bf9c83d44a41ba437379bf6cee47a096c600841e321740849dac26d5c3afff9b3ae0178a2fcb6c35e
-Size (knock-0.5.tar.gz) = 83990 bytes
-SHA1 (patch-Makefile.in) = c42b1ec9ef1eb91402a078fd6a93938d197eebce
+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 (patch-src_knockd.c) = b8602ac54f6e05dabe6054907712a4269f87ee12



Home | Main Index | Thread Index | Old Index