From owner-freebsd-stable@FreeBSD.ORG Wed Sep 22 10:05:07 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14E78106566C; Wed, 22 Sep 2010 10:05:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id C2C0D8FC19; Wed, 22 Sep 2010 10:05:06 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 21C6441C7AE; Wed, 22 Sep 2010 12:05:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 4ZRqtMWItk00; Wed, 22 Sep 2010 12:05:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 99E7841C75E; Wed, 22 Sep 2010 12:05:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id AC50E4448FA; Wed, 22 Sep 2010 10:02:08 +0000 (UTC) Date: Wed, 22 Sep 2010 10:02:08 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Doug Barton In-Reply-To: <20100921193101.GA95238@night.db.net> Message-ID: <20100922095724.C31898@maildrop.int.zabbadoz.net> References: <4C98F433.6070506@FreeBSD.org> <20100921191517.AF60A1CC3D@ptavv.es.net> <20100921193101.GA95238@night.db.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Diane Bruce , Mark Kamichoff , freebsd-stable@freebsd.org Subject: Re: BIND9 built w/--disable-ipv6 on 8.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 10:05:07 -0000 On Tue, 21 Sep 2010, Diane Bruce wrote: >>> |> | why don't we want IPv6 enabled by default on new BIND installations? >>> |> >>> |> It has to do with whether or not IPv6 support is compiled into the >>> |> FreeBSD base system which is compiling BIND. If the configure option > ... >>> If I'm still alive when IPv6 is the norm and IPv4 is the exception, I >>> promise to give it another look. :) > > IPv6 is more prevalent than you think. I can't understand the illogic > of turning it off. Can't we just do what lib/bind/config.mk already does? Index: usr.sbin/named/Makefile =================================================================== --- usr.sbin/named/Makefile (revision 211503) +++ usr.sbin/named/Makefile (working copy) @@ -9,7 +9,10 @@ SRCDIR= ${BIND_DIR}/bin/named PROG= named -CONFIGARGS='--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads' '--disable-ipv6' '--enable-getifaddrs' '--disable-linux-caps' '--with-openssl=/usr' '--with-randomdev=/dev/random' +CONFIGARGS='--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads' '--enable-getifaddrs' '--disable-linux-caps' '--with-openssl=/usr' '--with-randomdev=/dev/random' +.if ${MK_INET6_SUPPORT} == "no" +CONFIGARGS+='--disable-ipv6' +.endif # Optional features .if ${MK_BIND_LARGE_FILE} == "yes" and leave it to the user to build world without INET6 support if (s)he build the kernel without it? Thanks, /bz -- Bjoern A. Zeeb Welcome a new stage of life.