From 1778550d751730927d9585e43d508dc9555977f6 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Mon, 18 Oct 2004 14:56:51 +0000 Subject: Added DEPEND on dev-perl/libwww-perl for USE=gps (bug #67204), updated to build against ethereal-0.10.5. --- net-wireless/kismet/ChangeLog | 9 ++- net-wireless/kismet/Manifest | 38 ++++----- .../kismet/files/digest-kismet-2004.04.1-r1 | 2 + net-wireless/kismet/kismet-2004.04.1-r1.ebuild | 89 ++++++++++++++++++++++ 4 files changed, 119 insertions(+), 19 deletions(-) create mode 100644 net-wireless/kismet/files/digest-kismet-2004.04.1-r1 create mode 100644 net-wireless/kismet/kismet-2004.04.1-r1.ebuild (limited to 'net-wireless/kismet') diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index c893902877a2..07dcf3cdb7e8 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/kismet # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.38 2004/09/24 17:20:40 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.39 2004/10/18 14:56:51 brix Exp $ + +*kismet-2004.04.1-r1 (18 Oct 2004) + + 18 Oct 2004; Henrik Brix Andersen + +kismet-2004.04.1-r1.ebuild: + Added DEPEND on dev-perl/libwww-perl for USE=gps (bug #67204), updated to + build against ethereal-0.10.5. 24 Sep 2004; Luca Barbato files/kismet_gcc34.gz: Updated the gcc-3.4 fixes diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index f16f1d9a41fe..4e1dba06533d 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -1,26 +1,28 @@ +MD5 21e7369e6da736ef68ce288791ef46c0 kismet-2.6.2-r1.ebuild 1884 +MD5 033ac2286dfb086fc46810eaa6946b51 kismet-2004.04.1-r1.ebuild 2450 +MD5 87617e9aad3041909e1151fb6fcdf9cb kismet-2.8.1.ebuild 1977 +MD5 1ebdb6d82948a242cffd87a8822ed012 kismet-2004.02.01.ebuild 2205 +MD5 e5bcc0048c76e9118b91ab2bcaa72f4f kismet-2.8.0b-r1.ebuild 1981 +MD5 55a9df5376df8d2ecbec3602552c550e kismet-3.0.1.ebuild 2173 MD5 04e0debcef2c8a2696717cd35ac9822d kismet-2004.04.1.ebuild 2430 +MD5 420236c784145e4cdea28efb45f5155a kismet-2.8.0a.ebuild 1779 +MD5 051f6a5bc088b872cb3960c1380b5b16 kismet-2.8.1-r1.ebuild 2123 MD5 ec0e6b5e444bfae7cb0ed2591667bbbb kismet-2.8.0.ebuild 1777 -MD5 5ad7d61d27573462336691dd6cc930ee ChangeLog 5357 -MD5 55a9df5376df8d2ecbec3602552c550e kismet-3.0.1.ebuild 2173 +MD5 b3ffb381cc3e13c90105a61966fbaf07 ChangeLog 5585 MD5 32831d719499c83f7942f6432ef58278 metadata.xml 252 -MD5 1ebdb6d82948a242cffd87a8822ed012 kismet-2004.02.01.ebuild 2205 MD5 6701c84a371ed9c02a0832f5e7ae0ff1 kismet-3.0.1-r1.ebuild 2292 -MD5 87617e9aad3041909e1151fb6fcdf9cb kismet-2.8.1.ebuild 1977 -MD5 e5bcc0048c76e9118b91ab2bcaa72f4f kismet-2.8.0b-r1.ebuild 1981 -MD5 051f6a5bc088b872cb3960c1380b5b16 kismet-2.8.1-r1.ebuild 2123 -MD5 21e7369e6da736ef68ce288791ef46c0 kismet-2.6.2-r1.ebuild 1884 -MD5 420236c784145e4cdea28efb45f5155a kismet-2.8.0a.ebuild 1779 -MD5 7571e627220475fa712fd8a43970db6c files/digest-kismet-3.0.1 64 -MD5 6c6ba4e2b2af51630273719aa775a393 files/kismet_gcc34.gz 607 -MD5 6c76e2449a2259febd33acaeff2366a3 files/digest-kismet-3.0.1-r1 133 -MD5 51ee9832a194be859c3e76f998c75f2d files/digest-kismet-2.8.1-r1 200 -MD5 51ee9832a194be859c3e76f998c75f2d files/digest-kismet-2.8.1 200 -MD5 8dfc64a8a4100cc38d8f00a3475bba9a files/digest-kismet-2.6.2-r1 131 -MD5 c63dd4e1f9460ee0e5f5a2d0d884a6ea files/kismet_amd64.patch 6545 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 +MD5 7571e627220475fa712fd8a43970db6c files/digest-kismet-3.0.1 64 MD5 58a8e5159f8d082deb63d27ad60b8d25 files/rc-conf-3 809 -MD5 752e77b324cb8708cb1c39301b1a552f files/digest-kismet-2004.04.1 138 +MD5 8dfc64a8a4100cc38d8f00a3475bba9a files/digest-kismet-2.6.2-r1 131 +MD5 51ee9832a194be859c3e76f998c75f2d files/digest-kismet-2.8.1-r1 200 MD5 63dd3cb4247737ee77391240518ec850 files/digest-kismet-2.8.0b-r1 202 -MD5 5d50e3232c94daf63372a5a74d8b39dc files/digest-kismet-2004.02.01 68 MD5 4f429a351ffe6567eb2a8bd1dfedbce1 files/rc-script-3 1137 -MD5 a73efbda3289e9413549c220b046ef23 files/digest-kismet-2.8.0 131 +MD5 a2a209af1409814bed3299f119d163a8 files/digest-kismet-2004.04.1-r1 138 +MD5 752e77b324cb8708cb1c39301b1a552f files/digest-kismet-2004.04.1 138 +MD5 c63dd4e1f9460ee0e5f5a2d0d884a6ea files/kismet_amd64.patch 6545 +MD5 6c6ba4e2b2af51630273719aa775a393 files/kismet_gcc34.gz 607 +MD5 6c76e2449a2259febd33acaeff2366a3 files/digest-kismet-3.0.1-r1 133 +MD5 5d50e3232c94daf63372a5a74d8b39dc files/digest-kismet-2004.02.01 68 diff --git a/net-wireless/kismet/files/digest-kismet-2004.04.1-r1 b/net-wireless/kismet/files/digest-kismet-2004.04.1-r1 new file mode 100644 index 000000000000..9215aff35183 --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2004.04.1-r1 @@ -0,0 +1,2 @@ +MD5 bd9fad469b3d9ca35c51734e58e406d0 kismet-2004-04-R1.tar.gz 757689 +MD5 26d5672935ac8bd0793fcd2ad0b4833f ethereal-0.10.5.tar.bz2 4984584 diff --git a/net-wireless/kismet/kismet-2004.04.1-r1.ebuild b/net-wireless/kismet/kismet-2004.04.1-r1.ebuild new file mode 100644 index 000000000000..591793649f59 --- /dev/null +++ b/net-wireless/kismet/kismet-2004.04.1-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2004.04.1-r1.ebuild,v 1.1 2004/10/18 14:56:51 brix Exp $ + +inherit gnuconfig eutils + +MY_P=${P/\./-} +MY_P=${MY_P/./-R} +ETHEREAL_VERSION="0.10.5" +DESCRIPTION="Kismet is a 802.11b wireless network sniffer." +HOMEPAGE="http://www.kismetwireless.net/" +SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz + ethereal? (http://www.ethereal.com/distribution/ethereal-${ETHEREAL_VERSION}.tar.bz2)" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="acpi gps ethereal" + +DEPEND="gps? ( >=dev-libs/expat-1.95.4 dev-libs/gmp media-gfx/imagemagick dev-perl/libwww-perl) + >=sys-devel/autoconf-2.58" +RDEPEND="net-wireless/wireless-tools" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/kismet_gcc34.gz + epatch ${FILESDIR}/kismet_amd64.patch + gnuconfig_update ${S} +} + +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 use ethereal; then + myconf="${myconf} --with-ethereal=${WORKDIR}/ethereal-${ETHEREAL_VERSION}" + + cd ${WORKDIR}/ethereal-${ETHEREAL_VERSION}/wiretap + econf || die + emake || die + fi + + 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 + use gps && cp ${S}/scripts/gpsmap* ${D}/usr/bin/ + dodoc CHANGELOG FAQ README docs/* + + exeinto /etc/init.d + newexe ${FILESDIR}/rc-script-3 kismet + insinto /etc/conf.d + newins ${FILESDIR}/rc-conf-3 kismet +} -- cgit v1.2.3-65-gdbad