From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 16:03:22 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 5918F106566C for ; Fri, 24 Sep 2010 16:03:22 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-qy0-f200.google.com (mail-qy0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id 1FDA08FC1C for ; Fri, 24 Sep 2010 16:03:21 +0000 (UTC) Received: by qyk2 with SMTP id 2so3383625qyk.7 for ; Fri, 24 Sep 2010 09:03:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.198.130 with SMTP id eo2mr1227686vcb.16.1285344200984; Fri, 24 Sep 2010 09:03:20 -0700 (PDT) In-Reply-To: Message-ID: <90e6ba53ac44838cef0491038428@google.com> Date: Fri, 24 Sep 2010 16:03:20 +0000 From: vrwmiller@gmail.com To: Adam Vande More , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Re: Media Packages Vs. Ports 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: Fri, 24 Sep 2010 16:03:22 -0000 On Sep 24, 2010 10:54am, Rick Miller wrote: > On Tue, Sep 21, 2010 at 3:55 PM, Adam Vande More amvandemore@gmail.com> > wrote: > > On Tue, Sep 21, 2010 at 11:41 AM, vrwmiller@gmail.com> wrote: > >> > >> Is 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. When build a port you can issue a make package command, > or > > you can use pkg_create to create packages from installed ported. A > common > > approach to this is build all your updates in a jail, make packages of > them, > > then delete package from the host and install the newly built ones from > the > > jail. Very small, if any downtime. 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 did figure out one way to get this to work. I copied the entry for the port from the ports index file into the packages index file and it worked. Whether or not it's an appropriate way, I am unsure.