From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 10:23:22 2003 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 9465C16A4B3 for ; Sat, 4 Oct 2003 10:23:22 -0700 (PDT) Received: from natsmtp00.webmailer.de (natsmtp00.rzone.de [81.169.145.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53FBE43F85 for ; Sat, 4 Oct 2003 10:23:21 -0700 (PDT) (envelope-from biernot@buebo.de) Received: from node23.ath.cx (port-212-202-50-60.reverse.qsc.de [212.202.50.60]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id h91DCjsW014582; Wed, 1 Oct 2003 15:12:45 +0200 (MEST) Received: from buebo.de (gwen.pulp-friction.local [192.168.0.102]) by node23.ath.cx (Postfix) with ESMTP id 0DB71141; Wed, 1 Oct 2003 15:12:45 +0200 (CEST) Message-ID: <3F7AD2CA.1020505@buebo.de> Date: Wed, 01 Oct 2003 15:12:42 +0200 From: "Felix 'buebo' Kakrow" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: Aragon Gouveia References: <20031001124829.GA15390@phat.za.net> In-Reply-To: <20031001124829.GA15390@phat.za.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: port install to jail root from host system 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: Sat, 04 Oct 2003 17:23:22 -0000 Aragon Gouveia wrote: > Hi, > > I've compiled a port as normal (apache13 in this case). I'd like to run > 'make install' now and tell it to install the package to the base of the > root filesystem of a jail from the jail's host. Possibly also to skip > registering it in the host's package database. > > Does anyone know an easy way to do this with the ports system? > In this situation I like it to mount the /usr/ports via nullfs in my Jail Directory and build the Port directly in the Jail. However you'll have to have a more or less complete system (at least gcc + all needet build dependencies) in the Jail. As a plus you don't have to worry about package registrations and stuff like this, but I'm just another newbie so probally somebody will come up with another and better way ;) Cheers Felix