svn commit: r351319 - in head/net-mgmt/nagios-plugins: . files
Craig Leres
leres at ee.lbl.gov
Sun Apr 20 22:59:51 UTC 2014
> Add five new options, use DNS from base, which means that >= 10,
> check_dns won't be there and check_dig will use drill, or allow
> choosing between bind-tools, bind98, bind99 and bind910.
> +DNS_BINDTOOLS_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:${PORTSDIR}/dns/bind-tools
> +DNS_BINDTOOLS_CONFIGURE_ON= --with-dig-command=/usr/local/bin/dig \
> + --with-nslookup-command=/usr/local/bin/nslookup
> +DNS_BIND98_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:${PORTSDIR}/dns/bind98
> +DNS_BIND98_CONFIGURE_ON= --with-dig-command=/usr/local/bin/dig \
> + --with-nslookup-command=/usr/local/bin/nslookup
> +DNS_BIND99_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:${PORTSDIR}/dns/bind99
> +DNS_BIND99_CONFIGURE_ON= --with-dig-command=/usr/local/bin/dig \
> + --with-nslookup-command=/usr/local/bin/nslookup
> +DNS_BIND910_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:${PORTSDIR}/dns/bind910
> +DNS_BIND910_CONFIGURE_ON= --with-dig-command=/usr/local/bin/dig \
> + --with-nslookup-command=/usr/local/bin/nslookup
I really like this change because previously if I accidentally built
nagios-plugins before bind9* the check_dns wouldn't be built.
However, forcing the --with-nslookup-command and --with-nslookup-command
options doesn't work when bind9* is built with REPLACE_BASE:
ice 103 % /usr/local/libexec/nagios/check_dns freebsd.org
DNS CRITICAL - '/usr/local/bin/nslookup' msg parsing exited with no
address
Can we leave these out and assume that when we have a build depend on
some version of bind, dig and nslookup will exist when the
nagios-plugins configure script runs and it will correctly detect the
correct paths?
Craig
More information about the svn-ports-head
mailing list