net-wireless/wpa_supplicant: fix bug# 678784
authorRick Farina <zerochaos@gentoo.org>
Mon, 25 Mar 2019 19:25:40 +0000 (15:25 -0400)
committerRick Farina <zerochaos@gentoo.org>
Mon, 25 Mar 2019 19:25:57 +0000 (15:25 -0400)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
net-wireless/wpa_supplicant/wpa_supplicant-2.7-r3.ebuild [moved from net-wireless/wpa_supplicant/wpa_supplicant-2.7-r2.ebuild with 97% similarity]

similarity index 97%
rename from net-wireless/wpa_supplicant/wpa_supplicant-2.7-r2.ebuild
rename to net-wireless/wpa_supplicant/wpa_supplicant-2.7-r3.ebuild
index 311119d282de9a7bd550cf6727c75095c2acb0ba..a20d8e0dce3822cd8ced86ec59f8d02a90cc96a5 100644 (file)
@@ -217,7 +217,7 @@ src_configure() {
 
        Kconfig_style_config TLS openssl
        Kconfig_style_config FST
-       if ! use bindist; then
+       if ! use bindist || use libressl; then
                Kconfig_style_config EAP_PWD
                Kconfig_style_config FILS
                Kconfig_style_config FILS_SK_PFS
@@ -227,9 +227,11 @@ src_configure() {
                Kconfig_style_config OWE
                Kconfig_style_config SAE
                Kconfig_style_config DPP
-               Kconfig_style_config SUITEB
                Kconfig_style_config SUITEB192
        fi
+       if ! use bindist && ! use libressl; then
+               Kconfig_style_config SUITEB
+       fi
 
        if use smartcard ; then
                Kconfig_style_config SMARTCARD
@@ -417,6 +419,11 @@ pkg_postinst() {
                        ewarn "This is incredibly undesirable"
                fi
        fi
+       if use libressl; then
+               ewarn "Libressl doesn't support SUITEB (part of WPA3)"
+               ewarn "but it does support SUITEB192 (the upgraded strength version of the same)"
+               ewarn "You probably don't care.  Patches welcome"
+       fi
 
        # Mea culpa, feel free to remove that after some time --mgorny.
        local fn