From owner-cvs-src@FreeBSD.ORG Fri Sep 24 20:33:48 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D61C216A4D3; Fri, 24 Sep 2004 20:33:48 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FED343D39; Fri, 24 Sep 2004 20:33:48 +0000 (GMT) (envelope-from DougB@freebsd.org) Received: from [192.168.9.149] (unknown[195.172.110.163]) by comcast.net (rwcrmhc11) with SMTP id <20040924203334013002iq11e> (Authid: domain_name_tsar); Fri, 24 Sep 2004 20:33:47 +0000 Date: Fri, 24 Sep 2004 21:33:22 +0100 (BST) From: Doug Barton To: "Bjoern A. Zeeb" In-Reply-To: Message-ID: <20040924210405.A6066@URF.trarfvf> References: <200409241342.i8ODg06a030839@repoman.freebsd.org> <20040924164730.GA4259@xor.obsecurity.org> <41545194.1030700@DougBarton.net> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: src-committers@FreeBSD.org cc: cvs-src@FreeBSD.org cc: cvs-all@FreeBSD.org cc: freebsd-current@freebsd.org cc: Ruslan Ermilov cc: Kris Kennaway Subject: BIND build knobs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 20:33:49 -0000 On Fri, 24 Sep 2004, Bjoern A. Zeeb wrote: > On Fri, 24 Sep 2004, Doug Barton wrote: > >> Kris Kennaway wrote: >>> On Fri, Sep 24, 2004 at 01:42:00PM +0000, Ruslan Ermilov wrote: >>> >>> >>>> Log: >>>> Don't expose BIND libraries and their headers to the public by default, >>>> but have a knob (WANT_BIND_LIBS) to build and install them in /usr/lib >>>> and /usr/include. Rumors are that this may be useful at a later point, >>>> let's see. >>> >>> >>> The naming of this is inconsistent with the ports collection: WANT_* >>> variables are for internal port use only, and may not be set by the >>> user. User control switches are in the WITH_*/WITHOUT_* namespace. >> >> Argh, thanks. I had this thought in the back of my mind, but got it >> backwards. We'll get this fixed. > > well actually for the base system shouldn't things be named NO_* ? Only if what you want is to disable things. As was already pointed out, the knobs are boolean, it's either defined or it isn't, regardless of what the knob is named. The goal here is to make the NO_BIND option a lot more granular, and to default some of the options to not install bits unless they are specifically requested. The knob for the libs is the first step in the latter direction. The other knobs I have in mind are as follows: #NO_BIND_DNSSEC= true # dnssec-{keygen|signzone} #NO_BIND_LWRESD= true # lwresd #NO_BIND_NAMED= true # named, named-check{conf|zone}, rndc[-confgen] #NO_BIND_UTILS= true # dig, host, nslookup, nsupdate At the bay area bsdcon developer's conference, it was agreed that we would introduce these knobs for 5-RELEASE, and in HEAD we would turn some of them off by default. The likely candidates for swithing from install by default to install on demand are named and the dnssec stuff. I'm open to other names for the install on demand knobs. I thought that emulating the ports syntax would make the intentions more clear to the users, but I'm ok with whatever folks think will work well. Doug -- This .signature sanitized for your protection