mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Cc: bruno.thomsen@gmail.com
Subject: [ptxdist] [PATCH v2] xz: update URL
Date: Sun,  6 Aug 2023 13:15:20 +0200	[thread overview]
Message-ID: <20230806111520.44459-1-bruno.thomsen@gmail.com> (raw)

Update URL from http to https as it returns 301 Moved Permanently.
Add an additional github URL that is currently used.

Download log:

--2023-07-22 14:34:32--  http://tukaani.org/xz/xz-5.4.3.tar.bz2
Resolving tukaani.org (tukaani.org)... 5.44.245.25
Connecting to tukaani.org (tukaani.org)|5.44.245.25|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://tukaani.org/xz/xz-5.4.3.tar.bz2 [following]
--2023-07-22 14:34:32--  https://tukaani.org/xz/xz-5.4.3.tar.bz2
Connecting to tukaani.org (tukaani.org)|5.44.245.25|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/tukaani-project/xz/releases/download/v5.4.3/xz-5.4.3.tar.bz2 [following]
--2023-07-22 14:34:33--  https://github.com/tukaani-project/xz/releases/download/v5.4.3/xz-5.4.3.tar.bz2
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
v2: add github download URL as backup
---
 rules/xz.make | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rules/xz.make b/rules/xz.make
index a5f16d81929d..c3ca8f662b15 100644
--- a/rules/xz.make
+++ b/rules/xz.make
@@ -18,7 +18,9 @@ XZ_VERSION	:= 5.4.3
 XZ_MD5		:= 34d2f33c2ac51390fc5d0a9c179e8345
 XZ		:= xz-$(XZ_VERSION)
 XZ_SUFFIX	:= tar.bz2
-XZ_URL		:= http://tukaani.org/xz/$(XZ).$(XZ_SUFFIX)
+XZ_URL		:= \
+	https://tukaani.org/xz/$(XZ).$(XZ_SUFFIX) \
+	https://github.com/tukaani-project/xz/releases/download/v$(XZ_VERSION)/$(XZ).$(XZ_SUFFIX)
 XZ_SOURCE	:= $(SRCDIR)/$(XZ).$(XZ_SUFFIX)
 XZ_DIR		:= $(BUILDDIR)/$(XZ)
 XZ_LICENSE	:= public_domain AND LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later

base-commit: dbf616b650552733786ff6b96f7b98a42128c398
-- 
2.41.0




             reply	other threads:[~2023-08-06 11:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-06 11:15 Bruno Thomsen [this message]
2023-08-06 11:27 ` Bruno Thomsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230806111520.44459-1-bruno.thomsen@gmail.com \
    --to=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox