From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 14:40:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45FB31065679 for ; Mon, 26 Jan 2009 14:40:46 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 0531F8FC23 for ; Mon, 26 Jan 2009 14:40:45 +0000 (UTC) (envelope-from doug@polands.org) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta02.mail.rr.com with ESMTP id <20090126142539.NCTE4821.hrndva-omta02.mail.rr.com@haran.polands.org>; Mon, 26 Jan 2009 14:25:39 +0000 Received: from eden.polands.org (pccardwifi0.polands.org [172.16.1.35]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n0QEPbIl045688; Mon, 26 Jan 2009 08:25:38 -0600 (CST) (envelope-from doug@polands.org) Message-ID: <497DC7E1.4080201@polands.org> Date: Mon, 26 Jan 2009 08:25:37 -0600 From: Doug Poland User-Agent: Thunderbird 2.0.0.19 (X11/20090106) MIME-Version: 1.0 To: perryh@pluto.rain.com, fbsd.questions@rachie.is-a-geek.net References: <200901251805.12600.fbsd.questions@rachie.is-a-geek.net> <497d4f10.Q/a15CDNMxuhS95v%perryh@pluto.rain.com> In-Reply-To: <497d4f10.Q/a15CDNMxuhS95v%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sharing ports hierarchy via NFS to different arch/versions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 14:40:46 -0000 perryh@pluto.rain.com wrote: >>> I've got a network running different versions of FreeBSD >>> (6.3, 7.0) on different architectures (i386, SPARC64). >>> >>> What I'd like to do is export the ports hierarchy to all machines, >>> but preserving ports/packages for each version/architecture. >>> I also want to make rebuilding indexes run as fast as possible. >>> >>> Right now, I simply exports(5) /usr/ports via NFSv3 ... > ... >> The following 2 lines on each machine in /etc/make.conf should >> fix those problems: >> PACKAGES=${PORTSDIR}/packages/${ARCH} >> INDEXFILE=INDEX-${ARCH}-${OSVERSION:C/([0-9]).*/\1/} > > To speed up building, it may also be useful to set WRKDIRPREFIX > to something like /var/ports or /var/tmp/ports, so that the work > directories are local rather than having to be accessed via NFS. > > Thank you very much! -- Regards, Doug