Date: Mon, 12 Apr 2021 13:48:57 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255006] devel/fossil: Change URL to work around libfetch bug in FreeBSD 12 Message-ID: <bug-255006-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255006 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@FreeBSD.org Reporter: chris@chrullrich.net Flags: maintainer-feedback?(gahr@FreeBSD.org) Assignee: gahr@FreeBSD.org Created attachment 224052 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224052&action= =3Dedit 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255006-7788>