pentoo-overlay/net-analyzer/wafw00f/wafw00f-2.3.0.ebuild
2024-12-24 09:29:28 +08:00

28 lines
723 B
Bash

# 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_{10..12} )
inherit distutils-r1
DESCRIPTION="Identifies and fingerprints Web Application Firewall (WAF) products"
HOMEPAGE="https://github.com/sandrogauci/wafw00f"
SRC_URI="https://github.com/EnableSecurity/wafw00f/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="socks5"
RDEPEND="${DEPEND}
dev-python/requests[socks5?,${PYTHON_USEDEP}]
>=dev-python/pluginbase-0.3[${PYTHON_USEDEP}]"
#https://github.com/EnableSecurity/wafw00f/pull/223
src_prepare() {
sed -i "/scripts=/d" setup.py || die
eapply_user
}