Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2025 11:33:37 +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:  <864iu2jq1a.fsf@ltc.des.dev>
In-Reply-To: <c7425732-2d2c-446d-9877-493070d24b90@quip.cz> (Miroslav Lachman's message of "Wed, 20 Aug 2025 10:19:48 %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>

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

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.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


help

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