From owner-freebsd-ports@FreeBSD.ORG Mon May 17 02:19:08 2004 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 6588916A4CE for ; Mon, 17 May 2004 02:19:08 -0700 (PDT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F9D543D2F for ; Mon, 17 May 2004 02:19:07 -0700 (PDT) (envelope-from itetcu@apropo.ro) Received: (qmail 9645 invoked by uid 89); 17 May 2004 09:12:19 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 17 May 2004 09:12:19 -0000 Received: (qmail 25185 invoked from network); 17 May 2004 09:19:04 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 17 May 2004 09:19:04 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 2E3DD610D; Mon, 17 May 2004 12:18:49 +0300 (EEST) Received: from localhost (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id 37258123; Mon, 17 May 2004 12:22:44 +0300 (EEST) Received: from it.buh.cameradicommercio.ro ([127.0.0.1])port 10024) with ESMTP id 33331-06; Mon, 17 May 2004 12:22:43 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id 955D1121; Mon, 17 May 2004 12:22:43 +0300 (EEST) Date: Mon, 17 May 2004 12:22:43 +0300 From: Ion-Mihai Tetcu To: Kris Kennaway Message-Id: <20040517122243.7559ab0f@it.buh.cameradicommercio.ro> In-Reply-To: <20040517082822.GB2681@xor.obsecurity.org> References: <20040517014925.GB46196@xor.obsecurity.org> <20040517103305.539dd62b@it.buh.cameradicommercio.ro> <20040517105819.5d63efc1@it.buh.cameradicommercio.ro> <20040517082822.GB2681@xor.obsecurity.org> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: ports@FreeBSD.org Subject: Re: Up-to-date INDEXes may now be downloaded from www.freebsd.org 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: Mon, 17 May 2004 09:19:08 -0000 On Mon, 17 May 2004 01:28:22 -0700 Kris Kennaway wrote: > On Mon, May 17, 2004 at 10:58:19AM +0300, Ion-Mihai Tetcu wrote: > > On Mon, 17 May 2004 10:33:05 +0300 > > Ion-Mihai Tetcu wrote: > > > > > On Sun, 16 May 2004 18:49:25 -0700 > > > Kris Kennaway wrote: > > > > > > > Up-to-date INDEX files may now be downloaded from the following > > > > locations: > > > > > > > > 4.x: > > > > http://www.FreeBSD.org/ports/INDEX > > > > > > > > 5.x: > > > > http://www.FreeBSD.org/ports/INDEX-5 > > > > > > Hurray ! > > > This will save about 40 minutes on my building machine. > > > > Oh, and besides using "Last-Modified:" HTTP header is there any way to > > find out if one need to fetch it or not ? > > I don't really understand what you mean by "needing to fetch" the > index. I see no reason to download the index if it hasn't being changed since I've did it last time (e.g. make index failed on bento). > If you require an up-to-date INDEX (e.g. you're currently using > portsdb -uU) then you now have the option to download it instead of > building it yourself, Yes, that's what I was thinking to do. I have a machine that cvsups any second hour and fech the ports, builds index and build some packages for the rest of our machines. > although you won't get an index that is customized for your installed ports. What is the difference ? I thought the INDEX(-5) is based on ports/* content and it is the same irrespective on what you have installed. So actually my index building takes in consideration 1) my custom options and 2) my installed ports and options and process the .if (exists /bla/blu) from Makefiles. Never thought of 2), but it is logic :( Lucky the machines are pretty much the same. -- IOnut Unregistered ;) FreeBSD "user"