* [Buildroot] [PATCH v1] utils/scancpan: update cpan.org and spdx.org URLs from http to https
@ 2022-12-19 21:46 Peter Seiderer
2022-12-20 16:12 ` Yann E. MORIN
2022-12-21 19:40 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Peter Seiderer @ 2022-12-19 21:46 UTC (permalink / raw)
To: buildroot
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v1] utils/scancpan: update cpan.org and spdx.org URLs from http to https
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
2022-12-21 19:40 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2022-12-20 16:12 UTC (permalink / raw)
To: Peter Seiderer; +Cc: buildroot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v1] utils/scancpan: update cpan.org and spdx.org URLs from http to https
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
@ 2022-12-21 19:40 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-12-21 19:40 UTC (permalink / raw)
To: Peter Seiderer; +Cc: buildroot
>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Committed to 2022.11.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-21 19:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-12-21 19:40 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.