Skip site navigation (1)Skip section navigation (2)
Date:      27 Mar 2002 16:19:54 +0100
From:      Pascal Hofstee <pascal@emaxx.nl>
To:        John <sephtin@techgodz.com>
Cc:        stable@freebsd.org
Subject:   Re: HEADS UP: sendmail 8.12.2 MFC'ed
Message-ID:  <1017242394.4607.14.camel@spock.emaxx-marssteden.nl>
In-Reply-To: <002201c1d59c$0b1a6c20$6501a8c0@techgodz.com>
References:  <200203262226.XAA27664@galaxy.de.cp.philips.com> <026501c1d561$90d61de0$0200a8c0@gauss>  <002201c1d59c$0b1a6c20$6501a8c0@techgodz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2002-03-27 at 15:31, John wrote:

> Is there doc for the ports tree apps ANYWHERE that describes locations that
> things are installed to, or what config files are necessary, possibly even
> how to admin different apps when installed from the ports tree??
> (Especially since it seems that when installed from ports, it doesn't
> install them in their default locations.. thus I have named in
> /usr/local/sbin, and /usr/sbin...)
> I'm a beginner, and my biggest help with my FreeBSD boxes is a linux guy,
> who keeps telling me "FreeBSD is F'Kd up.  They do things screwey".
> 
> My experiences with cvsup and installing from ports were excellent, until I
> ran into the Bind prob.

I have no personal experience with installing Bind9 from ports.
The usual tendency for ports though is they either install their things
in /usr/local/*  or  /usr/X11R6/* in case USE_X_PREFIX is specified in
the ports Makefile.

In your case it's 100% certain that the /usr/local/* files are the Bind9
files ... with a rdnc.conf.sample put in /usr/local/etc/ (Documentation
will be in /usr/local/share/doc/bind9)

On default if you simply specify named_enable="YES" in /etc/rc.conf
rc.network will start up your bind executable on system boot.
If you check /etc/defaults/rc.conf you'll notice there are a few more
named-related rc.conf variables you can set. One of these being
named_program.

I think if you would put the following line into your /etc/rc.conf would
make FreeBSD start up your freshly installed Bind9 instead of the
default bind8 that comes with your base-system.

named_program="/usr/local/sbin/named"


I think you will have to consult the Bind9-port's documentation as to
where the port install of Bind9 will expect it's configuration.

As i said above already .. i have not ever tried this myself. But
according to my understanding of FreeBSD's rc and ports systems, this
should at least answer your question on how to get FreeBSD to start up
the new Bind9 ... and which files on your system will belong to which
version of Bind.

-- 
  Pascal Hofstee <daeron@shadowmere.student.utwente.nl>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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