From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 28 Oct 2022 16:45:33 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ooQc1-005SgZ-CH for lore@lore.pengutronix.de; Fri, 28 Oct 2022 16:45:33 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ooQc0-0001fG-Et; Fri, 28 Oct 2022 16:45:32 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ooQbD-0006bX-3h; Fri, 28 Oct 2022 16:44:43 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ooQbD-000v3X-CO; Fri, 28 Oct 2022 16:44:42 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ooQbB-009Yos-OL; Fri, 28 Oct 2022 16:44:41 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 28 Oct 2022 16:44:41 +0200 Message-Id: <20221028144441.2278229-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221020145407.3651-5-bruno.thomsen@gmail.com> References: <20221020145407.3651-5-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] python3: update download URL X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bruno Thomsen Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 68bf98206331ca5c28e0070ee9aac68076fc9c5a. Michael [sent from post-receive hook] On Fri, 28 Oct 2022 16:44:41 +0200, Bruno Thomsen wrote: > Downloading package result in double http code 301 Moved Permanently > from servers. Update used URL to match redirect URL. > > --2022-10-20 11:25:21-- http://python.org/ftp/python/3.10.4/Python-3.10.4.tar.xz > Resolving python.org (python.org)... 138.197.63.241 > Connecting to python.org (python.org)|138.197.63.241|:80... connected. > HTTP request sent, awaiting response... 301 Moved Permanently > Location: https://python.org/ftp/python/3.10.4/Python-3.10.4.tar.xz [following] > --2022-10-20 11:25:22-- https://python.org/ftp/python/3.10.4/Python-3.10.4.tar.xz > Connecting to python.org (python.org)|138.197.63.241|:443... connected. > HTTP request sent, awaiting response... 301 Moved Permanently > Location: https://www.python.org/ftp/python/3.10.4/Python-3.10.4.tar.xz [following] > --2022-10-20 11:25:22-- https://www.python.org/ftp/python/3.10.4/Python-3.10.4.tar.xz > Resolving www.python.org (www.python.org)... 199.232.40.223, 2a04:4e42:47::223 > Connecting to www.python.org (www.python.org)|199.232.40.223|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: 19342692 (18M) [application/octet-stream] > > Signed-off-by: Bruno Thomsen > Message-Id: <20221020145407.3651-5-bruno.thomsen@gmail.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3.make b/rules/python3.make > index 59c46ca0f177..b1858256373c 100644 > --- a/rules/python3.make > +++ b/rules/python3.make > @@ -26,7 +26,7 @@ PYTHON3_DIR := $(BUILDDIR)/$(PYTHON3) > PYTHON3_DEVPKG := NO > > PYTHON3_URL := \ > - http://python.org/ftp/python/$(PYTHON3_VERSION)/$(PYTHON3).$(PYTHON3_SUFFIX) \ > + https://www.python.org/ftp/python/$(PYTHON3_VERSION)/$(PYTHON3).$(PYTHON3_SUFFIX) \ > http://python.org/ftp/python/$(PYTHON3_MAJORMINOR)/$(PYTHON3).$(PYTHON3_SUFFIX) > > CROSS_PYTHON3 := $(PTXDIST_SYSROOT_CROSS)/bin/python$(PYTHON3_MAJORMINOR)