aboutsummaryrefslogtreecommitdiff
path: root/package/openvpn
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-11-04 18:39:04 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-11-07 15:04:16 +0100
commitba8f55d7c1c945178aa9f409edb374c6bdba48ac (patch)
tree5050954bb429c4711f5d44bd2ccd58694f9017fc /package/openvpn
parent109df4deba86839704d902204d130714e32df0fa (diff)
downloadbuildroot-ba8f55d7c1c945178aa9f409edb374c6bdba48ac.tar.gz
buildroot-ba8f55d7c1c945178aa9f409edb374c6bdba48ac.tar.bz2
package/openvpn: bump to version 2.5.0
- Disable unit-tests which are enabled by default if cmocka is found: https://github.com/OpenVPN/openvpn/commit/222e691739a111f5becbce39c4cceaa8fff3c284 - Drop --enable-iproute2 to enable netlink(3) support (and so drop IFCONFIG, IPROUTE and ROUTE environment variables and keep NETSTAT even if it is only used by tests/t_client.sh.in). netlink is much faster than calling ifconfig or route and also enables OpenVPN to run with less privileges. - Update indentation in hash file (two spaces) https://github.com/OpenVPN/openvpn/blob/release/2.5/Changes.rst Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/openvpn')
-rw-r--r--package/openvpn/openvpn.hash4
-rw-r--r--package/openvpn/openvpn.mk9
2 files changed, 5 insertions, 8 deletions
diff --git a/package/openvpn/openvpn.hash b/package/openvpn/openvpn.hash
index b9b0a4d8d5..4e371fc87b 100644
--- a/package/openvpn/openvpn.hash
+++ b/package/openvpn/openvpn.hash
@@ -1,3 +1,3 @@
# Locally calculated after checking signature
-sha256 641f3add8694b2ccc39fd4fd92554e4f089ad16a8db6d2b473ec284839a5ebe2 openvpn-2.4.9.tar.xz
-sha256 1fcb78d7e478bb8a9408010bdc91b36e213b1facfad093df3f7ce7e28af19043 COPYRIGHT.GPL
+sha256 029a426e44d656cb4e1189319c95fe6fc9864247724f5599d99df9c4c3478fbd openvpn-2.5.0.tar.xz
+sha256 1fcb78d7e478bb8a9408010bdc91b36e213b1facfad093df3f7ce7e28af19043 COPYRIGHT.GPL
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index 1008c47b5a..3efc9e2354 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -4,19 +4,16 @@
#
################################################################################
-OPENVPN_VERSION = 2.4.9
+OPENVPN_VERSION = 2.5.0
OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz
OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
OPENVPN_DEPENDENCIES = host-pkgconf
OPENVPN_LICENSE = GPL-2.0
OPENVPN_LICENSE_FILES = COPYRIGHT.GPL
OPENVPN_CONF_OPTS = \
- --enable-iproute2 \
+ --disable-unit-tests \
$(if $(BR2_STATIC_LIBS),--disable-plugins)
-OPENVPN_CONF_ENV = IFCONFIG=/sbin/ifconfig \
- NETSTAT=/bin/netstat \
- ROUTE=/sbin/route \
- IPROUTE=/sbin/ip
+OPENVPN_CONF_ENV = NETSTAT=/bin/netstat
ifeq ($(BR2_PACKAGE_OPENVPN_SMALL),y)
OPENVPN_CONF_OPTS += \