Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2025 12:25:43 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
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:  <0800360b-e6bb-4592-b848-88bce53fca84@quip.cz>
In-Reply-To: <864iu2jq1a.fsf@ltc.des.dev>
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>

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

On 20/08/2025 11:33, Dag-Erling Smørgrav wrote:
> Miroslav Lachman <000.fbsd@quip.cz> writes:
>> 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.
> 
> 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.

Kind regards
Miroslav Lachman


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0800360b-e6bb-4592-b848-88bce53fca84>