From 52d525fefe0d6794510ca029bf2ef95182df6ac2 Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Sat, 23 Dec 2006 22:12:39 +0000 Subject: Patch ebuild to use wiretap library from wireshark, fix by Cedric Krier . Fixes bug 146286, reported by Alexander Skwar . (Portage version: 2.1.1-r2) --- net-wireless/wifiscanner/ChangeLog | 10 ++++++- .../wifiscanner/files/digest-wifiscanner-1.0.1-r2 | 3 ++ .../wifiscanner/wifiscanner-1.0.1-r2.ebuild | 34 ++++++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 net-wireless/wifiscanner/files/digest-wifiscanner-1.0.1-r2 create mode 100644 net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild (limited to 'net-wireless') diff --git a/net-wireless/wifiscanner/ChangeLog b/net-wireless/wifiscanner/ChangeLog index 6f9abcf18e01..83a5037ae7f4 100644 --- a/net-wireless/wifiscanner/ChangeLog +++ b/net-wireless/wifiscanner/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-wireless/wifiscanner # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifiscanner/ChangeLog,v 1.7 2006/10/22 13:56:43 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifiscanner/ChangeLog,v 1.8 2006/12/23 22:12:39 vanquirius Exp $ + +*wifiscanner-1.0.1-r2 (23 Dec 2006) + + 23 Dec 2006; Marcelo Goes + +wifiscanner-1.0.1-r2.ebuild: + Patch ebuild to use wiretap library from wireshark, fix by Cedric Krier + . Fixes bug 146286, reported by Alexander Skwar + . 22 Oct 2006; Piotr Jaroszyński wifiscanner-1.0.1-r1.ebuild: diff --git a/net-wireless/wifiscanner/files/digest-wifiscanner-1.0.1-r2 b/net-wireless/wifiscanner/files/digest-wifiscanner-1.0.1-r2 new file mode 100644 index 000000000000..76fd80c1d290 --- /dev/null +++ b/net-wireless/wifiscanner/files/digest-wifiscanner-1.0.1-r2 @@ -0,0 +1,3 @@ +MD5 c65c553a26d27a3886031c791707ab1b WifiScanner-1.0.1.tar.gz 891399 +RMD160 e6cc22bfa7d4fb239552b5e026d9e032be2be024 WifiScanner-1.0.1.tar.gz 891399 +SHA256 3c5bafd06589337c7c26c447a35d3c1023459449b59327f5169a20feb2f30ebb WifiScanner-1.0.1.tar.gz 891399 diff --git a/net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild b/net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild new file mode 100644 index 000000000000..6601b183ec18 --- /dev/null +++ b/net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild,v 1.1 2006/12/23 22:12:39 vanquirius Exp $ + +MY_P=WifiScanner-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="WifiScanner is an analyzer and detector of 802.11b stations and access points." +HOMEPAGE="http://wifiscanner.sourceforge.net/" +SRC_URI="mirror://sourceforge/wifiscanner/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="wireshark ncurses" +KEYWORDS="~amd64 ~ppc ~x86" +RDEPEND="wireshark? ( net-analyzer/wireshark ) + ncurses? ( sys-libs/ncurses ) + virtual/libpcap + dev-libs/glib" +DEPEND="${RDEPEND}" + +src_compile () { + econf \ + $(use_enable ncurses curses) \ + $(use_enable wireshark wtap) \ + --without-internal-wiretap \ + --with-wtap_path=/usr/include/wiretap \ + || die "econf failed" + emake || die "emake failed" +} + +src_install () { + emake install DESTDIR="${D}" || die + dodoc AUTHORS BUG-REPORT-ADDRESS ChangeLog FAQ NEWS THANKS TODO doc/* +} -- cgit v1.2.3-65-gdbad