Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2025 10:19:48 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Colin Percival <cperciva@freebsd.org>, Matteo Riondato <matteo@FreeBSD.org>
Cc:        Mark Millard <marklmi@yahoo.com>, FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports"
Message-ID:  <c7425732-2d2c-446d-9877-493070d24b90@quip.cz>
In-Reply-To: <91cccdac-406c-46dc-bdbe-c1c016cdee99@freebsd.org>
References:  <05CD2AAD-31EA-471B-8028-A3902D7A4192@yahoo.com> <5bece4af-0bec-457e-847f-7ca1cb031f86@freebsd.org> <590B86F2-6F9F-46BF-9569-03F72EA93B5D@FreeBSD.org> <91cccdac-406c-46dc-bdbe-c1c016cdee99@freebsd.org>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c7425732-2d2c-446d-9877-493070d24b90>