FreeBSD port

Jeremy C. Reed jreed at isc.org
Thu Jan 3 13:08:02 UTC 2013


On Wed, 2 Jan 2013, JINMEI Tatuya / ???? 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+

Did you change it to use 3.1+?   I will change to that.

> 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.

I had to do that also on another system. I will do that for now.

> 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.

Any ticket for that? (I don't think I saw this issue yet.)

Another problem is the auto detection of old database at build/install 
time.  On sytems where users build from ports, they will notice; but on 
systems that they use a package that was generated from ports, they will 
not.

> 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"

I started writing the rc.d script for this.  I will complete it.  The 
reason why it is not done yet was (and still is) that we have some 
output that is not logged yet.

Thanks a lot for looking at the port.


More information about the bind10-users mailing list