It turns out I don't have a use for this anymore.
I didn't look in detail at what the changes were and have no way to test
if it still works, but upstream did apply my patch for OpenBSD support.
I think they may also have added some sort of ipv6 support.
In any case, this updates to a recent commit that showed as green and
switches to use a DIST_TUPLE in addition to me dropping MAINTAINER.
Comments, OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/vpnc-scripts/Makefile,v
diff -u -p -r1.8 Makefile
--- Makefile 27 Sep 2023 14:18:39 -0000 1.8
+++ Makefile 20 Sep 2026 23:58:26 -0000
@@ -1,20 +1,13 @@
COMMENT= connect scripts for use with vpnc and openconnect
-C= e6a8fac7f7e8bf3c391787a3e0672f741603a9c9
-DISTNAME= vpnc-scripts-${C}
-PKGNAME= vpnc-scripts-20200317
-REVISION= 0
+DIST_TUPLE = gitlab openconnect vpnc-scripts \
+ 4ed41c21e3857f96ab935b45092bbb07c3ccd5be .
+PKGNAME= vpnc-scripts-20240308
CATEGORIES= net
-HOMEPAGE= https://gitlab.com/openconnect/vpnc-scripts/
-
-MAINTAINER= Andrew Hewus Fresh <[email protected]>
-
# GPLv2+
PERMIT_PACKAGE= Yes
-
-SITES= https://gitlab.com/openconnect/vpnc-scripts/-/archive/${C}/
NO_BUILD= Yes
NO_TEST= Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/vpnc-scripts/distinfo,v
diff -u -p -r1.2 distinfo
--- distinfo 16 Aug 2020 11:36:07 -0000 1.2
+++ distinfo 20 Sep 2026 23:58:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (vpnc-scripts-e6a8fac7f7e8bf3c391787a3e0672f741603a9c9.tar.gz) =
WhGv6qO/eaABubl6WSpU3ShA6WBD+O+hAjCGkgyxSNA=
-SIZE (vpnc-scripts-e6a8fac7f7e8bf3c391787a3e0672f741603a9c9.tar.gz) = 21646
+SHA256
(openconnect-vpnc-scripts-4ed41c21e3857f96ab935b45092bbb07c3ccd5be.tar.gz) =
vTmAqyDl3gQcrkZ9E5lKg8abILFOLwGldxH4bDjYTYA=
+SIZE
(openconnect-vpnc-scripts-4ed41c21e3857f96ab935b45092bbb07c3ccd5be.tar.gz) =
45144
Index: patches/patch-vpnc-script
===================================================================
RCS file: patches/patch-vpnc-script
diff -N patches/patch-vpnc-script
--- patches/patch-vpnc-script 11 Mar 2022 19:48:07 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,30 +0,0 @@
-Index: vpnc-script
---- vpnc-script.orig
-+++ vpnc-script
-@@ -150,6 +150,9 @@ elif [ -x /sbin/modify_resolvconf ]; then
- elif [ -x /usr/sbin/unbound-control ] && /usr/sbin/unbound-control status >
/dev/null 2>&1; then
- MODIFYRESOLVCONF=modify_resolvconf_unbound
- RESTORERESOLVCONF=restore_resolvconf_unbound
-+elif [ -x /usr/sbin/rcctl ] && /usr/sbin/rcctl check resolvd >/dev/null; then
-+ MODIFYRESOLVCONF=modify_resolvconf_resolvd
-+ RESTORERESOLVCONF=restore_resolvconf_resolvd
- else # Generic for any OS
- MODIFYRESOLVCONF=modify_resolvconf_generic
- RESTORERESOLVCONF=restore_resolvconf_generic
-@@ -768,6 +771,16 @@ restore_resolvconf_unbound() {
- /usr/sbin/unbound-control flush_zone ${CISCO_DEF_DOMAIN}
- /usr/sbin/unbound-control flush_requestlist
- fi
-+}
-+
-+# === resolv.conf handling via resolvd =========
-+
-+modify_resolvconf_resolvd() {
-+ /sbin/route nameserver $TUNDEV $INTERNAL_IP4_DNS $INTERNAL_IP6_DNS
-+}
-+
-+restore_resolvconf_resolvd() {
-+ /sbin/route nameserver $TUNDEV
- }
-
- # ========= Toplevel state handling =======================================