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 4E59E138350 for ; Thu, 13 Feb 2020 18:56:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F146E03EC; Thu, 13 Feb 2020 18:56:02 +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 46A13E03EC for ; Thu, 13 Feb 2020 18:56:02 +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 B3E6C34ED61 for ; Thu, 13 Feb 2020 18:56:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32CBC10A for ; Thu, 13 Feb 2020 18:55:58 +0000 (UTC) From: "Rick 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, "Rick Farina" Message-ID: <1581620156.a460ecf5f4c7aa8b59149d553774ff95284b9c30.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.9-r1.ebuild net-wireless/wpa_supplicant/wpa_supplicant-2.9-r2.ebuild net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild X-VCS-Directories: net-wireless/wpa_supplicant/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: a460ecf5f4c7aa8b59149d553774ff95284b9c30 X-VCS-Branch: master Date: Thu, 13 Feb 2020 18:55:58 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cebb4c10-ddc1-4280-95a8-85a2f3c3e1f3 X-Archives-Hash: ce77a0802a096203adb51dfc416edaee commit: a460ecf5f4c7aa8b59149d553774ff95284b9c30 Author: Rick Farina gentoo org> AuthorDate: Thu Feb 13 18:55:45 2020 +0000 Commit: Rick Farina gentoo org> CommitDate: Thu Feb 13 18:55:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a460ecf5 net-wireless/wpa_supplicant: fix bug #692846 also disable more things properly when the use flag isn't set also harmonize release and live ebuilds also fix multiple QA warnings Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Rick Farina gentoo.org> net-wireless/wpa_supplicant/metadata.xml | 5 ++- ...-2.9-r1.ebuild => wpa_supplicant-2.9-r2.ebuild} | 48 ++++++++++++++-------- .../wpa_supplicant/wpa_supplicant-9999.ebuild | 32 ++++++++++----- 3 files changed, 56 insertions(+), 29 deletions(-) diff --git a/net-wireless/wpa_supplicant/metadata.xml b/net-wireless/wpa_supplicant/metadata.xml index a52a722509e..743ca1d2c5b 100644 --- a/net-wireless/wpa_supplicant/metadata.xml +++ b/net-wireless/wpa_supplicant/metadata.xml @@ -7,12 +7,15 @@ Add support for access point mode + Flag to help users disable features not supported by broadcom-sta driver Add support for EAP-SIM authentication algorithm - Build and install eapol_test binary + Build and install eapol_test binary Add support for FAST-EAP authentication algorithm Add support for Fast Initial Link Setup (802.11ai) Add support for 802.11u and Passpoint for HotSpot 2.0 Add support for wired macsec + Add support Multiband Operation + Add support for mesh mode Add support for Wi-Fi Direct mode Add support for ps3 hypervisor driven gelic wifi Enable wpa_priv privledge separation binary diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.9-r1.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-2.9-r2.ebuild similarity index 93% rename from net-wireless/wpa_supplicant/wpa_supplicant-2.9-r1.ebuild rename to net-wireless/wpa_supplicant/wpa_supplicant-2.9-r2.ebuild index 8cfb6d7ecd1..0c3b8ae72bc 100644 --- a/net-wireless/wpa_supplicant/wpa_supplicant-2.9-r1.ebuild +++ b/net-wireless/wpa_supplicant/wpa_supplicant-2.9-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils qmake-utils systemd toolchain-funcs readme.gentoo-r1 +inherit eutils qmake-utils systemd toolchain-funcs readme.gentoo-r1 desktop DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" HOMEPAGE="https://w1.fi/wpa_supplicant/" @@ -18,7 +18,7 @@ else fi SLOT="0" -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" +IUSE="ap bindist broadcom-sta dbus eap-sim eapol-test fasteap +fils +hs2-0 libressl macsec +mbo +mesh p2p privsep ps3 qt5 readline selinux smartcard tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD" # CONFIG_PRIVSEP=y does not have sufficient support for the new driver # interface functions used for MACsec, so this combination cannot be used @@ -26,6 +26,7 @@ IUSE="ap bindist dbus eap-sim eapol_test fasteap +fils +hs2-0 libressl macsec p2 REQUIRED_USE=" macsec? ( !privsep ) privsep? ( !macsec ) + broadcom-sta? ( !fils !mesh !mbo ) " CDEPEND="dbus? ( sys-apps/dbus ) @@ -150,7 +151,6 @@ src_configure() { Kconfig_style_config TLSV11 Kconfig_style_config TLSV12 Kconfig_style_config GETRANDOM - Kconfig_style_config MBO # Basic authentication methods # NOTE: we don't set GPSK or SAKE as they conflict @@ -160,6 +160,8 @@ src_configure() { Kconfig_style_config EAP_OTP Kconfig_style_config EAP_PAX Kconfig_style_config EAP_PSK + Kconfig_style_config EAP_TLV + Kconfig_style_config EAP_EXE Kconfig_style_config IEEE8021X_EAPOL Kconfig_style_config PKCS12 Kconfig_style_config PEERKEY @@ -184,7 +186,7 @@ src_configure() { Kconfig_style_config CTRL_IFACE_DBUS_INTRO n fi - if use eapol_test ; then + if use eapol-test ; then Kconfig_style_config EAPOL_TEST fi @@ -197,6 +199,12 @@ src_configure() { Kconfig_style_config HS20 fi + if use mbo ; then + Kconfig_style_config MBO + else + Kconfig_style_config MBO n + fi + if use uncommon-eap-types; then Kconfig_style_config EAP_GPSK Kconfig_style_config EAP_SAKE @@ -233,16 +241,17 @@ src_configure() { Kconfig_style_config FILS Kconfig_style_config FILS_SK_PFS fi - # Enabling mesh networks. - Kconfig_style_config MESH + if use mesh; then + Kconfig_style_config MESH + else + Kconfig_style_config MESH n + fi #WPA3 Kconfig_style_config OWE Kconfig_style_config SAE Kconfig_style_config DPP - Kconfig_style_config SUITEB192 - fi - if ! use bindist && ! use libressl; then Kconfig_style_config SUITEB + Kconfig_style_config SUITEB192 fi if use smartcard ; then @@ -295,12 +304,20 @@ src_configure() { Kconfig_style_config WPS_NFC else Kconfig_style_config WPS n + Kconfig_style_config WPS2 n + Kconfig_style_config WPS_UFD n + Kconfig_style_config WPS_ER n + Kconfig_style_config WPS_UPNP n + Kconfig_style_config WPS_NFC n fi # Wi-Fi Direct (WiDi) if use p2p ; then Kconfig_style_config P2P Kconfig_style_config WIFI_DISPLAY + else + Kconfig_style_config P2P n + Kconfig_style_config WIFI_DISPLAY n fi # Access Point Mode @@ -355,7 +372,7 @@ src_compile() { emake -C "${S}"/wpa_gui-qt4 fi - if use eapol_test ; then + if use eapol-test ; then emake eapol_test fi } @@ -414,7 +431,7 @@ src_install() { systemd_dounit systemd/wpa_supplicant.service fi - if use eapol_test ; then + if use eapol-test ; then dobin eapol_test fi @@ -438,11 +455,6 @@ pkg_postinst() { ewarn "This is incredibly undesirable" fi fi - if use libressl; then - ewarn "Libressl doesn't support SUITEB (part of WPA3)" - ewarn "but it does support SUITEB192 (the upgraded strength version of the same)" - ewarn "You probably don't care. Patches welcome" - fi # Mea culpa, feel free to remove that after some time --mgorny. local fn diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild index f73f675d9fd..3cb7b352a50 100644 --- a/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild +++ b/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils qmake-utils systemd toolchain-funcs readme.gentoo-r1 +inherit eutils qmake-utils systemd toolchain-funcs readme.gentoo-r1 desktop DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" HOMEPAGE="https://w1.fi/wpa_supplicant/" @@ -18,7 +18,7 @@ else fi SLOT="0" -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" +IUSE="ap bindist broadcom-sta dbus eap-sim eapol-test fasteap +fils +hs2-0 libressl macsec +mbo +mesh p2p privsep ps3 qt5 readline selinux smartcard tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD" # CONFIG_PRIVSEP=y does not have sufficient support for the new driver # interface functions used for MACsec, so this combination cannot be used @@ -26,6 +26,7 @@ IUSE="ap bindist dbus eap-sim eapol_test fasteap +fils +hs2-0 libressl macsec p2 REQUIRED_USE=" macsec? ( !privsep ) privsep? ( !macsec ) + broadcom-sta? ( !fils !mesh !mbo ) " CDEPEND="dbus? ( sys-apps/dbus ) @@ -147,7 +148,6 @@ src_configure() { Kconfig_style_config TLSV11 Kconfig_style_config TLSV12 Kconfig_style_config GETRANDOM - Kconfig_style_config MBO # Basic authentication methods # NOTE: we don't set GPSK or SAKE as they conflict @@ -183,7 +183,7 @@ src_configure() { Kconfig_style_config CTRL_IFACE_DBUS_INTRO n fi - if use eapol_test ; then + if use eapol-test ; then Kconfig_style_config EAPOL_TEST fi @@ -196,6 +196,12 @@ src_configure() { Kconfig_style_config HS20 fi + if use mbo ; then + Kconfig_style_config MBO + else + Kconfig_style_config MBO n + fi + if use uncommon-eap-types; then Kconfig_style_config EAP_GPSK Kconfig_style_config EAP_SAKE @@ -232,8 +238,11 @@ src_configure() { Kconfig_style_config FILS Kconfig_style_config FILS_SK_PFS fi - # Enabling mesh networks. - Kconfig_style_config MESH + if use mesh; then + Kconfig_style_config MESH + else + Kconfig_style_config MESH n + fi #WPA3 Kconfig_style_config OWE Kconfig_style_config SAE @@ -303,6 +312,9 @@ src_configure() { if use p2p ; then Kconfig_style_config P2P Kconfig_style_config WIFI_DISPLAY + else + Kconfig_style_config P2P n + Kconfig_style_config WIFI_DISPLAY n fi # Access Point Mode @@ -357,7 +369,7 @@ src_compile() { emake -C "${S}"/wpa_gui-qt4 fi - if use eapol_test ; then + if use eapol-test ; then emake eapol_test fi } @@ -397,7 +409,7 @@ src_install() { into /usr dobin wpa_gui-qt4/wpa_gui doicon wpa_gui-qt4/icons/wpa_gui.svg - make_desktop_entry wpa_gui "WPA Supplicant Administration GUI" "wpa_gui" "Qt;Network;" + domenu wpa_gui-qt4/wpa_gui.desktop else rm "${ED}"/usr/share/man/man8/wpa_gui.8 fi @@ -416,7 +428,7 @@ src_install() { systemd_dounit systemd/wpa_supplicant.service fi - if use eapol_test ; then + if use eapol-test ; then dobin eapol_test fi