Bug 247998 - pkg.freebsd.org subfolders indexes are forbidden
Summary: pkg.freebsd.org subfolders indexes are forbidden
Status: Closed Not A Bug
Alias: None
Product: Documentation
Classification: Unclassified
Component: Website (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-15 13:35 UTC by Serge Volkov
Modified: 2020-08-30 13:18 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Volkov 2020-07-15 13:35:35 UTC
It looks like pkg mirrors are not allowing indexes on folders anymore.
For example https://pkg.freebsd.org/FreeBSD:12:amd64/quarterly/ now returns 403/Forbidden.
Comment 1 Allan Jude freebsd_committer 2020-07-15 14:23:05 UTC
This is on purpose, the generation of these indexes was causing excessive CPU load on the servers.

The pkg mirrors are not meant to be used in this way.

What were you using the index for?
Comment 2 Serge Volkov 2020-07-15 14:39:48 UTC
(In reply to Allan Jude from comment #1)

I used this to find out if the package is ready for the corresponding version of the port.

Maybe there is another way?
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2020-07-15 14:42:14 UTC
pkg upgrade -n will show you

this information is also available on freshports:

Example: https://www.freshports.org/security/stunnel
Comment 4 Serge Volkov 2020-07-15 14:57:31 UTC
Ок. I understood. Thanks for the clarification.
Comment 5 Jason W. Bacon freebsd_committer 2020-08-19 14:10:19 UTC
Is there any way to list all available binary packages for different ABIs?

E.g. see what's available for FreeBSD:13:powerpc64 from an amd64 machine?
Comment 6 Alexey Dokuchaev freebsd_committer 2020-08-30 13:18:26 UTC
(In reply to Jason W. Bacon from comment #5)
> Is there any way to list all available binary packages for different ABIs?
In fact, that was precisely the reason when I needed to access those URLs from the browser: to find a package for alien architecture/branch.  It would be really nice if pkg(8) could do that (e.g. allow search and download, but refuse to install unless forced).