Install this version:
emerge -a =net-analyzer/gobuster-3.6.0
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A tool to brute-force URIs and DNS subdomains"
HOMEPAGE="https://github.com/OJ/gobuster"
SRC_URI="
https://github.com/OJ/gobuster/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/pentoo/pentoo-golang-dist/releases/download/${P}/${P}-deps.tar.xz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
src_prepare() {
default
local -a sed_args
# -buildmode=pie not supported when -race is enabled
[[ ${GOFLAGS} == *buildmode=pie* ]] && sed_args+=(
-e 's/ -race / /'
)
sed "${sed_args[@]}" -i Makefile || die
}
src_install() {
dobin gobuster
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gobuster-3.6.0-deps.tar.xz | 3044420 bytes | https://github.com/pentoo/pentoo-golang-dist/releases/download/gobuster-3.6.0/gobuster-3.6.0-deps.tar.xz |
| DIST | gobuster-3.6.0.tar.gz | 79939 bytes | https://github.com/OJ/gobuster/archive/v3.6.0.tar.gz |