Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=6 |
5 |
|
5 |
|
6 |
inherit eutils qmake-utils systemd toolchain-funcs readme.gentoo-r1 |
6 |
inherit eutils qmake-utils systemd toolchain-funcs readme.gentoo-r1 linux-info |
7 |
|
7 |
|
8 |
DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" |
8 |
DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" |
9 |
HOMEPAGE="https://w1.fi/wpa_supplicant/" |
9 |
HOMEPAGE="https://w1.fi/wpa_supplicant/" |
Lines 18-29
Link Here
|
18 |
fi |
18 |
fi |
19 |
|
19 |
|
20 |
SLOT="0" |
20 |
SLOT="0" |
21 |
IUSE="ap bindist dbus eap-sim eapol_test fasteap +fils +hs2-0 libressl macsec p2p privsep ps3 qt5 readline selinux smartcard tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD" |
21 |
IUSE="ap bindist +crda dbus eap-sim eapol_test fasteap +fils +hs2-0 libressl macsec p2p privsep ps3 qt5 readline selinux smartcard tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD" |
22 |
|
22 |
|
23 |
CDEPEND="dbus? ( sys-apps/dbus ) |
23 |
CDEPEND="dbus? ( sys-apps/dbus ) |
24 |
kernel_linux? ( |
24 |
kernel_linux? ( |
25 |
dev-libs/libnl:3 |
25 |
dev-libs/libnl:3 |
26 |
net-wireless/crda |
26 |
crda? ( net-wireless/crda ) |
27 |
eap-sim? ( sys-apps/pcsc-lite ) |
27 |
eap-sim? ( sys-apps/pcsc-lite ) |
28 |
) |
28 |
) |
29 |
!kernel_linux? ( net-libs/libpcap ) |
29 |
!kernel_linux? ( net-libs/libpcap ) |
Lines 77-82
Link Here
|
77 |
fi |
77 |
fi |
78 |
} |
78 |
} |
79 |
|
79 |
|
|
|
80 |
pkg_pretend() { |
81 |
CONFIG_CHECK=" |
82 |
" |
83 |
if use crda;then |
84 |
CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT" |
85 |
WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support" |
86 |
fi |
87 |
|
88 |
check_extra_config |
89 |
|
90 |
if ! use crda; then |
91 |
if linux_config_exists && linux_chkconfig_builtin CFG80211 && |
92 |
[[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]] |
93 |
then |
94 |
ewarn "" |
95 |
ewarn "REGULATORY DOMAIN PROBLEM:" |
96 |
ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from" |
97 |
ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m" |
98 |
ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE." |
99 |
ewarn "" |
100 |
fi |
101 |
fi |
102 |
} |
103 |
|
80 |
src_prepare() { |
104 |
src_prepare() { |
81 |
default |
105 |
default |
82 |
|
106 |
|