Skip to contentSkip to conversation

package/openvpn: bump version to 2.7.1

PATCH In review Bernd Kuhls 2 participants 2 messages Apr 19

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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

---
v2: Added static_assert fix for older uClibc (Julien)

 package/openvpn/openvpn.hash | 2 +-
 package/openvpn/openvpn.mk   | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
package/openvpn/openvpn.hash +1 -1
index d172689685..d01cb73c98 100644
@@ -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
package/openvpn/openvpn.mk +4 -1
index 9dc4ef4714..3bc42f2db1 100644
@@ -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
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · Bernd Kuhls

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

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot