summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2003-08-19 01:51:02 +0000
committerPeter Johanson <latexer@gentoo.org>2003-08-19 01:51:02 +0000
commit4818ac904401e3086099ab38d62f92ba825826fe (patch)
tree90b4083cad4dda83c5cadf0ce6d4a19bd550d717 /net-wireless/kismet
parentBump. (diff)
downloadhistorical-4818ac904401e3086099ab38d62f92ba825826fe.tar.gz
historical-4818ac904401e3086099ab38d62f92ba825826fe.tar.bz2
historical-4818ac904401e3086099ab38d62f92ba825826fe.zip
Bump.
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r--net-wireless/kismet/Manifest4
-rw-r--r--net-wireless/kismet/files/digest-kismet-3.0.12
-rw-r--r--net-wireless/kismet/kismet-3.0.1.ebuild75
3 files changed, 79 insertions, 2 deletions
diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest
index 2438c7399f22..b385f50ee86b 100644
--- a/net-wireless/kismet/Manifest
+++ b/net-wireless/kismet/Manifest
@@ -1,11 +1,11 @@
MD5 ac9683419ab9a1f1a7f96d34e96a06b2 kismet-2.6.2-r1.ebuild 1942
MD5 cb33d0c508991e4aee2d69756e34fb35 kismet-2.8.1.ebuild 2067
MD5 d0c468663c09e069a570d80b5cd92643 kismet-2.8.0b-r1.ebuild 2070
-MD5 d0b32f68b9299a3c0163b05359b11768 kismet-3.0.1.ebuild 2255
+MD5 6e16562d34f5e3ea28b1cb53841db33a kismet-3.0.1.ebuild 2241
MD5 b4b8ebd5d8359dc2cdc3193939e9ff63 kismet-2.8.0a.ebuild 1858
MD5 e71a5728473b2e590d590d0523c3b026 kismet-2.8.1-r1.ebuild 2214
MD5 34dbc7df2620e0a97f5c870621c6b76f kismet-2.8.0.ebuild 1856
-MD5 a857fc090a4e328de21d6830f74a459e ChangeLog 2928
+MD5 abf55a5735fc6f9d00a6cba8cd3d86b7 ChangeLog 3124
MD5 ac454f5a5ad0a364c677157a511e534d files/digest-kismet-2.8.0a 133
MD5 a73efbda3289e9413549c220b046ef23 files/digest-kismet-2.8.0 131
MD5 51ee9832a194be859c3e76f998c75f2d files/digest-kismet-2.8.1 200
diff --git a/net-wireless/kismet/files/digest-kismet-3.0.1 b/net-wireless/kismet/files/digest-kismet-3.0.1
new file mode 100644
index 000000000000..4395e1530a41
--- /dev/null
+++ b/net-wireless/kismet/files/digest-kismet-3.0.1
@@ -0,0 +1,2 @@
+MD5 7ba34081eb93d7ca27377593ba40524b kismet-3.0.1.tar.gz 692537
+MD5 a533a13d175be1f8c2be188ac8f4c7ea ethereal-0.9.13.tar.bz2 3760571
diff --git a/net-wireless/kismet/kismet-3.0.1.ebuild b/net-wireless/kismet/kismet-3.0.1.ebuild
new file mode 100644
index 000000000000..fb83e4251e98
--- /dev/null
+++ b/net-wireless/kismet/kismet-3.0.1.ebuild
@@ -0,0 +1,75 @@
+# 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-3.0.1.ebuild,v 1.1 2003/08/19 01:50:37 latexer Exp $
+
+ETHEREAL_VERSION="0.9.13"
+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-${ETHEREAL_VERSION}.tar.bz2)"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="acpi gps ethereal"
+
+DEPEND="gps? ( >=dev-libs/expat-1.95.4 media-gfx/imagemagick )
+ =sys-devel/autoconf-2.57*"
+RDEPEND="net-wireless/wireless-tools"
+
+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 acpi`"
+ use gps || myconf="${myconf} --disable-gps"
+
+ if [ -n "`use ethereal`" ]; then
+ myconf="${myconf} --with-ethereal=${WORKDIR}/ethereal-${ETHEREAL_VERSION}"
+
+ cd ${WORKDIR}/ethereal-${ETHEREAL_VERSION}/wiretap
+ econf || die
+ emake || die
+ fi
+
+ einfo "Running autoconf-2.57 to fix libpcap borkage"
+ cd ${S}/libpcap-0.7.2
+ autoconf-2.57 || die "Failed to run autoconf-2.57"
+
+ 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/*
+
+}