Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2025 08:13:47 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   /etc/pkg/FreeBSD.conf and /usr/local/etc/pkg/FreeBSD.conf (not repo names)
Message-ID:  <5dc99111-3977-4638-8151-1f69fa819e08@gmail.com>

index | next in thread | raw e-mail

<https://wiki.freebsd.org/Releng/15.0ISSUES#assigned>;


> Add "FreeBSD-base" (or maybe "FreeBSD-src") repository to 
> /etc/pkg/FreeBSD.conf (cperciva)
>

hier(7) descriptions of /etc/ and /usr/local/ are thought-provoking. 
Respectively:

"base system configuration files and scripts; see intro(5)"

"local executables, libraries, etc, installed by pkg(7) or ports(7)"

Colin's base 29f076ae0cb5 was my precedent for multiple repos in a 
single file,

/etc/pkg/FreeBSD.conf

As the local stuff of pkg(8) is installed (bootstrapped) by pkg(7), is 
the _local_ configuration file a more logical place to specify the 
FreeBSD-base and FreeBSD-kmods repos?

/usr/local/etc/pkg/FreeBSD.conf

----

/etc/pkg/ is documented in hier(7), however it's quirky. pkg(8) is not 
part of base.

<https://man.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-current>;

<https://man.freebsd.org/cgi/man.cgi?query=intro&sektion=5&manpath=freebsd-current>;

<https://github.com/freebsd/freebsd-src/commit/29f076ae0cb536d1e891d3375edf28f1bc82df79



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5dc99111-3977-4638-8151-1f69fa819e08>