[Bug 255006] devel/fossil: Change URL to work around libfetch bug in FreeBSD 12
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 12 13:48:58 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255006
Bug ID: 255006
Summary: devel/fossil: Change URL to work around libfetch bug
in FreeBSD 12
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: gahr at FreeBSD.org
Reporter: chris at chrullrich.net
Flags: maintainer-feedback?(gahr at FreeBSD.org)
Assignee: gahr at FreeBSD.org
Created attachment 224052
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224052&action=edit
Patch.
There is a bug in libfetch that manifests when an HTTP URL returns a
redirect to an HTTPS URL and the latter is accessed through a proxy.
In this situation, libfetch uses the proxy syntax (GET https://...)
in the request to the origin server. Some servers, including the one
that hosts fossil source tarballs, cannot deal with this.
The bug was fixed in -CURRENT in 2018 (git commit a768df3e91) and MFC'd
to 13, but is still present in 12 (stable and releases), and presumably
earlier versions.
The attached patch changes the MASTER_SITES to use HTTPS to avoid the bug.
I think perhaps I should report this as a bug against libfetch to get
the fix into 12, but don't know whether this is even possible, and it is
procedurally easier to work around in the port by making sure the
original URL is HTTPS.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list