summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared H.Hudson <jhhudso@gentoo.org>2002-12-20 21:07:26 +0000
committerJared H.Hudson <jhhudso@gentoo.org>2002-12-20 21:07:26 +0000
commit715efefde50adccce319bc8effe7a319c750fb86 (patch)
treeb6d6ae94983d20ba348122601a512b8b7d6e9d75 /net-wireless
parentAdded mips to keywords (diff)
downloadhistorical-715efefde50adccce319bc8effe7a319c750fb86.tar.gz
historical-715efefde50adccce319bc8effe7a319c750fb86.tar.bz2
historical-715efefde50adccce319bc8effe7a319c750fb86.zip
Fixed Bug ID #12459.
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/kismet/ChangeLog8
-rw-r--r--net-wireless/kismet/files/digest-kismet-2.6.2-r12
-rw-r--r--net-wireless/kismet/kismet-2.6.2-r1.ebuild60
3 files changed, 69 insertions, 1 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog
index ad1673e0e81f..ab792d732b11 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.6 2002/12/20 03:54:38 alron Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.7 2002/12/20 21:07:26 jhhudso Exp $
+*kismet-2.6.2-r1 (20 Dec 2002)
+
+ 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)
diff --git a/net-wireless/kismet/files/digest-kismet-2.6.2-r1 b/net-wireless/kismet/files/digest-kismet-2.6.2-r1
new file mode 100644
index 000000000000..85fb4584ceef
--- /dev/null
+++ b/net-wireless/kismet/files/digest-kismet-2.6.2-r1
@@ -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-r1.ebuild b/net-wireless/kismet/kismet-2.6.2-r1.ebuild
new file mode 100644
index 000000000000..64934b43b3e3
--- /dev/null
+++ b/net-wireless/kismet/kismet-2.6.2-r1.ebuild
@@ -0,0 +1,60 @@
+# 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 )
+ >=net-libs/libpcap-0.7.1-r1"
+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/*
+}