From 8de0bd0885c48a3260ab1db1faafd53a5f60ad7d Mon Sep 17 00:00:00 2001 From: Stefan Strogin Date: Fri, 27 Nov 2020 04:25:26 +0200 Subject: 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 Closes: https://github.com/gentoo/gentoo/pull/18422 Signed-off-by: Patrick McLean --- net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'net-vpn') 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 ) -- cgit v1.2.3-65-gdbad