diff options
-rw-r--r-- | net-wireless/kismet/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2.8.0 | 2 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2.8.0.ebuild | 61 |
3 files changed, 69 insertions, 1 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index 0a3da44d7c81..7229a4751b64 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,6 +1,11 @@ # 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.8 2002/12/23 02:35:00 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.9 2002/12/29 01:56:42 vapier Exp $ + +*kismet-2.8.0 (28 Dec 2002) + + 28 Dec 2002; Mike Frysinger <vapier@gentoo.org> : + Version bump per #12826. *kismet-2.6.2-r1 (20 Dec 2002) diff --git a/net-wireless/kismet/files/digest-kismet-2.8.0 b/net-wireless/kismet/files/digest-kismet-2.8.0 new file mode 100644 index 000000000000..67307545fc44 --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2.8.0 @@ -0,0 +1,2 @@ +MD5 93ed933e2370183e3a23280b96256362 kismet-2.8.0.tar.gz 662983 +MD5 c5094063c332505dd65276cf05e12c85 ethereal-0.9.7.tar.gz 4153241 diff --git a/net-wireless/kismet/kismet-2.8.0.ebuild b/net-wireless/kismet/kismet-2.8.0.ebuild new file mode 100644 index 000000000000..61138a89e281 --- /dev/null +++ b/net-wireless/kismet/kismet-2.8.0.ebuild @@ -0,0 +1,61 @@ +# 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 ~ppc" +IUSE="acpi ipv6 gps" + +DEPEND="gps? ( >=dev-libs/expat-1.95.4 media-gfx/imagemagick ) + >=net-libs/libpcap-0.7.1-r1" + +src_compile() { + local myconf + + myconf="--with-ethereal=${WORKDIR}/ethereal-0.9.7 + `use_enable acpi` + `use_enable ipv6` + `use_enable gps`" + + cd ${WORKDIR}/ethereal-0.9.7 + econf || die + + 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/* +} |