Page MenuHomeFreeBSD

pkg(7): Add support for pkg+ prefix to bootstrap pubkey
ClosedPublic

Authored by pouria on Sep 7 2025, 9:05 PM.
Tags
None
Referenced Files
F168304046: D52418.id161692.diff
Thu, Aug 27, 1:12 PM
Unknown Object (File)
Tue, Aug 25, 6:36 AM
Unknown Object (File)
Mon, Aug 24, 5:31 PM
Unknown Object (File)
Sat, Aug 22, 5:23 PM
Unknown Object (File)
Thu, Aug 20, 5:28 PM
Unknown Object (File)
Tue, Aug 18, 5:21 PM
Unknown Object (File)
Wed, Aug 12, 1:07 PM
Unknown Object (File)
Wed, Aug 12, 12:47 PM
Subscribers

Details

Reviewers
bapt
bdrewery
Summary

This patch targets the bootstrap only, other flows work as intended.
We're using the SRV record for our repository, and bootstrapping from our repo
fails with:
pkg: Error fetching pkg+https://.../FreeBSD:16:amd64/Latest/pkg.pkg.pubkeysig: Invalid URL scheme
This patch corrects that behavior.
Sponsored by: Amn Afzar Hoopad Inc

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 66878
Build 63761: arc lint + arc unit