From acad9498b7b2ad4e9f2753c39909d50de2975d9f Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Tue, 27 May 2025 15:56:36 +0800 Subject: [PATCH] theHarvester-4.8.0.ebuild --- net-analyzer/theHarvester/Manifest | 3 +- .../theHarvester/theHarvester-4.8.0.ebuild | 60 +++++++++++++++++++ 2 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 net-analyzer/theHarvester/theHarvester-4.8.0.ebuild diff --git a/net-analyzer/theHarvester/Manifest b/net-analyzer/theHarvester/Manifest index 6ee7d490d..f1e3fada4 100644 --- a/net-analyzer/theHarvester/Manifest +++ b/net-analyzer/theHarvester/Manifest @@ -1,3 +1,2 @@ -DIST theHarvester-4.6.0.tar.gz 863634 BLAKE2B abd6194ecd4b24ddd54f8e7b852d31cf6b36d5eaff9d696c4d93502efa3053193eeb786e218b7ac8032e98325aff17b80c0cc5fd0a7fa2a4614e81b2d54dee1f SHA512 a1d4079064755be3ad876420251f2b7f48bc4d9fcf95fb6f2295a9c04eb50c171f6574cc53a4b047eefa0d6285e4436abe57ba94861aee7ac224ddc78b70aa92 -DIST theHarvester-4.7.0.tar.gz 864126 BLAKE2B 7a76e2f2b278719a876f7d5a32114f1e998a49974e5b22979b69094a94edee467784b8da834462199717377429b7fb1721c78fda0382512472f42d44793f39d0 SHA512 c401a10a82e1676b905275f524444b48bdb5e8c1d4ecae456213c12d6b3bc1b564112c0ce5fa9cf996e05f66606240b8ccfa76ccf61e486349c3f249d87931ea DIST theHarvester-4.7.1.tar.gz 866358 BLAKE2B 060f72d9602c37728026fdfbc084a1fc866b878c5d92ead16ea96a0b5828b1a85dd79746d4c6013ab0678c7e5eb40e871d73176ee5fa0890174f42d1321a60d5 SHA512 a70eb66a63238313292078f4b3463a3115f43102386aae4cab35ef50550429afbd8f4374e9379e40c72d5acfe66a7a362799bf7ebe8c066cd02c7d4ffe99076c +DIST theHarvester-4.8.0.tar.gz 887721 BLAKE2B 4d76e709a8ddb7e11d479d840a288b66729c490ddd7d5b8774b24958acc6412a2460a3d4853c97f89fb26eb7f96cade3751bcde8367aa60cd4b72edef643ee7d SHA512 b6a8b3c2e2b12a129ae1a78ff5e49fca397271c4672c6eef7fec3798beb7f3784ac1396a6dab8978039572c819be511c78d13a6e7c69bc5a1be075851a629824 diff --git a/net-analyzer/theHarvester/theHarvester-4.8.0.ebuild b/net-analyzer/theHarvester/theHarvester-4.8.0.ebuild new file mode 100644 index 000000000..d982eb08b --- /dev/null +++ b/net-analyzer/theHarvester/theHarvester-4.8.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +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" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# requirements/base.txt +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-2.1.0[${PYTHON_USEDEP}] + dev-python/fastapi[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6.4[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + dev-python/playwright-bin[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/retrying[${PYTHON_USEDEP}] + >=net-analyzer/shodan-1.28.0[${PYTHON_USEDEP}] + dev-python/slowapi[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + + dev-python/uvloop[${PYTHON_USEDEP}] + dev-python/starlette[${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 +}