mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] xz: update URL
@ 2023-08-06 11:15 Bruno Thomsen
  2023-08-06 11:27 ` Bruno Thomsen
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Thomsen @ 2023-08-06 11:15 UTC (permalink / raw)
  To: ptxdist; +Cc: bruno.thomsen

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH v2] xz: update URL
  2023-08-06 11:15 [ptxdist] [PATCH v2] xz: update URL Bruno Thomsen
@ 2023-08-06 11:27 ` Bruno Thomsen
  0 siblings, 0 replies; 2+ messages in thread
From: Bruno Thomsen @ 2023-08-06 11:27 UTC (permalink / raw)
  To: ptxdist

Den søn. 6. aug. 2023 kl. 13.15 skrev Bruno Thomsen <bruno.thomsen@gmail.com>:
>
> 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

Just drop, did not see that version 1 was already applied.

> ---
>  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
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-06 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-06 11:15 [ptxdist] [PATCH v2] xz: update URL Bruno Thomsen
2023-08-06 11:27 ` Bruno Thomsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox