On 20/08/2025 09:19, Miroslav Lachman wrote:
… I would like to have a separate file for each repository, …
For a long time, I did work with two files:
/etc/pkg/FreeBSD-base.conf
/etc/pkg/FreeBSD-ports.conf
– FreeBSD-ports.conf was a symlink to FreeBSD.conf, with FreeBSD-ports
(within the file) as the name for the repo.
I dropped the habit immediately after I discovered that a single file
could specify multiple repos.
I prefer editing a single file, wherever possible.
I sometimes used uclcmd, <https://www.freshports.org/devel/uclcmd/>.
I typically aim for three repos in the one file:
FreeBSD-base
FreeBSD-kmods
FreeBSD-ports