[Bug 247998] pkg.freebsd.org subfolders indexes are forbidden
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Jan 2026 10:45:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247998
Wolfram Schneider <wosch@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wosch@FreeBSD.org
--- Comment #11 from Wolfram Schneider <wosch@FreeBSD.org> ---
To get the download URL for a package for a given release you have to download
the "packagesite.pkg" file first:
$ curl -sS -O
https://pkg.freebsd.org/FreeBSD:14:aarch64/quarterly/packagesite.pkg
extract it:
$ tar vxf packagesite.pkg
search for the port and repopath:
$ grep '"name":"bash"' packagesite.yaml| jq | grep repopath
"repopath": "All/Hashed/bash-5.3.3_2~b963c5a753.pkg",
and then create a full download URL:
$ curl -sS -O
https://pkg.freebsd.org/FreeBSD:14:aarch64/quarterly/All/Hashed/bash-5.3.3_2~b963c5a753.pkg
This will work for all supported releases/snapshots and architectures, even if
you are not on a FreeBSD machine!
--
You are receiving this mail because:
You are the assignee for the bug.