Created attachment 356582 [details] Modified Ebuild When snmp use flag is on and emerging nagios-plugins the plugin check_snmp and check_hpjd is not build because the configure searches for snmp-get and snmp-walk commands which are available in net-snmp (-minimal).
Comment on attachment 356582 [details] Modified Ebuild --- nagios-plugins-1.4.16-r3.ebuild 2012-11-27 18:15:59.893527016 +0100 +++ - 2013-08-21 15:59:16.740576066 +0200 @@ -33,7 +33,8 @@ RDEPEND="${DEPEND} >=dev-lang/perl-5.6.1-r7 samba? ( >=net-fs/samba-2.2.5-r1 ) - snmp? ( >=dev-perl/Net-SNMP-4.0.1-r1 ) + snmp? ( >=dev-perl/Net-SNMP-4.0.1-r1 + net-analyzer/net-snmp[-minimal] ) mysql? ( dev-perl/DBI dev-perl/DBD-mysql ) nagios-dns? ( >=net-dns/bind-tools-9.2.2_rc1 )
I reckon net-analyzer/net-snmp[-minimal] doesn't need to be in RDEPEND, DEPEND should be enough.
Can you please check if this is true with the nagios-plugins-2.0.3 that I've just committed? I'm happy to fix it if so.
Ok, I have a fix for this. A *lot* of the dependencies are automagic and needed to be fixed.
Should take care of it: *nagios-plugins-2.0.3-r1 (26 Nov 2014) 26 Nov 2014; Michael Orlitzky <mjo@gentoo.org> +nagios-plugins-2.0.3-r1.ebuild: Revbump to fix bug #468296 and bug #481926.