Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2025 17:25:34 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        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:  <5bece4af-0bec-457e-847f-7ca1cb031f86@freebsd.org>
In-Reply-To: <05CD2AAD-31EA-471B-8028-A3902D7A4192@yahoo.com>

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

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.

> The adjusted file naming would tend to suggest a separate file
> for pkgbase content.
> 
> Naming left as it is might suggest all in one file, pkgbase
> included.

Right, I don't see any reason for having separate files.  If I thought people
might want to delete one of them (e.g. rm /etc/pkg/FreeBSD-base.conf in order
to disable pkgbase) then I would separate them; but the recommended way to
disable a repository is with an {enabled: no} in /usr/local/etc/pkg/ so I
don't see any need to separate these.

(But it's not a silly question -- there was some discussion in phabricator
just recently about how we should distribute the base system pkg.conf file.
That's next on my list after the FreeBSD -> FreeBSD-ports renaming...)

-- 
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5bece4af-0bec-457e-847f-7ca1cb031f86>