From 0dd5c403624763b08a8fed5fefa4316d4eca4125 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Sun, 22 Feb 2026 23:11:00 +0800 Subject: [PATCH 1/3] theHarvester-4.10.1.ebuild --- dev-util/apktool/apktool-2.12.0.ebuild | 29 --------- net-analyzer/theHarvester/Manifest | 1 + .../theHarvester/theHarvester-4.10.1.ebuild | 60 +++++++++++++++++++ 3 files changed, 61 insertions(+), 29 deletions(-) delete mode 100644 dev-util/apktool/apktool-2.12.0.ebuild create mode 100644 net-analyzer/theHarvester/theHarvester-4.10.1.ebuild diff --git a/dev-util/apktool/apktool-2.12.0.ebuild b/dev-util/apktool/apktool-2.12.0.ebuild deleted file mode 100644 index b5f5240b6..000000000 --- a/dev-util/apktool/apktool-2.12.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A tool for reengineering 3rd party, closed, binary Android apps" -HOMEPAGE="https://ibotpeaches.github.io/Apktool/" -SRC_URI="https://bitbucket.org/iBotPeaches/apktool/downloads/${PN}_${PV}.jar -> ${P}.jar" -#SRC_URI="https://github.com/iBotPeaches/Apktool/releases/download/v${PV}/apktool_${PV}.jar" -S="${WORKDIR}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="tools" - -RDEPEND="|| ( virtual/jre virtual/jdk ) - tools? ( dev-util/android-sdk-build-tools )" - -src_unpack() { - dodir "${S}" - cp -L "${DISTDIR}/${A}" "${S}/${PN}.jar" || die -} - -src_install() { - dobin "${FILESDIR}/apktool" - insinto "/opt/${PN}/" - doins apktool.jar -} diff --git a/net-analyzer/theHarvester/Manifest b/net-analyzer/theHarvester/Manifest index 7c634a72e..1733276d8 100644 --- a/net-analyzer/theHarvester/Manifest +++ b/net-analyzer/theHarvester/Manifest @@ -1,2 +1,3 @@ DIST theHarvester-4.10.0.tar.gz 1040184 BLAKE2B 8f08c3f699d3826e3b81213bfa99a73ae4f50c1ec6f7834f1ee1eebd4721f243061b84b39810e0dc0e06cff2a2890b28523bce660f724a9c75d9357ad16b0a66 SHA512 7d2c7efeee31b497a22cc66a7e759224491e7f019a0f8ad16da7031a34a8d881d6c2d728c585371dcd73d1fcee64a590478bf923a2b47d906ae75b6fb3e23ebb +DIST theHarvester-4.10.1.tar.gz 1045401 BLAKE2B 67a1d2410ff56dc1856660a8bf9bcbe5077f0e9ac09b5d495317666b4e7ccda3aac3381a8a93922192f7e2b0730368f92e1376dd1c37fa8cfcdfa673a023d622 SHA512 e2f6e6f40b69fa4a716dd2124b7b1d77956c03e924e70ca28cc13f13e54429180723d266e6630d8787999c128be72a7bbb543c96191b863570d29d9a13771068 DIST theHarvester-4.9.2.tar.gz 1033296 BLAKE2B 06bf30ba5f7d7efd32ab93187bcaee4a11acd44e4197a345d594fe5ebf453fb3defbf3b3d4222ab1fbda85a6e63d6590396894ddf35f196da004100156247dc5 SHA512 50e64c2b763a32766fd4f3a8705db2024a61d8cc25ee9f8d7ab3d5e33cfc1e4785696002d91f5c944789bda6e7641ca3854cd2ed562bdfc385a41a2cd81610b3 diff --git a/net-analyzer/theHarvester/theHarvester-4.10.1.ebuild b/net-analyzer/theHarvester/theHarvester-4.10.1.ebuild new file mode 100644 index 000000000..2a2c22525 --- /dev/null +++ b/net-analyzer/theHarvester/theHarvester-4.10.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +DESCRIPTION="The Harvester is a tool designed to collect email accounts of the target domain" +HOMEPAGE="https://github.com/laramies/theHarvester" +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 +} From b254be243d389892ed4defb4f02c7c87ce229470 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Sun, 22 Feb 2026 23:11:13 +0800 Subject: [PATCH 2/3] apktool-3.0.0.ebuild --- dev-util/apktool/Manifest | 2 +- dev-util/apktool/apktool-3.0.0.ebuild | 29 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 dev-util/apktool/apktool-3.0.0.ebuild diff --git a/dev-util/apktool/Manifest b/dev-util/apktool/Manifest index b290d77dc..2b47142f1 100644 --- a/dev-util/apktool/Manifest +++ b/dev-util/apktool/Manifest @@ -1,2 +1,2 @@ -DIST apktool-2.12.0.jar 25925346 BLAKE2B b457160d732fb051f52a9f0e8ef7dd84eb20563ba6e1cceb1f715c0d6ac54827d3fd0636698b1f211ae4bd6e7d7945762a4e839163ebf3d9861486371fe7548e SHA512 4c30d6d92ae8411331fd0c3bbe134a7feace68f1e2e070b3a402ec91cdc8086e468bdf73eb7b88961ae2f7382f44bfe53174b3c322fcb6281ad4eec834976c38 DIST apktool-2.12.1.jar 25926183 BLAKE2B 01d51a52939b18496cdf03d91953508e86fcddcd0e99097f5bf1fc9790c71dbb4b10e7d44fe038532dff4df263a6d742c93f18b5620a129ddcc4696cd3119bcf SHA512 03ffc27b84e44766f5c057eb35c8b54d1f901f735732d676f54047ca94af7f48e2a8c828c2c7ba97f0afb15c8a257ede87ac8b6d587d8e5a7bd62283b915259c +DIST apktool-3.0.0.jar 15479058 BLAKE2B 11143db8a7c8866f4399a18f78d6d276a2de2e213f2964db9b8b1505003e6793e1762d61cabf636cf262ef7faeee4e403ba844cf8b2b56084e2b70acc7c906c3 SHA512 b01055833083ff8b7cfc3e943ac461dd2ad1b99c3bf52c489fda8e64b62a0d8827b7d89eabeb55efd82d207451a5b4bdcd93ef15b92b6d217b24074966ca1e89 diff --git a/dev-util/apktool/apktool-3.0.0.ebuild b/dev-util/apktool/apktool-3.0.0.ebuild new file mode 100644 index 000000000..b5f5240b6 --- /dev/null +++ b/dev-util/apktool/apktool-3.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A tool for reengineering 3rd party, closed, binary Android apps" +HOMEPAGE="https://ibotpeaches.github.io/Apktool/" +SRC_URI="https://bitbucket.org/iBotPeaches/apktool/downloads/${PN}_${PV}.jar -> ${P}.jar" +#SRC_URI="https://github.com/iBotPeaches/Apktool/releases/download/v${PV}/apktool_${PV}.jar" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="tools" + +RDEPEND="|| ( virtual/jre virtual/jdk ) + tools? ( dev-util/android-sdk-build-tools )" + +src_unpack() { + dodir "${S}" + cp -L "${DISTDIR}/${A}" "${S}/${PN}.jar" || die +} + +src_install() { + dobin "${FILESDIR}/apktool" + insinto "/opt/${PN}/" + doins apktool.jar +} From c56ae84f955a5fa31db1e496e2c3eae64c7dcddd Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Mon, 23 Feb 2026 08:49:13 +0800 Subject: [PATCH 3/3] theHarvester-4.10.1.ebuild --- dev-python/playwright-bin/Manifest | 2 + .../playwright-bin-1.42.0.ebuild | 11 ++-- .../playwright-bin-1.58.0.ebuild | 64 +++++++++++++++++++ .../theHarvester/theHarvester-4.10.1.ebuild | 19 +++--- 4 files changed, 81 insertions(+), 15 deletions(-) create mode 100644 dev-python/playwright-bin/playwright-bin-1.58.0.ebuild diff --git a/dev-python/playwright-bin/Manifest b/dev-python/playwright-bin/Manifest index c67ce9832..b5be41285 100644 --- a/dev-python/playwright-bin/Manifest +++ b/dev-python/playwright-bin/Manifest @@ -1,2 +1,4 @@ DIST playwright-1.42.0_aarch64.zip 37086139 BLAKE2B 4dd605519c2bacd1db4786845a28485184fe500b2688253bbf387e9232aa5df702ffa8a3f627c3ff5d41a6e16e26ceebe0a6e63d757b0bb3807b5456d93ff25a SHA512 db88505a1f822868cd1375a850216bf9bd48338c50258a74c0da2c9ad747b0381246e80759d1f66674a8a01c24c096a738c28b8c9afe6e1bf4d6804aa55ab9fe DIST playwright-1.42.0_x86_64.zip 37339061 BLAKE2B 34a842b90b8f1128f914d20b6ab6d6ed4a2deee6c9c3816e3905f8f815b3de6663a81b73645325057765d4909a22291e24530a01a95e329a1855058dc4783d37 SHA512 5fe946d678bfc9bb94a33d672b0c765abdf14149b264dbe04037f856e106181f2ea28a556b7a78e443fb6dec86f843b32555eb8589d8853dcdd882542a6965d8 +DIST playwright-1.58.0_aarch64.zip 45964214 BLAKE2B 20244aa32e2e0d74a4ae5f90a062c913389453a36351b08a765730617421d30babc4e3631ed3366e551d11e2876b9c5ce6e55051801af4cc1f4fcfe3f33ff4e6 SHA512 e7e66869f8a327d8fb738dee1e4b93c3cfc3cb07ed6d4b431b4fbe91dfac90fc73fe88a72d2d74eb9127e27ce7188afe3c044dbf39b7d8b709427478f7daee11 +DIST playwright-1.58.0_x86_64.zip 46235268 BLAKE2B 02122d19aec211f45c4a3c946ba080afb661f55b9ffbd7523e7621c0215bc4185ea88f58ff92a26f086489791e8c27269433c4a4a04a93b6b944cc273c2bafcd SHA512 93e4ab2d2c5501ce7f062c79471c547f2fbf271a3e74729e5227b3af1b28a3cdd4f5b850a1d9b6769376c167561dc7222003d800d9f40eb18303dc39b6d7604f diff --git a/dev-python/playwright-bin/playwright-bin-1.42.0.ebuild b/dev-python/playwright-bin/playwright-bin-1.42.0.ebuild index db2239f64..5a4fdba8f 100644 --- a/dev-python/playwright-bin/playwright-bin-1.42.0.ebuild +++ b/dev-python/playwright-bin/playwright-bin-1.42.0.ebuild @@ -15,10 +15,6 @@ HOSTED="files.pythonhosted.org/packages/py3/${MY_P:0:1}/${MY_PN}/${MY_P}-py3-non DESCRIPTION="Automate Chromium, Firefox and WebKit browsers with a single API" HOMEPAGE="https://github.com/Microsoft/playwright-python" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - SRC_URI=" amd64? ( https://${HOSTED}-manylinux1_x86_64.whl -> ${MY_P}_x86_64.zip @@ -27,6 +23,11 @@ SRC_URI=" https://${HOSTED}-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -> ${MY_P}_aarch64.zip ) " +S="${WORKDIR}/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64" #RDEPEND="" #DEPEND="${RDEPEND}" @@ -38,8 +39,6 @@ RESTRICT="test" QA_PREBUILT="usr/lib/python*/site-packages/playwright/driver/node" -S="${WORKDIR}/" - pkg_setup() { python_setup } diff --git a/dev-python/playwright-bin/playwright-bin-1.58.0.ebuild b/dev-python/playwright-bin/playwright-bin-1.58.0.ebuild new file mode 100644 index 000000000..5a4fdba8f --- /dev/null +++ b/dev-python/playwright-bin/playwright-bin-1.58.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 pypi + +MY_PN=${PN//-bin/} +MY_P=${MY_PN}-${PV} +HOSTED="files.pythonhosted.org/packages/py3/${MY_P:0:1}/${MY_PN}/${MY_P}-py3-none" + +DESCRIPTION="Automate Chromium, Firefox and WebKit browsers with a single API" +HOMEPAGE="https://github.com/Microsoft/playwright-python" + +SRC_URI=" + amd64? ( + https://${HOSTED}-manylinux1_x86_64.whl -> ${MY_P}_x86_64.zip + ) + arm64? ( + https://${HOSTED}-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -> ${MY_P}_aarch64.zip + ) +" +S="${WORKDIR}/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64" + +#RDEPEND="" +#DEPEND="${RDEPEND}" +BDEPEND="app-arch/unzip" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="test" + +QA_PREBUILT="usr/lib/python*/site-packages/playwright/driver/node" + +pkg_setup() { + python_setup +} + +src_compile() { + einfo +} + +#python_src_install() { +src_install() { +# insinto "$(python_get_sitedir)" +# doins playwright +# doins playwright-1.42.0.dist-info + + do_install() { + python_domodule "${MY_PN}" + python_domodule "${MY_PN}-${PV}.dist-info" + #FIXME: playwright/driver/node and playwright.sh must be executable? + #dosym /opt/${MY_PN} "$(python_get_sitedir)/${MY_PN}/executable" + } + python_foreach_impl do_install + +} diff --git a/net-analyzer/theHarvester/theHarvester-4.10.1.ebuild b/net-analyzer/theHarvester/theHarvester-4.10.1.ebuild index 2a2c22525..f4da303cd 100644 --- a/net-analyzer/theHarvester/theHarvester-4.10.1.ebuild +++ b/net-analyzer/theHarvester/theHarvester-4.10.1.ebuild @@ -3,8 +3,8 @@ EAPI=8 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{12..14} ) +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{12..13} ) inherit distutils-r1 @@ -17,26 +17,27 @@ SLOT="0" KEYWORDS="~amd64" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -# requirements/base.txt +# pyproject.toml RDEPEND="${PYTHON_DEPS} dev-python/aiodns[${PYTHON_USEDEP}] dev-python/aiofiles[${PYTHON_USEDEP}] dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/aiohttp-socks[${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/dnspython-2.8.0[${PYTHON_USEDEP}] dev-python/fastapi[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6.4[${PYTHON_USEDEP}] + >=dev-python/lxml-6.0.2[${PYTHON_USEDEP}] dev-python/netaddr[${PYTHON_USEDEP}] - dev-python/playwright-bin[${PYTHON_USEDEP}] + >=dev-python/playwright-bin-1.58.0[${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/python-dateutil-2.9.0[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] dev-python/retrying[${PYTHON_USEDEP}] - >=net-analyzer/shodan-1.28.0[${PYTHON_USEDEP}] + >=net-analyzer/shodan-1.31.0[${PYTHON_USEDEP}] dev-python/slowapi[${PYTHON_USEDEP}] dev-python/ujson[${PYTHON_USEDEP}] dev-python/uvicorn[${PYTHON_USEDEP}]