From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 12:46:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B9DA16A400 for ; Tue, 10 Jul 2007 12:46:34 +0000 (UTC) (envelope-from boris@brooknet.com.au) Received: from pecan.exetel.com.au (pecan.exetel.com.au [220.233.0.17]) by mx1.freebsd.org (Postfix) with ESMTP id 4293313C4AE for ; Tue, 10 Jul 2007 12:46:33 +0000 (UTC) (envelope-from boris@brooknet.com.au) Received: from 28.201.233.220.exetel.com.au ([220.233.201.28] helo=[192.168.100.148]) by pecan.exetel.com.au with esmtp (Exim 4.63) (envelope-from ) id 1I8CPI-00010o-FA; Tue, 10 Jul 2007 19:53:20 +1000 In-Reply-To: <4693543C.1010005@skoberne.net> References: <4693543C.1010005@skoberne.net> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Sam Lawrance Date: Tue, 10 Jul 2007 19:53:11 +1000 To: =?WINDOWS-1252?Q?Nejc_=8Akoberne?= X-Mailer: Apple Mail (2.752.3) Cc: User Questions Subject: Re: make package-recursive 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: Tue, 10 Jul 2007 12:46:34 -0000 On 10/07/2007, at 7:41 PM, Nejc =8Akoberne wrote: > Hello, > > I would like to create a custom set of packages, so that they will > be installable to my other FreeBSD boxen. > > As I understand, I have to use 'make package-recursive', but I have > some problems with it: > > 1. Is there a way to tell 'make package-recursive' not to _install_ > package, but only build it? It is annonying and time-consuming > to deinstall every package after it is installed. > 2. To refer to the previous point: I need to deinstall the packages > which I 'make package-recursive'-ed before, or else some other > package which also depends on a port which is already installed > will not include that (already installed) package. How to change > this behaviour? I would like that the packages, which I create > via 'make package-recursive', _always_ include _all_ other > dependent packages. > > Thanks for your help. > > P.S.: Do you guys have any scripts for building a customized package > set? > You have to install a package in order to build it, since the package =20= is built from the installed files. Some level of transformation and =20 rearrangement occurs during the install process, so there's no easy =20 way to package without installing. You can look in to using tinderbox (available from ports) to build =20 packages inside a jail.