From owner-freebsd-questions@FreeBSD.ORG Mon Aug 7 15:11:53 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0C8C16A4DA for ; Mon, 7 Aug 2006 15:11:53 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 086E243D45 for ; Mon, 7 Aug 2006 15:11:52 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from epia2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id CB9D0DE31C; Mon, 7 Aug 2006 17:09:34 +0200 (CEST) Date: Mon, 7 Aug 2006 17:12:29 +0200 From: cpghost To: RW Message-ID: <20060807151229.GA8243@epia2.farid-hajji.net> References: <20060805171645.GA948@epia2.farid-hajji.net> <200608071603.01848.list-freebsd-2004@morbius.sent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608071603.01848.list-freebsd-2004@morbius.sent.com> User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: Using pre-built packages with portmanager 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: Mon, 07 Aug 2006 15:11:53 -0000 On Mon, Aug 07, 2006 at 04:03:00PM +0100, RW wrote: > On Saturday 05 August 2006 18:16, cpghost wrote: > > 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. > > A key design feature of portmanager is that everything is built with > up-to-date dependencies, having this kind of feature would, in general, > defeat that. Why would that? The port trees themselves are synchronized; just the set of installed ports ain't. The packages generated on the different machines are absolutely identical AFAICS; including their dependencies. There's no point in recompiling them separately if the result is the same on all machines. That's why I'd like to reuse the newly created packages. > In any case according to the man page -b means "Keep backup packages of the > old versions." >From portmanager(1): -bu or --back-up Make packages of updated ports The new/updated ports are being created with pkg_create(1) (after compilation). It's not about old versions... Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/