Date: Sun, 20 Apr 1997 10:58:48 -0500 (CDT) From: Steven Farmer <slfarmer@swbell.net> To: Doug White <dwhite@resnet.uoregon.edu> Cc: freebsd-questions@freebsd.org Subject: Re: cvsup munges /usr/ports? Message-ID: <199704201558.KAA01263@pro200.farmer.org> In-Reply-To: <Pine.BSF.3.96.970420025637.19065I-100000@localhost> References: <199704191714.MAA00719@pro200.farmer.org> <Pine.BSF.3.96.970420025637.19065I-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704201558.KAA01263>