Join Nostr
2026-06-20 18:01:18 UTC
in reply to

Justine Smithies on Nostr: Well pkgbasify did it's stuff and I've rebooted. This is what is in the relevant ...

Well pkgbasify did it's stuff and I've rebooted. This is what is in the relevant files and if some clever #FreeBSD could confirm that they look OK then I'm officially using pkg from now on instead of freebsd-update.

justine-laptop ~ $ cat /usr/local/etc/pkg/repos/FreeBSD-base.conf
FreeBSD-base: {
enabled: yes
}
justine-laptop ~ $ cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD-ports: { url = "pkg+http://pkg.freebsd.org/${ABI}/latest";; }
justine-laptop ~ $ cat /etc/pkg/FreeBSD.conf
#
# To disable a repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
#
# mkdir -p /usr/local/etc/pkg/repos
# 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";,
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
FreeBSD-ports-kmods: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}";,
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
FreeBSD-base: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}";,
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
enabled: no
}
```