package/openvpn: bump to version 2.5.0

- Disable unit-tests which are enabled by default if cmocka is found:
  222e691739
- 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>
This commit is contained in:
Fabrice Fontaine 2020-11-04 18:39:04 +01:00 committed by Thomas Petazzoni
parent 109df4deba
commit ba8f55d7c1
2 changed files with 5 additions and 8 deletions

View file

@ -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

View file

@ -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 += \