From owner-freebsd-questions@FreeBSD.ORG Sun Dec 11 13:20:11 2005 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 3A64416A41F for ; Sun, 11 Dec 2005 13:20:11 +0000 (GMT) (envelope-from chris@childeric.freeserve.co.uk) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97E8243D5D for ; Sun, 11 Dec 2005 13:20:09 +0000 (GMT) (envelope-from chris@childeric.freeserve.co.uk) Received: from [192.168.10.200] ([82.35.113.87]) by smtp-out3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Sun, 11 Dec 2005 13:21:03 +0000 Message-ID: <439C272B.7050603@childeric.freeserve.co.uk> Date: Sun, 11 Dec 2005 13:18:35 +0000 From: Chris Whitehouse User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions References: <200512101156.16145.surferdamon@adelphia.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Dec 2005 13:21:03.0968 (UTC) FILETIME=[BC97FE00:01C5FE55] Subject: Re: Copying kernel and OS 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: Sun, 11 Dec 2005 13:20:11 -0000 Svein Halvor Halvorsen wrote: > On 12/10/05, Damon Blom wrote: > >> Thank's. Is there an easy way to install ports on slow machine using nfs >>after portupgrade on fast machine? For one port I guess you could do a nfs >>mount of faster machine ports after doing make on ithe port and just do >>install on slower machine I think you would have had to do make install on the fast machine so that dependencies get created but not make install clean so that the work directories don't get deleted. Then I guess a make install in the nfs mounted ports tree would do the trick. On my fast machine I created a /usr/ports/packages directory then each time I want to install a new port on any machine I do 'make package-recursive' in the port directory of the fast machine. This installs the port and dependencies and also creates in /usr/ports/packages a 'package tree' which has the same structure as the ports tree with the addition of a /usr/ports/packages/All directory. The packages for the new port and all its dependencies automagically go into All and are symlinked to the relevant bit of the the package tree. To install a package on another machine I get the package tree installed in the right place by whatever means (nfs, move the hard disk etc), change to /usr/ports/packages/All and do pkg_add -r . Chris