Install this version:
emerge -a =app-admin/sermo-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-admin/sermo-9999
Or alternatively:
emerge --autounmask-write -a =app-admin/sermo-9999
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 go-module tmpfiles
DESCRIPTION="Sermo is a safe service monitoring and control system for Linux"
HOMEPAGE="https://github.com/inode64/sermo"
EGIT_REPO_URI="https://github.com/inode64/Sermo.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
BDEPEND+=" >=dev-lang/go-1.27.1"
RESTRICT="!test? ( test )"
src_unpack() {
git-r3_src_unpack
# Fetch modules during unpack, where live ebuilds may access the network.
go-module_live_vendor
}
src_compile() {
ego build -trimpath -ldflags "-s -w" -o sermoctlr ./cmd/sermoctl || die
ego build -trimpath -ldflags "-s -w" -o sermod ./cmd/sermod || die
}
src_test() {
ego test ./... || die "test failed"
}
pkg_postinst() {
tmpfiles_process sermo.conf
}
Manage flags for this package:
euse -i <flag> -p app-admin/sermo |
euse -E <flag> -p app-admin/sermo |
euse -D <flag> -p app-admin/sermo