commit:     49c884d31f99241bb978d04afffdeff46364597d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  2 03:26:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  2 03:26:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c884d3

net-wireless/wpa_supplicant: fix build with USE=privsep

Closes: https://bugs.gentoo.org/831369
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild | 6 +++++-
 net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild 
b/net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild
index 3066970717f3..91171ec95ad1 100644
--- a/net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild
@@ -23,7 +23,7 @@ IUSE="ap +crda broadcom-sta dbus eap-sim eapol-test fasteap 
+fils +hs2-0 macsec
 
 # CONFIG_PRIVSEP=y does not have sufficient support for the new driver
 # interface functions used for MACsec, so this combination cannot be used
-# at least for now.
+# at least for now. bug #684442
 REQUIRED_USE="
        macsec? ( !privsep )
        privsep? ( !macsec )
@@ -299,6 +299,10 @@ src_configure() {
                        #Kconfig_style_config DRIVER_MACSEC_QCA
                        Kconfig_style_config DRIVER_MACSEC_LINUX
                        Kconfig_style_config MACSEC
+               else
+                       # bug #831369 and bug #684442
+                       Kconfig_style_config DRIVER_MACSEC_LINUX n
+                       Kconfig_style_config MACSEC n
                fi
 
                if use ps3 ; then

diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild 
b/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild
index 3066970717f3..91171ec95ad1 100644
--- a/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild
@@ -23,7 +23,7 @@ IUSE="ap +crda broadcom-sta dbus eap-sim eapol-test fasteap 
+fils +hs2-0 macsec
 
 # CONFIG_PRIVSEP=y does not have sufficient support for the new driver
 # interface functions used for MACsec, so this combination cannot be used
-# at least for now.
+# at least for now. bug #684442
 REQUIRED_USE="
        macsec? ( !privsep )
        privsep? ( !macsec )
@@ -299,6 +299,10 @@ src_configure() {
                        #Kconfig_style_config DRIVER_MACSEC_QCA
                        Kconfig_style_config DRIVER_MACSEC_LINUX
                        Kconfig_style_config MACSEC
+               else
+                       # bug #831369 and bug #684442
+                       Kconfig_style_config DRIVER_MACSEC_LINUX n
+                       Kconfig_style_config MACSEC n
                fi
 
                if use ps3 ; then

Reply via email to