Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2001 15:16:42 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        Tom Kersten <tomkersten98@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: CVSup Question....
Message-ID:  <3C30F1DA.1090305@owt.com>
References:  <20011231212613.37579.qmail@web10006.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You already have the correct answer from Mr. Gilbert. I have some 
additional comments and won't send them to the list.

Tom Kersten wrote:

> Hello,
> 
> I am trying to set up CVSup on a box running FreeBSD
> 4.4. When I ran "make world" everything worked
> fine...as far as I know. After that, I ran the
> following commands:
> # make clean  -to clean up after make world (is this
> correct??)
> # cd /usr/src/usr.sbin/config
> # make depend all install clean  -to synchronize
> kernel modules 
> 
> This also seemed to work fine. When it was done. I
> noticed that the /usr/ports/ directory had less
> directories than before, and the categories that did
> remain have very few (if any) ports in them any more.
> Also, when I try to run "make search key=xxxx" I get
> an error saying "make: don't know how to make search.
> Stop". I don't really know what I did wrong. From my
> understanding of the process, aren't *all* ports, the
> source, and documentation supposed to be updated
> (depending on the entries in the cvsup-config file you
> use, of course)? I was under the impression that
> anything that was updated would replace the old and
> anything untouched would not be removed...is this
> correct? Any ideas on what I did wrong? Here is the
> applicable sections of my cvsup-config file and my
> refuse file:
> 
> cvsup-config:
> (--clipped--)
> # 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=cvsup7.FreeBSD.org
> *default base=/usr/local/etc/cvsup
> *default prefix=/usr
> # The following line is for 4-stable.  If you want
> 3-stable or 2.2-stable,
> # change "RELENG_4" to "RELENG_3" or "RELENG_2_2"
> respectively.
> *default release=cvs tag=RELENG_4
> *default delete use-rel-suffix
> 
> (--clipped--)
> # The easiest way to get the main source tree is to
> use the "src-all"
> # mega-collection.  It includes all of the individual
> "src-*" collections.
> # Please note:  If you want to track -STABLE, leave
> this uncommented.
> src-all
> ports-all
> doc-all


You combined supfiles and didn't pay attention to the tag field. The 
doc-all and ports-all have a "tag=." as the only real option. There are 
only a few ports that go with RELENG_4 and cvsup removed the rest.

The ports INDEX file is updated infrequently. The INDEX file is what is 
used by the search option. The way around this is to install the 
portupgrade port in /usr/ports/sysutils/portupgrade. Then, you do a 
"portsdb -Uu" after each cvsup of the ports-all. I takes a few minutes 
even on an AMD 1600+ XP such as I use. I have several machines and I 
upgrade the ports-all on all of them but ftp the INDEX files from the 
main computer. No sense in making all of them generate the INDEX files 
when they will be the same.

I find it convient to then add the make search as a "search" alias.

Kent


> 
> 
> --file: /usr/local/etc/cvsup/sup/refuse--
> 
> src/etc/sendmail/freebsd.mc*
> ports/chinese
> ports/french
> ports/german
> ports/hebrew
> ports/japanese
> ports/korean
> ports/russian
> ports/ukrainian
> ports/vietnamese
> 
> 
> 
> Any comments are appreciated...thanks in advance...
> 
> Thomas Kersten

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://users.owt.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C30F1DA.1090305>