Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 462032 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-wireless/wpa_supplicant/wpa_supplicant-2.9-r1.ebuild (-3 / +30 lines)
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-24 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
# CONFIG_PRIVSEP=y does not have sufficient support for the new driver
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
24
# interface functions used for MACsec, so this combination cannot be used
Lines 31-37 Link Here
31
CDEPEND="dbus? ( sys-apps/dbus )
31
CDEPEND="dbus? ( sys-apps/dbus )
32
	kernel_linux? (
32
	kernel_linux? (
33
		dev-libs/libnl:3
33
		dev-libs/libnl:3
34
		net-wireless/crda
35
		eap-sim? ( sys-apps/pcsc-lite )
34
		eap-sim? ( sys-apps/pcsc-lite )
36
	)
35
	)
37
	!kernel_linux? ( net-libs/libpcap )
36
	!kernel_linux? ( net-libs/libpcap )
Lines 53-58 Link Here
53
"
52
"
54
RDEPEND="${CDEPEND}
53
RDEPEND="${CDEPEND}
55
	selinux? ( sec-policy/selinux-networkmanager )
54
	selinux? ( sec-policy/selinux-networkmanager )
55
	kernel_linux? (
56
		net-wireless/wireless-regdb
57
		crda? ( net-wireless/crda )
58
	)
56
"
59
"
57
60
58
DOC_CONTENTS="
61
DOC_CONTENTS="
Lines 85-90 Link Here
85
		fi
88
		fi
86
}
89
}
87
90
91
pkg_pretend() {
92
	CONFIG_CHECK="
93
	"
94
	if use crda;then
95
		CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
96
		WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
97
	fi
98
99
	check_extra_config
100
101
	if ! use crda; then
102
		if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
103
			[[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
104
		then
105
			ewarn ""
106
			ewarn "REGULATORY DOMAIN PROBLEM:"
107
			ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
108
			ewarn " /lib/firmware, resulting in broken regulatory domain support.  Please set CONFIG_CFG80211=m"
109
			ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
110
			ewarn ""
111
		fi
112
	fi
113
}
114
88
src_prepare() {
115
src_prepare() {
89
	default
116
	default
90
117

Return to bug 462032