mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-14 02:41:06 +02:00
Merge pull request #443 from linxon/net-analyzer/ffuf
ffuf: version bump to 0.9
This commit is contained in:
commit
609de4ece8
4 changed files with 74 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST ffuf-bin-0.8.tar.gz 2033743 BLAKE2B 0ddc17cfa17572a4d71b596b463d0c8e48803732d16fd1b6a654ba3e473b8e577ec5778b0d3fa9cc2458a270ee9deb788a2c4e77c618b9b1872aecf4f11093ab SHA512 4c8ac2e1306914357b85c3bddb84e14310cec6df57fb7dd045e9188eb3756deaa9bd0ade46d2b1e1754e3d55ac267e4c650b26e522bac5fb70d188463105a410
|
||||
DIST ffuf-bin-0.9.tar.gz 1929945 BLAKE2B f4fbc1fd919071f77564797a6a4e0824350458a6c12f3f38f3f793683399284cd56443255534cc1f570c8e8725067dc1568d8d91a2983daf602921e5dd6c630c SHA512 e96ef213bd7277b453554836e339f4008228b1660074b959407f2e54807e6293912bcf763f868b97792fa80f83adace65a04755e0cc486041760c80c128287b7
|
||||
|
|
|
|||
31
net-analyzer/ffuf-bin/ffuf-bin-0.9.ebuild
Normal file
31
net-analyzer/ffuf-bin/ffuf-bin-0.9.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"
|
||||
}
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST ffuf-0.8.tar.gz 12778 BLAKE2B 9c273ed681f4ed6bf86408a4924e3ea5581e2addd470e597a5a0fcb3297bab53926160649dd88471566a4b78a3dbf09fc4de91c755d3eaa5458585ed7210a587 SHA512 78e942d4b4bf07e57359418d36839b9218827c235aed79a9648a8365c8a209cdb165072248a08f9e76110f7d8b5632e9c6745d0e64c21e5e5a2a50f860cb6158
|
||||
DIST ffuf-0.9.tar.gz 14272 BLAKE2B a31ecb12c2abc01c08286e979bacee080fcbf40433192f3a79e730c8c0025a2fccb218f5c8f56a48bb177577d851d013a7fcbaceacaaf307ed0769d1dbd8683d SHA512 a6788360723bc4930020a87f760d265aaf80787594fbcd920102d2c7c03e9b6ff56d47f3076e5ba52d70416af2c461ccc8c278d74c3bd3dd51a270e75cfb4439
|
||||
|
|
|
|||
41
net-analyzer/ffuf/ffuf-0.9.ebuild
Normal file
41
net-analyzer/ffuf/ffuf-0.9.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"
|
||||
}
|
||||
Loading…
Reference in a new issue