Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 10:02:08 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Diane Bruce <db@db.net>, Mark Kamichoff <prox@prolixium.com>, freebsd-stable@freebsd.org
Subject:   Re: BIND9 built w/--disable-ipv6 on 8.1-STABLE
Message-ID:  <20100922095724.C31898@maildrop.int.zabbadoz.net>
In-Reply-To: <20100921193101.GA95238@night.db.net>
References:  <4C98F433.6070506@FreeBSD.org> <20100921191517.AF60A1CC3D@ptavv.es.net> <20100921193101.GA95238@night.db.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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