[arch-commits] Commit in kismet/trunk (3 files)
Levente Polyak
anthraxx at archlinux.org
Thu Oct 10 22:05:48 UTC 2019
Date: Thursday, October 10, 2019 @ 22:05:47
Author: anthraxx
Revision: 364594
upgpkg: kismet 2019_09_R1-2 (enable SDR capturing)
Added:
kismet/trunk/python-install-flags.patch
Modified:
kismet/trunk/PKGBUILD
kismet/trunk/kismet.install
----------------------------+
PKGBUILD | 22 ++++++++++++---------
kismet.install | 6 -----
python-install-flags.patch | 45 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 59 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-10 21:29:33 UTC (rev 364593)
+++ PKGBUILD 2019-10-10 22:05:47 UTC (rev 364594)
@@ -6,12 +6,16 @@
pkgname=kismet
pkgver=2019_09_R1
_realver="${pkgver//_/-}"
-pkgrel=1
+pkgrel=2
pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
url="https://www.kismetwireless.net/"
arch=('x86_64')
license=('GPL')
-depends=('libpcap' 'pcre' 'bluez-libs' 'libcap' 'libmicrohttpd' 'protobuf-c' 'sqlite')
+depends=('libpcap' 'pcre' 'bluez-libs' 'libcap' 'libmicrohttpd' 'protobuf-c' 'libprotobuf-c.so'
+ 'sqlite' 'libnm' 'gcc-libs' 'libusb' 'libusb-1.0.so' 'libnl' 'glibc' 'zlib' 'libelf'
+ 'lm_sensors' 'systemd' 'python' 'python-setuptools' 'python-protobuf' 'python-pyserial'
+ 'python-numpy')
+makedepends=('python-setuptools')
optdepends=(
'gpsd: log coordinates of detected networks'
'wireshark-cli: provide OUI files used to determine device manufacturer'
@@ -18,8 +22,7 @@
'wireshark-cli: mergecap, to merge multiple capture files'
'sox: provide the default kismet sound playback binary'
'festival: text-to-speech support'
- 'flite: alternative/lightweight text-to-speech support'
- 'ruby: ruby interface')
+ 'flite: alternative/lightweight text-to-speech support')
backup=(
etc/kismet/kismet.conf
etc/kismet/kismet_80211.conf
@@ -32,13 +35,16 @@
etc/kismet/kismet_uav.conf)
install=kismet.install
source=(https://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.xz
- kismet.sysusers)
+ kismet.sysusers
+ python-install-flags.patch)
sha512sums=('eeaf069718206f2b6d292c41792217afc9c72c10ffa014c8c670de64195bd28d44f33364dba7d338610f17a5af2be3c125ccd1297cce362159a4968c9ddabb88'
- '452b728c30c9932bdb91741af425267da87a66962ea9b736751948881f5477dee0bff8e2eeca2befdea2920da6d7d9e198bde69cef8c48bb49a0093a7f0ef897')
+ '452b728c30c9932bdb91741af425267da87a66962ea9b736751948881f5477dee0bff8e2eeca2befdea2920da6d7d9e198bde69cef8c48bb49a0093a7f0ef897'
+ 'b5eb82f343485fdf617de007ee7ef63e3375c54fea17664dca474965b6a548c4663b416ca062c039349eb141ad03c870997e5fa7ffa1d2058282171de80ca38e')
validpgpkeys=('354689DF3C9DED803381A661D7B28822738BBDB1') # Michael Kershaw
-build() {
+prepare() {
cd ${pkgname}-${_realver}
+ patch -Np0 < ../python-install-flags.patch
autoreconf -fiv
}
@@ -46,9 +52,7 @@
cd ${pkgname}-${_realver}
./configure \
--prefix=/usr \
- --sysconfdir=/etc \
--localstatedir=/var \
- --disable-python-tools \
--sysconfdir=/etc/kismet
make all plugins
}
Modified: kismet.install
===================================================================
--- kismet.install 2019-10-10 21:29:33 UTC (rev 364593)
+++ kismet.install 2019-10-10 22:05:47 UTC (rev 364594)
@@ -2,12 +2,8 @@
post_upgrade
cat << EOP
- If you have not done so already, read the README file and the FAQ file. You
- MUST edit /etc/kismet.conf and configure Kismet for your system, or it will
- NOT run properly!"
-
Kismet has been installed with net_raw,net_admin capabilities capture helper
- executable by users in the group ' kismet '. This WILL ALLOW USERS IN THIS
+ executables for users in the 'kismet' group. This WILL ALLOW USERS IN THIS
GROUP TO ALTER YOUR NETWORK INTERFACE STATES, but is more secure than running
all of Kismet as root. ONLY users in this group will be able to run Kismet
and capture from physical network devices.
Added: python-install-flags.patch
===================================================================
--- python-install-flags.patch (rev 0)
+++ python-install-flags.patch 2019-10-10 22:05:47 UTC (rev 364594)
@@ -0,0 +1,45 @@
+--- capture_freaklabs_zigbee/Makefile.in 2019-10-10 10:49:00.494256269 +0200
++++ capture_freaklabs_zigbee/Makefile.in 2019-10-10 10:52:49.374152190 +0200
+@@ -10,7 +10,7 @@
+ $(PYTHON) ./setup.py bdist
+
+ install:
+- $(PYTHON) ./setup.py install
++ $(PYTHON) ./setup.py install --root="$(DESTDIR)" -O1
+ # $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) $(MONITOR_BIN) $(BIN)/$(MONITOR_BIN)
+
+ clean:
+--- capture_sdr_rtl433/Makefile.in 2019-10-10 10:49:00.507590313 +0200
++++ capture_sdr_rtl433/Makefile.in 2019-10-10 10:52:28.069331801 +0200
+@@ -11,7 +11,7 @@
+ $(PYTHON) ./setup.py bdist
+
+ install:
+- $(PYTHON) ./setup.py install
++ $(PYTHON) ./setup.py install --root="$(DESTDIR)" -O1
+
+ clean:
+ @-$(PYTHON) ./setup.py clean
+--- capture_sdr_rtladsb/Makefile.in 2019-10-10 10:49:00.510923825 +0200
++++ capture_sdr_rtladsb/Makefile.in 2019-10-10 10:52:32.542260533 +0200
+@@ -11,7 +11,7 @@
+ $(PYTHON) ./setup.py bdist
+
+ install:
+- $(PYTHON) ./setup.py install
++ $(PYTHON) ./setup.py install --root="$(DESTDIR)" -O1
+ # These are now part of the setup.py install
+ # $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) aircraft_db.csv $(ETC)/kismet_aircraft_db.csv
+ # $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) $(MONITOR_BIN) $(BIN)/$(MONITOR_BIN)
+--- capture_sdr_rtlamr/Makefile.in 2019-10-10 10:49:00.514257335 +0200
++++ capture_sdr_rtlamr/Makefile.in 2019-10-10 10:52:35.978622527 +0200
+@@ -11,7 +11,7 @@
+ $(PYTHON) ./setup.py bdist
+
+ install:
+- $(PYTHON) ./setup.py install
++ $(PYTHON) ./setup.py install --root="$(DESTDIR)" -O1
+ # These are now part of the setup.py install
+ # $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) $(MONITOR_BIN) $(BIN)/$(MONITOR_BIN)
+ # $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) $(MQTTMONITOR_BIN) $(BIN)/$(MQTTMONITOR_BIN)
+
More information about the arch-commits
mailing list