Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 10:24:37 +0100
From:      Ewald Jenisch <a@jenisch.at>
To:        Madhusudan Singh <singh.madhusudan@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Question about cvsup
Message-ID:  <20050303092437.GA92741@aurora.oekb.co.at>
In-Reply-To: <200503012215.06104.singh.madhusudan@gmail.com>
References:  <200503012215.06104.singh.madhusudan@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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