Install this version:
emerge -a =net-dns/nsping-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-dns/nsping-9999
Or alternatively:
emerge --autounmask-write -a =net-dns/nsping-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 toolchain-funcs
DESCRIPTION="Measure reachability and latency of DNS nameservers"
HOMEPAGE="https://github.com/vovcat/nsping"
EGIT_REPO_URI="https://github.com/vovcat/${PN}.git"
LICENSE="GPL-1"
SLOT="0"
src_prepare() {
default
# remove debug, respect CFLAGS and LDFLAGS
sed -i -e '/CFLAGS/s/=-g3 -Og /+=/' \
-e '/LDFLAGS/s/=/+=/' \
Makefile || die "sed faild for Makefile"
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
doman nsping.8
dosbin nsping
}