net-wireless/wpa_supplicant: fix libressl
authorRick Farina <zerochaos@gentoo.org>
Fri, 14 Feb 2020 21:07:31 +0000 (16:07 -0500)
committerRick Farina <zerochaos@gentoo.org>
Fri, 14 Feb 2020 21:08:09 +0000 (16:08 -0500)
closes bug #709528

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

index 0c3b8ae72bc99513bb36b317a21667f7e07f204d..542eb63de1d043d4c025a0427c7ff24a62af6d19 100644 (file)
@@ -250,9 +250,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
@@ -455,6 +457,12 @@ 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