recon-ng: reconnaissance framework, initial ebuild. Thanks to issue #202

This commit is contained in:
Anton Bolshakov 2013-12-22 07:43:22 +00:00
parent e33a48b026
commit c85f07c16a
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1 @@
EBUILD recon-ng-9999.ebuild 950 SHA256 84d31d57966d40372c05bf2bb54f719f66ed9315686693c510e8305d3486bed0 SHA512 9155771bb8add34b2fe55cf2ffa536cd7f7d0f4849120042959c4b22df0b00ce7805bd99a08ca14e36d25d981339f2471b6176d2b682aaa7df47f4e84f40dc55 WHIRLPOOL 8b6df4ab5ff255040923f9087909a1ad4a2e252a09512eac3a27a21591c919df61b88d8bc160d52853454424e5c499386de8ed7d06cd332cea43a451886daf9b

View file

@ -0,0 +1,34 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
inherit python-r1 git-2 eutils
DESCRIPTION="Web Reconnaissance Framework"
HOMEPAGE="https://bitbucket.org/LaNMaSteR53/recon-ng"
EGIT_REPO_URI="https://bitbucket.org/LaNMaSteR53/recon-ng"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="${PYTHON_DEPS}"
DEPEND="${RDEPEND}"
src_prepare() {
find ./ -name .git\* | xargs rm -rf
sed -i recon-ng.py -i recon-cli.py -i recon-rpc.py -e "s:sys.path.append('./core/'):import os\nos.chdir(os.path.dirname(os.path.realpath(__file__)))\nsys.path.append('./core/'):g"
}
src_install () {
dodir /usr/share/"${PN}"/
cp -R * "${D}"/usr/share/"${PN}"/
dosym /usr/share/"${PN}"/recon-rpc.py /usr/bin/recon-rpc
dosym /usr/share/"${PN}"/recon-cli.py /usr/bin/recon-cli
dosym /usr/share/"${PN}"/recon-ng.py /usr/bin/recon-ng
}