mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 00:16:22 +01:00
kismet: wext patch
This commit is contained in:
parent
b4340f065b
commit
a52eb5a9f7
3 changed files with 42 additions and 1 deletions
10
net-wireless/kismet/files/kismet-stdio.patch
Normal file
10
net-wireless/kismet/files/kismet-stdio.patch
Normal file
|
|
@ -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 <sys/types.h>
|
||||
#include <dirent.h>
|
||||
+#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_LINUX_WIRELESS
|
||||
#include <asm/types.h>
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
29
net-wireless/kismet/metadata.xml
Normal file
29
net-wireless/kismet/metadata.xml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="libusb">Support libusb based capture sources such as mousejack, cc2540(ble), and nrf51822(ble)</flag>
|
||||
<flag name="mqtt">Enable MQTT support</flag>
|
||||
<flag name="pcre">Build with pcre support</flag>
|
||||
<flag name="protobuf">Support old protobuf message passing in case of remote capture sources which are not up to date.</flag>
|
||||
<flag name="rtlsdr">Enable rtlsdr based kismet capture sources</flag>
|
||||
<flag name="suid">
|
||||
Install a setuid root helper binary with limited functionality;
|
||||
this allows running kismet as a normal user, significantly
|
||||
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>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue