From owner-freebsd-ports-bugs@freebsd.org Mon Apr 12 13:48:58 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 00B555D1C53 for ; Mon, 12 Apr 2021 13:48:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FJqpK6QRvz4VXB for ; Mon, 12 Apr 2021 13:48:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DA5515D1C52; Mon, 12 Apr 2021 13:48:57 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DA1A95D1EAE for ; Mon, 12 Apr 2021 13:48:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FJqpK5lR1z4VQy for ; Mon, 12 Apr 2021 13:48:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B892918639 for ; Mon, 12 Apr 2021 13:48:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13CDmvHw068765 for ; Mon, 12 Apr 2021 13:48:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13CDmvsx068764 for ports-bugs@FreeBSD.org; Mon, 12 Apr 2021 13:48:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 12 Apr 2021 13:48:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: chris@chrullrich.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gahr@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2021 13:48:58 -0000 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.=