Date: Sun, 31 Dec 2006 17:16:57 +0000 From: Ceri Davies <ceri@submonkey.net> To: Simon Gao <gao@schrodinger.com> Cc: freebsd-questions@freebsd.org Subject: Re: Sharing ports tree, possible? Message-ID: <20061231171656.GB99152@submonkey.net> In-Reply-To: <459594CA.2050601@schrodinger.com> References: <459594CA.2050601@schrodinger.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061231171656.GB99152>
