From nobody Wed Sep 10 15:23:01 2025 X-Original-To: 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 4cMPZv2pnkz66THS for ; Wed, 10 Sep 2025 15:23:03 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cMPZv2880z3D21; Wed, 10 Sep 2025 15:23:03 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757517783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wsFHHO6QSeBKghzClMnU0/aFBSpeYFn+v9f25yrpxJQ=; b=lspsXpV46g4sr3ZjzBXfz3N81rSyFIBpWUkiGEMI6EEVotMb+/QLqBgeJT7brX2RyaNqTM yrRZSJUp4uaJlH12LPTSYLQPyDhSgGJrCoN8SgPK//zdKvkpph5DRERYP5Z8BUWPdWfeM3 Wel3pQOPmP5McK8iLGrM3EEhy81rn4l65dOAxsqZmCJGf0RZEKvYEoEyo/1+WIHeXFTIdG fMNuVNHv9RTZtQnr9+ehVHqJSp9ys/hA5wow7sQPfcxL7OKthq2HHW8uDGv6nv8KS/6RJt gzOnNDosSpJ4BfFnSwxUFP+lhoki1TBoTDFuzNraZfkmVwnw9yKbAyh9WSnbEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757517783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wsFHHO6QSeBKghzClMnU0/aFBSpeYFn+v9f25yrpxJQ=; b=YyQHZ0lnB2Bu9FSjS+Dr8+dJZsnrOH7JkH0NFyLFoNUGJIokQeI1ikd6MxFvOYraVnZxwM xLXyNnZLbZ/m6x+iAXwiVK5qpav7leWTaiEBkqdRCGai/UqjQrHhYyQgQWmzl2gfmDTijF H3yYD+wktL7XImAHZDNpJ3G8dye2h/rZn4APOueET3LaGKCncuTtegcWvKOkemctgvyjVE HPQAzKqt4MkHfLIsxID859xfOC50RU/oA4GmBqMqm0/2rlcsmG7dbayqrqTZkn0RFgIxwR 5taZKE5UO1ldT1jib73o2DEen1f6Dq5rCrHLKWrWByt/9jJ7n2p4x+DeRsyMdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757517783; a=rsa-sha256; cv=none; b=e80VCgb0PsPLBWfrg9Z++W7DYerlaRcb5GXZ41woPSj4LKuWWP1za/RGRS1WVSQemXtm3z QLJZxy2/2cXU+VWk8T2EkJCjWgbcv1qgeTp3oZ8+Rv32gcgfNnj7cfQmrENX9hsb3kzS18 r22wEpgGt7lYsgWA9baSmzlW6D7juUlqbMK/l5IJf6xqioztLfyvs3OBDIiGWIkbL9j6L1 xWAuCgfu3ittgPTiKFZX8tFIjq+zkV6Cr83UNQpG/tMdvaVmRrUUVyoJFN8R4mfACk2cWf AyijX1mKQPw5UVan1yvW2hjLBjw+MPDp+jC3+iGqW1ut9lhEIabLrSgcczjDmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ltc.des.dev (88-177-82-251.subs.proxad.net [88.177.82.251]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cMPZv0fwBzkNp; Wed, 10 Sep 2025 15:23:03 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 9127E8840D; Wed, 10 Sep 2025 17:23:01 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ian Freislich Cc: Kyle Evans , "Patrick M. Hausen" , FreeBSD Current Subject: Re: pkg-static: Warning: Major OS version upgrade detected. In-Reply-To: <199341111f0.28c3.64e08aff09ba5a21b2fc9010d26a90e5@gmail.com> (Ian Freislich's message of "Wed, 10 Sep 2025 10:39:18 -0400") References: <6dedf742-48bf-4b67-9993-67933104ba67@gmail.com> <7C4AA985-2F06-4580-93C8-374A75EC4965@hausen.com> <86v7lqigv6.fsf@ltc.des.dev> <199341111f0.28c3.64e08aff09ba5a21b2fc9010d26a90e5@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 10 Sep 2025 17:23:01 +0200 Message-ID: <86qzweib6y.fsf@ltc.des.dev> 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ian Freislich writes: > Thanks, I don't use binary packages and always compile ports so this > trick will silence pkg. Is there a way to tell pkg that it's local > only, ie. just for locally compiled ports? You can disable the default repositories by adding the following to a file in /usr/local/etc/pkg/repos (these four lines cover 14, 15, and 16 with or without pkgbase): FreeBSD: { enabled: false } FreeBSD-base: { enabled: false } FreeBSD-ports: { enabled: false } FreeBSD-ports-kmods: { enabled: false } If pkg complains about not having any repositories, you can define a local one: local: { url: "file:///usr/ports/packages/All", mirror_type: "none", en= abled: true } then run `pkg repo /usr/ports/packages/All` after portupgrade or whatever it is you use to rebuild your packages. But I really recommend using poudriere instead. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org