From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 20:47:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 465B1106564A for ; Fri, 24 Sep 2010 20:47:18 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1E8C88FC20 for ; Fri, 24 Sep 2010 20:47:17 +0000 (UTC) Received: (qmail 13253 invoked from network); 24 Sep 2010 20:47:17 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Sep 2010 20:47:17 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 97A4B5084D; Fri, 24 Sep 2010 16:47:16 -0400 (EDT) From: Lowell Gilbert To: Rick Miller References: <90e6ba4883cb50e1500490c7b441@google.com> Date: Fri, 24 Sep 2010 16:47:14 -0400 In-Reply-To: (Rick Miller's message of "Fri, 24 Sep 2010 10:54:36 -0400") Message-ID: <44k4ma50od.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Media Packages Vs. Ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 20:47:18 -0000 Rick Miller writes: > On Tue, Sep 21, 2010 at 3:55 PM, Adam Vande More = wrote: >> On Tue, Sep 21, 2010 at 11:41 AM, wrote: >>> >>> =A0Is it possible to take a port, make a package of it and put it in the >>> packages directory of my own media? >> >> Sure it's easy.=A0 When build a port you can issue a make package comman= d, or >> you can use pkg_create to create packages from installed ported.=A0 A co= mmon >> approach to this is build all your updates in a jail, make packages of t= hem, >> then delete package from the host and install the newly built ones from = the >> jail.=A0 Very small, if any downtime.=A0 You can use the jail to create = pkg's >> for a custom repository too. > > I've created the package and copied it to the networked media. How do > I edit the INDEX file so that it knows how to get the file? I'm not sure what you're saying here, but I think what you want is just to set the PACKAGEROOT variable. If you want to create your own install disks, the release(7) manual will point you in the right direction. If you're doing a network install, you need to lay out the package directories the same way as the install media.