<commit_before>DESCRIPTION = "Kismet is an 802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
HOMEPAGE = "http://www.kismetwireless.net/"
SECTION = "console/network"
LICENSE = "GPLv2"
DEPENDS = "expat gmp imagemagick tiff fakeroot-native zlib bzip2"
PR = "r1"

SRC_URI = "http://www.kismetwireless.net/code/kismet-${PV}.tar.gz"

EXTRA_OECONF = "--enable-wsp100 --with-pcap=linux \
                --with-linuxheaders=${STAGING_KERNEL_DIR}/include"

inherit autotools

fakeroot do_install() {
     oe_runmake "DESTDIR=${D}" suidinstall
}

do_install_append() {
	if test -e ${WORKDIR}/kismet.conf; then
		install -m 644 ${WORKDIR}/kismet.conf ${D}${sysconfdir}/
	fi
}

PACKAGES =+ "${PN}-sounds ${PN}-gpsmap"

FILES_${PN}-sounds = "${datadir}/kismet/wav"
RDEPENDS_${PN}-sounds = "sox"

FILES_${PN}-gpsmap = "${bindir}/gpsmap*"
RDEPENDS_${PN}-gpsmap = "gpsd"

CONFFILES_${PN} = "${sysconfdir}/kismet.conf ${sysconfdir}/kismet_ui.conf ${sysconfdir}/kismet_drone.conf"<commit_msg>kismet: configure picks up pcap from staging, so lets add it to depends <commit_after>DESCRIPTION = "Kismet is an 802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
HOMEPAGE = "http://www.kismetwireless.net/"
SECTION = "console/network"
LICENSE = "GPLv2"
DEPENDS = "expat gmp imagemagick tiff fakeroot-native zlib bzip2 libpcap"
PR = "r2"

SRC_URI = "http://www.kismetwireless.net/code/kismet-${PV}.tar.gz"

EXTRA_OECONF = "--enable-wsp100 --with-pcap=linux \
                --with-linuxheaders=${STAGING_KERNEL_DIR}/include"

inherit autotools

fakeroot do_install() {
     oe_runmake "DESTDIR=${D}" suidinstall
}

do_install_append() {
	if test -e ${WORKDIR}/kismet.conf; then
		install -m 644 ${WORKDIR}/kismet.conf ${D}${sysconfdir}/
	fi
}

PACKAGES =+ "${PN}-sounds ${PN}-gpsmap"

FILES_${PN}-sounds = "${datadir}/kismet/wav"
RDEPENDS_${PN}-sounds = "sox"

FILES_${PN}-gpsmap = "${bindir}/gpsmap*"
RDEPENDS_${PN}-gpsmap = "gpsd"

CONFFILES_${PN} = "${sysconfdir}/kismet.conf ${sysconfdir}/kismet_ui.conf ${sysconfdir}/kismet_drone.conf"
{'fraction_non_alphanumeric': 0.16642616642616642, 'fraction_numerical': 0.01443001443001443, 'mean_word_length': 4.793871866295264, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4921762', 'n_tokens_mistral': 862, 'n_tokens_neox': 834, 'n_words': 153}