summaryrefslogtreecommitdiff
path: root/packages/kismet/kismet_2005-08-R1.bb
blob: c5e58b6edbb4db6ccce4ecfb5c5e35afbad4f0c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SECTION = "console/network"
DESCRIPTION = "Kismet is an 802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
HOMEPAGE = "http://www.kismetwireless.net/"
LICENSE = "GPLv2"
DEPENDS = "expat gmp"

SRC_URI = "http://www.kismetwireless.net/code/kismet-2005-08-R1.tar.gz \
	file://no-strip.diff;patch=1;pnum=0 \
	file://no-chmod.diff;patch=1;pnum=0 \
	file://glibc3.3.2-getopt-throw.diff;patch=1;pnum=0"


EXTRA_OECONF = "--with-pcap=linux --disable-setuid --with-linuxheaders=${STAGING_KERNEL_DIR}/include"

inherit autotools

do_configure() {
        oe_runconf
}

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

PACKAGES =+ "kismet-sounds"
FILES_kismet-sounds = "/usr/share/kismet/wav"

CONFFILES_${PN}_nylon = "${sysconfdir}/kismet.conf"