From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 22:53:16 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 DDDA316A4CE for ; Mon, 10 Jan 2005 22:53:16 +0000 (GMT) Received: from ritamari.vonostingroup.com (ip193-230.digitalrealm.net [216.144.193.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84F6943D2F for ; Mon, 10 Jan 2005 22:53:16 +0000 (GMT) (envelope-from laszlof@vonostingroup.com) Received: from pcp01939978pcs.waldlk01.mi.comcast.net ([68.32.91.145]) by ritamari.vonostingroup.com with esmtpa (Exim 4.43 (FreeBSD)) id 1Co8Op-0003E9-QJ; Mon, 10 Jan 2005 17:52:35 -0500 Message-ID: <41E30781.60708@vonostingroup.com> Date: Mon, 10 Jan 2005 17:53:53 -0500 From: "Frank J. Laszlo" User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chuck Swiger References: <200501101628.24793.freebsd@danielquinn.org> <200501101710.10453.freebsd@danielquinn.org> <200501101417.03984.reso3w83@verizon.net> <200501101723.20716.freebsd@danielquinn.org> <41E304F0.3040209@mac.com> In-Reply-To: <41E304F0.3040209@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ritamari.vonostingroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - vonostingroup.com X-Source: X-Source-Args: X-Source-Dir: cc: freebsd-questions@freebsd.org cc: daniel quinn 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:53:17 -0000 Chuck Swiger wrote: > 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 meant to send this before I left work, But here is a script I wrote for doing just this. http://www.franksworld.org/localuser_portinstall.html Let me know if you have any questions regarding setup, This should suit you nicely, as it will build most any port without root accessm within a chroot type environment. -Frank Laszlo