summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2020-11-27 04:25:26 +0200
committerPatrick McLean <chutzpah@gentoo.org>2020-11-27 11:01:41 -0800
commit8de0bd0885c48a3260ab1db1faafd53a5f60ad7d (patch)
treeb4766a55b47c3e96351b594ff55badcb1adf1d89 /net-vpn/openvpn
parentdev-util/bpftrace-0.11.4: Version bump (diff)
downloadgentoo-8de0bd0885c48a3260ab1db1faafd53a5f60ad7d.tar.gz
gentoo-8de0bd0885c48a3260ab1db1faafd53a5f60ad7d.tar.bz2
gentoo-8de0bd0885c48a3260ab1db1faafd53a5f60ad7d.zip
net-vpn/openvpn: fix USE=libressl logic, remove it from REQUIRED_USE
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Stefan Strogin <steils@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/18422 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'net-vpn/openvpn')
-rw-r--r--net-vpn/openvpn/openvpn-2.5.0-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index 575fb5764812..aebab4d4ab60 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -18,7 +18,7 @@ IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
RESTRICT="!test? ( test )"
REQUIRED_USE="
- ^^ ( openssl libressl mbedtls )
+ ^^ ( openssl mbedtls )
pkcs11? ( !mbedtls )
!plugins? ( !pam !down-root )
inotify? ( plugins )
@@ -28,11 +28,13 @@ CDEPEND="
kernel_linux? (
iproute2? ( sys-apps/iproute2[-minimal] )
)
- libressl? ( dev-libs/libressl:0= )
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )
mbedtls? ( net-libs/mbedtls:= )
- openssl? ( >=dev-libs/openssl-0.9.8:0= )
+ openssl? (
+ !libressl? ( >=dev-libs/openssl-0.9.8:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
pam? ( sys-libs/pam )
pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
systemd? ( sys-apps/systemd )