From owner-freebsd-questions@FreeBSD.ORG Sat Aug 5 17:16:09 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 9406F16A4DA for ; Sat, 5 Aug 2006 17:16:09 +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 DCA5143D4C for ; Sat, 5 Aug 2006 17:16:07 +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 40267DE205; Sat, 5 Aug 2006 19:13:50 +0200 (CEST) Date: Sat, 5 Aug 2006 19:16:45 +0200 From: cpghost To: freebsd-questions@freebsd.org Message-ID: <20060805171645.GA948@epia2.farid-hajji.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: 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: Sat, 05 Aug 2006 17:16:09 -0000 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/