Created attachment 149421 [details] sysutils/munin-node: Depend upon dns/p5-Net-DNS at runtime sysutils/munin-node has an unstated runtime dependency on dns/p5-Net-DNS. There are two plugins that "use Net::DNS;", and they are ntp_ and ntp_states. Without the dependency installed the plugins fail as illustrated in this log excerpt: /var/log/munin/munin-node.log ----------------------------- 2014/11/14-00:00:06 [68072] Error output from ntp_states: 2014/11/14-00:00:06 [68072] Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .) at /usr/local/etc/munin/plugins/ntp_states line 43. 2014/11/14-00:00:06 [68072] BEGIN failed--compilation aborted at /usr/local/etc/munin/plugins/ntp_states line 43. 2014/11/14-00:00:06 [68072] Service 'ntp_states' exited with status 2/0. Fix: Apply the attached patch to pick up the missing dependency.
Maintainers CC'd
Yes, and Net-DNS is not the only module missing, varnish_ needs p5-XML-Parser, I've been meaning to go through all the Perl munin plugins for some time, now sounds like a good time :-)
A commit references this bug: Author: mat Date: Mon Nov 17 15:04:23 UTC 2014 New revision: 372671 URL: https://svnweb.freebsd.org/changeset/ports/372671 Log: - Fix bugs in if_* (prompted by [1]) - Add a new PERL option to add some extra dependencies needed by some modules (based on [2]) PR: 194733 [1] 195021 [2] Submitted by: Claudius Herder [1] John W. O'Brien [2] Sponsored by: Absolight Changes: head/sysutils/munin-node/Makefile head/sysutils/munin-node/files/patch-node__munin-node.conf.in head/sysutils/munin-node/files/patch-plugins__node.d.freebsd__if_.in head/sysutils/munin-node/files/patch-plugins__node.d.freebsd__if_errcoll_.in head/sysutils/munin-node/files/patch-plugins__node.d.freebsd__if_packets_.in head/sysutils/munin-node/files/patch-plugins__node.d.freebsd__iostat.in head/sysutils/munin-node/files/patch-plugins__node.d__hddtemp_smartctl.in head/sysutils/munin-node/files/patch-plugins__node.d__multiping.in head/sysutils/munin-node/files/patch-plugins__node.d__squeezebox_.in head/sysutils/munin-node/pkg-plist