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

MFC After: 	1 day
Sponsored by:	Amn Afzar Hoopad Inc
Differencial Revision:	https://reviews.freebsd.org/D52418
This commit is contained in:
Seyed Pouria Mousavizadeh Tehrani 2025-09-11 09:01:54 +02:00 committed by Baptiste Daroussin
parent fc68f8aac6
commit 08b8843137

View file

@ -889,7 +889,7 @@ bootstrap_pkg(bool force, const char *fetchOpts, struct repository *repo)
getenv("TMPDIR") ? getenv("TMPDIR") : _PATH_TMP,
bootstrap_name);
snprintf(url, MAXPATHLEN, "%s/Latest/%s.pubkeysig",
repo->url, bootstrap_name);
packagesite, bootstrap_name);
if ((fd_sig = fetch_to_fd(repo, url, tmpsig, fetchOpts)) == -1) {
fprintf(stderr, "Signature for pkg not "