FreeBSD port

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Thu Jan 3 07:48:53 UTC 2013


At Tue, 01 Jan 2013 23:46:10 -0800,
JINMEI Tatuya <jinmei at isc.org> wrote:

> > The FreeBSD port specification for the 1.0.0-beta is at
> > http://git.bind10.isc.org/~jreed/freebsd/ports-bind10-20121220.tgz
> 
> I've installed Python 3.2, and would like to avoid installing 3.1 in
> addition to it:
> USE_PYTHON=     3.1     # later 3.1+

Also: my system has the issue discussed in
http://bind10.isc.org/ticket/1991
and I needed to tweak CONFIGURE_ARGS as follows:
CONFIGURE_ARGS= --without-werror --localstatedir=/var   \
                --disable-install-configurations

Note that even with #1991 --without-werror won't be automatically set
for susceptible systems.  So I suspect we should keep this in ports's
Makefile for the moment.

With these make and make install succeeded.

But, I had hard time to make it work with "-u bind".  One reason is
http://bind10.isc.org/ticket/711 and the proposed solution in #711
will help diagnose the issue better, but people would things work
magically from the beginning if they install something via ports, so
it's still suboptimal.  Also, there's another issue related to "-u
bind": I also needed to change the user of
/usr/local/etc/bind10/*.{csv,pem}; otherwise b10-cmdctl fails in an
ugly way.

Combining these, I think we should also provide a startup/shutdown
script as part of ports.  It will be installed under
/usr/local/etc/rc.d, and, when necessary, adjust directory/file
permission as /etc/rc.d/named does.  Then the only thing that the user
has to do after 'make install' is to add the following to
/etc/rc.conf:

bind10_enable="YES"
# If needed to run as a different user
#bind10_flags="-u bind"

---
JINMEI, Tatuya


More information about the bind10-users mailing list