--- spectools-200710R2.orig/debian/copyright +++ spectools-200710R2/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Francois Marier on +Sun, 16 Dec 2007 22:07:06 +1300. + +It was downloaded from http://www.kismetwireless.net/spectools/ + +Upstream Author: + + Michael Kershaw/Dragorn + +Copyright: + + Copyright (C) 2007 Michael Kershaw + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2007, Francois Marier and +is licensed under the GPL, see above. --- spectools-200710R2.orig/debian/README.Debian +++ spectools-200710R2/debian/README.Debian @@ -0,0 +1,10 @@ +spectools for Debian +-------------------- + +In order to use the Wi-Spy device, users must be part of the plugdev group. + +Add users to this group using this command: + + sudo adduser username plugdev + + -- Francois Marier Sun, 16 Dec 2007 22:07:06 +1300 --- spectools-200710R2.orig/debian/changelog +++ spectools-200710R2/debian/changelog @@ -0,0 +1,22 @@ +spectools (200710R2-2ubuntu1) jaunty; urgency=low + + * debian/rules: Install udev rules into /lib/udev/rules.d + * debian/dirs: Create new directory + * debian/preinst: Remove old rules if unmodified. + * debian/control: Add Breaks to ensure we have correct udev version. + + -- Scott James Remnant Tue, 13 Jan 2009 02:29:21 +0000 + +spectools (200710R2-2) unstable; urgency=low + + * Remove encoding from desktop file (fix lintian info) + * Bump debhelper compatibility to 6 + + -- Francois Marier Tue, 03 Jun 2008 15:06:19 +1200 + +spectools (200710R2-1) unstable; urgency=low + + * Initial release (Closes: #455692) + + -- Francois Marier Sun, 16 Dec 2007 22:07:06 +1300 + --- spectools-200710R2.orig/debian/spectool_net.1 +++ spectools-200710R2/debian/spectool_net.1 @@ -0,0 +1,37 @@ +.TH "SPECTOOLS" "1" +.SH "NAME" +spectool_net \(em Network server for the spectool_gtk program +.SH "SYNOPSIS" +.PP +\fBspectool_net\fR [\fB-b \fIsecs\fR\fP] [\fB-p \fIport\fR\fP] [\fB-a \fIbind address\fR\fP] +.SH "DESCRIPTION" +.PP +\fBspectool_net\fR is network server to which +\fBspectool_gtk\fR can connect. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`\-'). A summary of +options is included below. +.IP "\fB-h\fP \fB\-\-help\fP " 10 +Show summary of options. +.IP "\fB-b secs\fP \fB\-\-broadcast secs\fP " 10 +Send broadcast announce. +.IP "\fB-p port\fP \fB\-\-port port\fP " 10 +Use alternate port. +.IP "\fB-a address\fP \fB\-\-bindaddr address\fP " 10 +Bind to specific address. +.SH "SEE ALSO" +.PP +spectool_gtk (1), spectool_raw (1). +.SH "AUTHOR" +.PP +This manual page was written by Francois Marier for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 3 any +later version published by the Free Software Foundation. + +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. --- spectools-200710R2.orig/debian/preinst +++ spectools-200710R2/debian/preinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = install ] || [ "$1" = upgrade ]; then + if [ -e "/etc/udev/rules.d/99-wispy.rules" ]; then + if [ "`md5sum \"/etc/udev/rules.d/99-wispy.rules\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' spectools | sed -n -e \"\\\\' /etc/udev/rules.d/99-wispy.rules's/.* //p\"`" ] + then + rm -f "/etc/udev/rules.d/99-wispy.rules" + fi + fi +fi + +#DEBHELPER# --- spectools-200710R2.orig/debian/dirs +++ spectools-200710R2/debian/dirs @@ -0,0 +1,4 @@ +lib/udev/rules.d +usr/bin +usr/share/applications +usr/share/man/man1 --- spectools-200710R2.orig/debian/spectool_gtk.desktop +++ spectools-200710R2/debian/spectool_gtk.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Exec=spectool_gtk +Comment=2.4 GHz spectrum analysis using the Wi-Spy hardware device +Comment[fr]=Analyse du spectre 2.4 GHz en utilisant l'appareil Wi-Spy +Name=Spectrum Tool --- spectools-200710R2.orig/debian/spectool_gtk.1 +++ spectools-200710R2/debian/spectool_gtk.1 @@ -0,0 +1,25 @@ +.TH "SPECTOOLS" "1" +.SH "NAME" +spectool_gtk \(em 2.4 GHz spectrum analysis using the Wi-Spy +.SH "SYNOPSIS" +.PP +\fBspectool_gtk\fR +.SH "DESCRIPTION" +.PP +\fBspectool_gtk\fR is a graphing UI for spectrum +analysis on the 2.4 GHz band using the Wi-Spy hardware device. + +.SH "SEE ALSO" +.PP +spectool_net (1), spectool_raw (1). +.SH "AUTHOR" +.PP +This manual page was written by Francois Marier for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 3 any +later version published by the Free Software Foundation. + +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. --- spectools-200710R2.orig/debian/compat +++ spectools-200710R2/debian/compat @@ -0,0 +1 @@ +6 --- spectools-200710R2.orig/debian/control +++ spectools-200710R2/debian/control @@ -0,0 +1,21 @@ +Source: spectools +Section: electronics +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Francois Marier +Build-Depends: debhelper (>= 6), autotools-dev, libusb-dev, libgtk2.0-dev +Standards-Version: 3.7.3 +Homepage: http://www.kismetwireless.net/spectools/ +Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/spectools/ +Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/spectools/ + +Package: spectools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: udev (<< 136-1) +Description: Utilities for using the Wi-Spy USB spectrum analyzer hardware + Spectrum-Tools is a set of utilities for using the Wi-Spy USB spectrum + analyzer tools from Metageek LLC. 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. --- spectools-200710R2.orig/debian/menu +++ spectools-200710R2/debian/menu @@ -0,0 +1,2 @@ +?package(spectools):needs="X11" section="Applications/Network/Monitoring"\ + title="Spectrum Tools" command="/usr/bin/spectool_gtk" --- spectools-200710R2.orig/debian/rules +++ spectools-200710R2/debian/rules @@ -0,0 +1,89 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/spectools. + $(MAKE) prefix=$(CURDIR)/debian/spectools/usr install + + cp $(CURDIR)/99-wispy.rules $(CURDIR)/debian/spectools/lib/udev/rules.d/ + cp $(CURDIR)/debian/spectool_gtk.desktop $(CURDIR)/debian/spectools/usr/share/applications/ + cp $(CURDIR)/debian/spectool_*.1 $(CURDIR)/debian/spectools/usr/share/man/man1/ + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_desktop + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- spectools-200710R2.orig/debian/watch +++ spectools-200710R2/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(\d\d\d\d)-(\d\d)-(.*)/$1$2$3/ \ + http://www.kismetwireless.net/spectools/ /code/spectools-(.*)\.tar\.gz --- spectools-200710R2.orig/debian/spectool_raw.1 +++ spectools-200710R2/debian/spectool_raw.1 @@ -0,0 +1,36 @@ +.TH "SPECTOOLS" "1" +.SH "NAME" +spectool_raw \(em Utility for developing other tools using the Wi-Spy +.SH "SYNOPSIS" +.PP +\fBspectool_raw\fR [\fB-n \fInetwork server\fR\fP] [\fB-b\fP] +.SH "DESCRIPTION" +.PP +\fBspectool_raw\fR is a simple tool which extracts data +from the Wi-Spy device. It can be used to create other tools or scripts. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`\-'). A summary of +options is included below. +.IP "\fB-h\fP \fB\-\-help\fP " 10 +Show summary of options. +.IP "\fB-n tcp://host:port\fP \fB\-\-net tcp://host:port\fP " 10 +Connect to network server instead of local USB devices. +.IP "\fB-b\fP \fB\-\-broadcast\fP " 10 +Listen for (and connect to) broadcast servers instead of using +local USB devices. +.SH "SEE ALSO" +.PP +spectool_gtk (1), spectool_net (1). +.SH "AUTHOR" +.PP +This manual page was written by Francois Marier for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 3 any +later version published by the Free Software Foundation. + +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. --- spectools-200710R2.orig/debian/docs +++ spectools-200710R2/debian/docs @@ -0,0 +1 @@ +README