openconnect: backport fix for anyconnect compatibility
authorNikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Thu, 9 May 2024 19:00:31 +0000 (21:00 +0200)
committerNikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Sat, 18 May 2024 18:34:14 +0000 (20:34 +0200)
Fixes: #21135
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
net/openconnect/Makefile
net/openconnect/patches/020-anyconnect.patch [new file with mode: 0644]

index ff046a16f90080549bf3e460f323acfa10d692a0..403ac2a8a278ba6e1d9956990a4755625cd73e2c 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openconnect
 PKG_VERSION:=9.12
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.infradead.org/openconnect/download
diff --git a/net/openconnect/patches/020-anyconnect.patch b/net/openconnect/patches/020-anyconnect.patch
new file mode 100644 (file)
index 0000000..d2a0de7
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/main.c
++++ b/main.c
+@@ -1774,7 +1774,7 @@ int main(int argc, char **argv)
+       openconnect_init_ssl();
+-      vpninfo = openconnect_vpninfo_new("Open AnyConnect VPN Agent",
++      vpninfo = openconnect_vpninfo_new("AnyConnect-compatible OpenConnect VPN Agent",
+               validate_peer_cert, NULL, process_auth_form_cb, write_progress, NULL);
+       if (!vpninfo) {
+               fprintf(stderr, _("Failed to allocate vpninfo structure\n"));