net-wireless/hostapd: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2021-05-03 12:39:17 +03:00
parent 55a73a4b84
commit 1eb56d9532
2 changed files with 10 additions and 28 deletions
+5 -14
View File
@@ -28,17 +28,12 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="internal-tls ipv6 libressl logwatch netlink sqlite +suiteb +wps +crda"
# suiteb impl uses openssl feature not available in libressl, see bug 710992
REQUIRED_USE="?? ( libressl suiteb )"
IUSE="internal-tls ipv6 logwatch netlink sqlite +suiteb +wps +crda"
DEPEND="
libressl? ( dev-libs/libressl:0= )
!libressl? (
internal-tls? ( dev-libs/libtommath )
!internal-tls? ( dev-libs/openssl:0=[-bindist] )
)
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
@@ -50,11 +45,7 @@ RDEPEND="${DEPEND}"
pkg_pretend() {
if use internal-tls; then
if use libressl; then
elog "libressl flag takes precedence over internal-tls"
else
ewarn "internal-tls implementation is experimental and provides fewer features"
fi
fi
}
@@ -107,7 +98,7 @@ src_configure() {
echo "CONFIG_SUITEB192=y" >> ${CONFIG} || die
fi
if use internal-tls && ! use libressl; then
if use internal-tls ; then
echo "CONFIG_TLS=internal" >> ${CONFIG} || die
else
# SSL authentication methods
@@ -211,7 +202,7 @@ src_configure() {
src_compile() {
emake V=1
if use libressl || ! use internal-tls; then
if ! use internal-tls; then
emake V=1 nt_password_hash
emake V=1 hlr_auc_gw
fi
@@ -226,7 +217,7 @@ src_install() {
dosbin ${PN}
dobin ${PN}_cli
if use libressl || ! use internal-tls; then
if ! use internal-tls; then
dobin nt_password_hash hlr_auc_gw
fi
+5 -14
View File
@@ -28,17 +28,12 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="internal-tls ipv6 libressl logwatch netlink sqlite +suiteb +wps +crda"
# suiteb impl uses openssl feature not available in libressl, see bug 710992
REQUIRED_USE="?? ( libressl suiteb )"
IUSE="internal-tls ipv6 logwatch netlink sqlite +suiteb +wps +crda"
DEPEND="
libressl? ( dev-libs/libressl:0= )
!libressl? (
internal-tls? ( dev-libs/libtommath )
!internal-tls? ( dev-libs/openssl:0=[-bindist] )
)
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
@@ -50,11 +45,7 @@ RDEPEND="${DEPEND}"
pkg_pretend() {
if use internal-tls; then
if use libressl; then
elog "libressl flag takes precedence over internal-tls"
else
ewarn "internal-tls implementation is experimental and provides fewer features"
fi
fi
}
@@ -107,7 +98,7 @@ src_configure() {
echo "CONFIG_SUITEB192=y" >> ${CONFIG} || die
fi
if use internal-tls && ! use libressl; then
if use internal-tls ; then
echo "CONFIG_TLS=internal" >> ${CONFIG} || die
else
# SSL authentication methods
@@ -211,7 +202,7 @@ src_configure() {
src_compile() {
emake V=1
if use libressl || ! use internal-tls; then
if use internal-tls; then
emake V=1 nt_password_hash
emake V=1 hlr_auc_gw
fi
@@ -226,7 +217,7 @@ src_install() {
dosbin ${PN}
dobin ${PN}_cli
if use libressl || ! use internal-tls; then
if ! use internal-tls; then
dobin nt_password_hash hlr_auc_gw
fi