New package: kismet-2013.03.R1b

This commit is contained in:
Christian Neukirchen 2015-11-30 17:40:44 +01:00
parent 8d365d2814
commit 955ca8ef34
3 changed files with 33 additions and 0 deletions

7
srcpkgs/kismet/INSTALL Normal file
View file

@ -0,0 +1,7 @@
case "${ACTION}" in
post)
chown root:kismet usr/bin/kismet_capture
chmod 0750 usr/bin/kismet_capture
setcap cap_net_raw,cap_net_admin=eip usr/bin/kismet_capture
;;
esac

View file

@ -0,0 +1 @@
Add your users to group 'kismet' and adjust /etc/kismet.conf before first run.

25
srcpkgs/kismet/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'kismet'
pkgname=kismet
version=2013.03.R1b
revision=1
_realver="${version//./-}"
wrksrc="${pkgname}-${_realver}"
build_style=gnu-configure
make_build_args="dep all plugins"
make_install_args="suidinstall plugins-install"
conf_files="/etc/kismet.conf /etc/kismet_drone.conf"
system_groups="kismet"
hostmakedepends="pkg-config"
makedepends="libpcap-devel pcre-devel libbluetooth-devel libcap-devel ncurses-devel"
depends="libcap-progs"
short_desc="Wireless network detector, sniffer, and intrusion detection system"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.kismetwireless.net/"
distfiles="http://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.gz"
checksum=c0bb8a8f47061e2ffc965b0557bab9a1b3d63b5a50b744663f66518aec7fbc77
post_extract() {
# for musl
sed -i '/<linux\/if_tun.h>/i#include <netinet/if_ether.h>' dumpfile_tuntap.h
}