From owner-freebsd-questions Fri Jul 6 4:38:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id C322437B401 for ; Fri, 6 Jul 2001 04:38:39 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a165.otenet.gr [212.205.215.165]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f66BcYh25418; Fri, 6 Jul 2001 14:38:35 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.4/8.11.3) id f66Auxl34968; Fri, 6 Jul 2001 13:56:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 6 Jul 2001 13:56:58 +0300 From: Giorgos Keramidas To: Jesus Arnaiz Cc: FreeBSD Questions Subject: Re: Ports Message-ID: <20010706135658.A33959@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from admin@pasapues.com on Fri, Jul 06, 2001 at 12:31:26PM +0200 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Jesus, -----Original Message----- From: Jesus Arnaiz 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