ffuf-1.1.0.ebuild

This commit is contained in:
blshkv 2020-08-16 08:43:09 +08:00
parent b4c9f4cb6c
commit 7bfe46500f
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 1 additions and 95 deletions

View file

@ -1,4 +1,2 @@
DIST ffuf-0.10.tar.gz 17178 BLAKE2B 08cbc35e86577c93ab500244919433e4bbbfd7bce67901adea09bfc8deca35a8a7e2c82e4650717aea10201ec87f08bdd92ee05aee62336fac833c20c8e52e51 SHA512 a4b635d3f4c2e9b407d168774071482a73d56a4a2474d595445c242fbdf2fca4d30a005b200c6079bff7af2b376e5ed629f787d0c66cf07349aaa62981e00e16
DIST ffuf-0.12.tar.gz 24109 BLAKE2B b9c767c5657befc06bcb5abdfac6509e1efe4f33bc0fc31e39c3978b162d7743d9f88a703baf3902e5d2554f32a39a299e2c88c24bee67d31f77c59c08ab6252 SHA512 7feb812ce8f59707b07e9edaee2037a9a33088cc79bbaa5b78a07b137b0144fdff06962d53ab46b8e65fcacfef31fbda118ffb052414a5803d6ba650318b4fd4
DIST ffuf-1.0.2.tar.gz 30047 BLAKE2B 6472314a68a2d12d123b28fc1c9f53fa946613140b42391ddd7b11a8c9cb63943bd6cfa267a78bd279dab20938b64315a727d5a6e2b1b2d44cbe75154e7e4451 SHA512 ac5248b99c65ee30647585d95c70b270f4dfdfba6e392f5633f54c1c077d4c8fab7e9e04b76a589ce315371c975f1f055e3ad19baab80782ff453f01897b9d32
DIST ffuf-1.0.tar.gz 29403 BLAKE2B bd8f787133c8451fc17a5bd82d60a1325d8ac374c06ef416dedc531a37627ea0ffed7884b1aeb25a3af088ae24711eaf4b785d11feebc634e296af07d90d870c SHA512 8e1eafad08e8ef54e3f86a88c71734bbcc967a3993843e4cd632baf08bbf2915cc91f0c2354cef7cbdb975ef09207c696e119a571e04cac40334af97ac715eb4
DIST ffuf-1.1.0.tar.gz 31820 BLAKE2B 88cd883ea962dfd2bc6facadd0f65bae72718d1a4a1e8989918919417e0c8a47f8c0a917143fcf119d901aa18a1ad2314d7db25a7fb76b4171a6ce2f19b22884 SHA512 759b9009f41cc55626c16b4002382c7bf61dd73df00c979cd5b1fa139efc1b8cf5a39207e8e01a51821da20a1b3ddcc7f27f65257eb43370d1b64f3037eb7081

View file

@ -1,46 +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
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"
}

View file

@ -1,46 +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
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"
}