recon-ng: 5.0.1 bump

This commit is contained in:
blshkv 2019-09-19 21:50:58 +08:00
parent 8128459c8e
commit baf98c4882
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 58 additions and 62 deletions

View file

@ -1,2 +1,2 @@
DIST recon-ng-4.9.6.tar.bz2 400999 BLAKE2B 5785bf6954aa00970b7940a129364660283825d44d723b241cc288a619dc404f368e7ac33b5b59dc4e7655b76df82dc95f84d7e2f0be67c4467d52199315a226 SHA512 a6c36f84eca6a51b3db9e9f53bef45f7b1eb39cbc59af201bfe2eda709dc28638db5ba298cf0664ec63819a82ad37593e2e3c8ed6b8b5c1dd1411df1f3a392a9
DIST recon-ng-5.0.0.tar.gz 63822 BLAKE2B 2e7b5e12256a2d23362ee5153e4ec4fe01ea9e1b3e1469640ddeb02e56f34956081fe42b18b34ddac71e272fca6ce2bc555cdf68cd048b05238d6221d1225e02 SHA512 d75c3a064a6fb587cd618752b81f4831ab21731dc2d4e2cee6a271c20b30bd0e97d6b856ec1636152fc45a634657ec9f7124f856fd95448ed4c775a17091fd5b
DIST recon-ng-5.0.1.tar.gz 63902 BLAKE2B c453ba91731a06b64f87306315af798d2ec98777b93177cf66e9e1fea6fbf1dbfd9a7b1d6a03d3d52ef0334329bcb946560ee36f46163d3579a435ec527f7d55 SHA512 8b336d8904b499093d3478136304ff35e2041fde986d0f0dad04a552ac8bf0e37d845c86dff2d02a67d25aafd42a42472c051a1b6970ec70fa37c392ff9293c4

View file

@ -1,61 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit python-r1
DESCRIPTION="Web Reconnaissance Framework"
HOMEPAGE="https://bitbucket.org/LaNMaSteR53/recon-ng"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://bitbucket.org/LaNMaSteR53/recon-ng"
else
CUR_COMMIT="1a691939a77f"
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
LICENSE="GPL-3"
SLOT=0
IUSE=""
RDEPEND="${PYTHON_DEPS}
>=dev-python/jsonrpclib-0.1.3[${PYTHON_USEDEP}]
dev-python/dicttoxml[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/mechanize[${PYTHON_USEDEP}]
dev-python/slowaes[${PYTHON_USEDEP}]
dev-python/xlsxwriter[${PYTHON_USEDEP}]
dev-python/PyPDF2[${PYTHON_USEDEP}]
dev-python/olefile[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/unicodecsv[${PYTHON_USEDEP}]
dev-python/dnspython[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
pkg_setup() {
python_setup
}
src_prepare() {
python_fix_shebang "${S}"
default
}
src_install() {
dodir "/usr/share/${PN}"
cp -R * "${ED}/usr/share/${PN}/"
python_optimize "${ED}/usr/share/${PN}"
for x in recon-*; do
dosym "../share/${PN}/${x}" "/usr/bin/${x}"
done
dodoc README.md
}

View file

@ -0,0 +1,57 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_REQ_USE="sqlite"
inherit python-r1
DESCRIPTION="Web Reconnaissance Framework"
HOMEPAGE="https://github.com/lanmaster53/recon-ng"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/lanmaster53/recon-ng"
else
SRC_URI="https://github.com/lanmaster53/recon-ng/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT=0
IUSE=""
DEPEND=""
RDEPEND="${PYTHON_DEPS}
dev-python/dicttoxml[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
>=dev-python/mechanize-0.4.2[${PYTHON_USEDEP}]
dev-python/xlsxwriter[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/unicodecsv[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/dnspython[${PYTHON_USEDEP}]"
src_prepare() {
# disable updates checking, add "__version__" variable instead
# reading VERSION file and set to latest/current version
sed -e 's/self._check_version()//' \
-e "s/exec(open(os.path.join(sys.path\[0\], 'VERSION')).read())/__version__ = '${PV}'/" \
-i recon/core/base.py || die 'sed failed!'
default
}
src_install() {
python_foreach_impl python_domodule recon
python_foreach_impl python_doscript recon-{cli,web,ng}
dodoc README.md
}
pkg_postinst() {
einfo "\nSee documentation: https://github.com/lanmaster53/recon-ng/wiki/Getting-Started\n"
}