Sharing /usr/ports
Kövesdán Gábor
gabor.kovesdan at t-hosting.hu
Sat Sep 24 09:33:23 PDT 2005
Gordon Ross wrote:
> On Sat, 24 Sep 2005, [ISO-8859-1] Kövesdán Gábor wrote:
>
>> Gordon Ross wrote:
>>
>>> I've got two FreeBSD 5.4 machines. One is a server, the other is a
>>> desktop.
>>>
>>> I've mounted on the desktop the /usr/ports directory from the
>>> server. My idea being that I could share the one /usr/ports
>>> directory amongst my machines and save disc space, and also save
>>> having to recompile everything whenever I install a port.
>>>
>>> My problem is that, if I do a "make" on one machine, I can't then do
>>> a "make install" on the other machine. (When I try, nothing happens)
>>>
>>> I haven't mounted any of the directories from under /var/db (e.g.
>>> pkg, ports)
>>>
>>> Is what I'm trying to do possible ?
>>> If so, what am I missing or doing wrong ?
>>>
>> What if You do "make FORCE_PKG_REGISTER=YES install" on the client
>> machine?
>
>
> Hmm. No joy. Just the same, nothing. :-(
Then I suggest You doing "make package" instead of "make install" and
then You will get a file called ${PORTNAME}-${PORTVERSION}.tbz. This is
a simple package file, You can install this with "pkg_add filename.tbz"
on all machines You want.
Gabor Kovesdan
More information about the freebsd-questions
mailing list