diff options
Diffstat (limited to 'net-wireless/hostapd/hostapd-2.9-r2.ebuild')
-rw-r--r-- | net-wireless/hostapd/hostapd-2.9-r2.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/net-wireless/hostapd/hostapd-2.9-r2.ebuild b/net-wireless/hostapd/hostapd-2.9-r2.ebuild index 365c114a0165..e14a5f1ff72a 100644 --- a/net-wireless/hostapd/hostapd-2.9-r2.ebuild +++ b/net-wireless/hostapd/hostapd-2.9-r2.ebuild @@ -26,7 +26,10 @@ fi LICENSE="BSD" SLOT="0" -IUSE="internal-tls ipv6 libressl logwatch netlink sqlite +wps +crda" +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 )" DEPEND=" libressl? ( dev-libs/libressl:0= ) @@ -95,8 +98,11 @@ src_configure() { echo "CONFIG_SAE=y" >> ${CONFIG} echo "CONFIG_OWE=y" >> ${CONFIG} echo "CONFIG_DPP=y" >> ${CONFIG} - echo "CONFIG_SUITEB=y" >> ${CONFIG} - echo "CONFIG_SUITEB192=y" >> ${CONFIG} + + if use suiteb; then + echo "CONFIG_SUITEB=y" >> ${CONFIG} + echo "CONFIG_SUITEB192=y" >> ${CONFIG} + fi if use internal-tls && ! use libressl; then echo "CONFIG_TLS=internal" >> ${CONFIG} |