From owner-freebsd-stable@FreeBSD.ORG Fri May 12 11:57:34 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E05B16A403 for ; Fri, 12 May 2006 11:57:34 +0000 (UTC) (envelope-from bsd@lordcow.org) Received: from smtp1.uct.ac.za (smtp1.uct.ac.za [137.158.128.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42AE343D45 for ; Fri, 12 May 2006 11:57:25 +0000 (GMT) (envelope-from bsd@lordcow.org) Received: from anubis.uct.ac.za ([137.158.128.125]) by smtp1.uct.ac.za with esmtp (Exim 4.30; FreeBSD) id 1FeWGO-000HOx-1Z for stable@freebsd.org; Fri, 12 May 2006 13:56:56 +0200 Received: from lhc.phy.uct.ac.za ([137.158.37.93]) by anubis.uct.ac.za with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FeWGN-000BkL-MJ for stable@freebsd.org; Fri, 12 May 2006 13:56:55 +0200 Received: from lordcow by lhc.phy.uct.ac.za with local (Exim 4.61) (envelope-from ) id 1FeWGN-0001bH-Eu for stable@freebsd.org; Fri, 12 May 2006 13:56:55 +0200 Date: Fri, 12 May 2006 13:56:55 +0200 From: gareth To: stable@freebsd.org Message-ID: <20060512115655.GA4628@lordcow.org> Mail-Followup-To: stable@freebsd.org References: <20060510073107.GA19897@lordcow.org> <20060510102222.GA25464@lordcow.org> <446206DF.7020607@alumni.rice.edu> <20060512072021.GA22237@lordcow.org> <446471FF.30001@alumni.rice.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446471FF.30001@alumni.rice.edu> User-Agent: Mutt/1.5.11+cvs20060403 Cc: Subject: Re: portsdb X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 11:57:34 -0000 On Fri 2006-05-12 (07:31), Jonathan Noack wrote: > Ah, I made a mistake in my explanation. Replace INDEX-5.db with > INDEX-5. Sorry for the confusion... > > "make fetchindex" downloads the INDEX-x file (where 'x' is the major > release number of the version of FreeBSD you are using -- in this case > '5'). When this file is newer than INDEX-x.db, the portupgrade tools > will automatically build an updated version of INDEX-x.db. As such, it > is not necessary to do anything further than "make fetchindex". > Building INDEX-x takes forever (and may be overheating your machine > causing freezes/reboots), but building INDEX-x.db is quite fast. > > If you want to make sure everything is updated with a single command, > replace the '-U' with '-F' for "portsdb -Fu" (hehe -- I love it when > arguments work out like that...). That will 1) download the INDEX-x > file instead of building it from scratch, and then 2) build an updated > INDEX-x.db. > > Correction: portsnap automatically builds an up-to-date INDEX-x, not > INDEX-5.db. "portversion" is building the INDEX-x.db file from INDEX-x. ah ok, thanx that's much clearer now. so for interest's sake: 'portsdb -F' is the same as 'make fetchindex', and 'portsdb -u' is the same as the first part of 'portversion' right?