diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2003-02-03 18:16:18 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2003-02-03 18:16:18 +0000 |
commit | 2a3b4bebea2d8f4390887f63e08662004bfa5c24 (patch) | |
tree | 8c917e5af76cde0e0a8c42fd86c9fb33fd100ed9 /net-wireless | |
parent | possible bug. yanking in case. (diff) | |
download | gentoo-2-2a3b4bebea2d8f4390887f63e08662004bfa5c24.tar.gz gentoo-2-2a3b4bebea2d8f4390887f63e08662004bfa5c24.tar.bz2 gentoo-2-2a3b4bebea2d8f4390887f63e08662004bfa5c24.zip |
Version bump.
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2.8.1 | 1 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2.8.1.ebuild | 64 |
3 files changed, 72 insertions, 3 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index a5da0c3c5078..a2739e267baf 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,10 +1,14 @@ # 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.12 2003/01/29 09:00:08 jhhudso Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.13 2003/02/03 18:16:18 jhhudso Exp $ -*kismet-2.8.0b-r1 (29 Jan 2002) +*kismet-2.8.1 (3 Feb 2003) - 29 Jan 2002; Jared Hudson <jhhudso@gentoo.org> : Added ethereal use flag, + 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 diff --git a/net-wireless/kismet/files/digest-kismet-2.8.1 b/net-wireless/kismet/files/digest-kismet-2.8.1 new file mode 100644 index 000000000000..84f523ce11dc --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2.8.1 @@ -0,0 +1 @@ +MD5 7839368a4e5feee7d41b6582b3b8c3ab kismet-2.8.1.tar.gz 678267 diff --git a/net-wireless/kismet/kismet-2.8.1.ebuild b/net-wireless/kismet/kismet-2.8.1.ebuild new file mode 100644 index 000000000000..98bb64e2f397 --- /dev/null +++ b/net-wireless/kismet/kismet-2.8.1.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/* +} |