25 lines
912 B
Bash
25 lines
912 B
Bash
# Template file for 'kismet'
|
|
pkgname=kismet
|
|
version=2016.01.R1
|
|
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.xz"
|
|
checksum=162f1796996836b2d44126ccbe877a88a7f4a0e50f6729da897fc5a8ec4776b9
|
|
|
|
post_extract() {
|
|
# for musl
|
|
sed -i '/<linux\/if_tun.h>/i#include <netinet/if_ether.h>' dumpfile_tuntap.h
|
|
}
|