Cleanups for wifitap, spectools and ska

This commit is contained in:
jensp 2010-02-01 18:34:22 +00:00
parent d4e8838c18
commit 75286da385
9 changed files with 26 additions and 167 deletions

View file

@ -1,2 +1,2 @@
DIST ska-0.2.tar.bz2 13201 RMD160 d4c0122e3d09a79cea322a2c321806a008ef3992 SHA1 94a0a1069b5179e9b3017e54d8ae2b157c1bb9bb SHA256 c4c908b50c1138e9a87f8fae855fe3ce6e726467dd7f36a1c9467da997140165
EBUILD ska-0.2.ebuild 478 RMD160 8a9d04fbda3fddc60ac44d41591782f4384d309a SHA1 0b73a2f8348fb730cba3def23d3adf33244b3f64 SHA256 5151cc233f4b0f85fde6a2a594aa3fc1894aa529611f0138787214a60abf9113
EBUILD ska-0.2.ebuild 478 RMD160 92ae16f5b32db603631462fb078d07be44b49e86 SHA1 4b48fdf5ee1ae21b9b06c185c7a51494e9b0e50c SHA256 449d1fafee1e4af0040ba1bb9a0a986a226e4704d2779a6135ba59f39f5879e7

View file

@ -1,4 +1,4 @@
# Copyright 1999-2005 Gentoo Foundation
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

View file

@ -1 +1 @@
EBUILD spectools-9999.ebuild 1419 RMD160 3cd2bddeed6475434e22e4cb2427796cf5aad9eb SHA1 52757a3f5bd858b14d9717b5821d618450aafd21 SHA256 f88ec8d9e681779165da919c0eb303fa164a56821d2bbb67d138c6acfdbf7e1b
EBUILD spectools-9999.ebuild 1294 RMD160 a2892aa52f0ddf04bb46e98e0c08368022cab6ab SHA1 af875aabaaad37e90ec590f07b0e58bdb4ec3de3 SHA256 4a8b34a0bf55d68fd5c9e97443a906b5878ff20251ec4005ae4f40442d536857

View file

@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
# $Header: $
inherit toolchain-funcs eutils subversion
@ -23,35 +23,35 @@ RDEPEND="dev-libs/libusb
gtk? ( =x11-libs/gtk+-2* )"
src_compile() {
econf $(use_with gtk gtk-version 2) || die "econf failed"
econf $(use_with gtk gtk-version 2) || die "econf failed"
emake depend || die "emake DEPEND filed"
if use debug; then
emake spectool_raw || die "emake spectool_raw failed"
fi
if use debug; then
emake spectool_raw || die "emake spectool_raw failed"
fi
if use ncurses; then
emake spectool_curses || die "emake spectool_curses failed"
fi
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 gtk; then
emake spectool_gtk || die "emake spectool_gtk failed"
fi
emake spectool_net || die "emake spectool_net failed"
}
src_install() {
dobin spectool_net
use debug && dobin spectool_raw
use ncurses && dobin spectool_curses
use gtk && dobin spectool_gtk
dobin spectool_net
use debug && dobin spectool_raw
use ncurses && dobin spectool_curses
use gtk && dobin spectool_gtk
# if use udev; then
dodir /$(get_libdir)/udev/rules.d/
insinto /$(get_libdir)/udev/rules.d/
doins 99-wispy.rules
# fi
dodoc README
dodoc README
}

View file

@ -1,5 +1,2 @@
DIST wifitap-0.4.0.tgz 110612 RMD160 808e709050a92cf88f73ca7c79700e9f8bf776fb SHA1 54d605c021192fb4b1b34f0b37b95b7c8fe4df71 SHA256 5029b4b80e66844e6109ee9840e70a90e453bd4e5169d9e903eaef599d15162e
EBUILD wifitap-0.4.0-r1.ebuild 984 RMD160 c202b44153eb1d71ca198b50f78ac95624349f27 SHA1 4c294cf9523c1ff518cf452e9975f364ab9c8317 SHA256 d106cf5a825ffe3efa218785b86677fdb3ae1798edc08bef6a2f8c3d28ef77e8
EBUILD wifitap-0.4.0-r2.ebuild 1031 RMD160 4b4f14658cb752a009c536b54d034bc85e1d9dfb SHA1 d076f9c75d26aaedb8f9bdee43a7ca500bfccd02 SHA256 202542acbaf5443313ec21a37bbb4ab6fcfb05cd8e7982e68ca195e4321e88ab
EBUILD wifitap-0.4.0-r3.ebuild 1286 RMD160 0780b1cd3fead70da2de8dfcec2b6d2141432cc7 SHA1 bd932bf7ed9988e5b048ac5b252208f48399d107 SHA256 5b3482006a8777ab3567188100f0b705fa407276189e5f932dccfb90d565ca4b
EBUILD wifitap-0.4.0.ebuild 983 RMD160 4f4daccb332eb662ef6c034b7ba9bd2926942421 SHA1 2ce9350f3aeb495c7feb7a7823a00b9304c76cc6 SHA256 1625b7188284fa503a277711331e41e83bae62d41bf2e00bf957ff7c7b085717
EBUILD wifitap-0.4.0-r3.ebuild 1255 RMD160 2b52803d4392f381b12694ee90ea1e3d84f4481d SHA1 19876bd62ea5a64d056559e4c2d9ada96967e85e SHA256 709cd4d6106c9e47f758a901ddfd686989b5ca511885db5d9b01bd60382b03d4

