From owner-freebsd-questions@FreeBSD.ORG Sun Dec 31 17:41:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 026F316A407 for ; Sun, 31 Dec 2006 17:41:03 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.freebsd.org (Postfix) with ESMTP id A821C13C441 for ; Sun, 31 Dec 2006 17:41:02 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.64 (FreeBSD)) (envelope-from ) id 1H14Ir-0007t0-3Z; Sun, 31 Dec 2006 17:16:57 +0000 Date: Sun, 31 Dec 2006 17:16:57 +0000 From: Ceri Davies To: Simon Gao Message-ID: <20061231171656.GB99152@submonkey.net> References: <459594CA.2050601@schrodinger.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <459594CA.2050601@schrodinger.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Ceri Davies Cc: freebsd-questions@freebsd.org Subject: Re: Sharing ports tree, possible? 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: Sun, 31 Dec 2006 17:41:03 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 29, 2006 at 02:20:58PM -0800, Simon Gao wrote: > Is it possible to share ports tree directory? If so, what's the procedure? As Bill said, you need to set WRKDIRPREFIX in /etc/make.conf; I generally use /var/tmp/port-builds. I also have a writeable share that consists of the port distfiles which is mounted at /usr/ports/distfiles by clients (well, it isn't really, but this will do for the purposes of explanation). I also have the following symlinks in /usr/ports: -rw-r--r-- 1 root wheel 10508970 Dec 30 13:22 INDEX -rw-r--r-- 1 root wheel 9714237 Dec 30 13:22 INDEX-5 lrwxr-xr-x 1 root wheel 18 Jul 18 22:22 INDEX-5.db -> /var/db/I= NDEX-5.db -rw-r--r-- 1 root wheel 9715000 Dec 30 13:23 INDEX-6 lrwxr-xr-x 1 root wheel 18 Jul 18 22:22 INDEX-6.db -> /var/db/I= NDEX-6.db lrwxr-xr-x 1 root wheel 7 Jul 18 22:20 INDEX-7 -> INDEX-6 -rw-r--r-- 1 root wheel 23674880 Nov 5 13:22 INDEX-7.db lrwxr-xr-x 1 root wheel 16 Jul 18 22:23 INDEX.db -> /var/db/IND= EX.db I'm not really sure what they're for; they're definitely there because clients running sysutils/portupgrade expect to be able to create them, but there may also have been some endian issues that I ran into when sharing them across different architectures. I honestly can't remember. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFl/CIocfcwTS3JF8RAgr0AKCt42h1srAjcEKJf1bjmh9+pECzUwCgg3a6 vgGgXDl0K1HuTauXQbZAMuU= =KN5G -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--