How to get pkg to recognize local repository?

Bob Eager rde at
Tue Jul 18 07:36:20 UTC 2017

On Tue, 18 Jul 2017 02:33:22 +0000
"Thomas Mueller" <mueller6722 at> wrote:

> I suppose priority 99 would take priority over priority 98?
> In normal English usage, first priority or priority one is higher
> than priority two.
> Do you need the comma after the closing brace after myfirstrepo?
> I suppose myfirst repo and mysecondrepo are both in the same .conf
> file?

This isn't well (or, at least, transparently) documented. However, if
you do 'man pkg.conf' and read down, it eventually tells you the syntax
of a repo file.

I've always put them one per file, with a name that reflects that repo.

More information about the freebsd-ports mailing list