Skip to content

Commit

Permalink
wafw00f-2.3.0.ebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv committed Dec 24, 2024
1 parent 607702f commit b305ece
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
1 change: 1 addition & 0 deletions net-analyzer/wafw00f/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST wafw00f-2.2.0.tar.gz 40321 BLAKE2B b19c29e22a3d1682595e1c6681b2046c54819f53782f45fcc707fed52fc6de0ff154b3d8151eb2a17dea7f9a5090afa68a6c171bf56d4e4823f5a7f240f07a78 SHA512 53d4cafe784552a367959033a0e5405325b92bd3742ee3d7722aeda432b1939560974d31f26c4606e0ffc0f21666946a8ecc5fbe4fe69ab02f80ef20a2d308ea
DIST wafw00f-2.3.0.tar.gz 41906 BLAKE2B 8f887bc3713893ea8af446d5b9f3aa8965568dc442c7eb7f8dd7657dd185bc9fd5f0571084da1af22edf84070f753d85587a15472d34d533ec929032a430c672 SHA512 1ccbfe3967fa79fd4ffd57d56112fe10c4307178b8bdb558371f1ecfb9183a6d143f444a4597c9c03b0ff72fb68199159bd186920808de5ce5dc95ad60ef8a77
11 changes: 11 additions & 0 deletions net-analyzer/wafw00f/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">sandrogauci/wafw00f</remote-id>
</upstream>
</pkgmetadata>
2 changes: 1 addition & 1 deletion net-analyzer/wafw00f/wafw00f-2.2.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )

inherit distutils-r1
Expand All @@ -16,7 +17,6 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="socks5"

DEPEND=""
RDEPEND="${DEPEND}
dev-python/requests[socks5?,${PYTHON_USEDEP}]
>=dev-python/pluginbase-0.3[${PYTHON_USEDEP}]"
28 changes: 28 additions & 0 deletions net-analyzer/wafw00f/wafw00f-2.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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
}

0 comments on commit b305ece

Please sign in to comment.