Re: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports"

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Wed, 20 Aug 2025 08:19:48 UTC
On 20/08/2025 03:05, Colin Percival wrote:
> On 8/19/25 17:58, Matteo Riondato wrote:
>>> On Aug 19, 2025, at 8:25 PM, Colin Percival <cperciva@freebsd.org> 
>>> wrote:
>>> On 8/19/25 17:17, Mark Millard wrote:
>>>> Colin Percival <cperciva_at_freebsd.org> wrote:
>>>>> With pkgbase being the intended way for users to manage 15.0 systems,
>>>>> the current default /etc/pkg/FreeBSD.conf gives rise to confusion: It
>>>>> defines a "FreeBSD" pkg repository which is in fact specifically bits
>>>>> maintained *outside* of FreeBSD (and packaged via the ports tree).
>>>> Not that I consider an appropriate answer obvious, but
>>>> the file names as well as the content in the file? :
>>>> /etc/pkg/FreeBSD-ports.conf ?
>>>
>>> I wasn't planning on changing the file name, no.
>>
>> Why is then this file named “FreeBSD.conf” ?
> 
> Because it's the configuration file which describes pkg repositories 
> provided
> by the FreeBSD project?

I would like to have a separate file for each repository, similar to the 
contents of /etc/newsyslog.conf.d/ or /etc/syslog.d/.
If there is one file for each repository, it can be managed using simple 
tools such as cp / rm / sed to enable, disable or modify repositories - 
good for scripted setups and automation. However, if there are multiple 
repositories in one file, this task becomes much more complicated.

Kind regards
Miroslav Lachman