mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
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@gentoo.org>
This commit is contained in:
parent
5d94b3176e
commit
6be3b8891f
@ -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.
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user