mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 02:50:26 +02:00
Merge pull request #442 from linxon/net-analyzer/ffuf
net-analyzer/ffuf: new tool
This commit is contained in:
commit
e83bc6dadf
6 changed files with 90 additions and 0 deletions
1
net-analyzer/ffuf-bin/Manifest
Normal file
1
net-analyzer/ffuf-bin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST ffuf-bin-0.8.tar.gz 2033743 BLAKE2B 0ddc17cfa17572a4d71b596b463d0c8e48803732d16fd1b6a654ba3e473b8e577ec5778b0d3fa9cc2458a270ee9deb788a2c4e77c618b9b1872aecf4f11093ab SHA512 4c8ac2e1306914357b85c3bddb84e14310cec6df57fb7dd045e9188eb3756deaa9bd0ade46d2b1e1754e3d55ac267e4c650b26e522bac5fb70d188463105a410
|
||||
31
net-analyzer/ffuf-bin/ffuf-bin-0.8.ebuild
Normal file
31
net-analyzer/ffuf-bin/ffuf-bin-0.8.ebuild
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Fast web fuzzer written in Go"
|
||||
HOMEPAGE="https://github.com/ffuf/ffuf"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/ffuf/ffuf/releases/download/v${PV}/ffuf_${PV}_linux_amd64.tar.gz -> ${P}.tar.gz )
|
||||
arm? ( https://github.com/ffuf/ffuf/releases/download/v${PV}/ffuf_${PV}_linux_armv6.tar.gz -> ${P}.tar.gz )
|
||||
arm64? ( https://github.com/ffuf/ffuf/releases/download/v${PV}/ffuf_${PV}_linux_arm64.tar.gz -> ${P}.tar.gz )
|
||||
x86? ( https://github.com/ffuf/ffuf/releases/download/v${PV}/ffuf_${PV}_linux_386.tar.gz -> ${P}.tar.gz )"
|
||||
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
RDEPEND="!net-analyzer/ffuf"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN%%-bin}
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "\nSee documentation: https://github.com/ffuf/ffuf#usage\n"
|
||||
}
|
||||
8
net-analyzer/ffuf-bin/metadata.xml
Normal file
8
net-analyzer/ffuf-bin/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
1
net-analyzer/ffuf/Manifest
Normal file
1
net-analyzer/ffuf/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST ffuf-0.8.tar.gz 12778 BLAKE2B 9c273ed681f4ed6bf86408a4924e3ea5581e2addd470e597a5a0fcb3297bab53926160649dd88471566a4b78a3dbf09fc4de91c755d3eaa5458585ed7210a587 SHA512 78e942d4b4bf07e57359418d36839b9218827c235aed79a9648a8365c8a209cdb165072248a08f9e76110f7d8b5632e9c6745d0e64c21e5e5a2a50f860cb6158
|
||||
41
net-analyzer/ffuf/ffuf-0.8.ebuild
Normal file
41
net-analyzer/ffuf/ffuf-0.8.ebuild
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EGO_PN="github.com/ffuf/ffuf"
|
||||
|
||||
inherit golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="Fast web fuzzer written in Go"
|
||||
HOMEPAGE="https://github.com/ffuf/ffuf"
|
||||
SRC_URI=""
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ffuf/ffuf"
|
||||
else
|
||||
SRC_URI="https://github.com/ffuf/ffuf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="!net-analyzer/ffuf-bin"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/go"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
dodoc src/"${EGO_PN}"/README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "\nSee documentation: https://github.com/ffuf/ffuf#usage\n"
|
||||
}
|
||||
8
net-analyzer/ffuf/metadata.xml
Normal file
8
net-analyzer/ffuf/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue