From owner-freebsd-questions Sun Apr 20 03:01:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA14177 for questions-outgoing; Sun, 20 Apr 1997 03:01:03 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA14168 for ; Sun, 20 Apr 1997 03:01:00 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id DAA19249; Sun, 20 Apr 1997 03:00:43 -0700 (PDT) Date: Sun, 20 Apr 1997 03:00:43 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Steven Farmer cc: freebsd-questions@freebsd.org Subject: Re: cvsup munges /usr/ports? In-Reply-To: <199704191714.MAA00719@pro200.farmer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 19 Apr 1997, Steven Farmer wrote: > After getting 2.2-RELEASE installed via ftp, I ran cvsup to pick up > any recent changes. The supfile is: > > *default host=cvsup.FreeBSD.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=RELENG_2_2 > *default delete use-rel-suffix > *default compress > src-all > cvs-crypto > ports-all > > The src-all and cvs-crypto updates gave the expected results, but the > ports-all update replaced everything in /usr/ports with CVS files! Is > this right? This is the fist time I've cvsup'd ports-all, and I was > expecting the files to be updated, not morphed into something else > altogether. If this *is* right, how would I use it? Yes. You requested that CVSup give you CVS repositories for all the specified distributions and put those repositories in /usr. Since src-all and cvs-crypto live under /usr/src it turned /usr/src into a CVS repository. Similar for /usr/ports; you also gave it permission to delete, so it assimilated /usr/ports into the CVS repository for ports. If you want to grab stuff in checkout mode (ie, get _real_ files) you need to specify a tag. If you want the most current stuff, then change ports-all to ports-all tag=. tag is any valid CVS tag, ie RELENG_2_2 and so forth. . is the head. You can *default this if you want real files for everything. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major