mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
28 lines
723 B
Bash
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
|
|
}
|