From owner-freebsd-ports@FreeBSD.ORG Fri Jun 24 18:51:33 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FEA31065670 for ; Fri, 24 Jun 2011 18:51:33 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id CDBF48FC17 for ; Fri, 24 Jun 2011 18:51:32 +0000 (UTC) Received: by gxk28 with SMTP id 28so1632783gxk.13 for ; Fri, 24 Jun 2011 11:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5oYxDqJx8Za5+ibha6O3owiq+nDDOCia9kqX19LPaIQ=; b=aISw+/w1FkqWcSIq+Ar6vuD4ctO4uo5FS8YT84kg4USfMnExe83YeTblmWbF+S3yih jTON3xYZgfKrRLMvevW3jqDMdb5OP12TmymxjIqCrjFboFi+GaqkUhkzV+BtS44y3qh7 7wpF8aDGKlAvpYMsQk7bpPQC+3yIAwJ+GCXbk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=WCamtE1aJptppI0gUqIONW8lQ9V/iUzCy7UfzOSC74NdPqSqC8H/S9ji8/yX5gzcZ6 uGLABtt3Bxt6Hj5wJHxmsYdkcLcJoMGkDmgY4r/6ZZ9MezHlTiUkc0af2UkqPhXfRIby eUa/fVmmw/d5McDlEWJdA6vo9wnCxeWUSClOc= Received: by 10.101.178.21 with SMTP id f21mr3963845anp.32.1308941492182; Fri, 24 Jun 2011 11:51:32 -0700 (PDT) MIME-Version: 1.0 Sender: florent.thoumie@gmail.com Received: by 10.100.57.9 with HTTP; Fri, 24 Jun 2011 11:51:12 -0700 (PDT) In-Reply-To: <4e02a06e.y49ZMbfV/Hw1q8gi%perryh@pluto.rain.com> References: <4e02a06e.y49ZMbfV/Hw1q8gi%perryh@pluto.rain.com> From: Florent Thoumie Date: Fri, 24 Jun 2011 19:51:12 +0100 X-Google-Sender-Auth: RwVe-gzvluBJY5FlTrXbgM9XFhM Message-ID: To: perryh@pluto.rain.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Fri, 24 Jun 2011 18:51:33 -0000 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? > > I suppose the first step would be something along the lines of > > =A0mkdir .all > =A0mv *.tbz .all > =A0mv .all All > > but 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. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer