summaryrefslogtreecommitdiff
path: root/net-wireless/spectools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/spectools
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/spectools')
-rw-r--r--net-wireless/spectools/Manifest11
-rw-r--r--net-wireless/spectools/files/spectools-2011.08.1_p20140618-tinfo.patch41
-rw-r--r--net-wireless/spectools/metadata.xml24
-rw-r--r--net-wireless/spectools/spectools-2011.08.1-r2.ebuild70
-rw-r--r--net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild82
-rw-r--r--net-wireless/spectools/spectools-2016.01.1.ebuild82
-rw-r--r--net-wireless/spectools/spectools-9999.ebuild81
7 files changed, 391 insertions, 0 deletions
diff --git a/net-wireless/spectools/Manifest b/net-wireless/spectools/Manifest
new file mode 100644
index 000000000000..434fcf32e8c3
--- /dev/null
+++ b/net-wireless/spectools/Manifest
@@ -0,0 +1,11 @@
+AUX spectools-2011.08.1_p20140618-tinfo.patch 1502 SHA256 7837f4e9343e95ea066067a6a447d68e74e45710b54da2dcf79c4bc038a9751a SHA512 5e36ba51f10bd37dbfd2f5b398d3e1eaad5851cfff49767919136fd59516926a5a313ca23b205c281ccab722d304b533fc2baf8646d2127e7198a47b99071723 WHIRLPOOL eb0c7f86b4d19151df3400df370d763559c38a30935fbd668e3ae490ef91bae3c83b0923353401f99fdde42e8756172eb91efb2105ad80df908eb4d79dfa4eb2
+DIST spectools-2011-08-R1.tar.gz 196001 SHA256 ce981cd2b86c6246dc7cb9c0166b85e586e5f5835d3ed147e8901ef18f00220e SHA512 92c80b34049055cec6d677db165fb2d06d75fbff9f04d41ab81fa57900f639936e6a9a01f06165aea863b35760964016f0984f17816859d054bc9d14353e847b WHIRLPOOL 89af3aa1f1e4033de3051bc6dd5b2d6f013c1270d588768fcfc08830a420f3ab3507494b0f5575b830a9d88abc885600e551ad78bc9931ab5bd061e74d7d27c8
+DIST spectools-2011-08-R1_p20140618.tar.xz 143644 SHA256 a4c22bc1be0b66dfeaeff37004e08ef4927d443a7e67bc893627d0569f6f3a2f SHA512 bf39953dc94815af1b670f079f7660d46cc8449adb379d0fc2755de5785c936730114aa66127f9cbd86f9a08b506382f5ec56f863d50d7d39f2597ba9b122330 WHIRLPOOL 7be4b1209b0a72a67b102f75ede813c3680d1222478bb507755af836b9ede6a2db4bf93ce2b5300d1aa16d0c422865924164fb021015651f750711a055e4700d
+DIST spectools-2016-01-R1.tar.xz 120732 SHA256 8d70daaf3b4b71196ca63bbd5df0ef14b82c3b496f63b5cfa434fa637dc08d57 SHA512 59da488e08114018cd756d45f48541a26f643a3618bfbaec0e72c434c80e6cbc8b4f930476206c66af84ee574807e011489f884e96c7291c626b1b4e69619fad WHIRLPOOL 203bd4bc3861bb9d228df2d5342d3b357589e10bf94d0a373a71a87d6d0f5060a73b8ce7f868637ad2392c6305d0349109ce9fe51646e46e7ae512d347f52290
+EBUILD spectools-2011.08.1-r2.ebuild 1511 SHA256 05cb6bff30dc7189592c988216f5eaac36a85e7503845fde255f8b73c8ed07da SHA512 9fd5255a3083eb5602f7053753d0e5e98cab779fe088ca38b1ac6522cd49b048c330c265420cd0d765a5dc96f12ee943e90030ddd5073ffa4a3908453eeee7fe WHIRLPOOL 66d2c08f907009721dd6af7b60b0a02918a41cbc981e61a5d12ad23b0ca9586efacac43f8f66b7bf9c0c0bd7a542e50096661f675e64fe441565c1d3f7a2f3af
+EBUILD spectools-2011.08.1_p20140618-r1.ebuild 1726 SHA256 5102adedbba188d671480375100880ac24ba4ec826558b90cee16685e74f757c SHA512 4acb7f885f4cc9114509807c99b43722c52a65eb2034cd6a4857e65290816af73184f3581ad07df16fc0c63974bb0c8031badc6042a595af33e4fba7949cfb8e WHIRLPOOL 175b70c97aabac7d73b3b03c4a0492055dcc9c1be10c6798abae5ba7136651d53eeac32892cb4da4d871c036ebdcdc4bff9e1ca63b64f7eb2431bc6f1c4a8416
+EBUILD spectools-2016.01.1.ebuild 1801 SHA256 74b69d07f76fc948c2cc81fb4ac5a4ff03de6120cd04dcbad94edba246789aa3 SHA512 518262ab4b5e1e587d3cffff37b0d2eee22be43ab094d7eb2ced7d17d05c63dd55b0b5bc3734cff05abbeba4a8ad791c1d99e06cc57ed4f44e1c6385a208c156 WHIRLPOOL b92baceb8d477330deac90934b8c763f95b643ce52920d6f9bbda574edd70ae60ed99fb21ddb86ad31b28426c49398406c4d8c688e27d75f1754fcf6846bb50a
+EBUILD spectools-9999.ebuild 1750 SHA256 b2b0c9930304fb7140ee63b8c6c8ea38a6ec828075c5757a80b87be50c478ad3 SHA512 4c9a68de13e54060d7830414b9564229bcfbb1d1a8fb90b05359ed0589c105fede5f4b78e1fb492d4f0c4ef91349ebc99679236a885de94f44c69b4f1c8db49b WHIRLPOOL 2be7510eb7c4dee05f0750a3640784f8e60cb9755af0eb0c31b006c452954a64eaec5389c06a041ec490925c954b12c1dd17b0b9fad84c12ecb41b85ef14492f
+MISC ChangeLog 3696 SHA256 63491b3eee7af480c937c942e589fc91a7d7b109677021400614ccaea2728915 SHA512 034c007916e47e88abcdbe957bde4256bfc285991c358fbaa9719b437f46b9759fdd2b92884435af4ba73a6a629cc0fb9bfb9e802710a9589c14b140672a1ab1 WHIRLPOOL a99d10220a56e0e763046a6fa976839302f2b41d74f59dffc31a74fcec4d1eb5cec80905ed656a3c00e0259fa5af1466a251fc6d4059c08c1e30e06f8c531644
+MISC ChangeLog-2015 4402 SHA256 b0d2919e6040993bac580b00095ffc082d4a913ba865b234b40c08a0437e2281 SHA512 f0312ef9f8bb923532deee664d9392284f472d68bfaff812d1db64629d1c75a540458319b8bae6890ffefa7bdc52b530f39236c53108e66fbaab1fe1d6cad069 WHIRLPOOL 1c6567b6e04c4d192c54086290290449222ef9750831af81b111ea85c0c8199e937c1abd71fbd1ea1232758b9813cb7d56f6c9518c9ffd2064b42be81b6b2d6e
+MISC metadata.xml 933 SHA256 593f8dafa399c342591a56f2e61171763e3b0ae1ddc0b7274e5ec6f42ead6ed6 SHA512 1d3a833833ddf0fbb80df27f3e378b4f6f77668ee7df0f917cd358fb66813bed5cd45693f12866e37e43186e9dbaca02d60030b2547335a956a00b10f7a2b6b9 WHIRLPOOL 98afed4249eaaa06d413128092a3497d4e07e96b8c340739d42d59b9e7012a9d356b9b85de9bcab6e0f09b52a5017d8a24747ef47c31b8926b3df0c7849c4111
diff --git a/net-wireless/spectools/files/spectools-2011.08.1_p20140618-tinfo.patch b/net-wireless/spectools/files/spectools-2011.08.1_p20140618-tinfo.patch
new file mode 100644
index 000000000000..c5ef3480d01c
--- /dev/null
+++ b/net-wireless/spectools/files/spectools-2011.08.1_p20140618-tinfo.patch
@@ -0,0 +1,41 @@
+ configure.in | 21 +++++++++++----------
+ 1 file changed, 11 insertions(+), 10 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index a15258c..af4ae57 100644
+--- a/configure.in
++++ b/configure.in
+@@ -131,22 +131,23 @@ AC_CHECK_LIB([usb], [usb_init], AC_DEFINE(HAVE_LIBUSB, 1, LibUSB) LIBS="$LIBS -l
+ dnl Look for curses/libcurses
+ termcontrol="none";
+
+-AC_CHECK_LIB([ncurses], [initscr],
++PKG_CHECK_MODULES([NCURSES], [ncurses], [foundhcurses=yesyes curseaux="${NCURSES_LIBS}" termcontrol="ncurses"], [
++ AC_CHECK_LIB([ncurses], [initscr],
+ AC_DEFINE(HAVE_LIBNCURSES, 1, NCurses terminal lib) \
+ foundlcurses=yes curseaux="-lncurses" termcontrol="ncurses" )
+
+-if test "$foundlcurses" != "yes"; then
+- AC_CHECK_LIB([curses], [initscr],
++ if test "$foundlcurses" != "yes"; then
++ AC_CHECK_LIB([curses], [initscr],
+ AC_DEFINE(HAVE_LIBCURSES, 1, Curses terminal lib) \
+ foundlcurses=yes curseaux="-lcurses" termcontrol="curses" )
+-fi
+-
+-if test "$termcontrol" = "ncurses"; then
+- AC_CHECK_HEADER([ncurses.h], [foundhcurses=yes])
+-elif test "$termcontrol" = "curses"; then
+- AC_CHECK_HEADER([curses.h], [foundhcurses=yes])
+-fi
++ fi
+
++ if test "$termcontrol" = "ncurses"; then
++ AC_CHECK_HEADER([ncurses.h], [foundhcurses=yes])
++ elif test "$termcontrol" = "curses"; then
++ AC_CHECK_HEADER([curses.h], [foundhcurses=yes])
++ fi
++])
+ if test "$foundhcurses$foundlcurses" != "yesyes"; then
+ AC_MSG_WARN(*** Could not find curses library. Curses grapher will not be built.)
+ else
diff --git a/net-wireless/spectools/metadata.xml b/net-wireless/spectools/metadata.xml
new file mode 100644
index 000000000000..673af8f6117a
--- /dev/null
+++ b/net-wireless/spectools/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ <description>maintainer, has access to all hardware as needed</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>steev@gentoo.org</email>
+ <name>Steev Klimaszewski</name>
+ <description>co-maintainer, CC him on bugs</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ <description>Maintainer, has 1st gen WiSpy hardware for testing</description>
+ </maintainer>
+ <use>
+ <flag name="debug">Build the raw output client for spectools. (for developers)</flag>
+ <flag name="ncurses">Build the ncurses based client for spectools</flag>
+ <flag name="gtk">Build the gtk-2 based client for spectools</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-wireless/spectools/spectools-2011.08.1-r2.ebuild b/net-wireless/spectools/spectools-2011.08.1-r2.ebuild
new file mode 100644
index 000000000000..49665d46e7a8
--- /dev/null
+++ b/net-wireless/spectools/spectools-2011.08.1-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit udev toolchain-funcs
+
+MY_PN=${PN}
+MY_PV=${PV/\./-}
+MY_PV=${MY_PV/./-R}
+MY_P="${MY_PN}-${MY_PV}"
+S=${WORKDIR}/${MY_P}
+
+if [[ ${PV} == "9999" ]] ; then
+ ESVN_REPO_URI="https://www.kismetwireless.net/code/svn/tools/${PN}"
+ inherit subversion
+ KEYWORDS=""
+else
+ SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
+ KEYWORDS="amd64 arm ~ppc x86"
+fi
+
+DESCRIPTION="Spectrum Analyzer for Meta-Geek Wi-Spy and GSG Ubertooth hardware"
+HOMEPAGE="http://www.kismetwireless.net/spectools/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ncurses gtk"
+
+RDEPEND="virtual/libusb:0
+ ncurses? ( sys-libs/ncurses )
+ gtk? ( x11-libs/gtk+:2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+# Upstream has still not migrated to the libusb-1 line.
+# Maemo: Add hildon and bbus
+
+# Please note that upstream removed the --with-gtk-version option
+# and GTK is now automagical. GTK1 support was also removed.
+src_compile() {
+ emake depend
+
+ emake spectool_net spectool_raw
+
+ if use ncurses; then
+ emake spectool_curses
+ fi
+
+ if use gtk; then
+ emake spectool_gtk
+ fi
+
+ #if use maemo; then
+ # emake spectool_hildon usbcontrol \
+ # || die "emake spectool_hildon usbcontrol failed"
+ #fi
+}
+
+src_install() {
+ dobin spectool_net spectool_raw
+ use ncurses && dobin spectool_curses
+ use gtk && dobin spectool_gtk
+
+ udev_dorules 99-wispy.rules
+ dodoc README
+
+ #if use maemo; then
+ # dobin spectool_hildon
+ # dosbin usbcontrol
+ #fi
+}
diff --git a/net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild b/net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild
new file mode 100644
index 000000000000..ab351ead5c92
--- /dev/null
+++ b/net-wireless/spectools/spectools-2011.08.1_p20140618-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic toolchain-funcs udev
+
+MY_PN=${PN}
+MY_PV=${PV/\./-}
+MY_PV=${MY_PV/./-R}
+MY_P="${MY_PN}-${MY_PV}"
+S=${WORKDIR}/${MY_P}
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://www.kismetwireless.net/${PN}.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${MY_P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~ppc ~x86"
+fi
+
+DESCRIPTION="Spectrum Analyzer for Meta-Geek Wi-Spy and GSG Ubertooth hardware"
+HOMEPAGE="http://www.kismetwireless.net/spectools/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +ncurses +gtk"
+
+RDEPEND="
+ virtual/libusb:0
+ ncurses? ( sys-libs/ncurses:0= )
+ gtk? ( x11-libs/gtk+:2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+# Upstream has still not migrated to the libusb-1 line.
+# Maemo: Add hildon and bbus
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-tinfo.patch
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_configure() {
+ append-cflags -std=gnu89
+ default
+}
+
+# Please note that upstream removed the --with-gtk-version option
+# and GTK is now automagical. GTK1 support was also removed.
+src_compile() {
+ emake depend
+
+ emake spectool_net
+
+ use debug && emake spectool_raw
+
+ use ncurses && emake spectool_curses
+
+ use gtk && emake spectool_gtk
+
+ #if use maemo; then
+ # emake spectool_hildon usbcontrol \
+ # || die "emake spectool_hildon usbcontrol failed"
+ #fi
+}
+
+src_install() {
+ dobin spectool_net
+ use debug && dobin spectool_raw
+ use ncurses && dobin spectool_curses
+ use gtk && dobin spectool_gtk
+
+ udev_dorules 99-wispy.rules
+ dodoc README
+
+ #if use maemo; then
+ # dobin spectool_hildon
+ # dosbin usbcontrol
+ #fi
+}
diff --git a/net-wireless/spectools/spectools-2016.01.1.ebuild b/net-wireless/spectools/spectools-2016.01.1.ebuild
new file mode 100644
index 000000000000..a42b3c3c808f
--- /dev/null
+++ b/net-wireless/spectools/spectools-2016.01.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic toolchain-funcs udev
+
+MY_PN=${PN}
+MY_PV=${PV/\./-}
+MY_PV=${MY_PV/./-R}
+MY_P="${MY_PN}-${MY_PV}"
+S=${WORKDIR}/${MY_P}
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://www.kismetwireless.net/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.xz"
+ KEYWORDS="amd64 arm ~arm64 ~ppc x86"
+fi
+
+DESCRIPTION="Spectrum Analyzer for Meta-Geek Wi-Spy and GSG Ubertooth hardware"
+HOMEPAGE="http://www.kismetwireless.net/spectools/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +ncurses +gtk"
+
+RDEPEND="
+ virtual/libusb:0
+ ncurses? ( sys-libs/ncurses:0= )
+ gtk? ( x11-libs/gtk+:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+ dev-libs/glib:= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+# Upstream has still not migrated to the libusb-1 line.
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2011.08.1_p20140618-tinfo.patch
+ mv configure.{in,ac} || die
+ eautoreconf
+
+ # fix bug 577466 by restoring pre-GCC5 inline semantics
+ append-cflags -std=gnu89
+}
+
+# Please note that upstream removed the --with-gtk-version option
+# and GTK is now automagical. GTK1 support was also removed.
+src_compile() {
+ emake depend
+
+ emake spectool_net
+
+ use debug && emake spectool_raw
+
+ use ncurses && emake spectool_curses
+
+ use gtk && emake spectool_gtk
+
+ #if use maemo; then
+ # emake spectool_hildon usbcontrol \
+ # || die "emake spectool_hildon usbcontrol failed"
+ #fi
+}
+
+src_install() {
+ dobin spectool_net
+ use debug && dobin spectool_raw
+ use ncurses && dobin spectool_curses
+ use gtk && dobin spectool_gtk
+
+ udev_dorules 99-wispy.rules
+ dodoc README
+
+ #if use maemo; then
+ # dobin spectool_hildon
+ # dosbin usbcontrol
+ #fi
+}
diff --git a/net-wireless/spectools/spectools-9999.ebuild b/net-wireless/spectools/spectools-9999.ebuild
new file mode 100644
index 000000000000..c19efade2e52
--- /dev/null
+++ b/net-wireless/spectools/spectools-9999.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils toolchain-funcs udev
+
+MY_PN=${PN}
+MY_PV=${PV/\./-}
+MY_PV=${MY_PV/./-R}
+MY_P="${MY_PN}-${MY_PV}"
+S=${WORKDIR}/${MY_P}
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://www.kismetwireless.net/${PN}.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+fi
+
+DESCRIPTION="Spectrum Analyzer for Meta-Geek Wi-Spy and GSG Ubertooth hardware"
+HOMEPAGE="http://www.kismetwireless.net/spectools/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +ncurses +gtk"
+
+RDEPEND="
+ virtual/libusb:0
+ ncurses? ( sys-libs/ncurses:0= )
+ gtk? ( x11-libs/gtk+:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+ dev-libs/glib:= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+# Upstream has still not migrated to the libusb-1 line.
+# Maemo: Add hildon and bbus
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2011.08.1_p20140618-tinfo.patch
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+# Please note that upstream removed the --with-gtk-version option
+# and GTK is now automagical. GTK1 support was also removed.
+src_compile() {
+ emake depend
+
+ emake spectool_net
+
+ use debug && emake spectool_raw
+
+ use ncurses && emake spectool_curses
+
+ use gtk && emake spectool_gtk
+
+ #if use maemo; then
+ # emake spectool_hildon usbcontrol \
+ # || die "emake spectool_hildon usbcontrol failed"
+ #fi
+}
+
+src_install() {
+ dobin spectool_net
+ use debug && dobin spectool_raw
+ use ncurses && dobin spectool_curses
+ use gtk && dobin spectool_gtk
+
+ udev_dorules 99-wispy.rules
+ dodoc README
+
+ #if use maemo; then
+ # dobin spectool_hildon
+ # dosbin usbcontrol
+ #fi
+}