openvpn: bump version to 2.4.0

--enable-password-save option has been removed
(9ffd00e754). Since
it now defaults to "enabled" in the upstream package, there is no
point in adding Config.in.legacy support for it: Config.in.legacy
logic only kicks in when the option is enabled, but the upstream
package precisely preserve the compatibility with this situation.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Vicente Olivert Riera 2017-01-09 16:13:42 +00:00 committed by Thomas Petazzoni
parent d34c0cc580
commit 878dc8cc9b
3 changed files with 2 additions and 14 deletions

View File

@ -28,10 +28,4 @@ config BR2_PACKAGE_OPENVPN_SMALL
You loose eurephia, debugging info, help messages and more.
It saves around 100 KiB in binary file size.
config BR2_PACKAGE_OPENVPN_PWSAVE
bool "Allow passwords in files"
help
Allow --askpass and --auth-user-pass passwords to be read
from a file.
endif

View File

@ -1,2 +1,2 @@
# Locally calculated
sha256 f3a0d0eaf8d544409f76a9f2a238a0cd3dde9e1a9c1f98ac732a8b572bcdee98 openvpn-2.3.14.tar.xz
sha256 6f23ba49a1dbeb658f49c7ae17d9ea979de6d92c7357de3d55cd4525e1b2f87e openvpn-2.4.0.tar.xz

View File

@ -4,7 +4,7 @@
#
################################################################################
OPENVPN_VERSION = 2.3.14
OPENVPN_VERSION = 2.4.0
OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz
OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
OPENVPN_DEPENDENCIES = host-pkgconf openssl
@ -42,12 +42,6 @@ else
OPENVPN_CONF_OPTS += --disable-lzo
endif
ifeq ($(BR2_PACKAGE_OPENVPN_PWSAVE),y)
OPENVPN_CONF_OPTS += --enable-password-save
else
OPENVPN_CONF_OPTS += --disable-password-save
endif
define OPENVPN_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 $(@D)/src/openvpn/openvpn \
$(TARGET_DIR)/usr/sbin/openvpn