Install this version:
emerge -a =dev-vcs/gitleaks-8.18.0
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Audit git repos for secrets"
HOMEPAGE="https://github.com/zricethezav/gitleaks"
SRC_URI="
https://github.com/zricethezav/gitleaks/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/pentoo/pentoo-golang-dist/releases/download/${P}/${P}-deps.tar.xz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
src_compile() {
einfo "COMPILE ==========="
ego build
}
src_install() {
einfo "INSTALL ==========="
dobin ${PN}
# default
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gitleaks-8.18.0-deps.tar.xz | 15566352 bytes | https://github.com/pentoo/pentoo-golang-dist/releases/download/gitleaks-8.18.0/gitleaks-8.18.0-deps.tar.xz |
| DIST | gitleaks-8.18.0.tar.gz | 135754 bytes | https://github.com/zricethezav/gitleaks/archive/v8.18.0.tar.gz |