diff --git a/net-wireless/kismet/files/kismet-stdio.patch b/net-wireless/kismet/files/kismet-stdio.patch new file mode 100644 index 000000000..5f1b52e73 --- /dev/null +++ b/net-wireless/kismet/files/kismet-stdio.patch @@ -0,0 +1,10 @@ +--- a/capture_linux_wifi/linux_wireless_control.c.orig 2023-07-20 22:02:04.000000000 +0800 ++++ b/capture_linux_wifi/linux_wireless_control.c 2025-05-13 22:14:22.831343873 +0800 +@@ -31,6 +31,7 @@ + + #include + #include ++#include + + #ifdef HAVE_LINUX_WIRELESS + #include diff --git a/net-wireless/kismet/kismet-2023.07.1-r3.ebuild b/net-wireless/kismet/kismet-2023.07.1-r3.ebuild index 51aab7d4c..0c8c2ed8a 100644 --- a/net-wireless/kismet/kismet-2023.07.1-r3.ebuild +++ b/net-wireless/kismet/kismet-2023.07.1-r3.ebuild @@ -30,6 +30,7 @@ else "${DISTDIR}/${P}-stdint-fix.patch" # https://github.com/kismetwireless/kismet/pull/517 "${FILESDIR}"/0001-configure.ac-bashism-fix-critical-existence-failure-.patch + "${FILESDIR}"/kismet-stdio.patch ) KEYWORDS="amd64 arm ~arm64 ~ppc x86" @@ -40,7 +41,7 @@ HOMEPAGE="https://www.kismetwireless.net" LICENSE="GPL-2" SLOT="0/${PV}" -IUSE="libusb lm-sensors networkmanager +pcre rtlsdr selinux +suid ubertooth udev" +IUSE="libusb lm-sensors networkmanager +pcre rtlsdr selinux +suid ubertooth udev +wext" REQUIRED_USE="${PYTHON_REQUIRED_USE}" # upstream said protobuf-26.1 breaks everything @@ -134,6 +135,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 new file mode 100644 index 000000000..9c4f78353 --- /dev/null +++ b/net-wireless/kismet/metadata.xml @@ -0,0 +1,29 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + Support libusb based capture sources such as mousejack, cc2540(ble), and nrf51822(ble) + Enable MQTT support + Build with pcre support + Support old protobuf message passing in case of remote capture sources which are not up to date. + Enable rtlsdr based kismet capture sources + + Install a setuid root helper binary with limited functionality; + this allows running kismet as a normal user, significantly + reducing security risks + + Enable capture source for ubertooth to sniff bluetooth low energy + + 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. + + + + kismetwireless/kismet + +