commit: 6be3b8891fc2162e916b1a6929f1b2a4b3dc981c Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Mon Oct 27 18:07:04 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Mon Oct 27 18:42:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be3b889
net-analyzer/nagios-plugins: new "rpc" USE flag The path to rpcinfo is detected at build time and if it is not found, check_rpc won't work. We add a USE flag to pull in net-nds/rpcbind at both build and run-time. Bug: https://bugs.gentoo.org/964247 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> net-analyzer/nagios-plugins/metadata.xml | 4 ++++ ...agios-plugins-2.4.12-r2.ebuild => nagios-plugins-2.4.12-r3.ebuild} | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/net-analyzer/nagios-plugins/metadata.xml b/net-analyzer/nagios-plugins/metadata.xml index 10fc78d5339d..6e0ac6a29ca5 100644 --- a/net-analyzer/nagios-plugins/metadata.xml +++ b/net-analyzer/nagios-plugins/metadata.xml @@ -26,6 +26,10 @@ Install <pkg>net-analyzer/fping</pkg> required for fancy ping monitoring. Disabling the flag does not remove any plugin file. </flag> + <flag name="rpc"> + Install <pkg>net-nds/rpcbind</pkg> required for monitoring RPC + services. Disabling the flag does not remove any plugin file. + </flag> <flag name="ssh"> Install <pkg>net-misc/openssh</pkg> required for monitoring SSH servers. Disabling the flag does not remove any plugin file. diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r2.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r3.ebuild similarity index 98% rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r2.ebuild rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r3.ebuild index 8a45c8c2046e..44514c3c5c59 100644 --- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r2.ebuild +++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game nls postgres radius samba selinux snmp ssh +ssl" +IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game nls postgres radius samba selinux snmp ssh +ssl rpc" # Most of the plugins use automagic dependencies, i.e. the plugin will # get built if the binary it uses is installed. For example, check_snmp @@ -23,6 +23,7 @@ AUTOMAGIC_DEPEND=" nagios-dns? ( net-dns/bind ) nagios-game? ( games-util/qstat ) nagios-ping? ( net-analyzer/fping ) + rpc? ( net-nds/rpcbind ) samba? ( net-fs/samba ) ssh? ( virtual/openssh ) snmp? ( dev-perl/Net-SNMP
