From owner-freebsd-questions@FreeBSD.ORG Sat Sep 11 16:25:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 016DA1065672 for ; Sat, 11 Sep 2010 16:25:55 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 818468FC17 for ; Sat, 11 Sep 2010 16:25:54 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.3/8.14.3) with ESMTP id o8BGPcmD028596; Sat, 11 Sep 2010 17:25:39 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4C8BAD82.8020907@qeng-ho.org> Date: Sat, 11 Sep 2010 17:25:38 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100727 Thunderbird/3.0.6 MIME-Version: 1.0 To: Martin McCormick References: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> In-Reply-To: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to Best Prevent Unwanted named installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2010 16:25:55 -0000 On 09/10/10 21:58, Martin McCormick wrote: > After successfully installing bind97 from a package on > to a new server, I do a cvs-sup of the system to get the latest > patches in to the kernel. After discovering that bind97 had been > replaced with bind9.6.1, I looked in /usr/src and there is a > contrib/bind9 directory. What is the safest way to disable that > build without adversly effecting the rest of the update? > > The reason for doing these things in this order is that > I would like to get bind running as quickly as possible since it > takes a couple of hours or more to get the world built when we > could be doing DNS. > > Since I am not using that version of bind, not getting > it built is no problem. I don't even care if it gets built so > long as it does not end up in /usr/sbin to clobber the new > bind9.7. If your ports version of named is in /usr/sbin you must have enabled the REPLACE_BASE option in the port. From man src.conf > WITHOUT_BIND > Setting this variable will prevent any part of BIND from being > built. When set, it also enforces the following options: [list of sub options snipped] Add WITHOUT_BIND= true into /etc/src.conf, and the next time you rebuild the world the base system bind will be left out of it.