[Buildroot] [PATCH] package/strace: download from Github

Yann E. MORIN yann.morin.1998 at free.fr
Sat May 28 10:00:23 UTC 2022


Mrkus, All,

On 2022-05-27 11:45 -0700, Markus Mayer via buildroot spake thusly:
> Some corporate networks may be blocking access to Russian servers.
> The server "strace.io" is in Russia, which will make it inaccessible
> from some networks.
> 
> Use Github instead to download the sources.
> 
> Signed-off-by: Markus Mayer <mmayer at broadcom.com>

Applied to master, thanks.

> ---
> 
> Not sure if there is a precedence for such a change or if it'll be deemed
> acceptable. I am putting this out there in case it is considered helpful.

Yes, there's already been such switch in the past. We jsut have to
ensure one of the folowing:

  - if the archive filename did not change, it must be the exact same
    content as what we already use (i.e. the same hash), or it would
    conflict eith the cached archive we have on s.b.o.

  - if the archive content changed, we must ensure its filename changed,
    like we bump the version or something, to avoid aforementioned hash
    mismatch.

In this case, the hash did match, so it's (very probably!) the same file,
so that's OK.

Regards,
Yann E. MORIN.

> Thanks,
> -Markus
> 
>  package/strace/strace.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/strace/strace.mk b/package/strace/strace.mk
> index c35e0c84da22..67924d4b660a 100644
> --- a/package/strace/strace.mk
> +++ b/package/strace/strace.mk
> @@ -6,7 +6,7 @@
>  
>  STRACE_VERSION = 5.17
>  STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
> -STRACE_SITE = https://strace.io/files/$(STRACE_VERSION)
> +STRACE_SITE = https://github.com/strace/strace/releases/download/v$(STRACE_VERSION)
>  STRACE_LICENSE = LGPL-2.1+
>  STRACE_LICENSE_FILES = COPYING LGPL-2.1-or-later
>  STRACE_CPE_ID_VENDOR = strace_project
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list