From owner-svn-ports-all@FreeBSD.ORG Sun Apr 20 22:59:51 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37FCE521; Sun, 20 Apr 2014 22:59:51 +0000 (UTC) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "fun.ee.lbl.gov", Issuer "ACS 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 200141CC0; Sun, 20 Apr 2014 22:59:51 +0000 (UTC) Received: from ice.ee.lbl.gov (ice.ee.lbl.gov [131.243.2.213]) (authenticated bits=0) by fun.ee.lbl.gov (8.14.8/8.14.8) with ESMTP id s3KMxmG3048756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 20 Apr 2014 15:59:49 -0700 (PDT) Message-ID: <53545164.7010009@ee.lbl.gov> Date: Sun, 20 Apr 2014 15:59:48 -0700 From: Craig Leres User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Mathieu Arnold , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r351319 - in head/net-mgmt/nagios-plugins: . files References: <201404150957.s3F9vlea057278@svn.freebsd.org> In-Reply-To: <201404150957.s3F9vlea057278@svn.freebsd.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2014 22:59:51 -0000 > 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