mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-06 03:20:43 +02:00
39 lines
1 KiB
Bash
39 lines
1 KiB
Bash
# Copyright 1999-2006 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
DESCRIPTION="Inguma is an open source penetration testing toolkit written completely in Python"
|
|
HOMEPAGE="http://inguma.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE="qt oracle"
|
|
SLOT="0"
|
|
RDEPEND="dev-python/Impacket
|
|
oracle? ( dev-python/cxoracle )
|
|
dev-python/paramiko
|
|
dev-python/pysnmp
|
|
dev-python/pybluez
|
|
<net-analyzer/scapy-2.0
|
|
qt? ( dev-python/PyQt )"
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
src_compile() {
|
|
einfo "Nothing to compile"
|
|
}
|
|
|
|
src_install() {
|
|
if ! use qt; then
|
|
rm -rf gui ingumagui.py
|
|
else
|
|
dosbin ${FILESDIR}/ingumagui
|
|
fi
|
|
dodir /usr/lib/${PN}
|
|
dodoc AUTHORS COPYING.txt ChangeLog MODULES.txt README REQUIRES THANKS TODO TUTORIAL.txt doc/*
|
|
rm -rf AUTHORS COPYING.txt ChangeLog LICENSE MODULES.txt README REQUIRES THANKS TODO TUTORIAL.txt doc
|
|
rm -rf scapy* winscapy*
|
|
cp -pPR ${S}/* ${D}usr/lib/${PN} || die
|
|
chown -R root:0 ${D}
|
|
dosbin ${FILESDIR}/inguma
|
|
}
|