View file

@ -1,44 +0,0 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/net-wireless/wifitap/wifitap-0.3.7.ebuild,v 1.1.1.1 2006/03/29 19:41:59 grimmlin Exp $
inherit python
DESCRIPTION="A wireless tool to do direct connection to client without passing through an AP"
HOMEPAGE="http://sid.rstack.org/index.php/Wifitap_EN"
SRC_URI="http://sid.rstack.org/code/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="speed"
DEPEND="virtual/python
speed? ( dev-python/psyco )
<net-analyzer/scapy-2.0"
S=${WORKDIR}/${PN}
src_install() {
exeinto /usr/bin
newexe wifitap.py wifitap
newexe wifidns.py wifidns
newexe wifiping.py wifiping
# also install scapy as a importable python module
python_version
insinto /usr/$(get_libdir)/python${PYVER}/site-packages
rm scapy.py
doins *.py
dodoc AUTHORS README Changelog BUGS TODO
}
pkg_postinst() {
python_mod_optimize
}
pkg_postrm() {
python_mod_cleanup
}

View file

@ -1,47 +0,0 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/net-wireless/wifitap/wifitap-0.3.7.ebuild,v 1.1.1.1 2006/03/29 19:41:59 grimmlin Exp $
inherit python
DESCRIPTION="A wireless tool to do direct connection to client without passing through an AP"
HOMEPAGE="http://sid.rstack.org/index.php/Wifitap_EN"
SRC_URI="http://sid.rstack.org/code/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="speed"
DEPEND="virtual/python
speed? ( dev-python/psyco )
<net-analyzer/scapy-2.0
dev-python/gnuplot-py
dev-python/pyx"
S=${WORKDIR}/${PN}
src_install() {
exeinto /usr/bin
newexe wifitap.py wifitap
newexe wifidns.py wifidns
newexe wifiping.py wifiping
# also install scapy as a importable python module
python_version
insinto /usr/$(get_libdir)/python${PYVER}/site-packages
rm scapy.py
doins *.py
dodoc AUTHORS README Changelog BUGS TODO
}
pkg_postinst() {
python_mod_optimize
}
pkg_postrm() {
python_mod_cleanup
}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2005 Gentoo Foundation
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/net-wireless/wifitap/wifitap-0.3.7.ebuild,v 1.1.1.1 2006/03/29 19:41:59 grimmlin Exp $
@ -14,21 +14,19 @@ KEYWORDS="~amd64 ~x86"
IUSE="speed"
DEPEND="virtual/python
speed? ( x86? ( dev-python/psyco ) )
speed? ( x86? ( dev-python/psyco ) )
<net-analyzer/scapy-2.0
dev-python/gnuplot-py
dev-python/pyx"
S=${WORKDIR}/${PN}
src_compile() {
#speed/psyco should automatically be disabled on all arches besides x86, this should do it
if use speed; then if use !x86; then einfo "Psyco (speed) support only available on x86"; fi; fi;
true;
#speed/psyco should automatically be disabled on all arches besides x86, this should do it
if use speed; then if use !x86; then einfo "Psyco (speed) support only available on x86"; fi; fi;
true;
}
src_install() {
exeinto /usr/bin
newexe wifitap.py wifitap
@ -51,4 +49,3 @@ pkg_postinst() {
pkg_postrm() {
python_mod_cleanup
}

View file

@ -1,44 +0,0 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/net-wireless/wifitap/wifitap-0.3.7.ebuild,v 1.1.1.1 2006/03/29 19:41:59 grimmlin Exp $
inherit python
DESCRIPTION="A wireless tool to do direct connection to client without passing through an AP"
HOMEPAGE="http://sid.rstack.org/index.php/Wifitap_EN"
SRC_URI="http://sid.rstack.org/code/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="speed"
DEPEND="virtual/python
speed? ( dev-python/psyco )
>=app-fuzz/scapy-1.0.3"
S=${WORKDIR}/${PN}
src_install() {
exeinto /usr/bin
newexe wifitap.py wifitap
newexe wifidns.py wifidns
newexe wifiping.py wifiping
# also install scapy as a importable python module
python_version
insinto /usr/$(get_libdir)/python${PYVER}/site-packages
rm scapy.py
doins *.py
dodoc AUTHORS README Changelog BUGS TODO
}
pkg_postinst() {
python_mod_optimize
}
pkg_postrm() {
python_mod_cleanup
}