If the line that's suggested (by output from fastest_pkg) is added to, for example, /usr/local/etc/pkg/repos/FreeBSD.conf then a warning line will be seen when running, for example, pkg update (Recent versions of pkg(8) are more capable of warning.)
Example: … Write configuration: mkdir -p /usr/local/etc/pkg/repos/ echo 'FreeBSD: { url: "http://pkg0.bme.freebsd.org/${ABI}/latest" }' \ > /usr/local/etc/pkg/repos/FreeBSD.conf … Result: root@mowa219-gjp4-8570p-freebsd:~ # pkg update -r FreeBSD Updating FreeBSD repository catalogue... pkg: No SRV record found for the repo 'FreeBSD' FreeBSD repository is up to date. All repositories are up to date. root@mowa219-gjp4-8570p-freebsd:~ # pkg query %v pkg 1.20.3 root@mowa219-gjp4-8570p-freebsd:~ #
(In reply to Graham Perrin from comment #1) In this case, to not have the SRV record warning: FreeBSD: { url: "http://pkg0.bme.freebsd.org/${ABI}/latest", mirror_type: "NONE" }
Thank you'll update it accordingly.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=946a5aef9357709b16b55e284b8088469ce46922 commit 946a5aef9357709b16b55e284b8088469ce46922 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2023-07-14 10:08:24 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2023-07-14 10:08:24 +0000 ports-mgmt/fastest_pkg: Update example line Display mirror_type: "NONE" in example line as recent versions of pkg(8) are more capable of warning. PR: 272468 Reported by: grahamperrin ports-mgmt/fastest_pkg/Makefile | 1 + .../files/patch-fastest__pkg_fastest__pkg.py (new) | 11 +++++++++++ 2 files changed, 12 insertions(+)
Port patched, thanks for the report.
Fix confirmed. Thanks!