diff options
author | David Seifert <soap@gentoo.org> | 2019-04-27 18:35:03 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-04-27 22:27:48 +0200 |
commit | fa508597570deec743b18a1d5d0405c1c970c222 (patch) | |
tree | d0577ba75804ddac8e45c485a2269c6965504db3 /net-vpn | |
parent | app-i18n/yaskkserv: [QA] Fix USE=libressl semantics (diff) | |
download | gentoo-fa508597570deec743b18a1d5d0405c1c970c222.tar.gz gentoo-fa508597570deec743b18a1d5d0405c1c970c222.tar.bz2 gentoo-fa508597570deec743b18a1d5d0405c1c970c222.zip |
net-vpn/openvpn: [QA] Fix USE=libressl semantics
Closes: https://bugs.gentoo.org/683990
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/openvpn/openvpn-2.4.6-r1.ebuild | 3 | ||||
-rw-r--r-- | net-vpn/openvpn/openvpn-2.4.6.ebuild | 9 | ||||
-rw-r--r-- | net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 3 | ||||
-rw-r--r-- | net-vpn/openvpn/openvpn-9999.ebuild | 4 |
4 files changed, 8 insertions, 11 deletions
diff --git a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild index 81d3d655a383..d90a72c8b4e0 100644 --- a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild +++ b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild @@ -18,7 +18,6 @@ IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam" IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD" REQUIRED_USE="static? ( !plugins !pkcs11 ) - mbedtls? ( ssl !libressl ) pkcs11? ( ssl ) !plugins? ( !pam !down-root ) inotify? ( plugins )" @@ -72,9 +71,9 @@ src_configure() { IFCONFIG=/bin/ifconfig \ ROUTE=/bin/route \ econf \ - $(usex mbedtls '--with-crypto-library=mbedtls' '') \ $(use_enable inotify async-push) \ $(use_enable ssl crypto) \ + $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \ $(use_enable lz4) \ $(use_enable lzo) \ $(use_enable pkcs11) \ diff --git a/net-vpn/openvpn/openvpn-2.4.6.ebuild b/net-vpn/openvpn/openvpn-2.4.6.ebuild index 09a11b23f047..41badc7b0794 100644 --- a/net-vpn/openvpn/openvpn-2.4.6.ebuild +++ b/net-vpn/openvpn/openvpn-2.4.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -18,7 +18,6 @@ IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam" IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD" REQUIRED_USE="static? ( !plugins !pkcs11 ) - mbedtls? ( ssl !libressl ) pkcs11? ( ssl ) !plugins? ( !pam !down-root ) inotify? ( plugins )" @@ -31,8 +30,8 @@ CDEPEND=" pam? ( virtual/pam ) ssl? ( !mbedtls? ( - !libressl? ( >=dev-libs/openssl-0.9.8:* ) - libressl? ( dev-libs/libressl ) + !libressl? ( >=dev-libs/openssl-0.9.8:0= ) + libressl? ( dev-libs/libressl:0= ) ) mbedtls? ( net-libs/mbedtls ) ) @@ -72,9 +71,9 @@ src_configure() { IFCONFIG=/bin/ifconfig \ ROUTE=/bin/route \ econf \ - $(usex mbedtls '--with-crypto-library=mbedtls' '') \ $(use_enable inotify async-push) \ $(use_enable ssl crypto) \ + $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \ $(use_enable lz4) \ $(use_enable lzo) \ $(use_enable pkcs11) \ diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild index 0ae13d41d8c6..47ecc313e5d0 100644 --- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild +++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild @@ -18,7 +18,6 @@ IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam" IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD" REQUIRED_USE="static? ( !plugins !pkcs11 ) - mbedtls? ( ssl !libressl ) pkcs11? ( ssl ) !plugins? ( !pam !down-root ) inotify? ( plugins )" @@ -73,9 +72,9 @@ src_configure() { IFCONFIG=/bin/ifconfig \ ROUTE=/bin/route \ econf \ - $(usex mbedtls '--with-crypto-library=mbedtls' '') \ $(use_enable inotify async-push) \ $(use_enable ssl crypto) \ + $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \ $(use_enable lz4) \ $(use_enable lzo) \ $(use_enable pkcs11) \ diff --git a/net-vpn/openvpn/openvpn-9999.ebuild b/net-vpn/openvpn/openvpn-9999.ebuild index 8ad3d42ffc35..8cf7c4dc8093 100644 --- a/net-vpn/openvpn/openvpn-9999.ebuild +++ b/net-vpn/openvpn/openvpn-9999.ebuild @@ -64,10 +64,10 @@ src_configure() { SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \ TMPFILES_DIR="/usr/lib/tmpfiles.d" \ econf \ - --with-plugindir="${ROOT}/usr/$(get_libdir)/$PN" \ - $(usex mbedtls 'with-crypto-library' 'mbedtls' '' '') \ + --with-plugindir="${EPREFIX}/usr/$(get_libdir)/$PN" \ $(use_enable inotify async-push) \ $(use_enable ssl crypto) \ + $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \ $(use_enable lz4) \ $(use_enable lzo) \ $(use_enable pkcs11) \ |