From owner-freebsd-questions Wed May 22 9:39: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 7170C37B406 for ; Wed, 22 May 2002 09:38:48 -0700 (PDT) Received: from user-33qtnv1.dialup.mindspring.com ([199.174.223.225] helo=earthlink.net) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17AZ8J-0002uW-00; Wed, 22 May 2002 09:38:40 -0700 Message-ID: <3CEBCC30.4090505@earthlink.net> Date: Wed, 22 May 2002 09:49:52 -0700 From: tipaporiello Reply-To: tipapori@earthlink.net User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 Cc: Marko , freebsd-questions@FreeBSD.ORG Subject: Re: cvsup References: <001b01c2014d$ac232850$0e01a8c0@helpdesk4> <20020522062100.BDC903409@nova.anchoragerescue.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Beech Rintoul wrote: > On Tuesday 21 May 2002 09:01 pm, you wrote: > >>Hi all! >> >>I accidently removed my /usr/ports dir so I decided to get >>RELENG_4_5_STABLE again from CVS. Here is my config file I created: >> >>$ cat cvsupfile.all >># If not running X, or invoking cvsup from a non-interactive script, then >># run it as follows: >># >># cvsup -g -L 2 cvsupfile.all >># >># Defaults that apply to all the collections >># >># IMPORTANT: Change the next line to use one of the CVSup mirror sites >># listed at http://www.freebsd.org/handbook/mirrors.html. >>*default host=cvsup.si.FreeBSD.org >>*default base=/usr >>*default prefix=/tmp/cvsup >>*default release=cvs tag=RELENG_4_5_STABLE >>*default delete use-rel-suffix >> >># If your network link is a T1 or faster, comment out the following line. >>*default compress >> >>ports-all >>src-all >>doc-all >>www >> >>OK It looks fine for me but here see what happens when I run cvsup: >> >> $ cvsup -g -L 2 cvsupfile.all >>Parsing supfile "cvsupfile.all" >>Connecting to cvsup.si.FreeBSD.org >>Connected to cvsup.si.FreeBSD.org >>Server software version: SNAP_16_1e >>Negotiating file attribute support >>Exchanging collection information >>Establishing multiplexed-mode data connection >>Running >>Updating collection ports-all/cvs >>Updating collection src-all/cvs >>Updating collection doc-all/cvs >>Updating collection www/cvs >>Shutting down connection to server >>Finished successfully >> >>Allrighty now. But '*default prefix=/tmp/cvsup' line in config file says >>that now something should be in /tmp/cvsup : >>$ cd /tmp/cvsup/ >>$ ls -la >>total 4 >>drwxr-xr-x 2 root wheel 512 May 19 02:11 . >>drwxrwxrwt 23 root wheel 2048 May 22 06:47 .. >>$ >>.. why is it empty? >> >>But I've noticed something else: >>$ cd /usr/sup >>$ du -a >>4736 ./src-all/checkouts.cvs:RELENG_4_5_STABLE >>4738 ./src-all >>496 ./doc-all/checkouts.cvs:RELENG_4_5_STABLE >>498 ./doc-all >>5712 ./ports-all/checkouts.cvs:RELENG_4_5_STABLE >>5714 ./ports-all >>168 ./www/checkouts.cvs:RELENG_4_5_STABLE >>170 ./www >>11122 . >> >>This was empty before running cvsup. What am I doing wrong? Is it config or >>something else? >>Thanx for answering. >> >>Marko. >> >> > > There is no 4_5_STABLE ports. the ports line should read: > > ports-all tag=. <------- That's a period. > > The ports are current only, if you use any other tag for ports it will delete > them. > Here is a working example of what I used. *default host=cvsup14.FreeBSD.org *default release=cvs tag=RELENG_4_5 *default delete use-rel-suffix *default prefix=/usr *default base=/usr *default compress src-all *default tag=. ports-all doc-all > > Beech > tipaporiello To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message