diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2002-12-16 19:32:11 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2002-12-16 19:32:11 +0000 |
commit | 0135a7a95b474e56de8a7d064191aa1e4b38f7ee (patch) | |
tree | 035a3fecd26f127b4a2aefc335132255488847dc /net-wireless/kismet | |
parent | Update mozilla-1.2.1-Xrender-includes.patch.bz2 to truely fix #12223. (diff) | |
download | historical-0135a7a95b474e56de8a7d064191aa1e4b38f7ee.tar.gz historical-0135a7a95b474e56de8a7d064191aa1e4b38f7ee.tar.bz2 historical-0135a7a95b474e56de8a7d064191aa1e4b38f7ee.zip |
revision bump & fix in response to bug id #9349, 10643, 11018
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2.6.2 | 2 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2.6.2.ebuild | 59 |
3 files changed, 68 insertions, 1 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index b44dd3f50169..4bb51acd1e4c 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for net-analyzerkismetChangeLog/ # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.3 2002/12/13 11:00:24 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.4 2002/12/16 19:32:11 jhhudso Exp $ +*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>: diff --git a/net-wireless/kismet/files/digest-kismet-2.6.2 b/net-wireless/kismet/files/digest-kismet-2.6.2 new file mode 100644 index 000000000000..85fb4584ceef --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2.6.2 @@ -0,0 +1,2 @@ +MD5 53ad75990da509714b1cedcd635dd151 kismet-2.6.2.tar.gz 589957 +MD5 c5094063c332505dd65276cf05e12c85 ethereal-0.9.7.tar.gz 4153241 diff --git a/net-wireless/kismet/kismet-2.6.2.ebuild b/net-wireless/kismet/kismet-2.6.2.ebuild new file mode 100644 index 000000000000..deeed48359c9 --- /dev/null +++ b/net-wireless/kismet/kismet-2.6.2.ebuild @@ -0,0 +1,59 @@ +# 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 + http://www.ethereal.com/distribution/ethereal-0.9.7.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~sparc64 ~ppc" +IUSE="acpi ipv6 gps" +DEPEND="gps? ( >=dev-libs/expat-1.95.4 media-gfx/imagemagick )" +S="${WORKDIR}/${P}" + +src_compile() { + local myconf + + myconf="--with-ethereal=${WORKDIR}/ethereal-0.9.7" + use acpi && myconf="${myconf} --enable-acpi" + use ipv6 && myconf="${myconf} --enable-ipv6" + use gps || myconf="${myconf} --disable-gps" + + cd ${WORKDIR}/ethereal-0.9.7 + econf + + 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 + dodoc CHANGELOG FAQ README docs/* +} |