summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-12-04 19:31:18 +0100
committerKali Kaneko <kali@leap.se>2017-12-04 19:38:28 +0100
commitdf5b388dd0d46c1df5e231cea8d8d9c83601ef82 (patch)
tree5bb4a3e39142b7fb764fc6a02e5b3dd2cb8d28c6
parenta6aefc0437e45f963b633b586a18f71ed4dca5be (diff)
[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.
-rw-r--r--docs/changelog.rst1
-rwxr-xr-xpkg/thirdparty/openvpn/build_openvpn.sh5
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