net-wireless/wpa_supplicant: fix libressl live
authorRick Farina <zerochaos@gentoo.org>
Tue, 18 Feb 2020 01:38:55 +0000 (20:38 -0500)
committerRick Farina <zerochaos@gentoo.org>
Tue, 18 Feb 2020 01:38:55 +0000 (20:38 -0500)
per testing it seems suiteb is still broken with libressl even in
wpa_supplicant git

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild

index 3cb7b352a50f6904d1d09162c39de875b8e1129a..67a54e06ba61f294998fe9b1821dc3256e935c76 100644 (file)
@@ -247,9 +247,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
@@ -452,6 +454,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