summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-07-24 21:42:32 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-07-24 21:42:32 +0000
commit663a559f7e42ad02afcb83647aef587446929aa2 (patch)
tree34adb7da07d94cfc6df7702c6c28fda08f759561 /net-wireless
parentAdded amd64 support. (diff)
downloadgentoo-2-663a559f7e42ad02afcb83647aef587446929aa2.tar.gz
gentoo-2-663a559f7e42ad02afcb83647aef587446929aa2.tar.bz2
gentoo-2-663a559f7e42ad02afcb83647aef587446929aa2.zip
Version bump, bug #100143.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/kismet/ChangeLog302
-rw-r--r--net-wireless/kismet/Manifest6
-rw-r--r--net-wireless/kismet/files/digest-kismet-2005.07.12
-rw-r--r--net-wireless/kismet/files/kismet-2005.07.1-conf.d14
-rw-r--r--net-wireless/kismet/files/kismet-2005.07.1-init.d27
-rw-r--r--net-wireless/kismet/kismet-2005.07.1.ebuild86
6 files changed, 141 insertions, 296 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog
index 0cdea52ebdeb..8487ddce6850 100644
--- a/net-wireless/kismet/ChangeLog
+++ b/net-wireless/kismet/ChangeLog
@@ -1,299 +1,11 @@
# ChangeLog for net-wireless/kismet
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.70 2005/07/19 19:30:42 brix Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.71 2005/07/24 21:42:32 brix Exp $
- 19 Jul 2005; <brix@gentoo.org> kismet-2005.06.1.ebuild:
- Stable on x86.
+*kismet-2005.07.1 (24 Jul 2005)
- 17 Jul 2005; Tobias Scherbaum <dertobi123@gentoo.org>
- kismet-2005.04.1-r2.ebuild:
- ppc stable
+ 24 Jul 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/kismet-2005.07.1-conf.d, +files/kismet-2005.07.1-init.d,
+ +kismet-2005.07.1.ebuild:
+ Version bump, bug #100143.
- 14 Jul 2005; <brix@gentoo.org> -kismet-2005.04.1-r1.ebuild,
- kismet-2005.04.1-r2.ebuild, kismet-2005.06.1.ebuild:
- Fixed inverse glib dependencies, bug #98994. Removed old ebuild.
-
- 12 Jul 2005; <brix@gentoo.org> kismet-2005.04.1-r2.ebuild:
- Stable on x86.
-
- 07 Jul 2005; <brix@gentoo.org> kismet-2005.04.1.ebuild,
- kismet-2005.04.1-r1.ebuild, kismet-2005.04.1-r2.ebuild,
- kismet-2005.06.1.ebuild:
- Fixed DEPEND/RDEPEND issue.
-
-*kismet-2005.06.1 (22 Jun 2005)
-
- 22 Jun 2005; <brix@gentoo.org> +files/kismet-2005.06.1-conf.d,
- +files/kismet-2005.06.1-init.d, +kismet-2005.06.1.ebuild:
- Version bump.
-
-*kismet-2005.04.1-r2 (14 Jun 2005)
-
- 14 Jun 2005; <brix@gentoo.org> +kismet-2005.04.1-r2.ebuild:
- Determine which glib version to use for ethereal wiretap based on USE="gtk2",
- fixes bug #94289.
-
-*kismet-2005.04.1-r1 (13 Jun 2005)
-
- 13 Jun 2005; <brix@gentoo.org> files/kismet-2005.04.1-conf.d,
- files/kismet-2005.04.1-init.d, +kismet-2005.04.1-r1.ebuild:
- Fixed bug #94205 (init script fails to stop), bug #94387 (Add curses
- interface support in kismet) and bug #95539 (bad default configuration).
- Also updated the Ethereal version, fixed econf parameters and removed call
- to ifconfig from within the init script.
-
- 09 May 2005; <brix@gentoo.org> -files/kismet-2004.10.1-conf.d,
- -files/kismet-2004.10.1-init.d, -files/kismet-2005.01.1-conf.d,
- -files/kismet-2005.01.1-init.d, -kismet-2004.10.1-r1.ebuild,
- -kismet-2005.01.1.ebuild, kismet-2005.04.1.ebuild:
- Pruned old ebuilds, changed describtion.
-
- 09 May 2005; Lars Weiler <pylon@gentoo.org> kismet-2005.04.1.ebuild:
- Stable on ppc.
-
- 04 May 2005; <brix@gentoo.org> kismet-2005.04.1.ebuild:
- Stable on x86.
-
-*kismet-2005.04.1 (03 Apr 2005)
-
- 03 Apr 2005; <brix@gentoo.org> +files/kismet-2005.04.1-conf.d,
- +files/kismet-2005.04.1-init.d, +kismet-2005.04.1.ebuild:
- Version bump.
-
- 03 Apr 2005; <brix@gentoo.org> metadata.xml, kismet-2005.01.1.ebuild:
- Stable on x86.
-
-*kismet-2005.01.1 (16 Jan 2005)
-
- 16 Jan 2005; Henrik Brix Andersen <brix@gentoo.org>
- +files/kismet-2005.01.1-conf.d, +files/kismet-2005.01.1-init.d,
- +kismet-2005.01.1.ebuild:
- Version bump.
-
- 09 Jan 2005; Sven Wegener <swegener@gentoo.org>
- kismet-2004.10.1-r1.ebuild:
- Added missing parentheses in SRC_URI/*DEPEND/LICENSE.
-
- 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
- Change encoding to UTF-8 for GLEP 31 compliance
-
- 27 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
- kismet-2004.10.1-r1.ebuild:
- Depend on >=net-analyzer/ethereal-${ETHEREAL_VERSION} instead of
- =net-analyzer/ethereal-${ETHEREAL_VERSION} - let's hope this works. Fixes bug
- #73043.
-
- 19 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> -kismet-2.8.1-r1.ebuild:
- Removed last vulnerable version wrt bug #74443.
-
- 18 Dec 2004; Jason Wever <weeve@gentoo.org> kismet-2.8.1-r1.ebuild:
- Masked on sparc wrt security bug #74443 because it's unknown if this
- application even works on SPARC.
-
- 18 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
- -files/kismet_amd64.patch, -files/kismet_gcc34.gz, -files/rc-conf-3,
- -files/rc-script-3, -kismet-2004.04.1.ebuild:
- Prunded old version.
-
- 18 Dec 2004; Michael Hanselmann <hansmi@gentoo.org>
- kismet-2004.10.1-r1.ebuild:
- Stable on ppc.
-
- 18 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
- -kismet-2004.04.1-r1.ebuild, -kismet-2004.10.1.ebuild,
- -kismet-3.0.1-r1.ebuild:
- Pruned old versions.
-
-*kismet-2004.10.1-r1 (16 Dec 2004)
-
- 16 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
- +kismet-2004.10.1-r1.ebuild:
- Bumping ethereal dep.
-
- 14 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> kismet-2004.10.1.ebuild:
- Stable on x86.
-
- 27 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> kismet-2004.10.1.ebuild:
- Updated imagemagick dependency, thanks to Simon Holm Thoegersen <simon at
- lysbro dot net> in bug #69165.
-
- 26 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> kismet-2004.10.1.ebuild:
- Fix building with USE=-ethereal. Thanks to Hans-Werner Hilse <hilse at web dot
- de> in bug #69030.
-
- 26 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> -kismet-2.6.2-r1.ebuild,
- -kismet-2.8.0.ebuild, -kismet-2.8.0a.ebuild, -kismet-2.8.0b-r1.ebuild,
- -kismet-2.8.1.ebuild, -kismet-2004.02.01.ebuild, -kismet-3.0.1.ebuild:
- Removed old versions.
-
- 26 Oct 2004; Henrik Brix Andersen <brix@gentoo.org>
- +files/kismet-2004.10.1-conf.d, +files/kismet-2004.10.1-init.d,
- kismet-2004.10.1.ebuild:
- Updated to reflect new config file location.
-
- 26 Oct 2004; Henrik Brix Andersen <brix@gentoo.org>
- kismet-2004.04.1-r1.ebuild:
- Stable on x86
-
-*kismet-2004.10.1 (26 Oct 2004)
-
- 26 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> files/rc-conf-3,
- files/rc-script-3, +kismet-2004.10.1.ebuild:
- Version bump. Cleaned up the ebuild and removed no-longer needed USE flags.
- Updated dependencies to reflect reality. Fixed typos in init.d/conf.d scripts.
-
-*kismet-2004.04.1-r1 (18 Oct 2004)
-
- 18 Oct 2004; Henrik Brix Andersen <brix@gentoo.org>
- +kismet-2004.04.1-r1.ebuild:
- Added DEPEND on dev-perl/libwww-perl for USE=gps (bug #67204), updated to
- build against ethereal-0.10.5.
-
- 24 Sep 2004; Luca Barbato <lu_zero@gentoo.org> files/kismet_gcc34.gz:
- Updated the gcc-3.4 fixes
-
- 02 Sep 2004; Malcolm Lashley <malc@gentoo.org> +files/kismet_amd64.patch,
- kismet-2004.04.1.ebuild:
- Fix for amd64 from Vasiliy Astapov - tested with prism54
-
- 27 Jul 2004; <solar@gentoo.org> kismet-2004.04.1.ebuild:
- added missing inherit eutils, needed for epatch ; added call to
- gnuconfig_update, needed for uclibc and maybe others
-
- 25 Jun 2004; Hanno Boeck <hanno@gentoo.org> +files/kismet_gcc34.gz,
- kismet-2004.04.1.ebuild:
- Fix for gcc 3.4.
-
- 14 Jun 2004; Aron Griffis <agriffis@gentoo.org> kismet-2.8.0b-r1.ebuild,
- kismet-2.8.1-r1.ebuild, kismet-2.8.1.ebuild, kismet-2004.02.01.ebuild,
- kismet-2004.04.1.ebuild, kismet-3.0.1-r1.ebuild, kismet-3.0.1.ebuild:
- Fix use invocation
-
- 01 May 2004; Bryan Østergaard <kloeri@gentoo.org> kismet-2004.02.01.ebuild,
- kismet-3.0.1-r1.ebuild, kismet-3.0.1.ebuild:
- Fix SRC_URI, bug #49649.
-
- 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> kismet-2.6.2-r1.ebuild:
- Add die following econf for bug 48950
-
-*kismet-2004.04.1 (09 Apr 2004)
-
- 09 Apr 2004; Scott W Taylor <swtaylor@gentoo.org> kismet-2004.04.1.ebuild:
- new version, new version numbering again, big changes to the included gpsmap
-
-*kismet-2004.02.01 (28 Feb 2004)
-
- 28 Feb 2004; Peter Johanson <latexer@gentoo.org> kismet-2004.02.01.ebuild:
- Version bump. After conversation with dragorn, using this naming scheme as
- this will be the scheme used from now on.
-
- 20 Feb 2004; Guy Martin <gmsoft@gentoo.org> kismet-3.0.1-r1.ebuild:
- Marked stable on x86. Close #26143.
-
- 07 Feb 2004; Lars Weiler <pylon@gentoo.org> kismet-3.0.1-r1.ebuild:
- stable on ppc
-
-*kismet-3.0.1-r1 (03 Feb 2004)
-
- 03 Feb 2003; Guy Martin <gmsoft@gentoo.org> kismet-3.0.1-r1.ebuild,
- files/rc-script-3 files/rc-conf-3 :
- Version bump to add/fix rc scripts. Fix #26143.
-
- 18 Dec 2003; Peter Johanson <latexer@gentoo.org> metadata.xml:
- Added metadata.xml so seemant will still love me
-
- 12 Oct 2003; Robin H. Johnson <robbat2@gentoo.org> kismet-3.0.1.ebuild:
- fix autoconf build issue, bug #30160
-
- 14 Sep 2003; David Holm <dholm@gentoo.org> kismet-3.0.1.ebuild:
- Added to ~ppc, tested by Daniel Berlin <dberlin@dberlin.org>.
-
-*kismet-3.0.1 (18 Aug 2003)
-
- 18 Aug 2003; Peter Johanson <latexer@gentoo.org> kismet-3.0.1.ebuild:
- Bump. Will add a revision with initscripts soon, but I wanted this out
- there for testing!
-
- 12 Aug 2003; Peter Johanson <latexer@gentoo.org> kismet-2.8.0b-r1.ebuild,
- kismet-2.8.1-r1.ebuild, kismet-2.8.1.ebuild:
- Fixed the SRC_URI for ethereal
-
- 6 Mar 2003; Peter Johanson <latexer@gentoo.org> *.ebuild :
- Added net-wireless/wireless-tools to RDEPENDS for all ebuilds. bug #16968
-
-*kismet-2.8.1-r1 (1 Mar 2003)
-
- 1 Mar 2003; Peter Johanson <latexer@gentoo> kismet-2.8.1-r1.ebuild :
- Fixed ./configure, as --enable-gps actually DISables the support.
-
- 27 Feb 2003; Peter Johanson <latexer@gentoo.org> kismet-2.8.1.ebuild kismet-2.8.0b-r1.ebuild
- kismet-2.8.0a.ebuild kismet-2.8.0.ebuild kismet-2.6.2-r1.ebuild :
- Marked all kismet ebuilds up to kismet-2.8.1.ebuild as stable on x86.
- Also removed outdated kismet ebuilds.
-
- 11 Feb 2003; Peter Johanson <latexer@gentoo.org> :
- Fixed up some formatting stuff in all the ebuilds . Purely asthetics.
-
-*kismet-2.8.1 (3 Feb 2003)
-
- 15 Feb 2003; Peter Johanson <latexer@gentoo.org> files/digest-kismet-2.8.1 :
- Fixed digest for 2.8.1
-
- 12 Feb 2003; Peter Johanson <latexer@gentoo.org> kismet-2.8.1.ebuild :
- Sed fix and added inits to 2.8.1.ebuild
-
- 3 Feb 2003; Jared Hudson <jhhudso@gentoo.org> : Version bump.
-
-*kismet-2.8.0b-r1 (29 Jan 2003)
-
- 29 Jan 2003; Jared Hudson <jhhudso@gentoo.org> : Added ethereal use flag,
- and made ethereal download/compile optional based on that use flag. Bug #
- 14565
-
-*kismet-2.8.0b (30 Dec 2002)
-
- 30 Dec 2002; Martin Holzer <mholzer@gentoo.org> kismet-2.8.0b.ebuild ChangeLog files/digest-kismet-2.8.0b :
- Version bumped.
-
-*kismet-2.8.0a (29 Dec 2002)
-
- 29 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
- Version bump per #12915.
-
-*kismet-2.8.0 (28 Dec 2002)
-
- 28 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
- Version bump per #12826.
-
-*kismet-2.6.2-r1 (20 Dec 2002)
-
- 23 Dec 2002; Christian Birchinger <joker@gentoo.org> :
- Removed sparc64 keyword.
-
- 20 Dec 2002; Jared Hudson <jhhudso@gentoo.org> : Bug ID #12459. Credit goes
- to Nate Lynch <ntl@swt.edu>. Added dependency on >=net-libs/libpcap-0.7.1-r1.
-
-
- 19 Dev 2002; Dean Bailey <alron@gentoo.org> : removed sparc64 keyword
-
-*kismet-2.6.2 (16 Dec 2002)
-
- 16 Dec 2002; Jared Hudson <jhhudso@gentoo.org> : Bug ids #9349, 10643, 11018.
- ebuild submitted by Alberto Ornaghi <alor@blackhats.it>
-
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
- 31 Oct 2002; Hannes Mehnert <hannes@gentoo.org>:
- moved to net-wireless
-
-*-kismet-2.4.6 (04 Aug 2002)
-
- 09 Sep 2002; Calum Selkirk <cselkirk@gentoo.org> kismet-2.4.6.ebuild :
-
- Moved the DEPEND for glib into USE X?
- Added DEPEND libpcap
- Added ppc to KEYWORDS.
-
- 04 Aug 2002; Ben Lutgens <lamer@gentoo.org> ChangeLog :
-
- New package
diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest
index 41ae2439f8a9..d29724221101 100644
--- a/net-wireless/kismet/Manifest
+++ b/net-wireless/kismet/Manifest
@@ -1,12 +1,16 @@
MD5 b93866ab20af22bf064b7b8cf53b143a kismet-2005.06.1.ebuild 2193
MD5 1fd6934829c71c69f4cd48b41fae5eb2 kismet-2005.04.1-r2.ebuild 2188
+MD5 77b137cef8d5a3b5a71ae33dd24dc0e4 kismet-2005.07.1.ebuild 1964
MD5 adc3585b8fc3f26b0f1c9edcacbdad9b kismet-2005.04.1.ebuild 1845
-MD5 9d97696f3a98c4e6375e698ccf8e983e ChangeLog 10645
+MD5 7e70baf3263e77f9dac6c23d21d07f8c ChangeLog 331
MD5 ffabe8240a5956794f085602c98e8598 metadata.xml 348
MD5 b9db2fb07ec892c2d70eaa84614e4a32 files/digest-kismet-2005.04.1-r2 139
MD5 136578e56b93462a1404e3c9700872e0 files/kismet-2005.06.1-conf.d 567
MD5 75abb48280ca612929c095bb3818e657 files/kismet-2005.06.1-init.d 750
+MD5 4c7f3762c0aa9bd093029fdc17680e9e files/kismet-2005.07.1-conf.d 458
+MD5 7f41d9c37da0c9331527aa020e5cb46a files/kismet-2005.07.1-init.d 641
MD5 1d4ef399dadbbdaefd1dd27172065ff7 files/digest-kismet-2005.04.1 139
MD5 5ec050510008e2bf7c67aa1e1d24a300 files/digest-kismet-2005.06.1 139
+MD5 61e19378bf5ffc1df5bab6f02a637b22 files/digest-kismet-2005.07.1 139
MD5 cf5f0c66c55e2cf0ab7e7e5d6adb4926 files/kismet-2005.04.1-conf.d 567
MD5 9e1fd0520b69bf5d6c72b898a6270c50 files/kismet-2005.04.1-init.d 750
diff --git a/net-wireless/kismet/files/digest-kismet-2005.07.1 b/net-wireless/kismet/files/digest-kismet-2005.07.1
new file mode 100644
index 000000000000..b0129775ffba
--- /dev/null
+++ b/net-wireless/kismet/files/digest-kismet-2005.07.1
@@ -0,0 +1,2 @@
+MD5 2dc9331fd09ad190ff5be5012653bdef kismet-2005-07-R1.tar.gz 983008
+MD5 03aa7fe2cbef9aa0654637cdc60e0458 ethereal-0.10.11.tar.bz2 5964016
diff --git a/net-wireless/kismet/files/kismet-2005.07.1-conf.d b/net-wireless/kismet/files/kismet-2005.07.1-conf.d
new file mode 100644
index 000000000000..19fd7a095fba
--- /dev/null
+++ b/net-wireless/kismet/files/kismet-2005.07.1-conf.d
@@ -0,0 +1,14 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2005.07.1-conf.d,v 1.1 2005/07/24 21:42:32 brix Exp $
+
+# Kismet configuration is done in /etc/kismet.conf
+
+# To use the kismet init script, you must have "logtemplate" set to a location
+# that is writable by the user assigned by "suiduser".
+# e.g.
+# suiduser=foo
+# logtemplate=%h/kismet_log/%n-%d-%i.%l
+
+# Options to pass to kismet_server, see `kismet_server --help`
+KISMET_SERVER_OPTIONS=""
diff --git a/net-wireless/kismet/files/kismet-2005.07.1-init.d b/net-wireless/kismet/files/kismet-2005.07.1-init.d
new file mode 100644
index 000000000000..faecd80c0237
--- /dev/null
+++ b/net-wireless/kismet/files/kismet-2005.07.1-init.d
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2005.07.1-init.d,v 1.1 2005/07/24 21:42:32 brix Exp $
+
+checkconfig() {
+ if [ ! -e /etc/kismet.conf ]; then
+ eerror "Configuration file /etc/kismet.conf not found"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting kismet server"
+ start-stop-daemon --start --quiet --pidfile /var/run/kismet_server.pid \
+ --background --make-pidfile --exec /usr/bin/kismet_server \
+ -- ${KISMET_SERVER_OPTIONS}
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping kismet server"
+ start-stop-daemon --stop --quiet --pidfile /var/run/kismet_server.pid
+ eend ${?}
+}
diff --git a/net-wireless/kismet/kismet-2005.07.1.ebuild b/net-wireless/kismet/kismet-2005.07.1.ebuild
new file mode 100644
index 000000000000..b5ea466dee07
--- /dev/null
+++ b/net-wireless/kismet/kismet-2005.07.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2005.07.1.ebuild,v 1.1 2005/07/24 21:42:32 brix Exp $
+
+inherit linux-info
+
+MY_P=${P/\./-}
+MY_P=${MY_P/./-R}
+S=${WORKDIR}/${MY_P}
+
+ETHEREAL_VERSION="0.10.11"
+
+DESCRIPTION="IEEE 802.11 wireless LAN sniffer"
+HOMEPAGE="http://www.kismetwireless.net"
+SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz
+ ethereal? ( http://www.ethereal.com/distribution/ethereal-${ETHEREAL_VERSION}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="ethereal gps gtk2 ncurses"
+
+RDEPEND="net-wireless/wireless-tools
+ ncurses? ( sys-libs/ncurses )
+ ethereal? ( >=net-analyzer/ethereal-${ETHEREAL_VERSION}
+ sys-libs/zlib
+ gtk2? ( >=dev-libs/glib-2.0.4 )
+ !gtk2? ( =dev-libs/glib-1.2* ) )
+ gps? ( app-misc/gpsdrive
+ >=dev-libs/expat-1.95.4
+ dev-libs/gmp
+ >=media-gfx/imagemagick-6.0
+ dev-perl/libwww-perl )"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.58
+ sys-apps/sed"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
+ ${S}/conf/kismet.conf.in
+}
+
+src_compile() {
+ # the configure script only honors '--disable-foo'
+ local config=""
+
+ if ! use ncurses; then
+ config="${config} --disable-curses --disable-panel"
+ fi
+
+ if ! use gps; then
+ config="${config} --disable-gpsmap"
+ fi
+
+ if use ethereal; then
+ cd ${WORKDIR}/ethereal-${ETHEREAL_VERSION}/wiretap
+
+ econf \
+ $(use_enable gtk2) \
+ --disable-usr-local \
+ || die "wiretap econf failed"
+ emake || die "wiretap emake failed"
+
+ config="${config} --with-ethereal=${WORKDIR}/ethereal-${ETHEREAL_VERSION}"
+ cd ${S}
+ fi
+
+ econf \
+ ${config} \
+ --with-linuxheaders=${KV_DIR}/include \
+ || die "econf failed"
+
+ emake dep || die "emake dep failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR=${D} install || die "emake install failed"
+
+ dodoc CHANGELOG README TODO docs/*
+
+ newinitd ${FILESDIR}/${P}-init.d kismet
+ newconfd ${FILESDIR}/${P}-conf.d kismet
+}