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

Reply via email to