From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E986D1382C5 for ; Fri, 18 May 2018 20:07:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EC23E09FA; Fri, 18 May 2018 20:07:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C154CE09FA for ; Fri, 18 May 2018 20:07:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EEA8A335C51 for ; Fri, 18 May 2018 20:07:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFA08291 for ; Fri, 18 May 2018 20:07:22 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1526673767.8674d592da2b6e61d522dc717fd6c502807cd195.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/wpa_supplicant/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/wpa_supplicant/metadata.xml net-wireless/wpa_supplicant/wpa_supplicant-2.6-r7.ebuild net-wireless/wpa_supplicant/wpa_supplicant-2.6-r8.ebuild X-VCS-Directories: net-wireless/wpa_supplicant/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: 8674d592da2b6e61d522dc717fd6c502807cd195 X-VCS-Branch: master Date: Fri, 18 May 2018 20:07:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2a23d4af-f226-4d6a-8be4-bba91a936109 X-Archives-Hash: 9d26042d93fc6b17511a9661e2fdceab commit: 8674d592da2b6e61d522dc717fd6c502807cd195 Author: Zero_Chaos gentoo org> AuthorDate: Fri May 18 20:02:30 2018 +0000 Commit: Richard Farina gentoo org> CommitDate: Fri May 18 20:02:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8674d592 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 net-wireless/wpa_supplicant/metadata.xml | 1 + ...-2.6-r7.ebuild => wpa_supplicant-2.6-r8.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 77a7bbd4d69..885b7c3d6bb 100644 --- a/net-wireless/wpa_supplicant/metadata.xml +++ b/net-wireless/wpa_supplicant/metadata.xml @@ -14,6 +14,7 @@ Add support for Wi-Fi Direct mode Add support for ps3 hypervisor driven gelic wifi Enable wpa_priv privledge separation binary + Enable enable NSA Suite B encryption Add support for Tunneled Direct Link Setup (802.11z) Add support for GPSK, SAKE, GPSK_SHA256, IKEV2 and EKE Add support for Wi-Fi Protected Setup diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.6-r7.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-2.6-r8.ebuild similarity index 94% rename from net-wireless/wpa_supplicant/wpa_supplicant-2.6-r7.ebuild rename to net-wireless/wpa_supplicant/wpa_supplicant-2.6-r8.ebuild index 08686df3b1f..15d823b942f 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