summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Klimaszewski <steev@gentoo.org>2012-02-17 03:30:54 +0000
committerStephen Klimaszewski <steev@gentoo.org>2012-02-17 03:30:54 +0000
commit6ab3af3add93ccf435442223862c6d5171716b5e (patch)
treeff5ba9ef63acd9dcc0eae99af3a3e7079616415c /net-wireless/spectools
parentManifest fix (diff)
downloadgentoo-2-6ab3af3add93ccf435442223862c6d5171716b5e.tar.gz
gentoo-2-6ab3af3add93ccf435442223862c6d5171716b5e.tar.bz2
gentoo-2-6ab3af3add93ccf435442223862c6d5171716b5e.zip
spectools added as a dependency for new Kismet ebuilds.
(Portage version: 2.1.10.46/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/spectools')
-rw-r--r--net-wireless/spectools/ChangeLog10
-rw-r--r--net-wireless/spectools/metadata.xml19
-rw-r--r--net-wireless/spectools/spectools-2011.08.1.ebuild63
3 files changed, 92 insertions, 0 deletions
diff --git a/net-wireless/spectools/ChangeLog b/net-wireless/spectools/ChangeLog
new file mode 100644
index 000000000000..3df73271ec52
--- /dev/null
+++ b/net-wireless/spectools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-wireless/spectools
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/spectools/ChangeLog,v 1.1 2012/02/17 03:30:54 steev Exp $
+
+*spectools-2011.08.1 (17 Feb 2012)
+
+ 17 Feb 2012; Steev Klimaszewsk <steev@gentoo.org>
+ +spectools-2011.08.1.ebuild, +metadata.xml:
+ New tool, spectools added as a dependency for new Kismet ebuilds.
+
diff --git a/net-wireless/spectools/metadata.xml b/net-wireless/spectools/metadata.xml
new file mode 100644
index 000000000000..59c8cc99fd07
--- /dev/null
+++ b/net-wireless/spectools/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>mobile</herd>
+ <maintainer>
+ <email>sidhayn@gmail.com</email>
+ <description>Proxied maintainer, assign bugs to him</description>
+ </maintainer>
+ <maintainer>
+ <email>steev@gentoo.org</email>
+ <name>Steev Klimaszewski</name>
+ <description>Proxy-maintainer, CC him on bugs</description>
+</maintainer>
+<use>
+ <flag name="debug">Build the raw output client for spectools. This is only needed for developing spectools.</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.ebuild b/net-wireless/spectools/spectools-2011.08.1.ebuild
new file mode 100644
index 000000000000..e7af0376e98a
--- /dev/null
+++ b/net-wireless/spectools/spectools-2011.08.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/spectools/spectools-2011.08.1.ebuild,v 1.1 2012/02/17 03:30:54 steev Exp $
+
+EAPI=4
+
+inherit toolchain-funcs eutils
+
+MY_P=${P/\./-}
+MY_P=${MY_P/./-R}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="IEEE 802.11 wireless LAN sniffer"
+HOMEPAGE="http://www.kismetwireless.net/spectools/"
+
+if [[ ${PV} == "9999" ]] ; then
+ ESVN_REPO_URI="https://www.kismetwireless.net/code/svn/tools/spectools"
+ inherit subversion
+ KEYWORDS=""
+else
+ SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~ppc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug ncurses gtk"
+
+DEPEND="${RDEPEND}"
+RDEPEND="dev-libs/libusb
+ ncurses? ( sys-libs/ncurses )
+ gtk? ( =x11-libs/gtk+-2* )"
+
+src_compile() {
+ emake depend
+
+ if use debug; then
+ emake spectool_raw
+ fi
+
+ if use ncurses; then
+ emake spectool_curses
+ fi
+
+ if use gtk; then
+ emake spectool_gtk
+ fi
+
+ emake spectool_net
+
+}
+
+src_install() {
+ dobin spectool_net
+ use debug && dobin spectool_raw
+ use ncurses && dobin spectool_curses
+ use gtk && dobin spectool_gtk
+
+ dodir /$(get_libdir)/udev/rules.d/
+ insinto /$(get_libdir)/udev/rules.d/
+ doins 99-wispy.rules
+ dodoc README
+}