summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2023-08-25 12:13:10 -0400
committerRick Farina <zerochaos@gentoo.org>2023-08-25 12:14:11 -0400
commit5dab37cbd36f2bf0a59c7efa29c72e191eb706e1 (patch)
tree21a6737aa92a99c5424dc31215202139f427e017 /net-wireless/kismet
parentgnome-base/gnome-control-center: Version bump to 45_rc (diff)
downloadgentoo-5dab37cbd36f2bf0a59c7efa29c72e191eb706e1.tar.gz
gentoo-5dab37cbd36f2bf0a59c7efa29c72e191eb706e1.tar.bz2
gentoo-5dab37cbd36f2bf0a59c7efa29c72e191eb706e1.zip
net-wireless/kismet: add optional support for mqtt
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r--net-wireless/kismet/kismet-9999.ebuild4
-rw-r--r--net-wireless/kismet/metadata.xml5
2 files changed, 6 insertions, 3 deletions
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild
index 12ccc414e920..aefd9559e78a 100644
--- a/net-wireless/kismet/kismet-9999.ebuild
+++ b/net-wireless/kismet/kismet-9999.ebuild
@@ -33,13 +33,14 @@ 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 mqtt networkmanager +pcre rtlsdr selinux +suid ubertooth udev"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
CDEPEND="
${PYTHON_DEPS}
acct-user/kismet
acct-group/kismet
+ mqtt? ( app-misc/mosquitto )
networkmanager? ( net-misc/networkmanager )
dev-libs/glib:2
dev-libs/elfutils
@@ -114,6 +115,7 @@ src_configure() {
econf \
$(use_enable libusb libusb) \
$(use_enable libusb wifi-coconut) \
+ $(use_enable mqtt mosquitto) \
$(use_enable pcre) \
$(use_enable pcre require-pcre2) \
$(use_enable lm-sensors lmsensors) \
diff --git a/net-wireless/kismet/metadata.xml b/net-wireless/kismet/metadata.xml
index 2728866d3aa6..e8ae7e5c85cb 100644
--- a/net-wireless/kismet/metadata.xml
+++ b/net-wireless/kismet/metadata.xml
@@ -7,13 +7,14 @@
</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="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="pcre">Build with pcre support</flag>
- <flag name="rtlsdr">Enable rtlsdr based kismet capture sources</flag>
<flag name="ubertooth">Enable capture source for ubertooth to sniff bluetooth low energy</flag>
</use>
<upstream>