From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 18:24:05 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 3B2FD16A4CE for ; Thu, 3 Mar 2005 18:24:05 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49EBE43D5E for ; Thu, 3 Mar 2005 18:24:04 +0000 (GMT) (envelope-from singh.madhusudan@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so520279wri for ; Thu, 03 Mar 2005 10:24:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=QFVROAnbf9j0zOC8ucnwEbvFuoAs95y5hlvn8FjHbF2ZoXbmUVrEZx81CWbtAvire2jpH+AhCfrZ/B3ypqzjYPx67EmN2O2b3WuAbCZ5Hw+2xGWlgG6Kbu5rnw4/dW+HTKJ1sMpsc1ryBynzbbLZgEhDv3JWxxJ9w96Nv52gKVI= Received: by 10.54.65.2 with SMTP id n2mr22988wra; Thu, 03 Mar 2005 10:24:03 -0800 (PST) Received: from RLE-12-165.MIT.EDU ([18.62.12.165]) by smtp.gmail.com with ESMTP id 6sm318760wrl.2005.03.03.10.24.03; Thu, 03 Mar 2005 10:24:03 -0800 (PST) From: Madhusudan Singh To: freebsd-questions@freebsd.org Date: Thu, 3 Mar 2005 13:24:17 -0500 User-Agent: KMail/1.7.1 References: <200503012215.06104.singh.madhusudan@gmail.com> <20050303092437.GA92741@aurora.oekb.co.at> In-Reply-To: <20050303092437.GA92741@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503031324.17990.singh.madhusudan@gmail.com> 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 18:24:05 -0000 Thanks for a very helpful response. I have another query. As a matter of practice, is it a good idea to upgrade ports immediately after a kernel compile ? I do not expect that the ports depend directly on the kernel (for most changes in kernel), though I could well be wrong (for instance cdrecord on linux had major problems after the 2.6.9 kernel came out). On Thursday 03 March 2005 04:24, Ewald Jenisch wrote: > 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 >