Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2026 10:45:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 247998] pkg.freebsd.org subfolders indexes are forbidden
Message-ID:  <bug-247998-9-p7MWy9Tt9D@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247998-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247998-9-p7MWy9Tt9D>