From c14e3a247d2526a1cfba8fd4f6ce354b50bb3b6d Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 19 Apr 2026 19:10:28 +0200 Subject: [PATCH] package/openvpn: bump version to 2.7.1 https://github.com/OpenVPN/openvpn/blob/v2.7.1/Changes.rst Added static_assert fix for older uClibc needed due to upstream commit: https://github.com/OpenVPN/openvpn/commit/6768ef1dab5cb6c1dbc210c20cf92820a64dace3 Signed-off-by: Bernd Kuhls Signed-off-by: Julien Olivain --- package/openvpn/openvpn.hash | 2 +- package/openvpn/openvpn.mk | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/openvpn/openvpn.hash b/package/openvpn/openvpn.hash index d172689685..d01cb73c98 100644 --- a/package/openvpn/openvpn.hash +++ b/package/openvpn/openvpn.hash @@ -1,3 +1,3 @@ # Locally calculated after checking signature -sha256 13702526f687c18b2540c1a3f2e189187baaa65211edcf7ff6772fa69f0536cf openvpn-2.6.19.tar.gz +sha256 9858477ec2894a8a672974d8650dcb1af2eeffb468981a2b619f0fa387081167 openvpn-2.7.1.tar.gz sha256 edaef632cbb643e4e7a221717a6c441a4c1a7c918e6e4d56debc3d8739b233f6 COPYRIGHT.GPL diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk index 9dc4ef4714..3bc42f2db1 100644 --- a/package/openvpn/openvpn.mk +++ b/package/openvpn/openvpn.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENVPN_VERSION = 2.6.19 +OPENVPN_VERSION = 2.7.1 OPENVPN_SITE = https://swupdate.openvpn.net/community/releases OPENVPN_DEPENDENCIES = host-pkgconf libcap-ng OPENVPN_LICENSE = GPL-2.0 @@ -16,6 +16,9 @@ OPENVPN_CONF_OPTS = \ $(if $(BR2_STATIC_LIBS),--disable-plugins) OPENVPN_CONF_ENV = NETSTAT=/bin/netstat +# workaround for static_assert on uclibc-ng < 1.0.42 +OPENVPN_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -Dstatic_assert=_Static_assert" + ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16),yy) OPENVPN_CONF_OPTS += --enable-dco OPENVPN_DEPENDENCIES += libnl