summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-03-06 02:40:07 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-03-06 02:40:07 +0000
commitabe618ba3e8c8a51ca3c8661880a23ce0d7ba732 (patch)
tree3c3718ba8231cdbaa2af6ae2136a45d108f6410a /net-wireless/wispy-tools
parentstable amd64, bug 260452 (diff)
downloadhistorical-abe618ba3e8c8a51ca3c8661880a23ce0d7ba732.tar.gz
historical-abe618ba3e8c8a51ca3c8661880a23ce0d7ba732.tar.bz2
historical-abe618ba3e8c8a51ca3c8661880a23ce0d7ba732.zip
Bug #197048 - version bump. Sorry it took so long, I lost my WiSpy dongle and couldn't test until I found it again recently.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/wispy-tools')
-rw-r--r--net-wireless/wispy-tools/ChangeLog12
-rw-r--r--net-wireless/wispy-tools/Manifest5
-rw-r--r--net-wireless/wispy-tools/files/spectools-2009.02.1-udev-rules.patch32
-rw-r--r--net-wireless/wispy-tools/wispy-tools-2009.02.1.ebuild71
4 files changed, 117 insertions, 3 deletions
diff --git a/net-wireless/wispy-tools/ChangeLog b/net-wireless/wispy-tools/ChangeLog
index 55741ea8e598..d3c0ffdc172b 100644
--- a/net-wireless/wispy-tools/ChangeLog
+++ b/net-wireless/wispy-tools/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-wireless/wispy-tools
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wispy-tools/ChangeLog,v 1.8 2007/03/07 19:08:45 robbat2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wispy-tools/ChangeLog,v 1.9 2009/03/06 02:40:06 robbat2 Exp $
+
+*wispy-tools-2009.02.1 (06 Mar 2009)
+
+ 06 Mar 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +files/spectools-2009.02.1-udev-rules.patch,
+ +wispy-tools-2009.02.1.ebuild:
+ Bug #197048 - version bump. Sorry it took so long, I lost my WiSpy dongle
+ and couldn't test until I found it again recently.
*wispy-tools-2006.09.1 (07 Mar 2007)
diff --git a/net-wireless/wispy-tools/Manifest b/net-wireless/wispy-tools/Manifest
index fcf3c07781fe..63153994cc24 100644
--- a/net-wireless/wispy-tools/Manifest
+++ b/net-wireless/wispy-tools/Manifest
@@ -1,6 +1,9 @@
+AUX spectools-2009.02.1-udev-rules.patch 1757 RMD160 d744702c16be1a51daad65d51e7583dce6216d86 SHA1 5601d3bb0c872f583d9a8f6c9f2a088bca994387 SHA256 5207860a766f150057e57dd30f60abb71eda41d6d3a606df9f48e6a5dfd7564f
+DIST spectools-2009-02-R1.tar.gz 183877 RMD160 54443a8b9c2b9ad84a47399f2ebc8a1bf16f6319 SHA1 a9b520dfc829c2b35c8f3bfe13ebfb1f98f203d5 SHA256 5b4d2dfe5bd1ff79b58ceec83aa9531866a06d7f60a3fd95eb5de7bbd96c48b5
DIST wispy-tools-2006-03-R1.tar.gz 135030 RMD160 ef1dcc7d17782828dec0a03bc551349d430d4828 SHA1 92b5ce07a89639143d6878f67a799cc18b982325 SHA256 8325850768e55a92b9c77de741c086ae52fad0cbc7d28d6e492e653b392db3f2
DIST wispy-tools-2006-09-R1.tar.gz 135474 RMD160 13ec3cf3821e304a070fed9aa97a3a99efe2504f SHA1 daefbf18a2720cb407590224ae3a2167372a83d6 SHA256 41b25d1d63f01f596925dbd39389668b9d4169b28e5b8a2e00e0ac66574d330f
EBUILD wispy-tools-2006.03.1.ebuild 1132 RMD160 05c1ed3705bb072fdfd29a96aacffa29ca2bd76c SHA1 c8d85ff77ed3d9501b5262de39a9c955575740e9 SHA256 02c239ee737170d9e00f5f7bfb10cc036c7b0ac69dbdcd0f95637668fb09d33b
EBUILD wispy-tools-2006.09.1.ebuild 1136 RMD160 0cbb70b8582d25e51da1347aa62c3539c2e91bcd SHA1 ac6e1bb6469657c295ab920dd637335139e5e081 SHA256 2351552be4320ede000ee136d7687fbee788b2457ff13b13c02d976069e9ebfb
-MISC ChangeLog 1430 RMD160 4f63dd725196bf74183140ed5ca8ae7fab0e8f32 SHA1 e4d73b7d13212180596eed15c1365b044f50830a SHA256 3d2dce8971cf4ab2fa9ed39ebc858a5b6929c5564c508e77edbd4829059a0000
+EBUILD wispy-tools-2009.02.1.ebuild 1609 RMD160 23475de8255ecaef45b45dde707f3c5c778b924b SHA1 ea3d84c878fb4410daedf4306e60ee9f54bcb3f0 SHA256 6b91ba21736d07cfae5473c63b2c68c2a1fad02f27c789a8e5bb95315321d304
+MISC ChangeLog 1731 RMD160 1e0069dda7456a937fb03b4f12278241c9e5bce6 SHA1 aa187e8bb68b1935521426edcc3d23cac5d475a0 SHA256 cafa7a5bc243350d3c1b8943652b603a55f2c606957de2abf97774b0a84ba3da
MISC metadata.xml 363 RMD160 fe727c97f9164ef237e0e34edde618543e900134 SHA1 fbb58301b228db8f9dbec717f65e5b6f1f028301 SHA256 fe13dd7375c8994b78bef974afe4ca20d9992c41650e1dfb019d68dbfc34c378
diff --git a/net-wireless/wispy-tools/files/spectools-2009.02.1-udev-rules.patch b/net-wireless/wispy-tools/files/spectools-2009.02.1-udev-rules.patch
new file mode 100644
index 000000000000..712f92838b95
--- /dev/null
+++ b/net-wireless/wispy-tools/files/spectools-2009.02.1-udev-rules.patch
@@ -0,0 +1,32 @@
+diff -Nuar --exclude '*~' --exclude others-menu spectools-2009-02-R1.orig/99-wispy.rules spectools-2009-02-R1/99-wispy.rules
+--- spectools-2009-02-R1.orig/99-wispy.rules 2007-05-19 09:49:21.000000000 -0700
++++ spectools-2009-02-R1/99-wispy.rules 2009-03-05 18:10:22.984352068 -0800
+@@ -1,4 +1,10 @@
+-# Two vid/pid pairs for Wispy1 USB dongle
+-ATTRS{idVendor}=="1781", ATTRS{idProduct}=="083e", MODE="0660", GROUP="plugdev"
++# Wispy1 rev a
+ ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="0bad", MODE="0660", GROUP="plugdev"
++# Wispy1 rev b
++ATTRS{idVendor}=="1781", ATTRS{idProduct}=="083e", MODE="0660", GROUP="plugdev"
++# WiSpy 2.4x
+ ATTRS{idVendor}=="1781", ATTRS{idProduct}=="083f", MODE="0660", GROUP="plugdev"
++# WiSpy DBx
++ATTRS{idVendor}=="1dd5", ATTRS{idProduct}=="5000", MODE="0660", GROUP="plugdev"
++
++# vim: ft=udevrules:
+diff -Nuar --exclude '*~' --exclude others-menu spectools-2009-02-R1.orig/pkg-hildon/etc/udev/rules.d/99-wispy.rules spectools-2009-02-R1/pkg-hildon/etc/udev/rules.d/99-wispy.rules
+--- spectools-2009-02-R1.orig/pkg-hildon/etc/udev/rules.d/99-wispy.rules 2007-12-21 23:05:49.000000000 -0800
++++ spectools-2009-02-R1/pkg-hildon/etc/udev/rules.d/99-wispy.rules 2009-03-05 18:10:19.800286330 -0800
+@@ -1,4 +1,10 @@
+-# Two vid/pid pairs for Wispy1 USB dongle
+-ATTRS{idVendor}=="1781", ATTRS{idProduct}=="083e", MODE="0660", OWNER="user"
++# Wispy1 rev a
+ ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="0bad", MODE="0660", OWNER="user"
++# Wispy1 rev b
++ATTRS{idVendor}=="1781", ATTRS{idProduct}=="083e", MODE="0660", OWNER="user"
++# WiSpy 2.4x
+ ATTRS{idVendor}=="1781", ATTRS{idProduct}=="083f", MODE="0660", OWNER="user"
++# WiSpy DBx
++ATTRS{idVendor}=="1dd5", ATTRS{idProduct}=="5000", MODE="0660", OWNER="user"
++
++# vim: ft=udevrules:
diff --git a/net-wireless/wispy-tools/wispy-tools-2009.02.1.ebuild b/net-wireless/wispy-tools/wispy-tools-2009.02.1.ebuild
new file mode 100644
index 000000000000..25630cfb02f3
--- /dev/null
+++ b/net-wireless/wispy-tools/wispy-tools-2009.02.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wispy-tools/wispy-tools-2009.02.1.ebuild,v 1.1 2009/03/06 02:40:06 robbat2 Exp $
+
+inherit eutils
+
+MY_PN=${PN/wispy-/spec}
+MY_PV=${PV/\./-}
+MY_PV=${MY_PV/./-R}
+MY_P="${MY_PN}-${MY_PV}"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Tools for the MetaGeek Wi-Spy spectrum analyzer"
+HOMEPAGE="http://www.kismetwireless.net/spectools/"
+SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug gtk ncurses"
+
+DEPEND="dev-libs/libusb
+ ncurses? ( sys-libs/ncurses )
+ gtk? ( =x11-libs/gtk+-2* )"
+# Maemo: Add hildon and bbus
+RDEPEND="${DEPEND}
+ >=sys-fs/udev-114"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/spectools-2009.02.1-udev-rules.patch
+}
+
+src_compile() {
+ econf $(use_with gtk gtk-version 2) || die "econf failed"
+
+ emake depend || die "emake depend failed"
+
+ emake spectool_{raw,net} \
+ || die "emake spectool_{raw,net} failed"
+
+ if use ncurses; then
+ emake spectool_curses \
+ || die "emake spectool_curses failed"
+ fi
+
+ if use gtk; then
+ emake spectool_gtk \
+ || die "emake spectool_gtk failed"
+ fi
+
+ #if use maemo; then
+ # emake spectool_hildon usbcontrol \
+ # || die "emake spectool_hildon usbcontrol failed"
+ #fi
+}
+
+src_install() {
+ dobin spectool_raw spectool_net
+ use ncurses && dobin spectool_curses
+ use gtk && dobin spectool_gtk
+ dodoc README
+
+ insinto /etc/udev/rules.d/
+ doins 99-wispy.rules
+
+ #if use maemo; then
+ # dobin spectool_hildon
+ # dosbin usbcontrol
+ #fi
+}