Question about cvsup
Ewald Jenisch
a at jenisch.at
Thu Mar 3 01:24:40 PST 2005
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
More information about the freebsd-questions
mailing list