diff options
author | Peter Johanson <latexer@gentoo.org> | 2003-03-01 22:39:48 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2003-03-01 22:39:48 +0000 |
commit | eb9dac5f36f9f9f188a3ace40d1a5a5f34cab3b6 (patch) | |
tree | 220d20e5051918c2228ced0813a14d50c26bff35 /net-wireless | |
parent | emake (diff) | |
download | gentoo-2-eb9dac5f36f9f9f188a3ace40d1a5a5f34cab3b6.tar.gz gentoo-2-eb9dac5f36f9f9f188a3ace40d1a5a5f34cab3b6.tar.bz2 gentoo-2-eb9dac5f36f9f9f188a3ace40d1a5a5f34cab3b6.zip |
bump to fix gps enabling
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2.8.1-r1 | 3 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2.8.1-r1.ebuild | 74 |
3 files changed, 83 insertions, 1 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index e582f9ff7666..002bbc49d963 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/kismet # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.18 2003/02/27 19:47:54 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.19 2003/03/01 22:39:48 latexer Exp $ + +*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 : diff --git a/net-wireless/kismet/files/digest-kismet-2.8.1-r1 b/net-wireless/kismet/files/digest-kismet-2.8.1-r1 new file mode 100644 index 000000000000..943562dbf31f --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2.8.1-r1 @@ -0,0 +1,3 @@ +MD5 7839368a4e5feee7d41b6582b3b8c3ab kismet-2.8.1.tar.gz 678267 +MD5 2a8a06164005c7c82b3b5307a752871f kismet-inits-2.8.1.tar.gz 1066 +MD5 bdb9bd209c8c5df438abe761bd243109 ethereal-0.9.8.tar.bz2 3403389 diff --git a/net-wireless/kismet/kismet-2.8.1-r1.ebuild b/net-wireless/kismet/kismet-2.8.1-r1.ebuild new file mode 100644 index 000000000000..68d75747c29f --- /dev/null +++ b/net-wireless/kismet/kismet-2.8.1-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2.8.1-r1.ebuild,v 1.1 2003/03/01 22:39:48 latexer Exp $ + +DESCRIPTION="Kismet is a 802.11b wireless network sniffer." +HOMEPAGE="http://www.kismetwireless.net/" +SRC_URI="http://www.kismetwireless.net/code/${P}.tar.gz + kismet-inits-${PV}.tar.gz + ethereal? (http://www.ethereal.com/distribution/ethereal-0.9.8.tar.bz2)" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~sparc ~ppc" +IUSE="acpi ipv6 gps ethereal" + +DEPEND="gps? ( >=dev-libs/expat-1.95.4 media-gfx/imagemagick )" + +src_compile() { + local myconf + + # To have kismet build acpi support, you need to be running a kernel + # with acpi enabled at the time of compiling + + myconf="`use_enable ipv6` + `use_enable acpi`" + use gps || myconf="${myconf} --disable-gps" + + if [ -n "`use ethereal`" ]; then + myconf="${myconf} --with-ethereal=${WORKDIR}/ethereal-0.9.8" + + cd ${WORKDIR}/ethereal-0.9.8/wiretap + econf || die + emake || die + fi + + cd ${S} + ./configure \ + --prefix=/usr \ + --host=${CHOST} \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --datadir=/usr/share \ + --sysconfdir=/etc/kismet \ + --localstatedir=/var/lib \ + ${myconf} || die "./configure failed" + + cd ${S}/conf + cp -f kismet.conf kismet.conf.orig + cp -f kismet_ui.conf kismet_ui.conf.orig + sed -e "s:/usr/local:/usr:g; \ + s:=ap_manuf:=/etc/kismet/ap_manuf:g; \ + s:=client_manuf:=/etc/kismet/client_manuf:g" \ + kismet.conf.orig > kismet.conf + sed -e "s:/usr/local:/usr:g" kismet_ui.conf.orig > kismet_ui.conf + rm -f kismet.conf.orig kismet_ui.conf.orig + + cd ${S} + make dep || die "make dep for kismet failed" + emake || die "compile of kismet failed" +} + +src_install () { + dodir /etc/kismet + dodir /usr/bin + make prefix=${D}/usr \ + ETC=${D}/etc/kismet MAN=${D}/usr/share/man \ + SHARE=${D}/usr/share/${PN} install || die + dodoc CHANGELOG FAQ README docs/* + + exeinto /etc/init.d + newexe ${WORKDIR}/kismet.initd kismet + insinto /etc/conf.d + newins ${WORKDIR}/kismet.confd kismet +} |