Install this version:
emerge -a =net-misc/ipinfo-3.3.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/ipinfo-3.3.2
Or alternatively:
emerge --autounmask-write -a =net-misc/ipinfo-3.3.2
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo go-module shell-completion
DESCRIPTION="Look up IP details in bulk or one-by-one"
HOMEPAGE="https://github.com/ipinfo/cli"
SRC_URI="https://github.com/ipinfo/cli/archive/${P}.tar.gz"
S="${WORKDIR}/cli-${P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DOCS=( {ipinfo/CHANGELOG,README}.md )
src_compile() {
GOFLAGS="-v -x -mod=vendor" ego build -o build/ipinfo ./ipinfo/...
local completion
for completion in bash fish zsh ; do
edo build/ipinfo completion ${completion} > ipinfo.${completion}
done
}
src_test() {
GOFLAGS="-v -x -mod=vendor" ego test -work ./ipinfo/...
}
src_install() {
einstalldocs
dobin build/ipinfo
newbashcomp ipinfo.bash ipinfo
newfishcomp ipinfo.fish ipinfo
newzshcomp ipinfo.zsh _ipinfo
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ipinfo-3.3.2.tar.gz | 4962360 bytes | https://github.com/ipinfo/cli/archive/ipinfo-3.3.2.tar.gz |