Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2003 22:08:26 -0600
From:      Jeremy Messenger <mezz7@cox.net>
To:        "Scot W. Hetzel" <hetzelsw@westbend.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: INDEX-5 is deleted then reconstructed by "make index" 
Message-ID:  <oprxsdsc0y8ckrg5@smtp.central.cox.net>
In-Reply-To: <007f01c39dce$6127d4d0$13fd2fd8@Admin02>
References:  <20031028203008.60637.qmail@web60303.mail.yahoo.com> <007f01c39dce$6127d4d0$13fd2fd8@Admin02>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Oct 2003 21:39:35 -0600, Scot W. Hetzel <hetzelsw@westbend.net> 
wrote:

> From: "Dorin H." <dhogea@yahoo.com>
>> Hello everybody,
>>
>>   The incantation to update the ports is according to
>> the list (after cvsuping the sources):
>>
>> 1. make index
>> 2. portsdb -u
>> 3. portversion -l "<"
>> ...
>>
>> Nevertheless, the "make index" starts by deleting the
>> INDEX-5 file; then it recreates INDEX-5. This takes
>> some considerable time.
>> Would it be possible to jump over "1.make index" and
>> go straight to step 2 (it would save a lot of
>> time...)? Or there are other artifacts created by
>> "make index" process?
>>
> The INDEX* files that you receive from cvsup are outdated, as these files
> are only occasionally updated in the ports CVS repository.  Doing the 
> 'make
> index' updates these files to contain the latest information as of the 
> date
> you cvsuped.
>
> Otherwise when you run portsdb and portversion to check your ports
> collection, it'll report that your current packages are up to date, and 
> you
> won't know that your ports are out of date.

I never do the 'make index' and never use portsdb/portversion, because the 
pkg_version works much better. I only find the 'make index' or different 
way to rebuild the INDEX are useful for the search if the INDEX is out of 
date, but I use www.freshports.org most of time.

Cheers,
Mezz

> Scot


-- 
bsdforums.org 's moderator, mezz.



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