diff options
author | Hannes Mehnert <hannes@gentoo.org> | 2002-10-31 22:11:30 +0000 |
---|---|---|
committer | Hannes Mehnert <hannes@gentoo.org> | 2002-10-31 22:11:30 +0000 |
commit | 82d8943c49a99cbed0df58b9dc88228507e4cadc (patch) | |
tree | 979261f6cfff18af93f7a2c53e1ac23a386d790a /net-wireless/kismet | |
parent | Forgot ~ (diff) | |
download | historical-82d8943c49a99cbed0df58b9dc88228507e4cadc.tar.gz historical-82d8943c49a99cbed0df58b9dc88228507e4cadc.tar.bz2 historical-82d8943c49a99cbed0df58b9dc88228507e4cadc.zip |
move to net-wireless
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 18 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2.4.6 | 2 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2.4.6.ebuild | 74 |
3 files changed, 94 insertions, 0 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog new file mode 100644 index 000000000000..b5fa178f479f --- /dev/null +++ b/net-wireless/kismet/ChangeLog @@ -0,0 +1,18 @@ +# ChangeLog for net-analyzerkismetChangeLog/ +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.1 2002/10/31 22:11:30 hannes Exp $ + + 31 Oct 2002; Hannes Mehnert <hannes@gentoo.org>: + moved to net-wireless + +*-kismet-2.4.6 (04 Aug 2002) + + 09 Sep 2002; Calum Selkirk <cselkirk@gentoo.org> kismet-2.4.6.ebuild : + + Moved the DEPEND for glib into USE X? + Added DEPEND libpcap + Added ppc to KEYWORDS. + + 04 Aug 2002; Ben Lutgens <lamer@gentoo.org> ChangeLog : + + New package diff --git a/net-wireless/kismet/files/digest-kismet-2.4.6 b/net-wireless/kismet/files/digest-kismet-2.4.6 new file mode 100644 index 000000000000..78041a634ce3 --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2.4.6 @@ -0,0 +1,2 @@ +MD5 74c1d1205806ca3878eb3dd0d1864c41 kismet-2.4.6.tar.gz 487503 +MD5 a7a02706c0f22e56a45bd8999dbb35e3 ethereal-0.9.5.tar.gz 3384282 diff --git a/net-wireless/kismet/kismet-2.4.6.ebuild b/net-wireless/kismet/kismet-2.4.6.ebuild new file mode 100644 index 000000000000..2685363086d3 --- /dev/null +++ b/net-wireless/kismet/kismet-2.4.6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2.4.6.ebuild,v 1.1 2002/10/31 22:11:30 hannes Exp $ + +IUSE="X snmp ssl" + + +S="${WORKDIR}/${P}" +DESCRIPTION="Kismet is a 802.11b wireless network sniffer." +SRC_URI="http://www.kismetwireless.net/code/${P}.tar.gz + http://www.ethereal.com/distribution/ethereal-0.9.5.tar.gz" +HOMEPAGE="http://www.kismetwireless.net/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 sparc sparc64 ppc" + +DEPEND=">=dev-libs/expat-1.95.4 + >=sys-libs/ncurses-5.2 + >=net-libs/libpcap-0.7.1 + snmp? ( >=net-analyzer/ucd-snmp-4.2.5 ) + X? ( virtual/x11 =x11-libs/gtk+-1.2* >=dev-libs/glib-2.0 ) + ssl? ( >=dev-libs/openssl-0.9.6b )" + +src_unpack() { + unpack ${A} + cd ${WORKDIR}/ethereal-0.9.5 + #This is a new hack for gcc-3.1 compatibility + einfo "Hax0ring ethereal's configure" + sed -e "1961,1962d;3358,3359d;3382,3383d" configure \ + >configure.hacked + mv configure.hacked configure + chmod +x configure +} +src_compile() { + cd ${WORKDIR}/ethereal-0.9.5 + einfo "Need to first configure and compile ethereal" + # need to compile ethereal as it is installed + local myconf + use X || myconf="${myconf} --disable-ethereal" + use ssl || myconf="${myconf} --without-ssl" + use snmp || myconf="${myconf} --without-ucdsnmp" + + ./configure \ + --prefix=/usr --enable-pcap \ + --enable-zlib --enable-ipv6 \ + --enable-tethereal --enable-editcap \ + --enable-mergecap --enable-text2cap \ + --enable-idl2eth --enable-dftest \ + --enable-randpkt --mandir=/usr/share/man \ + --sysconfdir=/etc/ethereal \ + --with-plugindir=/usr/lib/ethereal/plugins/${PV} \ + --host=${CHOST} ${myconf} || die "bad ./configure for ethereal source" + emake || die "compile problem for ethereal source" + + cd ${S} # return to kismet compile + einfo "Returning to kismet compile" + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --with-ethereal=${WORKDIR}/ethereal-0.9.5 \ + --mandir=/usr/share/man || die "./configure failed" + make dep || die "make dep for kismet barfed" + emake || die "compile of kismet failed" +} + +src_install () { + dodir /etc + dodir /usr/bin + make prefix=${D}/usr \ + ETC=${D}/etc MAN=${D}/usr/share/man \ + SHARE=${D}/usr/share/${PN} install + dodoc CHANGELOG FAQ README +} |