Re: First time running cvsup
On Tue, 11 May 2004 20:10:48 +0800 (CST) Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi Ion, > > Tks for your advice. > > Freebsd5.2 > > > - snip - > > > I use 3 cvsup files: one fot the ports, one for the > > docs and one for the > > system (src). This way I can update ports and docs > > more often and be > > sure the system had known-to-be-working sources (I'm > > on -CURRENT). > > Noted with tks > > > My /etc/ports-supfile is: > > *default host=cvsup3.FreeBSD.org > > *default base=/usr > > *default prefix=/usr > > *default release=cvs tag=. > > *default delete use-rel-suffix > > ports-all > > What will be the difference between > *default host=cvsup3.FreeBSD.org > and > *default host=cvsup10.FreeBSD.org Only that you will use another cvsup server. > > (Don't refuse categories in ports, when you'll try > > to `make index` I > > will fail from time to time ). > > Could you please explain above in more detail. Tks You can choose to update only a part of the ports collection, either by using cvsup refuse files or by specifying "sub"-collections in the cvsup file. See the end of the /usr/share/examples/cvsup/ports-supfile for those. However 9 of 10 posts on ports@ regarding failed `make index` are because the poster has a partially cvsup'ed ports collection and because of that he runs into trouble. The time difference is not big; the INDEX-5 file on your system keeps track of ports and their dependencies and is by various pkg_* directly and port* tools indirectly. Also if you want a fast cvsup use `cvsup -s supfile` ; "-s" wound make cvsup to do less checks on you machine and the time will be significantly smaller; but from time to time do a "complete" cvsup (I do it before building the index). -- IOnut Unregistered ;) FreeBSD "user" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: First time running cvsup
Hi Ion, Tks for your advice. Freebsd5.2 - snip - > I use 3 cvsup files: one fot the ports, one for the > docs and one for the > system (src). This way I can update ports and docs > more often and be > sure the system had known-to-be-working sources (I'm > on -CURRENT). Noted with tks > My /etc/ports-supfile is: > *default host=cvsup3.FreeBSD.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. > *default delete use-rel-suffix > ports-all What will be the difference between *default host=cvsup3.FreeBSD.org and *default host=cvsup10.FreeBSD.org > (Don't refuse categories in ports, when you'll try > to `make index` I > will fail from time to time ). Could you please explain above in more detail. Tks > In the /etc/current-supfile the line ports-all is > replaced by src-all > and in /etc/doc-all by doc-all > > If you don't follow -current you will want to change > the dot from > "tag=." in your branch. Noted with thanks - snip - > > I could not locate > > /usr/ports/UPDATING > > where it is kept??? > > Well, in /usr/ports :) It is a new thing so it will > appear after you > cvsup. Noted. B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: First time running cvsup
On Tue, 11 May 2004 12:24:22 +0800 (CST) Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi folks > > Freebsd5.2 > = > > This is my first time running 'cvsup' to upgrade > port-tree after installing the OS which runs on a slow > PC, AMD-K6-350 and under X11. > > # cvsup cvs-supfile > > I went through 'A.5.3 CVSup Configuration' on > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > But I haven't had much confidence on myself, not > running the PC to an unstable state after upgrade. > Please provide me some advice on this respect > > $ pkg_info | grep cvsup > cvsup-16.1h General network file distribution > system optimized for CVS > > # cp /usr/share/examples/cvsup/cvs-supfile > /etc/cvs-supfile > # ee /etc/cvs-supfile (as follows) > > cvs-all (shall I add 'release=cvs' ???) > ... > > Can I create one 'supfile' to /etc/supfile and run > followings collectively (instead of to run each > 'supfile' separately); > # cat /etc/supfile > > src-all > doc-all ('release=cvs' ???) > cvs-all ('release=cvs' ???) > cvsroot-all ('release=cvs' ???) > ports-all ('release=cvs' ???) > . I use 3 cvsup files: one fot the ports, one for the docs and one for the system (src). This way I can update ports and docs more often and be sure the system had known-to-be-working sources (I'm on -CURRENT). My /etc/ports-supfile is: *default host=cvsup3.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-all (Don't refuse categories in ports, when you'll try to `make index` I will fail from time to time ). In the /etc/current-supfile the line ports-all is replaced by src-all and in /etc/doc-all by doc-all If you don't follow -current you will want to change the dot from "tag=." in your branch. > > then > # cvsup supfile > > Is it necessary to run following trial test ??? > # mkdir /var/tmp/dest > # cvsup supfile /var/tmp/dest No. > I could not locate > /usr/ports/UPDATING > where it is kept??? Well, in /usr/ports :) It is a new thing so it will appear after you cvsup. -- IOnut Unregistered ;) FreeBSD "user" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"