git: 91e1c18012dc - stable/15 - pkg: Add FreeBSD-base to /etc/pkg/FreeBSD.conf

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Sun, 16 Nov 2025 02:04:30 UTC
The branch stable/15 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=91e1c18012dc839f400f971f02bc08798c6b9ce9

commit 91e1c18012dc839f400f971f02bc08798c6b9ce9
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-11-15 03:26:07 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-11-16 02:04:14 +0000

    pkg: Add FreeBSD-base to /etc/pkg/FreeBSD.conf
    
    On -CURRENT and -STABLE this gets bits from pkg.freebsd.org; but we get
    base system bits from pkgbase.freebsd.org for BETA/RC/RELEASE.
    
    Note that this repository is disabled by default, but can still be used
    by explicitly specifying it, e.g. "pkg upgrade -r FreeBSD-base".
    
    With hat:       re
    MFC after:      8 hours (needed in 15.0-RC1)
    
    (cherry picked from commit 8e0b1a1c03a35a5db13e370cb3e62585d3db68e3)
---
 usr.sbin/pkg/FreeBSD.conf.latest            | 9 +++++++++
 usr.sbin/pkg/FreeBSD.conf.quarterly         | 9 +++++++++
 usr.sbin/pkg/FreeBSD.conf.quarterly-release | 9 +++++++++
 3 files changed, 27 insertions(+)

diff --git a/usr.sbin/pkg/FreeBSD.conf.latest b/usr.sbin/pkg/FreeBSD.conf.latest
index ac1636386942..f4b80c02cffa 100644
--- a/usr.sbin/pkg/FreeBSD.conf.latest
+++ b/usr.sbin/pkg/FreeBSD.conf.latest
@@ -6,6 +6,8 @@
 #   echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
 #   echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
 #
+# Note that the FreeBSD-base repository is disabled by default.
+#
 
 FreeBSD-ports: {
   url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
@@ -21,3 +23,10 @@ FreeBSD-ports-kmods: {
   fingerprints: "/usr/share/keys/pkg",
   enabled: yes
 }
+FreeBSD-base: {
+  url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_latest",
+  mirror_type: "srv",
+  signature_type: "fingerprints",
+  fingerprints: "/usr/share/keys/pkg",
+  enabled: no
+}
diff --git a/usr.sbin/pkg/FreeBSD.conf.quarterly b/usr.sbin/pkg/FreeBSD.conf.quarterly
index 4e26582c6981..117bbd49aeae 100644
--- a/usr.sbin/pkg/FreeBSD.conf.quarterly
+++ b/usr.sbin/pkg/FreeBSD.conf.quarterly
@@ -6,6 +6,8 @@
 #   echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
 #   echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
 #
+# Note that the FreeBSD-base repository is disabled by default.
+#
 
 FreeBSD-ports: {
   url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
@@ -21,3 +23,10 @@ FreeBSD-ports-kmods: {
   fingerprints: "/usr/share/keys/pkg",
   enabled: yes
 }
+FreeBSD-base: {
+  url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_latest",
+  mirror_type: "srv",
+  signature_type: "fingerprints",
+  fingerprints: "/usr/share/keys/pkg",
+  enabled: no
+}
diff --git a/usr.sbin/pkg/FreeBSD.conf.quarterly-release b/usr.sbin/pkg/FreeBSD.conf.quarterly-release
index b4a78009f7d2..035d0ae976b9 100644
--- a/usr.sbin/pkg/FreeBSD.conf.quarterly-release
+++ b/usr.sbin/pkg/FreeBSD.conf.quarterly-release
@@ -6,6 +6,8 @@
 #   echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
 #   echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
 #
+# Note that the FreeBSD-base repository is disabled by default.
+#
 
 FreeBSD-ports: {
   url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
@@ -21,3 +23,10 @@ FreeBSD-ports-kmods: {
   fingerprints: "/usr/share/keys/pkg",
   enabled: yes
 }
+FreeBSD-base: {
+  url: "pkg+https://pkgbase.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
+  mirror_type: "srv",
+  signature_type: "fingerprints",
+  fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
+  enabled: no
+}