void-packages/srcpkgs/kismet/template

26 lines
912 B
Bash

# Template file for 'kismet'
pkgname=kismet
version=2016.07.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=bdb21f153311f1ff3b16621bf0d6740f66369bf0982b0a289c9a12af8847e237
post_extract() {
# for musl
sed -i '/<linux\/if_tun.h>/i#include <netinet/if_ether.h>' dumpfile_tuntap.h
}