import spectrum-tools:
Spectrum-Tools is a set of utilities for using the Wi-Spy USB spectrum analyzer tools from Metageek LLC (http://www.metageek.net). They include userspace drivers for the hardware (implemented via libusb), a graphing UI built on GTK/Cairo, network servers for remote devices, and simple utilities for developing additional tools. This package contains the GTK user interface, spectool_gtk. Non-GUI tools can be found in the spectrum-tools-utils package. thanks to matthieu@ for testing and ckuethe@ for pointing me at the svn code (better than the previous release). it's not perfect (some X resource leaks) but usable.
This commit is contained in:
parent
8df342ec22
commit
6098741cc6
61
net/spectrum-tools/Makefile
Normal file
61
net/spectrum-tools/Makefile
Normal file
@ -0,0 +1,61 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/12 21:33:57 sthen Exp $
|
||||
|
||||
COMMENT-main = Graphical tools for the MetaGeek Wi-spy spectrum analyser
|
||||
COMMENT-utils = Tools for the MetaGeek Wi-spy spectrum analyser
|
||||
|
||||
V = 20080314
|
||||
DISTNAME = spectools-$V
|
||||
PKGNAME = spectrum-tools-$V
|
||||
CATEGORIES = net
|
||||
|
||||
MASTER_SITES = http://www.kismetwireless.net/code/
|
||||
MASTER_SITES = http://spacehopper.org/mirrors/
|
||||
|
||||
HOMEPAGE = http://www.kismetwireless.net/spectools/
|
||||
|
||||
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MULTI_PACKAGES = -main -utils
|
||||
|
||||
FULLPKGNAME-main = spectrum-tools-$V
|
||||
FULLPKGNAME-utils = spectrum-tools-utils-$V
|
||||
|
||||
WANTLIB = c m pthread usb
|
||||
|
||||
WANTLIB-main = ${WANTLIB} \
|
||||
X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
||||
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
|
||||
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 iconv \
|
||||
intl pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
|
||||
png z
|
||||
|
||||
WANTLIB-utils = ${WANTLIB} ncurses
|
||||
|
||||
LIB_DEPENDS = :libusb-*:devel/libusb
|
||||
|
||||
LIB_DEPENDS-main += ${LIB_DEPENDS} \
|
||||
gtk-x11-2.0::x11/gtk+2 \
|
||||
gdk-x11-2.0::x11/gtk+2 \
|
||||
gdk_pixbuf-2.0::x11/gtk+2
|
||||
|
||||
RUN_DEPENDS-main = :spectrum-tools-utils-*:net/spectrum-tools,-utils
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
USE_GMAKE = Yes
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spectrum-tools
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/spectrum-tools
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/spectrum-tools/distinfo
Normal file
5
net/spectrum-tools/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (spectools-20080314.tar.gz) = z/OpuJ35b3qDjs/RMY1hlA==
|
||||
RMD160 (spectools-20080314.tar.gz) = d3ITVkHEjSMPQClOvLc8aNwqEgo=
|
||||
SHA1 (spectools-20080314.tar.gz) = 1RiBWuvIQYl8ZVPAtvFRycqR5Yw=
|
||||
SHA256 (spectools-20080314.tar.gz) = Oo0DTmetFnY8RE0e4+2pC8Ic5loCSrnz5PFEeKZ9A/w=
|
||||
SIZE (spectools-20080314.tar.gz) = 368085
|
11
net/spectrum-tools/patches/patch-spectool_net_client_h
Normal file
11
net/spectrum-tools/patches/patch-spectool_net_client_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-spectool_net_client_h,v 1.1.1.1 2008/06/12 21:33:57 sthen Exp $
|
||||
--- spectool_net_client.h.orig Sun Jun 8 10:27:24 2008
|
||||
+++ spectool_net_client.h Sun Jun 8 10:27:32 2008
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/uio.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <unistd.h>
|
8
net/spectrum-tools/pkg/DESCR-main
Normal file
8
net/spectrum-tools/pkg/DESCR-main
Normal file
@ -0,0 +1,8 @@
|
||||
Spectrum-Tools is a set of utilities for using the Wi-Spy USB spectrum
|
||||
analyzer tools from Metageek LLC (http://www.metageek.net). They include
|
||||
userspace drivers for the hardware (implemented via libusb), a graphing
|
||||
UI built on GTK/Cairo, network servers for remote devices, and simple
|
||||
utilities for developing additional tools.
|
||||
|
||||
This package contains the GTK user interface, spectool_gtk.
|
||||
Non-GUI tools can be found in the spectrum-tools-utils package.
|
14
net/spectrum-tools/pkg/DESCR-utils
Normal file
14
net/spectrum-tools/pkg/DESCR-utils
Normal file
@ -0,0 +1,14 @@
|
||||
Spectrum-Tools is a set of utilities for using the Wi-Spy USB spectrum
|
||||
analyzer tools from Metageek LLC (http://www.metageek.net). They include
|
||||
userspace drivers for the hardware (implemented via libusb), a graphing
|
||||
UI built on GTK/Cairo, network servers for remote devices, and simple
|
||||
utilities for developing additional tools.
|
||||
|
||||
This package contains the non-graphical components:
|
||||
|
||||
- spectool_raw - a basic dumper from the USB interface to stdout,
|
||||
without RSSI to dBm conversion.
|
||||
|
||||
- spectool_net - a network server for the cross-platform network
|
||||
protocol for remote sensors. Supports broadcast announcement, device
|
||||
locking, remote device configuration, etc
|
2
net/spectrum-tools/pkg/PLIST-main
Normal file
2
net/spectrum-tools/pkg/PLIST-main
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2008/06/12 21:33:57 sthen Exp $
|
||||
@bin bin/spectool_gtk
|
6
net/spectrum-tools/pkg/PLIST-utils
Normal file
6
net/spectrum-tools/pkg/PLIST-utils
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST-utils,v 1.1.1.1 2008/06/12 21:33:57 sthen Exp $
|
||||
@bin bin/spectool_curses
|
||||
@bin bin/spectool_net
|
||||
@bin bin/spectool_raw
|
||||
share/doc/spectrum-tools/
|
||||
share/doc/spectrum-tools/README
|
Loading…
x
Reference in New Issue
Block a user