theHarvester-4.2.0.ebuild

This commit is contained in:
Anton Bolshakov 2022-08-14 19:55:53 +08:00
parent f496989877
commit 4f69294b98
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
11 changed files with 87 additions and 110 deletions

View file

@ -1 +1,2 @@
DIST censys-0.0.8.tar.gz 10807 BLAKE2B 9e64f3dd590e94f29ea873e9a706c3015d6732609a2460c0341f97b48c1119f5e2af10e310df2de72a11a4dfb40b74d6e99ffe579c68028b64bf169f42d12f91 SHA512 8cada1a6a1e631b6f7624db586a3d08a000bf2f66310a2fd9b39ff58969ef56822350c94b3f917e7260521d9104b9079e8889c58372e99657ef67a7420e0ce50
DIST censys-2.1.7.tar.gz 36924 BLAKE2B 8f7f7d517eb2fe49806c523c29fa224fdfa46569f54b525689cb9483709e918fedae381c397973656846fd9c15504c16b5bb1044cc3d07d7863e24175c35cc53 SHA512 35d472f5de6fc924d9cac9990c13dc609ef9ec31e8beacd9155b27187b5e68d3aa275792e6d2839e2f42127dd69c735c9314d420527145d2c651322ccbe9451a

View file

@ -0,0 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Python library for interacting with Censys Search Engine (censys.io)"
HOMEPAGE="https://github.com/censys/censys-python"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND="${PYTHON_DEPS}
>=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0.1[${PYTHON_USEDEP}]
>=dev-python/rich-10.16.2[${PYTHON_USEDEP}]
dev-python/importlib_metadata[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

View file

@ -1,2 +1,2 @@
DIST fastapi-0.73.0.tar.gz 6340105 BLAKE2B fd038c8f4e9251f2c3111f50864da6ccf784c8d1cb936e7449efd99f84e58a189e3c8cb3278bf3644736c73ea9f0c3ac12a7e6a92accf4fb0e70ecbe0f0a0d85 SHA512 16870e2459ccabcfd3bddcd6c801bf5c9d1e38aa56bcc1c1de77d4fa155d871062006ad1ed6988850e62607fe1adbf22b05ef3f2af615a63631040cd06f87f40
DIST fastapi-0.77.0.tar.gz 6876375 BLAKE2B 18bf975c4272dbc52e18e480bf2bc7101afcb1f45279628483bbf823071500fd0b804376ffa4be3964c9723770cc4aab8c5d51af8ea372e63794f3a24ba75262 SHA512 ec6174e160b2f57e0f72cd440edef5a78f4f66fc118c6f9fd13cb9cba4676edd9fa5cb5cda24fde9a633103a527f5a601c3e6a24182782b98bc210286ca2ead0
DIST fastapi-0.79.0.tar.gz 7123609 BLAKE2B 96d27d7a94b9c9780d07441912f54e3b26a3c92be2c8f39316818d223a68ff0e1ef9320c86e2a96e8439e2dfa573d7bc6e910d38ed3b2852caffd217a9b592f1 SHA512 221679eedb1e90e9c06d347ca519412713c77360073d689f2dffa74e67d57d680876ffd1239986d1e468e226ee0ce0f865894232573a9a6681b54da3c4752127

View file

@ -16,15 +16,16 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
#starlette is not stable
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE=""
RESTRICT="test"
#starlette is locked in the pyproject.toml
#starlette is locked in the pyproject.toml, let's fix it
RDEPEND="
~dev-python/starlette-0.17.1[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
>=dev-python/starlette-0.19.1[${PYTHON_USEDEP}]
>=dev-python/pydantic-1.6.2[${PYTHON_USEDEP}]
"
#FIXME: add missing deps
#BDEPEND="test? (
@ -50,3 +51,8 @@ RDEPEND="
#)"
#distutils_enable_tests pytest
src_prepare(){
sed -i -e 's|starlette==0.19.1|starlette>=0.19.1|g' pyproject.toml || die
eapply_user
}

View file

@ -1 +1,2 @@
DIST shodan-1.25.0.tar.gz 51374 BLAKE2B 8068a02f7bb8ae91fd56c7b9a42b6b6c3195e689bf1f12e39fcd64b071fb1d6d6336f56b68a690e89a638ceecefdc4a9ec8b65561f529c62e334d80f10a2c479 SHA512 5a86e537ff5d74f1fa91a5b7591b939cfd73570961392bd4ea457a4e089a65bf601b890888c739bac292ed5b55478400cfdefc1fbcb748e3dfd2bb79f2d9bbce
DIST shodan-1.28.0.tar.gz 53522 BLAKE2B 01a1e42d91b3e3fcdad0622bcc235104420586caf22cbe6e42a217c59c90b989fd1e03c3765d533d20130a3b6909d721a6c05ec38c214940400dfcce57ea1090 SHA512 d79c6d3500dc618bbe79d0b8bba46f60638e68a83286a505a5598851d0158b1d29ce9904e38c57b63a25bff52a618aef7d781cbf85a0f5da6bad42cd140327a5

View file

@ -0,0 +1,37 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Python library and command-line utility for Shodan"
HOMEPAGE="https://github.com/achillean/shodan-python/tree/master https://pypi.org/project/shodan/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
#No such file or directory: 'SHODAN-API-KEY'
RESTRICT="test"
RDEPEND="dev-python/click[${PYTHON_USEDEP}]
dev-python/click-plugins[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
>=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
dev-python/xlsxwriter[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
# test? (
# dev-python/nose[${PYTHON_USEDEP}]
# dev-python/pytest[${PYTHON_USEDEP}]
# )"
#python_test() {
# nosetests --verbose || die
# py.test -v -v || die
#}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -14,6 +14,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
#FIXME: add missing deps
#https://github.com/spyse-com/spyse-python/issues/7
#KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"

View file

@ -1,34 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
HOMEPAGE="https://github.com/darkoperator/dnsrecon"
DESCRIPTION="DNS Enumeration Script"
SRC_URI="https://github.com/darkoperator/dnsrecon/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND="${PYTHON_DEPS}
dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
src_prepare() {
rm -r tests || die
default
}
python_install() {
distutils-r1_python_install
# python_foreach_impl python_newscript dnsrecon.py dnsrecon
python_foreach_impl python_newscript tools/parser.py dnsrecon-parser
# dodoc -r msf_plugin/ *.md
}

View file

@ -1,3 +1,2 @@
DIST theHarvester-4.0.1.tar.gz 850451 BLAKE2B a3e4abf8a2a3e1b9e5a7b09222f98791b504a0fb6de29bb82a3e321156bd81fb5704f0344b20e91afa0f8ff641b7d8bf156fb001fd07bd04c5c5a9fbfb72af8a SHA512 ed7e301ed444eb29e0dfae67e085c3c02773a4b55eebbcdfea1ad5eb2a46f0662d73124c6b8eed1bc75aebf862e58f67c67f4eba861435cd3c5d3f1e09314b9f
DIST theHarvester-4.0.2.tar.gz 850748 BLAKE2B a1a480eb1e0733c4443a875994dee6006041adb9f365de223518e7a70030833a8cdfa32a9c628ce928799608493e09e697d441c540c61c6b62591d8927d9b7ff SHA512 bf743108a747ac0150e6abf592cc7c41b9c2e8e2fe4f0f1d28bcea2691a9e72aa4911be34ccd0d2ee84050993b1fa4ffe953f405f6ad4a3c393085b3f588b31d
DIST theHarvester-4.0.3.tar.gz 849015 BLAKE2B 62f8e19dc92d52df475b1bef4df5d96d185c6ceed144b8b9c1431012b37459f73ab5fd695c6bc2b875a8682e0385392fdf790df7fe5cbfccd39409d0c27100dd SHA512 1bbf1b0ea7a375d6d2ade73a7c1329e4d3598090c62a32c920d29c2a8b6a27f2156be0198e4a1ef518073b5429bf23ec49e91a2090f6a7b1251e9ee0e02116eb
DIST theHarvester-4.2.0.tar.gz 844478 BLAKE2B d36a29041ba75387481833c4cd0b2d40042f39bd2b502516b234c508c83f994b86c5f4c50dcef4d65eb49afa47e3691c5edb4c1f715ca8eb35828575a484467c SHA512 eee97b9f413d35f8032e652c904530c61b51af87f1a6c44e6c69a48cda99dcddd921c43c4e232b3817a75d77810e8d279893d7f70d7e1706a8a2568e4ef4d507

View file

@ -1,60 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="The Harvester is a tool designed to collect email accounts of the target domain"
HOMEPAGE="http://www.edge-security.com/theharvester.php"
SRC_URI="https://github.com/laramies/theHarvester/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
#dev-python/plotly not stable, no x86 for orjson
KEYWORDS="~amd64"
# IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}
dev-python/aiodns[${PYTHON_USEDEP}]
dev-python/aiofiles[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/aiomultiprocess[${PYTHON_USEDEP}]
dev-python/aiosqlite[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/censys[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
>=dev-python/dnspython-1.16.0[${PYTHON_USEDEP}]
dev-python/fastapi[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/orjson-bin
dev-python/pyppeteer[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/retrying[${PYTHON_USEDEP}]
>=dev-python/shodan-1.25.0[${PYTHON_USEDEP}]
dev-python/slowapi[${PYTHON_USEDEP}]
dev-python/starlette[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-util/unicorn[${PYTHON_USEDEP}]
dev-python/uvloop[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
# test? (
# dev-python/flake8[${PYTHON_USEDEP}]
# dev-python/mypy[${PYTHON_USEDEP}]
# )"
# distutils_enable_tests pytest
src_prepare() {
# network required for tests
rm -r tests || die
default
}

View file

@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
@ -13,9 +13,8 @@ SRC_URI="https://github.com/laramies/theHarvester/archive/${PV}.tar.gz -> ${P}.t
LICENSE="GPL-2"
SLOT="0"
#dev-python/plotly not stable, no x86 for orjson
KEYWORDS="~amd64"
# IUSE="test"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# RESTRICT="!test? ( test )"
@ -33,16 +32,17 @@ RDEPEND="${PYTHON_DEPS}
dev-python/fastapi[${PYTHON_USEDEP}]
>=dev-python/lxml-4.6.4[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/orjson-bin
dev-python/ujson[${PYTHON_USEDEP}]
dev-python/pyppeteer[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/retrying[${PYTHON_USEDEP}]
>=dev-python/shodan-1.25.0[${PYTHON_USEDEP}]
>=dev-python/shodan-1.28.0[${PYTHON_USEDEP}]
dev-python/slowapi[${PYTHON_USEDEP}]
dev-python/starlette[${PYTHON_USEDEP}]
dev-util/unicorn[${PYTHON_USEDEP}]
dev-python/uvicorn[${PYTHON_USEDEP}]
dev-python/uvloop[${PYTHON_USEDEP}]
dev-python/starlette[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
@ -52,9 +52,9 @@ DEPEND="${RDEPEND}"
# )"
# distutils_enable_tests pytest
src_prepare() {
# network required for tests
rm -r tests || die
default
}