From 216abd83f0ba9e812c9bd5546b0b8325be13cd6a Mon Sep 17 00:00:00 2001 From: Bruno Randolf Date: Mon, 18 Oct 2004 13:13:50 +0000 Subject: kismet: disable setuid, mtx-1 config, include fix BKrev: 4173c18ePO1hcEp2KqoGaO7a5gxfPA --- kismet/kismet-2004-04-R1/mtx-1/kismet.conf | 0 .../kismet-2004-04-R1/no-lib-modules-uname-include.diff | 0 kismet/kismet_2004-04-R1.oe | 15 ++++++++++++--- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 kismet/kismet-2004-04-R1/mtx-1/kismet.conf create mode 100644 kismet/kismet-2004-04-R1/no-lib-modules-uname-include.diff diff --git a/kismet/kismet-2004-04-R1/mtx-1/kismet.conf b/kismet/kismet-2004-04-R1/mtx-1/kismet.conf new file mode 100644 index 0000000000..e69de29bb2 diff --git a/kismet/kismet-2004-04-R1/no-lib-modules-uname-include.diff b/kismet/kismet-2004-04-R1/no-lib-modules-uname-include.diff new file mode 100644 index 0000000000..e69de29bb2 diff --git a/kismet/kismet_2004-04-R1.oe b/kismet/kismet_2004-04-R1.oe index 14c7c095ae..5a3794b8cd 100644 --- a/kismet/kismet_2004-04-R1.oe +++ b/kismet/kismet_2004-04-R1.oe @@ -2,13 +2,16 @@ SECTION = "console/network" DESCRIPTION = "Kismet is an 802.11 layer2 wireless network detector, sniffer, and intrusion detection system" HOMEPAGE = "http://www.kismetwireless.net/" MAINTAINER = "Bruno Randolf " -DEPENDS = "expat gmp " +DEPENDS = "expat gmp" SRC_URI = "http://www.kismetwireless.net/code/kismet-2004-04-R1.tar.gz \ file://no-strip.diff;patch=1;pnum=0 \ - file://no-chmod.diff;patch=1;pnum=0" + file://no-chmod.diff;patch=1;pnum=0 \ + file://no-lib-modules-uname-include.diff;patch=1;pnum=0" + SRC_URI_append_mipsel = " file://glibc3.3.2-getopt-throw.diff;patch=1;pnum=0" +SRC_URI_append_mtx-1 = " file://kismet.conf" -EXTRA_OECONF = "--with-pcap=linux" +EXTRA_OECONF = "--with-pcap=linux --disable-setuid" inherit autotools @@ -17,5 +20,11 @@ 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" -- cgit v1.2.3