mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
Merge pull request #336 from Wuodan/inguma
Remove net-analyzer/inguma: Tool is dead
This commit is contained in:
commit
7f9fe2d53d
2 changed files with 0 additions and 58 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST inguma-0.4.tar.gz 6808833 SHA256 f48a110d44e8ccc5c2738b9a72cefed741fbba562ce39e42a6327c9a8b103be6 SHA512 c900a85beda6a59d90159039461ddccbd35c7023d45a861bde8f0fb141f58c2bde7c84f97ec5f2a728ff3d2d29979b3b18cab7c146f4f817b56ec8a0c4f808ca WHIRLPOOL 580cabd95d954cb1b1de2e99c831730d68f6df76f8b82c9ddff7b92efcabca7b82325f57e9eaf271776a773122d367e91ec46a4fc1e91f60f8dad60130ed0514
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-single-r1 multilib
|
||||
|
||||
DESCRIPTION="Inguma is an open source penetration testing toolkit written completely in Python"
|
||||
HOMEPAGE="http://inguma.eu/projects/inguma"
|
||||
SRC_URI="http://inguma.eu/attachments/download/105/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="bluetooth gtk oracle"
|
||||
SLOT="0"
|
||||
RDEPEND="dev-python/impacket
|
||||
dev-python/paramiko
|
||||
dev-python/pycrypto
|
||||
dev-python/pygtksourceview
|
||||
dev-python/pysnmp
|
||||
net-analyzer/nmap
|
||||
net-analyzer/scapy
|
||||
bluetooth? ( dev-python/pybluez )
|
||||
gtk? ( dev-python/pygtk )
|
||||
oracle? ( dev-python/cxoracle )"
|
||||
|
||||
QA_PREBUILT="usr/$(get_libdir)/${PN}/lib/pyshellcodelib/x86/test"
|
||||
|
||||
src_install() {
|
||||
dodir /usr/$(get_libdir)/${PN}
|
||||
dodoc doc/*
|
||||
rm -rf doc
|
||||
rm -rf scapy* debian*
|
||||
|
||||
cp -pPR "${S}"/* "${ED}"/usr/$(get_libdir)/"${PN}" || die
|
||||
dodir /usr/sbin
|
||||
cat <<-EOF > "${ED}"/usr/sbin/${PN}
|
||||
#!/bin/sh
|
||||
cd /usr/$(get_libdir)/${PN}
|
||||
exec ./${PN}.py "\$@"
|
||||
EOF
|
||||
fperms +x /usr/sbin/${PN} /usr/$(get_libdir)/${PN}/${PN}.py
|
||||
if ! use gtk; then
|
||||
rm ginguma.py
|
||||
else
|
||||
cat <<-EOF > "${ED}"/usr/sbin/g${PN}
|
||||
#!/bin/sh
|
||||
cd /usr/$(get_libdir)/${PN}
|
||||
exec ./g${PN}.py "\$@"
|
||||
EOF
|
||||
fperms +x /usr/sbin/ginguma /usr/$(get_libdir)/${PN}/ginguma.py
|
||||
fi
|
||||
fowners -R root:0 /
|
||||
python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}
|
||||
}
|
||||
Loading…
Reference in a new issue