From owner-freebsd-questions Sun Apr 20 08:59:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA27819 for questions-outgoing; Sun, 20 Apr 1997 08:59:08 -0700 (PDT) Received: from pro200.farmer.org (ppp-208-15-144-14.tulsok.swbell.net [208.15.144.14]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA27813 for ; Sun, 20 Apr 1997 08:59:04 -0700 (PDT) Received: (from steve@localhost) by pro200.farmer.org (8.8.5/8.8.5) id KAA01263; Sun, 20 Apr 1997 10:58:48 -0500 (CDT) Date: Sun, 20 Apr 1997 10:58:48 -0500 (CDT) Message-Id: <199704201558.KAA01263@pro200.farmer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Steven Farmer To: Doug White CC: freebsd-questions@freebsd.org Subject: Re: cvsup munges /usr/ports? In-Reply-To: References: <199704191714.MAA00719@pro200.farmer.org> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Reply-To: slfarmer@swbell.net Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Doug. Thanks for the reply, but I'm afraid that I'm still a bit confused; notice that I *did* specify a tag via the line: "*default release=cvs tag=RELENG_2_2" Both the src-all and cvs-crypto updates were checkouts, and afterwards a make world worked just fine. Only the ports-all update morphed /usr/ports into something else. The culprit is the "tag=RELENG_2_2". This works for src-all and cvs-crypto, but does something completely unexpected for ports-all. If this isn't a bug, it's certainly inconsistent with the Handbook. This supfile does the "right" thing for me: *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 tag=. release=cvs According to the Handbook, a "." tag is associated with FreeBSD-CURRENT, which AFAIK means FreeBSD 3. I want to track 2.2-STABLE, hence the RELENG_2_2 tag. If "." *does* mean -CURRENT in connection with ports-all, then there may be potential problems with shared libraries if I use them with 2.2-STABLE. No? Thanks again, Steve Doug White writes: > 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 >