Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2025 20:07:08 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        Colin Percival <cperciva@freebsd.org>,  Matteo Riondato <matteo@FreeBSD.org>,  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:  <86bjo9j29f.fsf@ltc.des.dev>
In-Reply-To: <0800360b-e6bb-4592-b848-88bce53fca84@quip.cz> (Miroslav Lachman's message of "Wed, 20 Aug 2025 12:25:43 %2B0200")
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> <c7425732-2d2c-446d-9877-493070d24b90@quip.cz> <864iu2jq1a.fsf@ltc.des.dev> <0800360b-e6bb-4592-b848-88bce53fca84@quip.cz>

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

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bjo9j29f.fsf>