Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 12:49:38 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Dmitry Sivachenko <demon@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r334475 - head/net-mgmt/nagios-plugins
Message-ID:  <5CEBE7BD02BF6B487859E437@ogg.in.absolight.net>
In-Reply-To: <201311211130.rALBUAoU061148@svn.freebsd.org>
References:  <201311211130.rALBUAoU061148@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 21 novembre 2013 11:30:10 +0000 Dmitry Sivachenko <demon@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CEBE7BD02BF6B487859E437>