Date: Fri, 6 Jul 2001 13:56:58 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Jesus Arnaiz <admin@pasapues.com> Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: Ports Message-ID: <20010706135658.A33959@hades.hell.gr> In-Reply-To: <MMEAJGMJBAFKNGEIDIJMGEGMCHAA.admin@pasapues.com>; from admin@pasapues.com on Fri, Jul 06, 2001 at 12:31:26PM %2B0200 References: <MMEAJGMJBAFKNGEIDIJMGEGMCHAA.admin@pasapues.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Jesus, -----Original Message----- From: Jesus Arnaiz <admin@pasapues.com> Subject: Ports Date: Fri, Jul 06, 2001 at 12:31:26PM +0200 > I want to install a new version of BIND DNS server. I use FreeBSD 4.2, but I > want bind9 or a newer version that appear in my ports collection, is there any > way to install a new directory of ports, or something in order to reach this. (I > know i can download source code, but I prefer ports if it is possible). Yes, one option is to download the source and build it yourself. But it is a lot better if you update your ports collection with CVSup and then install bind9 from the ports. For instructions on how to update the ports (and your source tree) with CVSup, consult the relevant handbook section at: http://www.freebsd.org/handbook/cvsup.html When you update your /usr/ports tree, installing bind9 should be as easy as running: # cd /usr/ports/net/bind9 # make install Then you will need to do some changes to your `/etc/rc.conf' to make sure than the boot scripts don't start bind8 that is installed in your 4.2 FreeBSD system. The variables that you might be interested in changing are: % grep named_ /etc/defaults/rc.conf named_enable="NO" # Run named, the DNS server (or NO). named_program="named" # path to named, if you want a different one. named_flags="" # Flags for named #named_flags="-u bind -g bind" # Flags for named You might also find it handy to change in /etc/make.conf the variable NO_BIND. The comments from /etc/defaults/make.conf are rather explanatory of why you would want to do this. % grep BIND /etc/defaults/make.conf #NO_BIND= true # do not build BIND This way, when you buildworld again, the build procedure will not build and install BIND from /usr/src/contrib and it will save you some cycles and time from the build process. For the real paranoid, you might also want to remove any traces of BIND from /usr that were installed by installworld, but that's not really necessary. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010706135658.A33959>