ffuf: drop 0.8

This commit is contained in:
Yury Martynov 2019-06-09 00:40:23 +03:00
parent 186adeec2b
commit 513a6ae22a
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 7 additions and 44 deletions

View file

@ -1,2 +1 @@
DIST ffuf-0.8.tar.gz 12778 BLAKE2B 9c273ed681f4ed6bf86408a4924e3ea5581e2addd470e597a5a0fcb3297bab53926160649dd88471566a4b78a3dbf09fc4de91c755d3eaa5458585ed7210a587 SHA512 78e942d4b4bf07e57359418d36839b9218827c235aed79a9648a8365c8a209cdb165072248a08f9e76110f7d8b5632e9c6745d0e64c21e5e5a2a50f860cb6158
DIST ffuf-0.9.tar.gz 14272 BLAKE2B a31ecb12c2abc01c08286e979bacee080fcbf40433192f3a79e730c8c0025a2fccb218f5c8f56a48bb177577d851d013a7fcbaceacaaf307ed0769d1dbd8683d SHA512 a6788360723bc4930020a87f760d265aaf80787594fbcd920102d2c7c03e9b6ff56d47f3076e5ba52d70416af2c461ccc8c278d74c3bd3dd51a270e75cfb4439

View file

@ -1,41 +0,0 @@
# 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"
}

View file

@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGO_PN="github.com/ffuf/ffuf"
inherit golang-vcs-snapshot
@ -18,7 +19,6 @@ else
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
@ -28,10 +28,15 @@ DEPEND="${RDEPEND}
src_compile() {
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
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
}