From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 17:38:43 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 8436C1065676 for ; Mon, 26 Jan 2009 17:38:43 +0000 (UTC) (envelope-from djp@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 3ED338FC1E for ; Mon, 26 Jan 2009 17:38:42 +0000 (UTC) (envelope-from djp@polands.org) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta04.mail.rr.com with ESMTP id <20090126172314.JHHL26080.hrndva-omta04.mail.rr.com@haran.polands.org>; Mon, 26 Jan 2009 17:23:14 +0000 Received: from moab.polands.org (moab.polands.org [172.16.1.8]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n0QHNDoA046212; Mon, 26 Jan 2009 11:23:13 -0600 (CST) (envelope-from djp@polands.org) Received: from moab.polands.org (localhost [127.0.0.1]) by moab.polands.org (8.14.3/8.14.3) with ESMTP id n0QHNDcJ008687; Mon, 26 Jan 2009 11:23:13 -0600 (CST) (envelope-from djp@moab.polands.org) Received: (from djp@localhost) by moab.polands.org (8.14.3/8.14.3/Submit) id n0QHNDLB008686; Mon, 26 Jan 2009 11:23:13 -0600 (CST) (envelope-from djp) Date: Mon, 26 Jan 2009 11:23:13 -0600 From: Doug Poland To: fbsd.questions@rachie.is-a-geek.net Message-ID: <20090126172312.GA8644@polands.org> References: <200901251805.12600.fbsd.questions@rachie.is-a-geek.net> <497d4f10.Q/a15CDNMxuhS95v%perryh@pluto.rain.com> <497DC7E1.4080201@polands.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <497DC7E1.4080201@polands.org> User-Agent: Mutt/1.5.18 (2008-05-17) 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 17:38:43 -0000 On Mon, Jan 26, 2009 at 08:25:37AM -0600, Doug Poland wrote: > 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/} >> It would seem the package building tools (make package, portinstall -p) do not honor the PACKAGES setting in /etc/make.conf. The package is simply deposited in /usr/ports/{category}/{pkgname}. Is there a way to force the package builder to use this knob? -- Regards, Doug