1 |
commit: 49c884d31f99241bb978d04afffdeff46364597d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 2 03:26:18 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 03:26:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c884d3 |
7 |
|
8 |
net-wireless/wpa_supplicant: fix build with USE=privsep |
9 |
|
10 |
Closes: https://bugs.gentoo.org/831369 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild | 6 +++++- |
14 |
net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild | 6 +++++- |
15 |
2 files changed, 10 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild |
18 |
index 3066970717f3..91171ec95ad1 100644 |
19 |
--- a/net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild |
20 |
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-2.10.ebuild |
21 |
@@ -23,7 +23,7 @@ IUSE="ap +crda broadcom-sta dbus eap-sim eapol-test fasteap +fils +hs2-0 macsec |
22 |
|
23 |
# CONFIG_PRIVSEP=y does not have sufficient support for the new driver |
24 |
# interface functions used for MACsec, so this combination cannot be used |
25 |
-# at least for now. |
26 |
+# at least for now. bug #684442 |
27 |
REQUIRED_USE=" |
28 |
macsec? ( !privsep ) |
29 |
privsep? ( !macsec ) |
30 |
@@ -299,6 +299,10 @@ src_configure() { |
31 |
#Kconfig_style_config DRIVER_MACSEC_QCA |
32 |
Kconfig_style_config DRIVER_MACSEC_LINUX |
33 |
Kconfig_style_config MACSEC |
34 |
+ else |
35 |
+ # bug #831369 and bug #684442 |
36 |
+ Kconfig_style_config DRIVER_MACSEC_LINUX n |
37 |
+ Kconfig_style_config MACSEC n |
38 |
fi |
39 |
|
40 |
if use ps3 ; then |
41 |
|
42 |
diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild |
43 |
index 3066970717f3..91171ec95ad1 100644 |
44 |
--- a/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild |
45 |
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild |
46 |
@@ -23,7 +23,7 @@ IUSE="ap +crda broadcom-sta dbus eap-sim eapol-test fasteap +fils +hs2-0 macsec |
47 |
|
48 |
# CONFIG_PRIVSEP=y does not have sufficient support for the new driver |
49 |
# interface functions used for MACsec, so this combination cannot be used |
50 |
-# at least for now. |
51 |
+# at least for now. bug #684442 |
52 |
REQUIRED_USE=" |
53 |
macsec? ( !privsep ) |
54 |
privsep? ( !macsec ) |
55 |
@@ -299,6 +299,10 @@ src_configure() { |
56 |
#Kconfig_style_config DRIVER_MACSEC_QCA |
57 |
Kconfig_style_config DRIVER_MACSEC_LINUX |
58 |
Kconfig_style_config MACSEC |
59 |
+ else |
60 |
+ # bug #831369 and bug #684442 |
61 |
+ Kconfig_style_config DRIVER_MACSEC_LINUX n |
62 |
+ Kconfig_style_config MACSEC n |
63 |
fi |
64 |
|
65 |
if use ps3 ; then |