commit: 66e1778c95aa54f432305e5174a01f0f6be41b89
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 7 22:03:19 2017 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Aug 7 22:07:15 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66e1778c
net-vpn/openvpn: Force /bin/{ifconfig,route}
openvpn build prefers ifconfig/route in /sbin, even if you are trying to
move away from those because net-tools now installs then in /bin and you
only have symlinks in /sbin for migration. Force a bump to rebuild with
explicitly referencing /bin and a new-enough version of net-tools.
Package-Manager: portage-2.3.6
net-vpn/openvpn/openvpn-2.4.2-r1.ebuild | 2 +-
net-vpn/openvpn/{openvpn-2.4.2-r1.ebuild => openvpn-2.4.3-r1.ebuild} | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/net-vpn/openvpn/openvpn-2.4.2-r1.ebuild
b/net-vpn/openvpn/openvpn-2.4.2-r1.ebuild
index c81204dae23..9f2ac65f910 100644
--- a/net-vpn/openvpn/openvpn-2.4.2-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.2-r1.ebuild
@@ -26,7 +26,7 @@ REQUIRED_USE="static? ( !plugins !pkcs11 )
CDEPEND="
kernel_linux? (
iproute2? ( sys-apps/iproute2[-minimal] )
- !iproute2? ( sys-apps/net-tools )
+ !iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
)
pam? ( virtual/pam )
ssl? (
diff --git a/net-vpn/openvpn/openvpn-2.4.2-r1.ebuild
b/net-vpn/openvpn/openvpn-2.4.3-r1.ebuild
similarity index 95%
copy from net-vpn/openvpn/openvpn-2.4.2-r1.ebuild
copy to net-vpn/openvpn/openvpn-2.4.3-r1.ebuild
index c81204dae23..71574d10482 100644
--- a/net-vpn/openvpn/openvpn-2.4.2-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.3-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://openvpn.net/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86
~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh
~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-macos"
IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
@@ -68,6 +68,8 @@ src_configure() {
use static && append-ldflags -Xcompiler -static
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+ IFCONFIG=/bin/ifconfig \
+ ROUTE=/bin/route \
econf \
$(usex mbedtls '--with-crypto-library=mbedtls' '') \
$(use_enable inotify async-push) \