From df5b388dd0d46c1df5e231cea8d8d9c83601ef82 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 4 Dec 2017 19:31:18 +0100 Subject: [pkg] add --enable-iproute2 to openvpn binary compilation this will be used by bundles, and it's needed now that ifconfig and other net-utils are being deprecated. --- docs/changelog.rst | 1 + pkg/thirdparty/openvpn/build_openvpn.sh | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 4b2558a2..c7dd8806 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -14,6 +14,7 @@ Misc ~~~~ - Configure travis build for OSX. - Add tox to the docker image; install it on every job. +- Build openvpn with iproute2 option for bundles. 0.10.2 ------------------------------- diff --git a/pkg/thirdparty/openvpn/build_openvpn.sh b/pkg/thirdparty/openvpn/build_openvpn.sh index 9ec8295e..1810d991 100755 --- a/pkg/thirdparty/openvpn/build_openvpn.sh +++ b/pkg/thirdparty/openvpn/build_openvpn.sh @@ -1,7 +1,7 @@ #!/bin/bash ############################################################################# -# Builds OpenVPN statically against polarssl. +# Builds OpenVPN statically against mbedtls (aka polarssl). # Requirements: cmake ############################################################################# @@ -133,7 +133,8 @@ function build_openvpn() --disable-plugin-auth-pam \ --with-crypto-library=mbedtls \ --enable-small \ - --disable-debug + --disable-debug \ + --enable-iproute2 $MAKE LIBS="-all-static -lz -llzo2" make install DESTDIR=$BASE/openvpn -- cgit v1.2.3