Sharing ports tree, possible?
Ceri Davies
ceri at submonkey.net
Sun Dec 31 09:41:03 PST 2006
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/INDEX-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/INDEX-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/INDEX.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
--
That must be wonderful! I don't understand it at all.
-- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061231/c15907ad/attachment.pgp
More information about the freebsd-questions
mailing list