mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
ffuf: 0.10 bump
This commit is contained in:
parent
e7c1cdcaa9
commit
7931b86102
2 changed files with 47 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST ffuf-0.10.tar.gz 17178 BLAKE2B 08cbc35e86577c93ab500244919433e4bbbfd7bce67901adea09bfc8deca35a8a7e2c82e4650717aea10201ec87f08bdd92ee05aee62336fac833c20c8e52e51 SHA512 a4b635d3f4c2e9b407d168774071482a73d56a4a2474d595445c242fbdf2fca4d30a005b200c6079bff7af2b376e5ed629f787d0c66cf07349aaa62981e00e16
|
||||
DIST ffuf-0.9.tar.gz 14272 BLAKE2B a31ecb12c2abc01c08286e979bacee080fcbf40433192f3a79e730c8c0025a2fccb218f5c8f56a48bb177577d851d013a7fcbaceacaaf307ed0769d1dbd8683d SHA512 a6788360723bc4930020a87f760d265aaf80787594fbcd920102d2c7c03e9b6ff56d47f3076e5ba52d70416af2c461ccc8c278d74c3bd3dd51a270e75cfb4439
|
||||
|
|
|
|||
46
net-analyzer/ffuf/ffuf-0.10.ebuild
Normal file
46
net-analyzer/ffuf/ffuf-0.10.ebuild
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# 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
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="!net-analyzer/ffuf-bin"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/go"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
GOCACHE="${T}/go-cache" \
|
||||
go build -v -work -x -ldflags="-s -w" "${EGO_PN}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
GOCACHE="${T}/go-cache" \
|
||||
go install -v -work -x -ldflags="-s -w" "${EGO_PN}"
|
||||
|
||||
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