From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 22:43:30 2005 Return-Path: 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 D89AC16A4D9 for ; Mon, 10 Jan 2005 22:43:30 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6957043D67 for ; Mon, 10 Jan 2005 22:43:30 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] (pool-68-160-208-232.ny325.east.verizon.net [68.160.208.232]) by pi.codefab.com (8.12.11/8.12.11) with ESMTP id j0AMhF1i029704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Jan 2005 17:43:17 -0500 (EST) Message-ID: <41E304F0.3040209@mac.com> Date: Mon, 10 Jan 2005 17:42:56 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: daniel quinn References: <200501101628.24793.freebsd@danielquinn.org> <200501101710.10453.freebsd@danielquinn.org> <200501101417.03984.reso3w83@verizon.net> <200501101723.20716.freebsd@danielquinn.org> In-Reply-To: <200501101723.20716.freebsd@danielquinn.org> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.8 required=5.5 tests=AWL,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=disabled version=3.0.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on pi.codefab.com cc: freebsd-questions@freebsd.org Subject: Re: building a package without installing it X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 22:43:31 -0000 daniel quinn wrote: > On January 10, 2005 05:17 pm, Michael C. Shultz wrote: >>If the port is allready installed try: >> pkg_create -b {name of installed port as listed under /var/db/pkg} > > cool, thanks > and what if i don't want it installed on this machine? if i just want to > build it here for use elsewhere? You could set up a jail and chroot into that before building the port, if you really want to keep your base system untouched. The pointyhat cluster used to build packages for the FTP servers does roughly this in order to provide a clean environment for testing. I suppose you could also just do a "make" on the build machine, then scp -r or rsync the work subdirectory of the port to the machine you want to install on, and then finish by doing the "make install" on that target machine. So long as all of the dependencies are up-to-date, anyway... -- -Chuck