Received: by mail.netbsd.org (Postfix, from userid 605) id 0169D84D4A; Sat, 29 May 2021 22:39:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3B4CB84D43 for ; Sat, 29 May 2021 22:39:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id LXE0N6xRdcH3 for ; Sat, 29 May 2021 22:39:46 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 654EF84D16 for ; Sat, 29 May 2021 22:39:46 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 57542FA95; Sat, 29 May 2021 22:39:46 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1622327986273330" MIME-Version: 1.0 Date: Sat, 29 May 2021 22:39:46 +0000 From: "Pierre Pronchery" Subject: CVS commit: pkgsrc/net/fwknop To: pkgsrc-changes@NetBSD.org Reply-To: khorben@netbsd.org X-Mailer: log_accum Message-Id: <20210529223946.57542FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1622327986273330 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: khorben Date: Sat May 29 22:39:46 UTC 2021 Modified Files: pkgsrc/net/fwknop: Makefile distinfo Added Files: pkgsrc/net/fwknop/files: fwknopd.sh Removed Files: pkgsrc/net/fwknop/patches: patch-common_netinet__common.h patch-configure.ac Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/fwknop/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/fwknop/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/net/fwknop/files/fwknopd.sh cvs rdiff -u -r1.1 -r0 \ pkgsrc/net/fwknop/patches/patch-common_netinet__common.h \ pkgsrc/net/fwknop/patches/patch-configure.ac Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1622327986273330 Content-Disposition: inline Content-Length: 3274 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/fwknop/Makefile diff -u pkgsrc/net/fwknop/Makefile:1.3 pkgsrc/net/fwknop/Makefile:1.4 --- pkgsrc/net/fwknop/Makefile:1.3 Sat Dec 21 23:44:59 2019 +++ pkgsrc/net/fwknop/Makefile Sat May 29 22:39:45 2021 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2019/12/21 23:44:59 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2021/05/29 22:39:45 khorben Exp $ -DISTNAME= fwknop-2.6.9 +DISTNAME= fwknop-2.6.10 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GITHUB:=mrash/} @@ -18,17 +18,18 @@ USE_LIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR} +RCD_SCRIPTS= fwknopd EGDIR= ${PREFIX}/share/examples/fwknop -CONF_FILES+= ${EGDIR}/access.conf \ - ${PKG_SYSCONFDIR}/fwknop/access.conf -CONF_FILES+= ${EGDIR}/fwknopd.conf \ - ${PKG_SYSCONFDIR}/fwknop/fwknopd.conf +CONF_FILES_PERMS+= ${EGDIR}/access.conf \ + ${PKG_SYSCONFDIR}/fwknop/access.conf \ + ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0600 +CONF_FILES_PERMS+= ${EGDIR}/fwknopd.conf \ + ${PKG_SYSCONFDIR}/fwknop/fwknopd.conf \ + ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0600 INSTALLATION_DIRS+= ${EGDIR} INFO_FILES= yes -WRKSRC= ${WRKDIR}/fwknop-2.6.9 - pre-configure: cd ${WRKSRC} && sh autogen.sh Index: pkgsrc/net/fwknop/distinfo diff -u pkgsrc/net/fwknop/distinfo:1.1 pkgsrc/net/fwknop/distinfo:1.2 --- pkgsrc/net/fwknop/distinfo:1.1 Tue May 1 21:10:42 2018 +++ pkgsrc/net/fwknop/distinfo Sat May 29 22:39:45 2021 @@ -1,8 +1,6 @@ -$NetBSD: distinfo,v 1.1 2018/05/01 21:10:42 khorben Exp $ +$NetBSD: distinfo,v 1.2 2021/05/29 22:39:45 khorben Exp $ -SHA1 (fwknop-2.6.9.tar.gz) = d306c206bc0afd26cad3567584d5017348ebc13e -RMD160 (fwknop-2.6.9.tar.gz) = 6409bc7fa4880070502e3c92ff60bf3aa3968b3f -SHA512 (fwknop-2.6.9.tar.gz) = 4706560d44c911c8604059d88dded9c1b8c333399d90ec7dc366c0fba96c79680bdbf1b8b5e76cc34aaf3a1e58fff80db8f5f20c96d57481bdb476a9b99f4d1b -Size (fwknop-2.6.9.tar.gz) = 3043542 bytes -SHA1 (patch-common_netinet__common.h) = 14aba8c993916b6ce4bd035326e1b74735333c8b -SHA1 (patch-configure.ac) = a17c487cb4f294f3800b5557ccb8124c64c679c4 +SHA1 (fwknop-2.6.10.tar.gz) = b0a70f5626e6e27a41259fc4f07e19c39da5df73 +RMD160 (fwknop-2.6.10.tar.gz) = ee14efc6e43cc9ac32f489f257ab2b19257092cd +SHA512 (fwknop-2.6.10.tar.gz) = e6c34dad012921fc0773826c769df322f06fd9310e8f263d8b786d2acda0310763db566324a436ea539b5e0bd6a08ce22e9499f6566d61d6309d84927faa4cf4 +Size (fwknop-2.6.10.tar.gz) = 3030310 bytes Added files: Index: pkgsrc/net/fwknop/files/fwknopd.sh diff -u /dev/null pkgsrc/net/fwknop/files/fwknopd.sh:1.1 --- /dev/null Sat May 29 22:39:46 2021 +++ pkgsrc/net/fwknop/files/fwknopd.sh Sat May 29 22:39:46 2021 @@ -0,0 +1,27 @@ +#!@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" --_----------=_1622327986273330--