Date: Sun, 25 Jan 2009 21:50:08 -0800 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Cc: doug@polands.org Subject: Re: Sharing ports hierarchy via NFS to different arch/versions. Message-ID: <497d4f10.Q/a15CDNMxuhS95v%perryh@pluto.rain.com> In-Reply-To: <200901251805.12600.fbsd.questions@rachie.is-a-geek.net> References: <f0c8cc893db0ae217f945b3cbeafb422.squirrel@email.polands.org> <200901251805.12600.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?497d4f10.Q/a15CDNMxuhS95v%perryh>