initializing portmaster's local-packagedir

Florent Thoumie flz at FreeBSD.org
Fri Jun 24 18:51:33 UTC 2011


On Thu, Jun 23, 2011 at 3:09 AM,  <perryh at pluto.rain.com> 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
>
>  mkdir .all
>  mv *.tbz .all
>  mv .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.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer


More information about the freebsd-ports mailing list