From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 09:24:40 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C38D16A4CE for ; Thu, 3 Mar 2005 09:24:40 +0000 (GMT) Received: from srvdmz13.oekb.co.at (srvdmz13.oekb.co.at [143.245.5.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ABDB43D1D for ; Thu, 3 Mar 2005 09:24:39 +0000 (GMT) (envelope-from Ewald.Jenisch@oekb.at) X-SEF-Processed: 5_0_0_713__2005_03_03_10_24_38 Received: from Unknown [143.245.2.191] by srvdmz13.oekb.co.at - SurfControl E-mail Filter (5.0); Do, 03 Mär 2005 10:24:37 +0100 Received: from aurora.oekb.co.at ([143.245.9.16]) by MAIL01.oekb.co.at with Microsoft SMTPSVC(5.0.2195.6713); Thu, 3 Mar 2005 10:24:37 +0100 Received: from aurora.oekb.co.at (localhost.oekb.co.at [127.0.0.1]) by aurora.oekb.co.at (8.13.1/8.13.1) with ESMTP id j239ObRC019496; Thu, 3 Mar 2005 10:24:37 +0100 (CET) (envelope-from ej@aurora.oekb.co.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.13.1/8.13.1/Submit) id j239ObHi019478; Thu, 3 Mar 2005 10:24:37 +0100 (CET) (envelope-from ej) Date: Thu, 3 Mar 2005 10:24:37 +0100 From: Ewald Jenisch To: Madhusudan Singh Message-ID: <20050303092437.GA92741@aurora.oekb.co.at> References: <200503012215.06104.singh.madhusudan@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503012215.06104.singh.madhusudan@gmail.com> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 03 Mar 2005 09:24:37.0380 (UTC) FILETIME=[D1D33440:01C51FD2] cc: freebsd-questions@freebsd.org Subject: Re: Question about cvsup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 09:24:40 -0000 On Tue, Mar 01, 2005 at 10:15:05PM -0500, Madhusudan Singh wrote: > Hi > > I am new to FreeBSD and trying to use CVSup after someone suggested it to me > on comp.unix.misc.bsd.freebsd. > > My supfile : > > *default tag=. > *default host=cvsup.FreeBSD.org > *default prefix=/usr > *default base=/var/db > *default release=cvs delete use-rel-suffix compress > > ports-all release=cvs > Hi, I usually do it this way: 1) copy /usr/share/examples/cvsup/ports-supfile to /root 2) Edit /root/ports-supfile so that it points to your preferred CVSup-site; the only thing you need to change is the "*default host" entry. 3) run cvsup: cvsup -g -L 2 /root/ports-supfile 4) pkgdb -F 5) portsdb -Uu At this point you've synced your ports tree and all databases. Now you can go and install your ports. Dru Lavigne has written an excellent article on this you can find at http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html It basically covers everything I described above including keeping your ports-tree up2date including all up/down dependencies. HTH, -ewald