From owner-freebsd-ports@FreeBSD.ORG Mon Jan 10 17:09:14 2005 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 19FF516A4CE for ; Mon, 10 Jan 2005 17:09:14 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id C24EE43D45 for ; Mon, 10 Jan 2005 17:09:12 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 6709 invoked from network); 10 Jan 2005 17:05:34 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by smtp1-133.rdsnet.ro with SMTP; 10 Jan 2005 17:05:34 -0000 Received: (qmail 27706 invoked from network); 10 Jan 2005 17:09:08 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (82.76.1.117) by mail.rdsnet.ro with SMTP; 10 Jan 2005 17:09:08 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 4ACED60B5; Mon, 10 Jan 2005 16:59:42 +0200 (EET) Received: from it.buh.cameradicommercio.ro (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id DF7E82D; Mon, 10 Jan 2005 19:10:04 +0200 (EET) Date: Mon, 10 Jan 2005 19:10:04 +0200 From: Ion-Mihai Tetcu To: Alexander Leidinger Message-ID: <20050110191004.73fe13ab@it.buh.cameradicommercio.ro> In-Reply-To: <20050109185948.4470a02d@Magellan.Leidinger.net> References: <20050109143903.GC1187@zaphod.nitro.dk> <20050109174945.7f0353e4@Magellan.Leidinger.net> <20050109170219.GF1187@zaphod.nitro.dk> <20050109185948.4470a02d@Magellan.Leidinger.net> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ports@FreeBSD.org cc: "Simon L. Nielsen" Subject: Re: Makeing fetchindex really mirror 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: Mon, 10 Jan 2005 17:09:14 -0000 On Sun, 9 Jan 2005 18:59:48 +0100 Alexander Leidinger wrote: > At the time I wrote the first implementation of "fetchindex" it was > supposed to be run at the time as "update". So the PORTSDIR has to be > writable (except I've overlooked something). If this hasn't changed, > there's no need for .CURDIR. I would be extremely happy if we could have the INDEX-* file and all associated things be able to use some other dir that PORTSDIR. This way I could export /usr/ports over NFS and be able to build the INDEX locally on each client. Is this already possible and I am missing it ? Port tools already support this (e.g. portupgrade's PORTS_INDEX). And a quick grep on ports/Mk/bsd.*.mk suggest that something like this would be enough: + INDEXDIR?= ${PORTSDIR} - ${PORTSDIR}/${INDEXFILE} + ${INDEXDIR}/${INDEXFILE} And some of ports/Tools/* would have to be modified also. -- IOnut Unregistered ;) FreeBSD "user"