summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>2024-01-03 08:07:26 +0100
committerGitHub <noreply@github.com>2024-01-03 08:07:26 +0100
commit56bd0ad82a52c9694533ea1f8d00bbc6eda80b53 (patch)
treef04aa0f77b85fd8bf9ac0875d64e924019b69968 /net
parent60d784c6353a48c6723731d6b5eb2920f8f4d2d6 (diff)
parent02a5264214b2447217a6ca956345166084e0b300 (diff)
Merge pull request #23047 from neheb/fu
openconnect: update to 9.12
Diffstat (limited to 'net')
-rw-r--r--net/openconnect/Makefile8
-rw-r--r--net/openconnect/patches/001-Use-OpenSSL_version-not-deprecated-SSLeay_version.patch34
-rw-r--r--net/openconnect/patches/010-libxml212.patch11
3 files changed, 15 insertions, 38 deletions
diff --git a/net/openconnect/Makefile b/net/openconnect/Makefile
index 1ec7d70d2..f3bb6b673 100644
--- a/net/openconnect/Makefile
+++ b/net/openconnect/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=openconnect
-PKG_VERSION:=9.01
-PKG_RELEASE:=2
+PKG_VERSION:=9.12
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/openconnect/
-PKG_HASH:=b3d7faf830e9793299d6a41e81d84cd4a3e2789c148c9e598e4585010090e4c7
+PKG_SOURCE_URL:=https://www.infradead.org/openconnect/download
+PKG_HASH:=a2bedce3aa4dfe75e36e407e48e8e8bc91d46def5335ac9564fbf91bd4b2413e
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING.LGPL
diff --git a/net/openconnect/patches/001-Use-OpenSSL_version-not-deprecated-SSLeay_version.patch b/net/openconnect/patches/001-Use-OpenSSL_version-not-deprecated-SSLeay_version.patch
deleted file mode 100644
index 9f635a766..000000000
--- a/net/openconnect/patches/001-Use-OpenSSL_version-not-deprecated-SSLeay_version.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 01b7e75034e6d838d7750a828eccaa8dd534f152 Mon Sep 17 00:00:00 2001
-From: David Woodhouse <dwmw2@infradead.org>
-Date: Thu, 12 May 2022 15:55:59 +0100
-Subject: [PATCH] Use OpenSSL_version() not deprecated SSLeay_version()
-
-Fixes: #428
-
-Signed-off-by: David Woodhouse <dwmw2@infradead.org>
----
- openssl.c | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
---- a/openssl.c
-+++ b/openssl.c
-@@ -49,6 +49,8 @@
- typedef int (*X509_STORE_CTX_get_issuer_fn)(X509 **issuer,
- X509_STORE_CTX *ctx, X509 *x);
- #define X509_STORE_CTX_get_get_issuer(ctx) ((ctx)->get_issuer)
-+#define OpenSSL_version SSLeay_version
-+#define OPENSSL_VERSION SSLEAY_VERSION
- #endif
-
- static char tls_library_version[32] = "";
-@@ -56,7 +58,9 @@ static char tls_library_version[32] = ""
- const char *openconnect_get_tls_library_version(void)
- {
- if (!*tls_library_version) {
-- strncpy(tls_library_version, SSLeay_version(SSLEAY_VERSION), sizeof(tls_library_version));
-+ strncpy(tls_library_version,
-+ OpenSSL_version(OPENSSL_VERSION),
-+ sizeof(tls_library_version));
- tls_library_version[sizeof(tls_library_version)-1]='\0';
- }
- return tls_library_version;
diff --git a/net/openconnect/patches/010-libxml212.patch b/net/openconnect/patches/010-libxml212.patch
new file mode 100644
index 000000000..b8c821f21
--- /dev/null
+++ b/net/openconnect/patches/010-libxml212.patch
@@ -0,0 +1,11 @@
+--- a/openconnect-internal.h
++++ b/openconnect-internal.h
+@@ -84,7 +84,7 @@
+ #endif
+ #define N_(s) s
+
+-#include <libxml/tree.h>
++#include <libxml/parser.h>
+ #include <zlib.h>
+
+ #ifdef _WIN32