Sat May 29 22:39:46 2021 UTC ()
fwknop: update to version 2.6.10

This release brings:

- [server] Add MAX_FW_TIMEOUT to access.conf stanzas to allow a maximum
  number of seconds for client-specified timeouts in SPA packets. This
  fixes issue #226 which was spotted by Jeremiah Rothschild.
- [server] Bug fix in CMD_EXEC mode to make sure to call exit() upon any
  error from execvpe(). Without this fix, additional fwknopd processes
  would be started upon a user specifying a command without the necessary
  permissions. This bug was reported by Stephen Isard.
- [build] Jeremie Courreges-Anglas and Ingo Feinerer contributed a patch
  to fix endian detection on OpenBSD systems based on information
  contained here: https://www.opengroup.org/austin/docs/austin_514.txt
- [client/server] (Michael Stair) Added client and server infrastructure
  written in Erlang. See the erlang/ directory.


(khorben)
diff -r1.3 -r1.4 pkgsrc/net/fwknop/Makefile
diff -r1.1 -r1.2 pkgsrc/net/fwknop/distinfo
diff -r0 -r1.1 pkgsrc/net/fwknop/files/fwknopd.sh
diff -r1.1 -r0 pkgsrc/net/fwknop/patches/patch-common_netinet__common.h
diff -r1.1 -r0 pkgsrc/net/fwknop/patches/patch-configure.ac

cvs diff -r1.3 -r1.4 pkgsrc/net/fwknop/Makefile (expand / switch to unified diff)

--- pkgsrc/net/fwknop/Makefile 2019/12/21 23:44:59 1.3
+++ pkgsrc/net/fwknop/Makefile 2021/05/29 22:39:45 1.4
@@ -1,41 +1,42 @@ @@ -1,41 +1,42 @@
1# $NetBSD: Makefile,v 1.3 2019/12/21 23:44:59 joerg Exp $ 1# $NetBSD: Makefile,v 1.4 2021/05/29 22:39:45 khorben Exp $
2 2
3DISTNAME= fwknop-2.6.9 3DISTNAME= fwknop-2.6.10
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= ${MASTER_SITE_GITHUB:=mrash/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=mrash/}
6 6
7MAINTAINER= khorben@defora.org 7MAINTAINER= khorben@defora.org
8HOMEPAGE= https://github.com/mrash/fwknop/ 8HOMEPAGE= https://github.com/mrash/fwknop/
9COMMENT= Port knocking via Single Packet Authorization (SPA) 9COMMENT= Port knocking via Single Packet Authorization (SPA)
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12DEPENDS+= gnupg-[0-9]*:../../security/gnupg 12DEPENDS+= gnupg-[0-9]*:../../security/gnupg
13DEPENDS+= wget-[0-9]*:../../net/wget 13DEPENDS+= wget-[0-9]*:../../net/wget
14 14
15USE_TOOLS+= aclocal autoconf automake autoheader makeinfo 15USE_TOOLS+= aclocal autoconf automake autoheader makeinfo
16 16
17USE_LIBTOOL= yes 17USE_LIBTOOL= yes
18GNU_CONFIGURE= yes 18GNU_CONFIGURE= yes
19CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR} 19CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
20 20
 21RCD_SCRIPTS= fwknopd
21EGDIR= ${PREFIX}/share/examples/fwknop 22EGDIR= ${PREFIX}/share/examples/fwknop
22CONF_FILES+= ${EGDIR}/access.conf \ 23CONF_FILES_PERMS+= ${EGDIR}/access.conf \
23 ${PKG_SYSCONFDIR}/fwknop/access.conf 24 ${PKG_SYSCONFDIR}/fwknop/access.conf \
24CONF_FILES+= ${EGDIR}/fwknopd.conf \ 25 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0600
25 ${PKG_SYSCONFDIR}/fwknop/fwknopd.conf 26CONF_FILES_PERMS+= ${EGDIR}/fwknopd.conf \
 27 ${PKG_SYSCONFDIR}/fwknop/fwknopd.conf \
 28 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0600
