From owner-freebsd-ports@FreeBSD.ORG Sat Jun 25 21:13:25 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57CE6106566C; Sat, 25 Jun 2011 21:13:25 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 38A748FC13; Sat, 25 Jun 2011 21:13:25 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p5PLDOwT083977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 25 Jun 2011 14:13:24 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p5PLDOTx083976; Sat, 25 Jun 2011 14:13:24 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA08420; Sat, 25 Jun 11 14:12:07 PDT Date: Sat, 25 Jun 2011 14:11:31 -0700 From: perryh@pluto.rain.com To: flz@freebsd.org Message-Id: <4e064f03.R0Wbh1dASzmu8rcX%perryh@pluto.rain.com> References: <4e02a06e.y49ZMbfV/Hw1q8gi%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: initializing portmaster's local-packagedir X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2011 21:13:25 -0000 Florent Thoumie wrote: > On Thu, Jun 23, 2011 at 3:09 AM, wrote: > > Starting with a single directory containing a few hundred packages > > (.tbz files), how would I go about converting it into the sort of > > repository which portmaster could use as its --local-packagedir? > > ... how do I figure out which packages go in each of the category > > directories and in Latest? > > Categories are listed in INDEX. The name in Latest is called > LATEST_LINK in the port itself, but AFAIK it's not recorded anywhere > else. Thanks for the pointers. I'd been hoping that there might be a way to do it with portmaster -- or an alternative way of using portmaster wherein the single flat directory would be sufficient -- which I just hadn't figured out. It seems odd that this hasn't come up before :(