Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2006 19:16:45 +0200
From:      cpghost <cpghost@cordula.ws>
To:        freebsd-questions@freebsd.org
Subject:   Using pre-built packages with portmanager
Message-ID:  <20060805171645.GA948@epia2.farid-hajji.net>

next in thread | raw e-mail | index | archive | help
Building packages for multiple machines on a fast CPU,
with portmanager's -bu option populates a /usr/ports/packages tree.
So far, so good.

What I'd like though, is to be able to reuse that tree (mounted via
NFS or rsynced over) on other machines with much slower CPUs.

The fast build machine and the other slow machines are not synchronized
w.r.t. the set of installed ports. What is needed is that portmanager
uses packages from /usr/ports/packages if available, and compiles from
source the remaining ports.

How do I get portmanager to upgrade ports, using
  1. pre-built packages from /usr/ports/packages (ONLY),
and only if there's no binary package there,
  2. build from source as usual?

Additional limit (preventing use of portupgrade -P) is that only
local (/usr/ports/packages), and no remote packages should be
used.

Any idea how to do this with portmanager?

Sorry if it's obvious, but I'm running low on coffeine... ;)

Thanks
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060805171645.GA948>