summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2006-12-23 22:12:39 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2006-12-23 22:12:39 +0000
commit52d525fefe0d6794510ca029bf2ef95182df6ac2 (patch)
tree371200093eab9718b0aff1624999ed5bfe171d09 /net-wireless/wifiscanner
parentadd backported fix from gvm 2.17 to fix a segfault on startup, fixes bug #154... (diff)
downloadgentoo-2-52d525fefe0d6794510ca029bf2ef95182df6ac2.tar.gz
gentoo-2-52d525fefe0d6794510ca029bf2ef95182df6ac2.tar.bz2
gentoo-2-52d525fefe0d6794510ca029bf2ef95182df6ac2.zip
Patch ebuild to use wiretap library from wireshark, fix by Cedric Krier <cedk at gentoo dot org>. Fixes bug 146286, reported by Alexander Skwar <askwar at digitalprojects dot com>.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-wireless/wifiscanner')
-rw-r--r--net-wireless/wifiscanner/ChangeLog10
-rw-r--r--net-wireless/wifiscanner/files/digest-wifiscanner-1.0.1-r23
-rw-r--r--net-wireless/wifiscanner/wifiscanner-1.0.1-r2.ebuild34
3 files changed, 46 insertions, 1 deletions
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 <vanquirius@gentoo.org>
+ +wifiscanner-1.0.1-r2.ebuild:
+ Patch ebuild to use wiretap library from wireshark, fix by Cedric Krier
+ <cedk at gentoo dot org>. Fixes bug 146286, reported by Alexander Skwar
+ <askwar at digitalprojects dot com>.
22 Oct 2006; Piotr Jaroszyński <peper@gentoo.org>
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/*
+}