Subject: Re: build.sh fails
To: Douglas Wade Needham <cinnion@ka8zrt.com>
From: Denis Lagno <dlagno@smtp.ru>
List: current-users
Date: 12/30/2004 13:51:18
hi,

dunno whether mirrors being updated properly,

but changing to a different mirror can be done with
-d option to cvs:

I just used
cvs -z 9 -d anoncvs@anoncvs2.de.NetBSD.org:/cvsroot update src
instead of usual
cvs -z 9 -d :pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot update src

and all worked fine..

> Question...are the anoncvs mirrors being updated properly?  I would
> expect they are, but being sure is a good thing.  If so, I know it is
> a major hassle, but one can go through a tree and replace the CVS/Root
> files.  That would be one way to update via anoncvs.  Another
> possibility, given the right setup and access is to effect this via
> changes to your internal DNS or nsswitch (to point to /etc/hosts
> first) to have cvs get a mirror IP address instead.
> 
> BTW...here is a quick sample script to make the change.  No guarentees
> for efficiency, but figuring your source tree is checked out in /usr/src...
> 
>     cd /usr/src
>     find . -type f -name Root | egrep \'/CVS/Root$\' | while read i
>     do
>         echo \":pserver:anoncvs@anoncvs2.us.netbsd.org:/cvsroot\" > ${i}
>     done
> 
> - Doug
> > 
> > Sorry, we are working on it.
> > 
> > christos
> > > 
> > >\'How\' without anoncvs (at the moment)?