mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-11 09:43:40 +02:00
recon-ng: fix use deps, fix 9999, symlink
This commit is contained in:
parent
8913d5cfa9
commit
ea716ce0ee
6 changed files with 44 additions and 165 deletions
|
|
@ -1,3 +1 @@
|
|||
DIST recon-ng-4.9.1.tar.bz2 401504 SHA256 f25b621f39a43421a50cf8d34906063477a9a1a4c38f6c22c9b3e8140c9b1b7f SHA512 b7ff1221f903e2906510584d499dcf5a8e48c3b3d6da7fa2b4160a3017d037ac2662604a5bd123cea2b117ad6a7a7ce59471ec1c4a6cb5ffd41da6377742c32f WHIRLPOOL d611008163a79f066a12cfb5b9c6318bc542c15420ba08f0ae2c7c1d7c3963150831ac860255f782781566ee55ab6add342c3906350cfac3e04be81201317c31
|
||||
DIST recon-ng-4.9.2.tar.bz2 402070 SHA256 f07743555ed1214b9c97cb1c052cd1feb044435c6ad55039666d620996127a79 SHA512 62f3033935e5635064536a97c4398bf9c5eb292c101ccf55f7c56fd764314bb32c8bb5b5c87a2b6fc4d64ac4a55ba9dc71c5e580a3f40fa714f7e641642e5a6d WHIRLPOOL 5058e132da29b8af8a8b0137405006f18f84be387fc3d836cf315b9d3082f8360d93d180ee8ae4bd4463f05b546dcaa6710b86753d3d29f8829cac2978ea7049
|
||||
DIST recon-ng-4.9.3.tar.bz2 401091 SHA256 aa16ce17ad96bed5910278da4b949ff128efcedef2c0697703d1b5425b283643 SHA512 da51402c431e39205cb67e5639524ff635ee82d27769f2a1ff8ae3010cec3e31b6c769ae967a725af64c7baec5bb34e5fedb4110d352766a192e597bc1bc21e0 WHIRLPOOL 01dbeb299c4f29c61b1188d68f067a15cd3ae23b492af7135421da91bce2880998a53509b7bbf0ac26906ed6550adee717c32ed9d3431a6d40bc3b9847eb2d09
|
||||
DIST recon-ng-4.9.3.tar.bz2 401091 BLAKE2B b5597f096dfd770bd69afe2cc1dbd1fe3375da5203b12f4e857d0ee9a8ec3bf5881ee55a97fdbb92decb3e7bbe0b29add237a6efd71a661d35f3ba1588367f95 SHA512 da51402c431e39205cb67e5639524ff635ee82d27769f2a1ff8ae3010cec3e31b6c769ae967a725af64c7baec5bb34e5fedb4110d352766a192e597bc1bc21e0
|
||||
|
|
|
|||
|
|
@ -1,45 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
CUR_COMMIT="9fdc4d7e7cd4"
|
||||
|
||||
DESCRIPTION="Web Reconnaissance Framework"
|
||||
HOMEPAGE="https://bitbucket.org/LaNMaSteR53/recon-ng"
|
||||
SRC_URI="https://bitbucket.org/LaNMaSteR53/recon-ng/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/dicttoxml-1.6.6
|
||||
virtual/python-dnspython
|
||||
>=dev-python/jsonrpclib-0.1.3
|
||||
>=dev-python/lxml-3.4.4
|
||||
>=dev-python/mechanize-0.2.5
|
||||
>=dev-python/slowaes-0.1
|
||||
>=dev-python/xlsxwriter-0.7.3
|
||||
>=dev-python/PyPDF2-1.25.1
|
||||
>=dev-python/olefile-0.42.1
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/LaNMaSteR53-${PN}-${CUR_COMMIT}"
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/"${PN}"/
|
||||
cp -R * "${D}"/usr/share/"${PN}"/
|
||||
dosym /usr/share/"${PN}"/recon-rpc /usr/bin/recon-rpc
|
||||
dosym /usr/share/"${PN}"/recon-cli /usr/bin/recon-cli
|
||||
dosym /usr/share/"${PN}"/recon-ng /usr/bin/recon-ng
|
||||
|
||||
python_fix_shebang "${ED}"/usr/share/recon-ng/
|
||||
}
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
CUR_COMMIT="70d967e3f530"
|
||||
|
||||
DESCRIPTION="Web Reconnaissance Framework"
|
||||
HOMEPAGE="https://bitbucket.org/LaNMaSteR53/recon-ng"
|
||||
SRC_URI="https://bitbucket.org/LaNMaSteR53/recon-ng/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/dicttoxml-1.6.6
|
||||
virtual/python-dnspython
|
||||
>=dev-python/jsonrpclib-0.1.3
|
||||
>=dev-python/lxml-3.4.4
|
||||
>=dev-python/mechanize-0.2.5
|
||||
>=dev-python/slowaes-0.1
|
||||
>=dev-python/xlsxwriter-0.7.3
|
||||
>=dev-python/PyPDF2-1.25.1
|
||||
>=dev-python/olefile-0.42.1
|
||||
dev-python/flask
|
||||
dev-python/unicodecsv
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/LaNMaSteR53-${PN}-${CUR_COMMIT}"
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/"${PN}"/
|
||||
cp -R * "${D}"/usr/share/"${PN}"/
|
||||
dosym /usr/share/"${PN}"/recon-rpc /usr/bin/recon-rpc
|
||||
dosym /usr/share/"${PN}"/recon-cli /usr/bin/recon-cli
|
||||
dosym /usr/share/"${PN}"/recon-ng /usr/bin/recon-ng
|
||||
|
||||
python_fix_shebang "${ED}"/usr/share/recon-ng/
|
||||
}
|
||||
1
net-analyzer/recon-ng/recon-ng-4.9.3-r1.ebuild
Symbolic link
1
net-analyzer/recon-ng/recon-ng-4.9.3-r1.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
recon-ng-9999.ebuild
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
CUR_COMMIT="c83599e52159"
|
||||
|
||||
DESCRIPTION="Web Reconnaissance Framework"
|
||||
HOMEPAGE="https://bitbucket.org/LaNMaSteR53/recon-ng"
|
||||
SRC_URI="https://bitbucket.org/LaNMaSteR53/recon-ng/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/dicttoxml-1.6.6
|
||||
virtual/python-dnspython
|
||||
>=dev-python/jsonrpclib-0.1.3
|
||||
>=dev-python/lxml-3.4.4
|
||||
>=dev-python/mechanize-0.2.5
|
||||
>=dev-python/slowaes-0.1
|
||||
>=dev-python/xlsxwriter-0.7.3
|
||||
>=dev-python/PyPDF2-1.25.1
|
||||
>=dev-python/olefile-0.42.1
|
||||
dev-python/flask
|
||||
dev-python/unicodecsv
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/LaNMaSteR53-${PN}-${CUR_COMMIT}"
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/"${PN}"/
|
||||
cp -R * "${D}"/usr/share/"${PN}"/
|
||||
dosym /usr/share/"${PN}"/recon-rpc /usr/bin/recon-rpc
|
||||
dosym /usr/share/"${PN}"/recon-cli /usr/bin/recon-cli
|
||||
dosym /usr/share/"${PN}"/recon-ng /usr/bin/recon-ng
|
||||
|
||||
python_fix_shebang "${ED}"/usr/share/recon-ng/
|
||||
}
|
||||
|
|
@ -1,36 +1,57 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
#inherit python-single-r1
|
||||
|
||||
inherit python-r1 git-2
|
||||
#PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
inherit python-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://bitbucket.org/LaNMaSteR53/recon-ng"
|
||||
KEYWORDS=""
|
||||
else
|
||||
CUR_COMMIT="c83599e52159"
|
||||
SRC_URI="https://bitbucket.org/LaNMaSteR53/recon-ng/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/LaNMaSteR53-${PN}-${CUR_COMMIT}"
|
||||
fi
|
||||
|
||||
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=""
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/dicttoxml-1.6.6[${PYTHON_USEDEP}]
|
||||
virtual/python-dnspython[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonrpclib-0.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/mechanize-0.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/slowaes-0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlsxwriter-0.7.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/PyPDF2-1.25.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/olefile-0.42.1[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/unicodecsv[${PYTHON_USEDEP}]"
|
||||
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 /usr/bin/recon-rpc
|
||||
dosym /usr/share/"${PN}"/recon-cli /usr/bin/recon-cli
|
||||
dosym /usr/share/"${PN}"/recon-ng /usr/bin/recon-ng
|
||||
|
||||
python_fix_shebang "${ED}"/usr/share/recon-ng/
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodir /usr/share/"${PN}"/
|
||||
cp -R * "${ED}"/usr/share/"${PN}"/
|
||||
dosym "${EPREFIX}"/usr/share/"${PN}"/recon-rpc /usr/bin/recon-rpc
|
||||
dosym "${EPREFIX}"/usr/share/"${PN}"/recon-cli /usr/bin/recon-cli
|
||||
dosym "${EPREFIX}"/usr/share/"${PN}"/recon-ng /usr/bin/recon-ng
|
||||
|
||||
python_fix_shebang "${ED}"usr/share/${PN}/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue