diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2003-01-29 09:00:08 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2003-01-29 09:00:08 +0000 |
commit | 53ee243d9733bc43b7928e5ce5069851f93dd0f7 (patch) | |
tree | c50b4ac6e91b5998da92afbbf3e296c64213fbcb /net-wireless | |
parent | prune old entries (diff) | |
download | historical-53ee243d9733bc43b7928e5ce5069851f93dd0f7.tar.gz historical-53ee243d9733bc43b7928e5ce5069851f93dd0f7.tar.bz2 historical-53ee243d9733bc43b7928e5ce5069851f93dd0f7.zip |
Added ethereal use flag in response to bug #14565
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2.8.0b-r1 | 2 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2.8.0b-r1.ebuild | 64 |
3 files changed, 73 insertions, 1 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index 78bd801d5a60..a5da0c3c5078 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for net-wireless/kismet # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.11 2002/12/30 10:22:57 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.12 2003/01/29 09:00:08 jhhudso Exp $ +*kismet-2.8.0b-r1 (29 Jan 2002) + + 29 Jan 2002; 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 : diff --git a/net-wireless/kismet/files/digest-kismet-2.8.0b-r1 b/net-wireless/kismet/files/digest-kismet-2.8.0b-r1 new file mode 100644 index 000000000000..c18436d123ad --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2.8.0b-r1 @@ -0,0 +1,2 @@ +MD5 860689485be84f872b1700d6742a04f4 kismet-2.8.0b.tar.gz 656222 +MD5 bdb9bd209c8c5df438abe761bd243109 ethereal-0.9.8.tar.bz2 3403389 diff --git a/net-wireless/kismet/kismet-2.8.0b-r1.ebuild b/net-wireless/kismet/kismet-2.8.0b-r1.ebuild new file mode 100644 index 000000000000..98bb64e2f397 --- /dev/null +++ b/net-wireless/kismet/kismet-2.8.0b-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Kismet is a 802.11b wireless network sniffer." +HOMEPAGE="http://www.kismetwireless.net/" +SRC_URI="http://www.kismetwireless.net/code/${P}.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 + + myconf="`use_enable acpi` + `use_enable ipv6` + `use_enable 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/* +} |