mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-24 01:09:38 +01:00
39 lines
961 B
Bash
39 lines
961 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI="5"
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
inherit eutils python-single-r1 git-r3
|
|
|
|
DESCRIPTION="A voip pentest tools suite"
|
|
HOMEPAGE="http://code.google.com/p/sipvicious/"
|
|
EGIT_REPO_URI="https://github.com/EnableSecurity/sipvicious.git"
|
|
EGIT_COMMIT="v0.2.8"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE="pdf"
|
|
|
|
DEPEND=""
|
|
RDEPEND="pdf? ( dev-python/reportlab )"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/"${P}"-path.patch
|
|
find ./ -name .svn | xargs rm -r
|
|
}
|
|
|
|
src_install() {
|
|
dodir /usr/share/${PN}
|
|
dodoc Changelog README.md THANKS TODO
|
|
rm -f Changelog README.md THANKS TODO
|
|
chmod 655 svcrash.py
|
|
cp -pPR * "${ED}"usr/share/${PN}/ || die
|
|
chown -R root:0 "${ED}"
|
|
for file in svmap.py svwar.py svcrack.py svreport.py svcrash.py; do
|
|
dosym /usr/share/${PN}/${file} /usr/bin/${file%%.*}
|
|
done
|
|
python_fix_shebang "${ED}"usr/share/${PN}
|
|
}
|