Install this version:
emerge -a =net-analyzer/pius-1.1.5
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-analyzer/pius-1.1.5
Or alternatively:
emerge --autounmask-write -a =net-analyzer/pius-1.1.5
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.1.5 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module optfeature
DESCRIPTION="Organizational asset discovery tool with 20+ plugins."
HOMEPAGE="https://github.com/praetorian-inc/pius https://github.com/praetorian-inc"
SRC_URI="
https://github.com/praetorian-inc/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/pentoo/pentoo-golang-dist/releases/download/${P}/${P}-deps.tar.xz
"
S="${WORKDIR}/${PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/go
"
QA_PREBUILD="*"
src_prepare() {
default
}
src_unpack() {
go-module_src_unpack
}
src_compile() {
local pius_ldflags=(
"-s"
"-w"
"-X main.Version=${PV}"
"-X main.BuildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
)
ego build \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-ldflags "${pius_ldflags[*]}" \
-o ${PN} \
./cmd/${PN}
}
src_install() {
newbin ${PN} ${PN}
# Man page if present.
if [[ -f man/man1/pius.1 ]]; then
doman man/man1/pius.1
fi
}
pkg_postinst() {
elog ""
optfeature "google-dorks capabilities." www-client/chromium
elog ""
elog "More informations:"
elog " - Documentation: https://github.com/praetorian-inc/pius"
elog ""
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | pius-1.1.5-deps.tar.xz | 9499616 bytes | https://github.com/pentoo/pentoo-golang-dist/releases/download/pius-1.1.5/pius-1.1.5-deps.tar.xz |
| DIST | pius-1.1.5.gh.tar.gz | 356480 bytes | https://github.com/praetorian-inc/pius/archive/refs/tags/v1.1.5.tar.gz |