Tue Oct 18 01:17:53 2022 UTC ()
Update to 20220917. From the changelog:

- Use 'ps -c -o command=' rather than 'cmd=' [chris vogan]
- Use full names of Windows 'netsh' sub-commands, not abbreviations
  [Dimitri Papadopoulos]
- Don't try to condition 'validate=no' flag on Windows version
  [Daniel Lenski]
- add networksetup for darwin to fix dns setup on newer versions of
  MacOS [Tobias Breitwieser]
- Removed automatic adding of NS routes [Heiko Schabert]
- Add configuration for OBS workflow [Luca Boccassi]
- Add RPM packaging for OBS workflow [Luca Boccassi]
- Add Debian packaging for OBS workflow [Luca Boccassi]
- vpnc-script-sshd: use ip link peer name syntax [Luca Boccassi]
- vpnc-script: Detect systemd with resolvectl status [Jordan Justen]
- Cleanup error status in vpnc-script-win.js [Dimitri Papadopoulos]
- Update copyright/origin notices in scripts [Daniel Lenski]
- On newer versions of Windows, need `validate=no` when adding DNS
  servers [Daniel Lenski]
- Better ordering, more logging, and disconnect handler fixes on Windows
  [Daniel Lenski]
- Add logLevel and logTimestamps options to vpnc-script-win.js
  [Daniel Lenski]
- On newer versions of Windows, need `validate=no` when adding DNS
  servers [Daniel Lenski]
- Better ordering, more logging, and disconnect handler fixes on Windows
  [Daniel Lenski]
- Add logLevel and logTimestamps options to vpnc-script-win.js
  [Daniel Lenski]
- Remove unnecessary quotes around numeric interface identifier (TUNIDX)
  in vpnc-script-win.js [Daniel Lenski]
- vpnc-script-win.js: replace incorrect exec() call with run()
  [Tim De Baets]
- Always use INTERNAL_IP4_ADDRESS as "gateway" on Windows [Daniel Lenski]
- Support for OpenBSD's resolvd via route messages [Andrew Hewus Fresh]
- Another bugfix when determining the controlling PID [Daniel Lenski]
- Use `type -P` instead of `command -v` in tests/ bash scripts
  [Ville Skytt辰]
- Use `grep -E` instead of `egrep` [Ville Skytt辰]
- Use `command -v` instead of `which` [Ville Skytt辰]
- Ensure that vpnc-script-win.js works even if
  INTERNAL_IP4_{NETADDR,NETMASK} are unset [Daniel Lenski]
- Add polyfill for String.prototype.trim in vpnc-script-win.js
  [Daniel Lenski]
- Minor typo [Dimitri Papadopoulos]
- Fix spacing [Daniel Lenski]
- Use $VPNPID when provided by OpenConnect [Daniel Lenski]
- Also include controlling process identifier in resolv.conf backup path
  [Daniel Lenski]
- Bugfix default route handling by using GRANDparent process ID to
  uniquely identify connection [Daniel Lenski]
- Typos found by codespell [Dimitri Papadopoulos]
- Ensure that vpnc-script-win.js picks a legal "internal gateway"
  address even for /32 netmask [Daniel Lenski]
- tests: fix error message about missing ocserv [Luca Boccassi]
- Typos caught by codespell [Dimitri Papadopoulos]
- Fix set_vpngateway_route [Daniel Lenski]
- Exclude routes may use a different address family from VPNGATEWAY
  [Daniel Lenski]
- factor out list_non_loopback_routes and use for split-exclude routes
  as well [Daniel Lenski]
- tests: 'route flush' doesn't work properly on Linux' [Daniel Lenski]
- Linux: fix IPv6 route flushing [Daniel Lenski]
- test timing: wait up to 10s for OpenConnect client to terminating
  [Daniel Lenski]
- re-add tests for IPv6 support [Daniel Lenski]
- always exclude TUNDEV when finding/setting gateway route
  [Daniel Lenski]
- preserve onlink flag in gateway/exclude routes [Daniel Lenski]


