From nobody Wed Aug 20 10:25:43 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4c6Mzb3BHZz64kH4; Wed, 20 Aug 2025 10:25:47 +0000 (UTC) (envelope-from SRS0=mNwu=3A=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4c6MzZ6GbZz42d0; Wed, 20 Aug 2025 10:25:46 +0000 (UTC) (envelope-from SRS0=mNwu=3A=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id D0C0FD78AA; Wed, 20 Aug 2025 12:25:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1755685544; bh=RPtr1b3NqiMqf+yLQ7E4/KQ4dxSMByUNakTr8B/Ghn8=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=NJLuBEAuuGpdqiE37T2mgTEIoWIkgxmRkikA+4lzWRDlkE6Z8E/1k0QqiTDjp3GPx aGoNprBGZKgxy2NHkkxBtdJGv3jq+k1SZMZ14xjDHagwX9N/YkX+qOLwNoK0sRdpGv hfkFmPUY/6+N2mIVYKIqDc7Ylmxg7DYmMVfedLZA= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 1E3F6D78A5; Wed, 20 Aug 2025 12:25:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1755685544; bh=RPtr1b3NqiMqf+yLQ7E4/KQ4dxSMByUNakTr8B/Ghn8=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=NJLuBEAuuGpdqiE37T2mgTEIoWIkgxmRkikA+4lzWRDlkE6Z8E/1k0QqiTDjp3GPx aGoNprBGZKgxy2NHkkxBtdJGv3jq+k1SZMZ14xjDHagwX9N/YkX+qOLwNoK0sRdpGv hfkFmPUY/6+N2mIVYKIqDc7Ylmxg7DYmMVfedLZA= Message-ID: <0800360b-e6bb-4592-b848-88bce53fca84@quip.cz> Date: Wed, 20 Aug 2025 12:25:43 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports" To: =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= Cc: Colin Percival , Matteo Riondato , Mark Millard , FreeBSD Current , FreeBSD Mailing List References: <05CD2AAD-31EA-471B-8028-A3902D7A4192.ref@yahoo.com> <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> <864iu2jq1a.fsf@ltc.des.dev> Content-Language: en-US From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <864iu2jq1a.fsf@ltc.des.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4c6MzZ6GbZz42d0 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