diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-15 12:04:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-15 12:04:03 +0100 |
commit | 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 (patch) | |
tree | e514d1b9999d088064bee1e34a3a3c500d6d7a07 /net-analyzer/wapiti | |
parent | d993571e2ee444d08f4e9e90d493ee37338657e3 (diff) |
gentoo auto-resync : 15:04:2024 - 12:04:02
Diffstat (limited to 'net-analyzer/wapiti')
-rw-r--r-- | net-analyzer/wapiti/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/wapiti/wapiti-3.1.7.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/net-analyzer/wapiti/Manifest b/net-analyzer/wapiti/Manifest index 022579636caa..4e0445f53a04 100644 --- a/net-analyzer/wapiti/Manifest +++ b/net-analyzer/wapiti/Manifest @@ -1,4 +1,6 @@ AUX wapiti-3.1.6-setup_scripts.patch 527 BLAKE2B 91e15cd08ee4104d90c0578712836b85ab5db185f415e28ed49b76d7d64e7ac6ac7c2fd57d1d45310b15b94599b27af1623a71e238e5d3d11f18eb1979e32472 SHA512 27e796113f5bdb3b1ec1a2b72ff708b4f2c5c3b98dbfc09c3b31d87b08509b64c540bc107ec0dc34df297e813c1cea9ee70bbfc611485c042957477dd41459ea DIST wapiti3-3.1.6.tar.gz 538064 BLAKE2B fca98e05af7e4979ce5cc1360c565748b720f84e640accc9abd6d60017696827fb119228fec37bcf905e6e9f29c07ad5b9041a16fb49a6204777df07dd642bbd SHA512 8017d88c35a232f20f97297f5955154bead777a1b3d3937d29e6a39d2eeb5167764aa81286bfca5b9d200a29c25a6173052ddd8cbfebc1cb18aa84c0e2bb0e22 +DIST wapiti3-3.1.7.tar.gz 537866 BLAKE2B 2c58e20b5f754d5c461103a457aa18cfeb93b4ee7ca4c7525e29642f9cd027ece6f64a547b43b4c257c9cf27ae562ef9cb130e5635f1c13c9fdcda6b3f0a4ebf SHA512 d5a49a0f4c361f699f792b2b0c19a3ca65131534e5b244a8692137d1c63f120d33c47de41a6e4639316b63dd301396ae4f0b26f41259077ca34fba5065a36857 EBUILD wapiti-3.1.6.ebuild 2080 BLAKE2B db61b0a56242d1bfcbac9c718f3535c01cf216df276e981bea8632e3200ee03a5029e2a8ff1dbc141aa42e40699c83a8764bbc185b2b07d01004a52bce8cbf19 SHA512 dfeed376a4d4d725dff0734104a1236e1bfac1378ef6ccf83e87007f98931f6027f689ed2e7c7206cc5204dd148292b5396ffcabee01e50b8a5257683c4b9614 +EBUILD wapiti-3.1.7.ebuild 2139 BLAKE2B 033c34c681d529209bffd3a27ad8d6d7d64e6e268cd9b2cc2088d0a4626c7b9d0fb00d89d73d790e15bc37a44977be2a3121423f21915005a308ef1ff5727b95 SHA512 cd1fa8e891cf6aeabbb607470929dd62a29ff15694f0ff59710a6a73c7d7ad65a8958b34a8e0ce5d5eaba37e1bd27caf937ffc0276497d699018985abb82c200 MISC metadata.xml 826 BLAKE2B a208e446822ec67d274724c24f59681afb7d1d66378828ca94103355b134acc951a699b71c584f539a8dc344e7782c6ae7fef637c35e567b783babc22eff00a1 SHA512 601effee73d6c7a39ba4e90fb62b4e8b6fc7d795a5925202cfc30dcc57ecdf479e970e4c8a225a49996f366671f0b9c9b3aa6b954e012af1ec9fbc61bb6f8dd7 diff --git a/net-analyzer/wapiti/wapiti-3.1.7.ebuild b/net-analyzer/wapiti/wapiti-3.1.7.ebuild new file mode 100644 index 000000000000..a797b298522c --- /dev/null +++ b/net-analyzer/wapiti/wapiti-3.1.7.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +# Deps missing for 3.12 +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE='xml(+)' + +inherit distutils-r1 + +MY_P=${PN}3-${PV} +DESCRIPTION="Web-application vulnerability scanner" +HOMEPAGE="https://wapiti.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +# Requires httpx-ntlm (to package) +#IUSE="ntlm" +IUSE="test" + +# httpx requires brotli and socks, so depending on +# dev-python/socksio and dev-python/brotlicffi +RDEPEND=" + >=dev-python/aiocache-0.12.0[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}] + >=dev-python/aiosqlite-0.17.0[${PYTHON_USEDEP}] + >=dev-python/arsenic-21.8[${PYTHON_USEDEP}] + >=dev-python/beautifulsoup4-4.10.0[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/browser-cookie3-0.16.2[${PYTHON_USEDEP}] + >=dev-python/dnspython-2.1.0[${PYTHON_USEDEP}] + >=dev-python/h11-0.14[${PYTHON_USEDEP}] + >=dev-python/httpx-0.23.3[${PYTHON_USEDEP}] + >=dev-python/loguru-0.5.3[${PYTHON_USEDEP}] + >=dev-python/mako-1.1.4[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}] + >=dev-python/requests-1.2.3[${PYTHON_USEDEP}] + dev-python/socksio[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4.26[${PYTHON_USEDEP}] + >=dev-python/tld-0.12.5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}] + >=dev-python/yaswfp-0.9.3[${PYTHON_USEDEP}] + >=net-proxy/mitmproxy-9.0.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest +# Tests also require unpackaged respx +BDEPEND+=" test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + )" +# Many tests require execution of local test php server +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${PN}-3.1.6-setup_scripts.patch ) + +python_prepare_all() { + sed -e 's/"pytest-runner"//' \ + -e "/DOC_DIR =/s/wapiti/${PF}/" \ + -i setup.py || die + distutils-r1_python_prepare_all +} |