Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2017 02:14:49 +0000
From:      "Thomas Mueller" <mueller6722@twc.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: How to get pkg to recognize local repository?
Message-ID:  <C5.8F.08177.E90CE695@dnvrco-omsmta01>
References:  <CF.51.25924.DA64C695@dnvrco-omsmta02> <A5AC7C48-0736-4AAA-9C49-91A23DDBA74B@lastsummer.de> <20170717052106.GC2368@c720-r31425> <D5.B5.08177.DDC5C695@dnvrco-omsmta01> <053AE5F1-4FF1-40AB-B768-D43AD5B29D21@lastsummer.de> <bae5dfd0-b1f1-02bc-a028-37f7afd0013f@passap.ru> <9B.30.25786.4737D695@dnvrco-omsmta03> <20170718082651.195b5b44@raksha.tavi.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Jul 2017 02:33:22 +0000
"Thomas Mueller" <mueller6722@twc.com> 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?

Bob Eager responded:
        
> 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.

"man pkg.conf" says individual repository configuration files are processed in alphabetical order.

But according to the man page, one configuration file can specify more than one repository.

I guess I'll need to do some trial and error, given the confusing nature of the documentation.

I still want to get rid of the old no-longer-usable packages.  All I can think of now is Midnight Commander (mc) from NetBSD.

There ought to be a convenient way to remove outdated packages from a repo,  Or maybe there is but not documented, or at least not clearly documented?

I also want to look at how NetBSD pkgsrc defines/configures a repo so as to compare to FreeBSD.

Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5.8F.08177.E90CE695>