26INSTALLATION_DIRS+= ${EGDIR} 29INSTALLATION_DIRS+= ${EGDIR}
27 30
28INFO_FILES= yes 31INFO_FILES= yes
29 32
30WRKSRC= ${WRKDIR}/fwknop-2.6.9 
31 
32pre-configure: 33pre-configure:
33 cd ${WRKSRC} && sh autogen.sh 34 cd ${WRKSRC} && sh autogen.sh
34 35
35post-install: 36post-install:
36 ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/fwknop/access.conf ${DESTDIR}${EGDIR}/ 37 ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/fwknop/access.conf ${DESTDIR}${EGDIR}/
37 ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/fwknop/fwknopd.conf ${DESTDIR}${EGDIR}/ 38 ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/fwknop/fwknopd.conf ${DESTDIR}${EGDIR}/
38 39
39.include "../../net/libpcap/buildlink3.mk" 40.include "../../net/libpcap/buildlink3.mk"
40.include "../../security/gpgme/buildlink3.mk" 41.include "../../security/gpgme/buildlink3.mk"
41.include "../../mk/bsd.pkg.mk" 42.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/net/fwknop/distinfo (expand / switch to unified diff)

--- pkgsrc/net/fwknop/distinfo 2018/05/01 21:10:42 1.1
+++ pkgsrc/net/fwknop/distinfo 2021/05/29 22:39:45 1.2
@@ -1,8 +1,6 @@ @@ -1,8 +1,6 @@
1$NetBSD: distinfo,v 1.1 2018/05/01 21:10:42 khorben Exp $ 1$NetBSD: distinfo,v 1.2 2021/05/29 22:39:45 khorben Exp $
2 2
3SHA1 (fwknop-2.6.9.tar.gz) = d306c206bc0afd26cad3567584d5017348ebc13e 3SHA1 (fwknop-2.6.10.tar.gz) = b0a70f5626e6e27a41259fc4f07e19c39da5df73
4RMD160 (fwknop-2.6.9.tar.gz) = 6409bc7fa4880070502e3c92ff60bf3aa3968b3f 4RMD160 (fwknop-2.6.10.tar.gz) = ee14efc6e43cc9ac32f489f257ab2b19257092cd
5SHA512 (fwknop-2.6.9.tar.gz) = 4706560d44c911c8604059d88dded9c1b8c333399d90ec7dc366c0fba96c79680bdbf1b8b5e76cc34aaf3a1e58fff80db8f5f20c96d57481bdb476a9b99f4d1b 5SHA512 (fwknop-2.6.10.tar.gz) = e6c34dad012921fc0773826c769df322f06fd9310e8f263d8b786d2acda0310763db566324a436ea539b5e0bd6a08ce22e9499f6566d61d6309d84927faa4cf4
6Size (fwknop-2.6.9.tar.gz) = 3043542 bytes 6Size (fwknop-2.6.10.tar.gz) = 3030310 bytes
7SHA1 (patch-common_netinet__common.h) = 14aba8c993916b6ce4bd035326e1b74735333c8b 
8SHA1 (patch-configure.ac) = a17c487cb4f294f3800b5557ccb8124c64c679c4 

File Added: pkgsrc/net/fwknop/files/fwknopd.sh
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: fwknopd.sh,v 1.1 2021/05/29 22:39:46 khorben Exp $
#
# Startup script for fwknopd
#
# PROVIDE: fwknopd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# You will need to set some variables in /etc/rc.conf to start fwknopd:
#
# fwknopd=YES
#
# Optionally, "fwknopd_flags" contains additional parameters for the service.
# See fwknopd(8) for possible options.

. /etc/rc.subr

name="fwknopd"
rcvar=${name}
command="@PREFIX@/bin/${name}"
required_files="@PKG_SYSCONFDIR@/fwknop/fwknopd.conf"
fwknopd_flags=

load_rc_config $name
run_rc_command "$1"

File Deleted: pkgsrc/net/fwknop/patches/Attic/patch-common_netinet__common.h

File Deleted: pkgsrc/net/fwknop/patches/Attic/patch-configure.ac