diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2018-05-18 16:02:30 -0400 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2018-05-18 16:02:47 -0400 |
commit | 8674d592da2b6e61d522dc717fd6c502807cd195 (patch) | |
tree | a84246f16775bb784d85acb3d754b8c3b907574c /net-wireless | |
parent | common-lisp-3.eclass: Add abcl implementætion (diff) | |
download | gentoo-8674d592da2b6e61d522dc717fd6c502807cd195.tar.gz gentoo-8674d592da2b6e61d522dc717fd6c502807cd195.tar.bz2 gentoo-8674d592da2b6e61d522dc717fd6c502807cd195.zip |
net-wireless/wpa_supplicant: add suiteb and warn
warn when use flag settings are less than ideal
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/wpa_supplicant/metadata.xml | 1 | ||||
-rw-r--r-- | net-wireless/wpa_supplicant/wpa_supplicant-2.6-r8.ebuild (renamed from net-wireless/wpa_supplicant/wpa_supplicant-2.6-r7.ebuild) | 22 |
2 files changed, 21 insertions, 2 deletions
diff --git a/net-wireless/wpa_supplicant/metadata.xml b/net-wireless/wpa_supplicant/metadata.xml index 77a7bbd4d699..885b7c3d6bbd 100644 --- a/net-wireless/wpa_supplicant/metadata.xml +++ b/net-wireless/wpa_supplicant/metadata.xml @@ -14,6 +14,7 @@ <flag name="p2p">Add support for Wi-Fi Direct mode</flag> <flag name="ps3">Add support for ps3 hypervisor driven gelic wifi</flag> <flag name="privsep">Enable wpa_priv privledge separation binary</flag> + <flag name="suiteb">Enable enable NSA Suite B encryption</flag> <flag name="tdls">Add support for Tunneled Direct Link Setup (802.11z)</flag> <flag name="uncommon-eap-types">Add support for GPSK, SAKE, GPSK_SHA256, IKEV2 and EKE</flag> <flag name="wps">Add support for Wi-Fi Protected Setup</flag> diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.6-r7.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-2.6-r8.ebuild index 08686df3b1f1..15d823b942f1 100644 --- a/net-wireless/wpa_supplicant/wpa_supplicant-2.6-r7.ebuild +++ b/net-wireless/wpa_supplicant/wpa_supplicant-2.6-r8.ebuild @@ -12,7 +12,7 @@ LICENSE="|| ( GPL-2 BSD )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="ap bindist dbus eap-sim eapol_test fasteap gnutls +hs2-0 libressl p2p privsep ps3 qt5 readline selinux smartcard ssl tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD" +IUSE="ap bindist dbus eap-sim eapol_test fasteap gnutls +hs2-0 libressl p2p privsep ps3 qt5 readline selinux smartcard ssl suiteb tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD" REQUIRED_USE="smartcard? ( ssl )" CDEPEND="dbus? ( sys-apps/dbus ) @@ -231,18 +231,29 @@ src_configure() { Kconfig_style_config WPA_CLI_EDIT fi + if use suiteb; then + Kconfig_style_config SUITEB + fi + # SSL authentication methods if use ssl ; then if use gnutls ; then Kconfig_style_config TLS gnutls Kconfig_style_config GNUTLS_EXTRA else + #this fails for gnutls + Kconfig_style_config SUITEB192 Kconfig_style_config TLS openssl if ! use bindist; then + #this fails for gnutls Kconfig_style_config EAP_PWD + # SAE fails on gnutls and everything below here needs SAE # Enabling mesh networks. Kconfig_style_config MESH - #we also need to disable OWE and FILS, except they aren't enabled yet + #WPA3 + Kconfig_style_config OWE + Kconfig_style_config SAE + #we also need to disable FILS, except that isn't enabled yet fi fi @@ -422,6 +433,13 @@ pkg_postinst() { ewarn "needs to be moved to ${EROOT%/}/etc/wpa_supplicant/wpa_supplicant.conf" fi + if use bindist || use gnutls; then + if ! use libressl; then + ewarn "Using bindist or gnutls use flags presently breaks WPA3 (specifically SAE and OWE)." + ewarn "This is incredibly undesirable" + fi + fi + # Mea culpa, feel free to remove that after some time --mgorny. local fn for fn in wpa_supplicant{,@wlan0}.service; do |