https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247998

Wolfram Schneider <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #11 from Wolfram Schneider <[email protected]> ---
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.

Reply via email to