From owner-freebsd-ports@FreeBSD.ORG Tue Oct 28 20:09:20 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2562E16A4CE for ; Tue, 28 Oct 2003 20:09:20 -0800 (PST) Received: from lakemtao07.cox.net (lakemtao07.cox.net [68.1.17.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ADE943FBF for ; Tue, 28 Oct 2003 20:09:14 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao07.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031029040912.WNGW21605.lakemtao07.cox.net@mezz.mezzweb.com>; Tue, 28 Oct 2003 23:09:12 -0500 Date: Tue, 28 Oct 2003 22:08:26 -0600 To: "Scot W. Hetzel" References: <20031028203008.60637.qmail@web60303.mail.yahoo.com> <007f01c39dce$6127d4d0$13fd2fd8@Admin02> From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <007f01c39dce$6127d4d0$13fd2fd8@Admin02> User-Agent: Opera7.21/Linux M2 build 480 cc: "Dorin H." cc: freebsd-ports@freebsd.org Subject: Re: INDEX-5 is deleted then reconstructed by "make index" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 04:09:20 -0000 On Tue, 28 Oct 2003 21:39:35 -0600, Scot W. Hetzel wrote: > From: "Dorin H." >> 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.