Re: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports"
- In reply to: Miroslav Lachman : "Re: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports""
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Aug 2025 18:07:08 UTC
Miroslav Lachman <000.fbsd@quip.cz> writes:
> Dag-Erling Smørgrav <des@FreeBSD.org> writes:
> > The correct way to disable one of these repositories is to add
> > repository-name: { enabled: false }
> > in a file in /usr/local/etc/pkg/repos.
> As if turning it on and off were the only possible configuration
> change. We often change the URL or priority. And that's very easy to
> do using 'sed' if there is only one repository in a single file.
It's even easier to leave /etc/pkg/FreeBSD.conf alone and drop a file in
/usr/local/etc/pkg/repos with the correct URL.
DES
--
Dag-Erling Smørgrav - des@FreeBSD.org