[OpenWrt-Devel] [PATCH] openvpn: update to 2.4.7
Rosen Penev
rosenp at gmail.com
Wed Mar 27 19:17:07 EDT 2019
On Wed, Mar 27, 2019 at 12:08 PM Magnus Kroken <mkroken at gmail.com> wrote:
>
> Signed-off-by: Magnus Kroken <mkroken at gmail.com>
> ---
> package/network/services/openvpn/Makefile | 6 +++---
> .../openvpn/patches/100-mbedtls-disable-runtime-version-check.patch | 2 +-
> .../openvpn/patches/210-build_always_use_internal_lz4.patch | 2 +-
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile
> index 9eef7f4cdc..e5bd80649a 100644
> --- a/package/network/services/openvpn/Makefile
> +++ b/package/network/services/openvpn/Makefile
> @@ -9,14 +9,14 @@ include $(TOPDIR)/rules.mk
>
> PKG_NAME:=openvpn
>
> -PKG_VERSION:=2.4.6
> -PKG_RELEASE:=3
> +PKG_VERSION:=2.4.7
Note that this and previous versions of OpenVPN will not compile when
deprecated APIs are disabled.
I recommend either adding a dependency on @OPENSSL_WITH_DEPRECATED or
patching them out. I have a GitHub repository where I have done just
that if you are interested:
https://github.com/neheb/openvpn/commits/mangix . The branch is based
on this version.
> +PKG_RELEASE:=1
>
> PKG_SOURCE_URL:=\
> https://build.openvpn.net/downloads/releases/ \
> https://swupdate.openvpn.net/community/releases/
> PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
> -PKG_HASH:=4f6434fa541cc9e363434ea71a16a62cf2615fb2f16af5b38f43ab5939998c26
> +PKG_HASH:=a42f53570f669eaf10af68e98d65b531015ff9e12be7a62d9269ea684652f648
>
> PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
> PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
> diff --git a/package/network/services/openvpn/patches/100-mbedtls-disable-runtime-version-check.patch b/package/network/services/openvpn/patches/100-mbedtls-disable-runtime-version-check.patch
> index 5608fa4430..7fc0089000 100644
> --- a/package/network/services/openvpn/patches/100-mbedtls-disable-runtime-version-check.patch
> +++ b/package/network/services/openvpn/patches/100-mbedtls-disable-runtime-version-check.patch
> @@ -1,6 +1,6 @@
> --- a/src/openvpn/ssl_mbedtls.c
> +++ b/src/openvpn/ssl_mbedtls.c
> -@@ -1394,7 +1394,7 @@ const char *
> +@@ -1406,7 +1406,7 @@ const char *
> get_ssl_library_version(void)
> {
> static char mbedtls_version[30];
> diff --git a/package/network/services/openvpn/patches/210-build_always_use_internal_lz4.patch b/package/network/services/openvpn/patches/210-build_always_use_internal_lz4.patch
> index a99f923644..dc4039c3e6 100644
> --- a/package/network/services/openvpn/patches/210-build_always_use_internal_lz4.patch
> +++ b/package/network/services/openvpn/patches/210-build_always_use_internal_lz4.patch
> @@ -1,6 +1,6 @@
> --- a/configure.ac
> +++ b/configure.ac
> -@@ -1077,68 +1077,15 @@ dnl
> +@@ -1078,68 +1078,15 @@ dnl
> AC_ARG_VAR([LZ4_CFLAGS], [C compiler flags for lz4])
> AC_ARG_VAR([LZ4_LIBS], [linker flags for lz4])
> if test "$enable_lz4" = "yes" && test "$enable_comp_stub" = "no"; then
> --
> 2.11.0
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list