From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Peter Seiderer <ps.report@gmx.net>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v1] utils/scancpan: update cpan.org and spdx.org URLs from http to https
Date: Tue, 20 Dec 2022 17:12:47 +0100 [thread overview]
Message-ID: <20221220161247.GH2909@scaer> (raw)
In-Reply-To: <20221219214620.28780-1-ps.report@gmx.net>
Peter, All,
On 2022-12-19 22:46 +0100, Peter Seiderer spake thusly:
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> utils/scancpan | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/utils/scancpan b/utils/scancpan
> index 075f193563..168619164f 100755
> --- a/utils/scancpan
> +++ b/utils/scancpan
> @@ -31,7 +31,7 @@ $fatpacked{"MetaCPAN/API/Tiny.pm"} = <<'METACPAN_API_TINY';
> if $params{ua_args} && ref($params{ua_args}) ne 'ARRAY';
>
> my $self = +{
> - base_url => $params{base_url} || 'http://api.metacpan.org/v0',
> + base_url => $params{base_url} || 'https://api.metacpan.org/v0',
> ua => $params{ua} || HTTP::Tiny->new(
> $params{ua_args}
> ? @{$params{ua_args}}
> @@ -525,8 +525,8 @@ my %deps_build; # name -> list of host dependencies
> my %deps_runtime; # name -> list of target dependencies
> my %license_files; # name -> hash of license files
> my %checksum; # author -> list of checksum
> -my $mirror = 'http://cpan.metacpan.org'; # a CPAN mirror
> -my $mcpan = MetaCPAN::API::Tiny->new(base_url => 'http://fastapi.metacpan.org/v1');
> +my $mirror = 'https://cpan.metacpan.org'; # a CPAN mirror
> +my $mcpan = MetaCPAN::API::Tiny->new(base_url => 'https://fastapi.metacpan.org/v1');
> my $ua = HTTP::Tiny->new();
> my $new_pkgs;
>
> @@ -698,7 +698,7 @@ sub brname {
> return uc $name;
> }
>
> -# Buildroot requires license name as in http://spdx.org/licenses/
> +# Buildroot requires license name as in https://spdx.org/licenses/
> sub brlicense {
> my $license = shift;
> $license =~ s|apache_1_1|Apache-1.1|;
> --
> 2.39.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@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. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-12-20 16:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-19 21:46 [Buildroot] [PATCH v1] utils/scancpan: update cpan.org and spdx.org URLs from http to https Peter Seiderer
2022-12-20 16:12 ` Yann E. MORIN [this message]
2022-12-21 19:40 ` Peter Korsgaard
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=20221220161247.GH2909@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=ps.report@gmx.net \
/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