svn commit: r334475 - head/net-mgmt/nagios-plugins
Mathieu Arnold
mat at FreeBSD.org
Thu Nov 21 11:49:41 UTC 2013
+--On 21 novembre 2013 11:30:10 +0000 Dmitry Sivachenko <demon at FreeBSD.org>
wrote:
| Add optional dependency on bind-tools to install dig(1) on FreeBSD-10
| and above (it has been removed from base system).
|
| -OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 JAIL NLS
| -OPTIONS_DEFAULT=IPV6
| +OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 JAIL
| NLS DNS +OPTIONS_DEFAULT=IPV6 DNS
| +DNS_DESC= DNS support via dig (check_dns, check_dig)
| +.if ${PORT_OPTIONS:MDNS}
| +BUILD_DEPENDS+= dig:${PORTSDIR}/dns/bind-tools
| +RUN_DEPENDS+= dig:${PORTSDIR}/dns/bind-tools
| +PLIST_SUB+= SUB_DNS=""
| +.else
| +PLIST_SUB+= SUB_DNS="@comment "
| +.endif
The problem with that is that it won't build cleanly on <10 because dig is
always there, so the check will be ok and the two checks will be installed.
Then, if people are using only packages, like me, and want to install bind
via ports, it won't work because bind conflicts with bind-tools :-)
--
Mathieu Arnold
More information about the svn-ports-all
mailing list