BIND9 built w/--disable-ipv6 on 8.1-STABLE

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Wed Sep 22 10:05:07 UTC 2010


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.


More information about the freebsd-stable mailing list