Re: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports"

Miroslav Lachman <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports,gmane.os.freebsd.current
Message-ID <[email protected]>
On 20/08/2025 11:33, Dag-Erling Smørgrav wrote:
> Miroslav Lachman <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.