From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1585646-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8E99A15803E
	for <garchives@archives.gentoo.org>; Sun, 31 Dec 2023 02:32:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 904012BC018;
	Sun, 31 Dec 2023 02:32:08 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6C1E52BC018
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 Dec 2023 02:32:08 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5B50433D3CF
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 Dec 2023 02:32:07 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 703FC141
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 Dec 2023 02:32:05 +0000 (UTC)
From: "Rick Farina" <zerochaos@gentoo.org>
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" <zerochaos@gentoo.org>
Message-ID: <1703989919.978c6723b9497a207a553ab354936251abd61c71.zerochaos@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/kismet/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-wireless/kismet/kismet-9999.ebuild net-wireless/kismet/metadata.xml
X-VCS-Directories: net-wireless/kismet/
X-VCS-Committer: zerochaos
X-VCS-Committer-Name: Rick Farina
X-VCS-Revision: 978c6723b9497a207a553ab354936251abd61c71
X-VCS-Branch: master
Date: Sun, 31 Dec 2023 02:32:05 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5b118c8f-93b8-4172-ac76-72b95e7be467
X-Archives-Hash: a92a2d3ffffd1a9f836940ead012a751

commit:     978c6723b9497a207a553ab354936251abd61c71
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 31 02:27:37 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sun Dec 31 02:31:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=978c6723

net-wireless/kismet: add use flag for disabling wext

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/kismet/kismet-9999.ebuild | 3 ++-
 net-wireless/kismet/metadata.xml       | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild
index f89567fabd66..18ca5186b770 100644
--- a/net-wireless/kismet/kismet-9999.ebuild
+++ b/net-wireless/kismet/kismet-9999.ebuild
@@ -33,7 +33,7 @@ HOMEPAGE="https://www.kismetwireless.net"
 
 LICENSE="GPL-2"
 SLOT="0/${PV}"
-IUSE="libusb lm-sensors mqtt networkmanager +pcre rtlsdr selinux +suid ubertooth udev"
+IUSE="libusb lm-sensors mqtt networkmanager +pcre rtlsdr selinux +suid ubertooth udev +wext"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 CDEPEND="
@@ -121,6 +121,7 @@ src_configure() {
 		$(use_enable lm-sensors lmsensors) \
 		$(use_enable networkmanager libnm) \
 		$(use_enable ubertooth) \
+		$(use_enable wext linuxwext) \
 		--sysconfdir=/etc/kismet \
 		--disable-optimization
 }

diff --git a/net-wireless/kismet/metadata.xml b/net-wireless/kismet/metadata.xml
index e8ae7e5c85cb..9a0418aaa270 100644
--- a/net-wireless/kismet/metadata.xml
+++ b/net-wireless/kismet/metadata.xml
@@ -16,6 +16,11 @@
 			reducing security risks
 		</flag>
 		<flag name="ubertooth">Enable capture source for ubertooth to sniff bluetooth low energy</flag>
+		<flag name="wext">
+			Enable building kismet with support for the deprecated Linux Wireless Extensions.
+			This is required for some out of tree and staging drivers, and kismet has not
+			been well tested with it disabled, so it defaults to on.
+		</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">kismetwireless/kismet</remote-id>