pentoo-overlay/net-analyzer/gobuster/gobuster-3.0.0.ebuild
2019-06-20 22:52:39 +02:00

37 lines
698 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN=github.com/OJ/${PN}
inherit golang-build
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
EGIT_COMMIT="v${PV}"
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
DESCRIPTION="A tool to brute-force URIs and DNS subdomains"
HOMEPAGE="https://github.com/OJ/gobuster"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=dev-go/cobra-0.0.4
>=dev-go/uuid-1.1.1
>=dev-lang/go-1.10
dev-go/go-crypto
"
DEPEND="${RDEPEND}"
src_install(){
dobin gobuster
}