Checking out ports using CVS

2003-08-01 Thread Alexander Farber
Hi,

as user alex:wheel I try the following commands

cd /usr
sudo mkdir ports
sudo chmod g+w ports
cvs -z3 -d $CVSROOT co -rRELENG_5_1 -P ports |  tee ~/ports.txt

Then I see the various ports sub-directories being checked out
and they aren't empty. But at the very end I see the message:

cvs server: Updating ports/x11-wm/xfce4-wm
cvs server: Updating ports/x11-wm/xfwm4
cvs server: Updating ports/x11-wm/xwmm
cvs server: Updating ports/x11-wm/xwmm/files
cvs server: Updating ports/x11-wm/yawm

cvs checkout: cannot remove ports: Permission denied

and the /usr/ports/ is suddenly empty -

newhope:usr {221} ll ports/
total 2
drwxr-xr-x  2 alex  wheel  512 Aug  1 17:07 CVS

Does anybody know, what am I doing wrong here?

Regards
Alex
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Checking out ports using CVS

2003-08-01 Thread Matthew Seaman
On Fri, Aug 01, 2003 at 03:13:42PM +, Alexander Farber wrote:
 Hi,
 
 as user alex:wheel I try the following commands
 
 cd /usr
 sudo mkdir ports
 sudo chmod g+w ports
 cvs -z3 -d $CVSROOT co -rRELENG_5_1 -P ports |  tee ~/ports.txt
   ^^ 

There's no such tag available in the ports bit of the CVS tree.  You
can use

RELENG_5_1_0

to get exactly what went onto the 5.1 CDs, but in general with ports
you just need to checkout HEAD.

Cheers,

Matthew 

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature