[arch-commits] Commit in kismet/repos/extra-x86_64 (4 files)
Jürgen Hötzel
juergen at archlinux.org
Sat Jun 1 13:05:03 UTC 2019
Date: Saturday, June 1, 2019 @ 13:05:03
Author: juergen
Revision: 354684
archrelease: copy trunk to extra-x86_64
Added:
kismet/repos/extra-x86_64/PKGBUILD
(from rev 354683, kismet/trunk/PKGBUILD)
kismet/repos/extra-x86_64/kismet.install
(from rev 354683, kismet/trunk/kismet.install)
Deleted:
kismet/repos/extra-x86_64/PKGBUILD
kismet/repos/extra-x86_64/kismet.install
----------------+
PKGBUILD | 85 ++++++++++++++++++++++++++-----------------------------
kismet.install | 50 ++++++++++++++++----------------
2 files changed, 66 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-01 13:04:55 UTC (rev 354683)
+++ PKGBUILD 2019-06-01 13:05:03 UTC (rev 354684)
@@ -1,44 +0,0 @@
-# Maintainer:
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Jason Chu <jason at archlinux.org>
-# Contributor: Juergen Hoetzel <jason at archlinux.org>
-
-pkgname=kismet
-pkgver=2016_07_R1
-_realver="${pkgver//_/-}"
-pkgrel=2
-pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
-arch=('x86_64')
-url="https://www.kismetwireless.net/"
-license=('GPL')
-depends=('libpcap' 'pcre' 'bluez-libs' 'libcap')
-optdepends=('gpsd: log coordinates of detected networks'
- 'wireshark-cli: provide OUI files used to determine device manufacturer'
- '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')
-backup=('etc/kismet.conf' 'etc/kismet_drone.conf')
-install=kismet.install
-source=("https://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.xz")
-sha256sums=('bdb21f153311f1ff3b16621bf0d6740f66369bf0982b0a289c9a12af8847e237')
-validpgpkeys=('354689DF3C9DED803381A661D7B28822738BBDB1') # Michael Kershaw
-
-build() {
- cd ${pkgname}-${_realver}
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var
- make dep all plugins
-}
-
-package() {
- cd ${pkgname}-${_realver}
- make DESTDIR="$pkgdir" install plugins-install
- install -o root -g 315 -m 4550 kismet_capture "${pkgdir}/usr/bin/"
-
- # the README is very comprehensive, a good idea to include it
- install -Dm 644 README "$pkgdir/usr/share/doc/$pkgname/README"
-}
Copied: kismet/repos/extra-x86_64/PKGBUILD (from rev 354683, kismet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-01 13:05:03 UTC (rev 354684)
@@ -0,0 +1,41 @@
+# Maintainer:
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Jason Chu <jason at archlinux.org>
+# Contributor: Juergen Hoetzel <jason at archlinux.org>
+
+pkgname=kismet
+pkgver=2019_05_R2
+_realver="${pkgver//_/-}"
+pkgrel=1
+pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
+arch=('x86_64')
+url="https://www.kismetwireless.net/"
+license=('GPL')
+depends=('libpcap' 'pcre' 'bluez-libs' 'libcap' 'libmicrohttpd' 'protobuf-c')
+optdepends=('gpsd: log coordinates of detected networks'
+ 'wireshark-cli: provide OUI files used to determine device manufacturer'
+ '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')
+backup=('etc/kismet.conf' 'etc/kismet_drone.conf')
+install=kismet.install
+source=("https://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.xz")
+sha256sums=('6821e5378f7d75394079c910b1ad49aeadc32507acc5fc85325a7794e0e85c1f')
+validpgpkeys=('354689DF3C9DED803381A661D7B28822738BBDB1') # Michael Kershaw
+
+build() {
+ cd ${pkgname}-${_realver}
+ export LDFLAGS='-Wl,--as-needed'
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-python-tools
+ make all plugins
+}
+
+package() {
+ cd ${pkgname}-${_realver}
+ make DESTDIR="$pkgdir" install
+}
Deleted: kismet.install
===================================================================
--- kismet.install 2019-06-01 13:04:55 UTC (rev 354683)
+++ kismet.install 2019-06-01 13:05:03 UTC (rev 354684)
@@ -1,25 +0,0 @@
-## arg 1: the new package version
-post_install() {
- 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 a SUID ROOT CAPTURE HELPER executable by users
- in the group ' kismet '. 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.
-EOP
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- # Add the group needed to use the limited-functionality binary "kismet_capture"
- getent group "kismet" &>/dev/null || /usr/sbin/groupadd -r -g 315 kismet &>/dev/null
-}
-
-# vim:set ts=2 sw=2 et:
Copied: kismet/repos/extra-x86_64/kismet.install (from rev 354683, kismet/trunk/kismet.install)
===================================================================
--- kismet.install (rev 0)
+++ kismet.install 2019-06-01 13:05:03 UTC (rev 354684)
@@ -0,0 +1,25 @@
+## arg 1: the new package version
+post_install() {
+ 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 a SUID ROOT CAPTURE HELPER executable by users
+ in the group ' kismet '. 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.
+EOP
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ # Add the group needed to use the limited-functionality binary "kismet_capture"
+ getent group "kismet" &>/dev/null || /usr/sbin/groupadd -r -g 315 kismet &>/dev/null
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list