diff options
-rw-r--r-- | net-wireless/kismet/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/kismet/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2004.10.1-r1 | 2 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2004.10.1-r1.ebuild | 91 |
4 files changed, 102 insertions, 1 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index fad30839852c..6357498692ad 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,6 +1,12 @@ # 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.46 2004/12/14 16:11:02 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.47 2004/12/16 18:30:08 brix Exp $ + +*kismet-2004.10.1-r1 (16 Dec 2004) + + 16 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> + +kismet-2004.10.1-r1.ebuild: + Bumping ethereal dep. 14 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> kismet-2004.10.1.ebuild: Stable on x86. diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index a284d49202e9..4fd837a9468d 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -2,6 +2,7 @@ MD5 100be3f22acd516390a5b71e3121caf7 kismet-2004.04.1-r1.ebuild 2450 MD5 0ba21061d08170f8837403d4b4939fe3 kismet-2004.10.1.ebuild 2257 MD5 04e0debcef2c8a2696717cd35ac9822d kismet-2004.04.1.ebuild 2430 MD5 051f6a5bc088b872cb3960c1380b5b16 kismet-2.8.1-r1.ebuild 2123 +MD5 ae2ca475cf9ac3349465c75a932efab5 kismet-2004.10.1-r1.ebuild 2154 MD5 e18ca69a2201779c888d348315ae1611 ChangeLog 6910 MD5 32831d719499c83f7942f6432ef58278 metadata.xml 252 MD5 6701c84a371ed9c02a0832f5e7ae0ff1 kismet-3.0.1-r1.ebuild 2292 @@ -13,6 +14,7 @@ MD5 d823fe5de2466ad5a6acf8e3337eae31 files/rc-script-3 1133 MD5 a2a209af1409814bed3299f119d163a8 files/digest-kismet-2004.04.1-r1 138 MD5 752e77b324cb8708cb1c39301b1a552f files/digest-kismet-2004.04.1 138 MD5 284f64e13016d089f3c844a367a8e0ca files/digest-kismet-2004.10.1 138 +MD5 2b5522ad006abb94c870187b1d687109 files/digest-kismet-2004.10.1-r1 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 diff --git a/net-wireless/kismet/files/digest-kismet-2004.10.1-r1 b/net-wireless/kismet/files/digest-kismet-2004.10.1-r1 new file mode 100644 index 000000000000..321b22fd5d67 --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2004.10.1-r1 @@ -0,0 +1,2 @@ +MD5 e9cf06f6bb41b150ebdf7cd0c01afb34 kismet-2004-10-R1.tar.gz 870862 +MD5 aa1f1470f7f8bd301c92dd199a4ae60e ethereal-0.10.8.tar.bz2 5351028 diff --git a/net-wireless/kismet/kismet-2004.10.1-r1.ebuild b/net-wireless/kismet/kismet-2004.10.1-r1.ebuild new file mode 100644 index 000000000000..d84d736d6dac --- /dev/null +++ b/net-wireless/kismet/kismet-2004.10.1-r1.ebuild @@ -0,0 +1,91 @@ +# 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.10.1-r1.ebuild,v 1.1 2004/12/16 18:30:08 brix Exp $ + +inherit gnuconfig + +MY_P=${P/\./-} +MY_P=${MY_P/./-R} +S=${WORKDIR}/${MY_P} + +ETHEREAL_VERSION="0.10.8" + +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="ethereal gps" + +DEPEND=">=sys-devel/autoconf-2.58 + sys-apps/sed" +RDEPEND="virtual/libc + net-wireless/wireless-tools + sys-libs/ncurses + ethereal? ( =dev-libs/glib-1.2* + =net-analyzer/ethereal-${ETHEREAL_VERSION} + sys-libs/zlib ) + gps? ( app-misc/gpsdrive + >=dev-libs/expat-1.95.4 + dev-libs/gmp + >=media-gfx/imagemagick-6.0 + dev-perl/libwww-perl )" + # Note: gps support is automatically enabled based on the + # above libs - 2004-10-R1 doesn't honor the --disable-gps flag + # brix@gentoo.org + +src_unpack() { + unpack ${A} + + # make sure we compile against installed linux-sources if available + sed -i "s:-I/lib/modules/.*/build/include/:-I/usr/src/linux/include/:g" \ + ${S}/configure + + gnuconfig_update ${S} +} + +src_compile() { + local ETHEREAL_APPEND="" + + if use ethereal + then + cd ${WORKDIR}/ethereal-${ETHEREAL_VERSION}/wiretap + econf || die "wiretap econf failed" + emake || die "wiretap emake failed" + cd ${S} + + ETHEREAL_APPEND="=${WORKDIR}/ethereal-${ETHEREAL_VERSION}" + fi + + econf \ + `use_with ethereal ethereal${ETHEREAL_APPEND}` \ + || die "econf failed" + + emake dep || die "emake dep failed" + emake || die "make failed" +} + +src_install () { + emake DESTDIR=${D} install || die "emake install failed" + + dodoc CHANGELOG README TODO docs/* + + exeinto /etc/init.d + newexe ${FILESDIR}/${P}-init.d kismet + + insinto /etc/conf.d + newins ${FILESDIR}/${P}-conf.d kismet +} + +pkg_postinst() { + einfo "" + einfo "Please notice that the config file location has changed from" + einfo "/etc/kismet to /etc/" + einfo "" + einfo "For usage instructions please see" + einfo "/usr/share/doc/${PF}/README.gz" + einfo "" +} |