(schmonz)
diff -r1.8 -r1.9 pkgsrc/net/vpnc-script/Makefile
diff -r1.10 -r1.11 pkgsrc/net/vpnc-script/distinfo

cvs diff -r1.8 -r1.9 pkgsrc/net/vpnc-script/Makefile (expand / switch to unified diff)

--- pkgsrc/net/vpnc-script/Makefile 2021/05/22 09:12:05 1.8
+++ pkgsrc/net/vpnc-script/Makefile 2022/10/18 01:17:53 1.9
@@ -1,24 +1,23 @@ @@ -1,24 +1,23 @@
1# $NetBSD: Makefile,v 1.8 2021/05/22 09:12:05 schmonz Exp $ 1# $NetBSD: Makefile,v 1.9 2022/10/18 01:17:53 schmonz Exp $
2 2
3DISTNAME= vpnc-script-20210401 3DISTNAME= vpnc-script-20220917
4CATEGORIES= net security 4CATEGORIES= net security
5MASTER_SITES= http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/8fff06090ed193c4a7285e9a10b42e6679e8ecf3:/ 5MASTER_SITES= ${MASTER_SITE_GITLAB:=openconnect/vpnc-scripts/-/raw/fc87e112/}
6DIST_SUBDIR= ${PKGNAME_NOREV} 6DIST_SUBDIR= ${PKGNAME_NOREV}
7DISTFILES= vpnc-script 7DISTFILES= vpnc-script
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.infradead.org/openconnect/vpnc-script.html 10HOMEPAGE= http://www.infradead.org/openconnect/vpnc-script.html
11# see also http://git.infradead.org/users/dwmw2/vpnc-scripts.git 
12COMMENT= Improved config script for OpenConnect and vpnc 11COMMENT= Improved config script for OpenConnect and vpnc
13LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
14 13
15NO_BUILD= YES 14NO_BUILD= YES
16WRKSRC= ${WRKDIR} 15WRKSRC= ${WRKDIR}
17 16
18EGDIR= ${PREFIX}/share/examples/vpnc-script 17EGDIR= ${PREFIX}/share/examples/vpnc-script
19INSTALLATION_DIRS= ${EGDIR} 18INSTALLATION_DIRS= ${EGDIR}
20CONF_FILES_PERMS= ${EGDIR}/vpnc-script \ 19CONF_FILES_PERMS= ${EGDIR}/vpnc-script \
21 ${PKG_SYSCONFDIR}/vpnc-script \ 20 ${PKG_SYSCONFDIR}/vpnc-script \
22 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 555 21 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 555
23 22
24do-install: 23do-install:

cvs diff -r1.10 -r1.11 pkgsrc/net/vpnc-script/distinfo (expand / switch to unified diff)

--- pkgsrc/net/vpnc-script/distinfo 2021/10/26 11:07:09 1.10
+++ pkgsrc/net/vpnc-script/distinfo 2022/10/18 01:17:53 1.11
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.10 2021/10/26 11:07:09 nia Exp $ 1$NetBSD: distinfo,v 1.11 2022/10/18 01:17:53 schmonz Exp $
2 2
3BLAKE2s (vpnc-script-20210401/vpnc-script) = 462d4d1ee82bf1defbbf0ba5268b76cc0a965a6a0e0d48546d1ed4870cfbe30b 3BLAKE2s (vpnc-script-20220917/vpnc-script) = 6db2a814767fb42e3e4cf9b0bc937e07fc979bfa3486426ea1fbe5181c979363
4SHA512 (vpnc-script-20210401/vpnc-script) = df61bfbcacdc48b19dad7297f8e5455deff5a0c643e4f9a55a4c20ede16453bda705f7b62102c51a708b5a452b9e75b196bf4efd208d138f21e1168ad4b2b73d 4SHA512 (vpnc-script-20220917/vpnc-script) = adff26539cc0db987a5caa2d8e60e633a4a3025eeb7566d3887d8d1373ec1754b1b6d75a83d835bd006561a39b10f57f01efd07657117c17779e1a1803895ce1
5Size (vpnc-script-20210401/vpnc-script) = 37966 bytes 5Size (vpnc-script-20220917/vpnc-script) = 38674 bytes