Install this version:
emerge -a =dev-vcs/trufflehog-3.94.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-vcs/trufflehog-3.94.2
Or alternatively:
emerge --autounmask-write -a =dev-vcs/trufflehog-3.94.2
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Find credentials all over the place"
HOMEPAGE="https://github.com/trufflesecurity/trufflehog"
SRC_URI="https://github.com/trufflesecurity/trufflehog/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/Phoenix591/trufflehog/releases/download/${PV}/${P}-vendor.tar.xz"
#Generate vendor tarball
#$go mod vendor
#$ cd ..
#$ tar --create --auto-compress --file foo-1-vendor.tar.gz foo-1/vendor
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="mirror" # overlay, no real issue
RESTRICT+=" test" #make check just does linting sort of stuff
src_compile(){
ego build
}
src_install(){
dobin trufflehog
dodoc README.md
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | trufflehog-3.94.2-vendor.tar.xz | 14094992 bytes | https://github.com/Phoenix591/trufflehog/releases/download/3.94.2/trufflehog-3.94.2-vendor.tar.xz |
| DIST | trufflehog-3.94.2.tar.gz | 4184381 bytes | https://github.com/trufflesecurity/trufflehog/archive/refs/tags/v3.94.2.tar.gz |