Install this version:
emerge -a =sys-apps/ethq-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-apps/ethq-9999
Or alternatively:
emerge --autounmask-write -a =sys-apps/ethq-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 edo git-r3
DESCRIPTION="Ethernet NIC Queue stats viewer"
HOMEPAGE="https://github.com/isc-projects/ethq"
EGIT_REPO_URI="https://github.com/isc-projects/${PN}.git"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="sys-libs/ncurses:="
RDEPEND="${DEPEND}"
src_prepare() {
default
# respect FLAGS, remove Werror and strip
sed -i -e '/CXXFLAGS/s/= -O3/+=/' \
-e '/CXXFLAGS/s/ -Werror//' \
-e '/LDFLAGS/s/= -s/+=/' Makefile || die "sed failed for Makefile"
if ! use test ; then
sed -i '/TARGETS/s/ethq_test//' Makefile \
|| die "sed failed for USE flag test"
fi
}
src_test() {
local driver
for driver in tests/* ; do
edo "${S}"/ethq_test "$(basename "${driver%%-*}")" "${driver}"
done
}
src_install() {
einstalldocs
dobin ethq
}
Manage flags for this package:
euse -i <flag> -p sys-apps/ethq |
euse -E <flag> -p sys-apps/ethq |
euse -D <flag> -p sys-apps/ethq
sys-libs/ncurses:=
sys-libs/ncurses:=