From: Marcelo Góes Date: Sat, 23 Dec 2006 22:12:39 +0000 (+0000) Subject: Patch ebuild to use wiretap library from wireshark, fix by Cedric Krier . Fixes bug 146286, reported by Alexander Skwar . Package-Manager: portage-2.1.1-r2 --- 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/Manifest b/net-wireless/wifiscanner/Manifest index 2fd8d316426b..13a04a579ed6 100644 --- a/net-wireless/wifiscanner/Manifest +++ b/net-wireless/wifiscanner/Manifest @@ -3,10 +3,14 @@ EBUILD wifiscanner-1.0.1-r1.ebuild 987 RMD160 3ddc6e67e058aa3d8b942b19606034241d MD5 9d136acd132ac5628f6108dd5e0d6580 wifiscanner-1.0.1-r1.ebuild 987 RMD160 3ddc6e67e058aa3d8b942b19606034241d341c50 wifiscanner-1.0.1-r1.ebuild 987 SHA256 38666e5aacc34cecf0786bfef20c5904fb404dbb667f4cd732139bf6e4c18169 wifiscanner-1.0.1-r1.ebuild 987 -MISC ChangeLog 1426 RMD160 7922c46a3a72436c8bbe3555f06e293ed2b70861 SHA1 4b4f8090783862f345b7ccc3fedbda4580428def SHA256 2a96cc8a4408c5f457054b3d56731c538b91e2f8c23191a2edcc731784ab93f3 -MD5 f892f3b32d12768746780483af5eeb6c ChangeLog 1426 -RMD160 7922c46a3a72436c8bbe3555f06e293ed2b70861 ChangeLog 1426 -SHA256 2a96cc8a4408c5f457054b3d56731c538b91e2f8c23191a2edcc731784ab93f3 ChangeLog 1426 +EBUILD wifiscanner-1.0.1-r2.ebuild 1040 RMD160 01ef8c8c7222265cf2172b9d7b3127c0d8dcccc0 SHA1 0276534f04eeb6f2d2eaf455e4ac20d2b3113e72 SHA256 eac9af61174db3ba8e25915e771fcfc075fab87c4c2d5cc2354838d6b23bc604 +MD5 f73338e713206640d5fc2361c5b6e232 wifiscanner-1.0.1-r2.ebuild 1040 +RMD160 01ef8c8c7222265cf2172b9d7b3127c0d8dcccc0 wifiscanner-1.0.1-r2.ebuild 1040 +SHA256 eac9af61174db3ba8e25915e771fcfc075fab87c4c2d5cc2354838d6b23bc604 wifiscanner-1.0.1-r2.ebuild 1040 +MISC ChangeLog 1740 RMD160 0bf983bcff70bd24b470421951f830ad2915da07 SHA1 0fe30179189df4fa9e16ff83f1d50b5856eef463 SHA256 68638a2985a576c31a9a438c8212d575338d94fae7a4a48c7417a4833e17d64d +MD5 54a9b18baec56264abd46f5ebd1346d4 ChangeLog 1740 +RMD160 0bf983bcff70bd24b470421951f830ad2915da07 ChangeLog 1740 +SHA256 68638a2985a576c31a9a438c8212d575338d94fae7a4a48c7417a4833e17d64d ChangeLog 1740 MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 metadata.xml 159 @@ -14,3 +18,6 @@ SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f metadata MD5 f421649002ccbaf4fe675e8bad9f21c8 files/digest-wifiscanner-1.0.1-r1 253 RMD160 35afdd4ffe7ec147c8eecd00f0fe152066180b0d files/digest-wifiscanner-1.0.1-r1 253 SHA256 1757ae418b7152af7d108684ff24d5be6e9f5e3bc636e2e917da0e49ba8a711c files/digest-wifiscanner-1.0.1-r1 253 +MD5 f421649002ccbaf4fe675e8bad9f21c8 files/digest-wifiscanner-1.0.1-r2 253 +RMD160 35afdd4ffe7ec147c8eecd00f0fe152066180b0d files/digest-wifiscanner-1.0.1-r2 253 +SHA256 1757ae418b7152af7d108684ff24d5be6e9f5e3bc636e2e917da0e49ba8a711c files/digest-wifiscanner-1.0.1-r2 253 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/* +}