Skip to content

Commit 317639a

Browse files
committed
s/http/https/g
1 parent 68061bf commit 317639a

File tree

8 files changed

+27
-27
lines changed

8 files changed

+27
-27
lines changed

App-cpanminus/lib/App/cpanminus.pm

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,16 @@ Module::Build (core in 5.10)
105105
106106
=head2 How does cpanm get/parse/update the CPAN index?
107107
108-
It queries the CPAN Meta DB site at L<http://cpanmetadb.plackperl.org/>.
108+
It queries the CPAN Meta DB site at L<https://cpanmetadb.plackperl.org/>.
109109
The site is updated at least every hour to reflect the latest changes
110110
from fast syncing mirrors. The script then also falls back to query the
111-
module at L<http://metacpan.org/> using its search API.
111+
module at L<https://metacpan.org/> using its search API.
112112
113113
Upon calling these API hosts, cpanm (1.6004 or later) will send the
114114
local perl versions to the server in User-Agent string by default. You
115115
can turn it off with C<--no-report-perl-version> option. Read more
116116
about the option with L<cpanm>, and read more about the privacy policy
117-
about this data collection at L<http://cpanmetadb.plackperl.org/#privacy>
117+
about this data collection at L<https://cpanmetadb.plackperl.org/#privacy>
118118
119119
Fetched files are unpacked in C<~/.cpanm> and automatically cleaned up
120120
periodically. You can configure the location of this with the
@@ -270,7 +270,7 @@ Arnfjord Bjarmason, Eric Wilhelm, Florian Ragwitz and xaicron.
270270
271271
=over 4
272272
273-
=item L<http://github.com/miyagawa/cpanminus> - source code repository, issue tracker
273+
=item L<https://github.com/miyagawa/cpanminus> - source code repository, issue tracker
274274
275275
=item L<irc://irc.perl.org/#cpanm> - discussions about cpanm and its related tools
276276

App-cpanminus/script/cpanm.PL

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ cpanm - get, unpack build and install modules from CPAN
3737
3838
cpanm Test::More # install Test::More
3939
cpanm MIYAGAWA/Plack-0.99_05.tar.gz # full distribution path
40-
cpanm http://example.org/LDS/CGI.pm-3.20.tar.gz # install from URL
40+
cpanm https://example.org/LDS/CGI.pm-3.20.tar.gz # install from URL
4141
cpanm ~/dists/MyCompany-Enterprise-1.00.tar.gz # install from a local file
4242
cpanm --interactive Task::Kensho # Configure interactively
4343
cpanm . # install from local directory
4444
cpanm --installdeps . # install all the deps for the current directory
4545
cpanm -L extlib Plack # install Plack and all non-core deps into extlib
46-
cpanm --mirror http://cpan.cpantesters.org/ DBI # use the fast-syncing mirror
47-
cpanm --from https://cpan.metacpan.org/ Plack # use only the HTTPS mirror
46+
cpanm --mirror https://cpan.cpantesters.org/ DBI # use the fast-syncing mirror
47+
cpanm --from https://cpan.metacpan.org/ Plack # use a different mirror
4848
4949
=head1 COMMANDS
5050
@@ -60,7 +60,7 @@ will all work as you expect.
6060
cpanm Plack/Request.pm
6161
cpanm MIYAGAWA/Plack-1.0000.tar.gz
6262
cpanm /path/to/Plack-1.0000.tar.gz
63-
cpanm http://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Plack-0.9990.tar.gz
63+
cpanm https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Plack-0.9990.tar.gz
6464
cpanm git://github.com/plack/Plack.git
6565
6666
Additionally, you can use the notation using C<~> and C<@> to specify
@@ -213,7 +213,7 @@ the behaviour from before version 1.7023
213213
=item --mirror
214214
215215
Specifies the base URL for the CPAN mirror to use, such as
216-
C<http://cpan.cpantesters.org/> (you can omit the trailing slash). You
216+
C<https://cpan.cpantesters.org/> (you can omit the trailing slash). You
217217
can specify multiple mirror URLs by repeating the command line option.
218218
219219
You can use a local directory that has a CPAN mirror structure
@@ -224,7 +224,7 @@ scheme), it is considered as a file scheme as well.
224224
cpanm --mirror file:///path/to/mirror
225225
cpanm --mirror ~/minicpan # Because shell expands ~ to /home/user
226226
227-
Defaults to C<http://www.cpan.org/>.
227+
Defaults to C<https://www.cpan.org/>.
228228
229229
=item --mirror-only
230230
@@ -256,7 +256,7 @@ B<Tip:> It might be useful if you name these options with your shell
256256
aliases, like:
257257
258258
alias minicpanm='cpanm --from ~/minicpan'
259-
alias darkpan='cpanm --from http://mycompany.example.com/DPAN'
259+
alias darkpan='cpanm --from https://mycompany.example.com/DPAN'
260260
261261
=item --mirror-index
262262

Menlo-Legacy/META.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"perl_5"
1010
],
1111
"meta-spec" : {
12-
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
12+
"url" : "https://metacpan.org/pod/CPAN::Meta::Spec",
1313
"version" : 2
1414
},
1515
"name" : "Menlo-Legacy",

Menlo-Legacy/lib/Menlo/CLI/Compat.pm

+10-10
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ sub new {
6565
mirrors => [],
6666
mirror_only => undef,
6767
mirror_index => undef,
68-
cpanmetadb => "http://cpanmetadb.plackperl.org/v1.0/",
68+
cpanmetadb => "https://cpanmetadb.plackperl.org/v1.0/",
6969
perl => $^X,
7070
argv => [],
7171
local_lib => undef,
@@ -616,7 +616,7 @@ Options:
616616
--installdeps Only install dependencies
617617
--showdeps Only display direct dependencies
618618
--reinstall Reinstall the distribution even if you already have the latest version installed
619-
--mirror Specify the base URL for the mirror (e.g. http://cpan.cpantesters.org/)
619+
--mirror Specify the base URL for the mirror (e.g. https://cpan.cpantesters.org/)
620620
--mirror-only Use the mirror's index file instead of the CPAN Meta DB
621621
-M,--from Use only this mirror base URL and its index file
622622
--prompt Prompt when configure/build/test fails
@@ -636,18 +636,18 @@ Examples:
636636
637637
cpanm Test::More # install Test::More
638638
cpanm MIYAGAWA/Plack-0.99_05.tar.gz # full distribution path
639-
cpanm http://example.org/LDS/CGI.pm-3.20.tar.gz # install from URL
639+
cpanm https://example.org/LDS/CGI.pm-3.20.tar.gz # install from URL
640640
cpanm ~/dists/MyCompany-Enterprise-1.00.tar.gz # install from a local file
641641
cpanm --interactive Task::Kensho # Configure interactively
642642
cpanm . # install from local directory
643643
cpanm --installdeps . # install all the deps for the current directory
644644
cpanm -L extlib Plack # install Plack and all non-core deps into extlib
645-
cpanm --mirror http://cpan.cpantesters.org/ DBI # use the fast-syncing mirror
645+
cpanm --mirror https://cpan.cpantesters.org/ DBI # use the fast-syncing mirror
646646
cpanm -M https://cpan.metacpan.org App::perlbrew # use only this secure mirror and its index
647647
648648
You can also specify the default options in PERL_CPANM_OPT environment variable in the shell rc:
649649
650-
export PERL_CPANM_OPT="--prompt --reinstall -l ~/perl --mirror http://cpan.cpantesters.org"
650+
export PERL_CPANM_OPT="--prompt --reinstall -l ~/perl --mirror https://cpan.cpantesters.org"
651651
652652
Type `man cpanm` or `perldoc cpanm` for the more detailed explanation of the options.
653653
@@ -1163,7 +1163,7 @@ sub chdir {
11631163
sub configure_mirrors {
11641164
my $self = shift;
11651165
unless (@{$self->{mirrors}}) {
1166-
$self->{mirrors} = [ 'http://www.cpan.org' ];
1166+
$self->{mirrors} = [ 'https://www.cpan.org' ];
11671167
}
11681168
for (@{$self->{mirrors}}) {
11691169
s!^/!file:///!;
@@ -1688,7 +1688,7 @@ sub cpan_dist {
16881688
sub git_uri {
16891689
my ($self, $uri) = @_;
16901690

1691-
# similar to http://www.pip-installer.org/en/latest/logic.html#vcs-support
1691+
# similar to https://www.pip-installer.org/en/latest/logic.html#vcs-support
16921692
# git URL has to end with .git when you need to use pin @ commit/tag/branch
16931693

16941694
($uri, my $commitish) = split /(?<=\.git)@/i, $uri, 2;
@@ -2703,9 +2703,9 @@ sub configure_http {
27032703
unshift @try, 'Curl' if $self->{try_curl};
27042704
unshift @try, 'LWP' if $self->{try_lwp};
27052705

2706-
my @protocol = ('http');
2707-
push @protocol, 'https'
2708-
if grep /^https:/, @{$self->{mirrors}};
2706+
my @protocol = ('https');
2707+
push @protocol, 'http'
2708+
if grep /^http:/, @{$self->{mirrors}};
27092709

27102710
my $backend;
27112711
for my $try (map "HTTP::Tinyish::$_", @try) {

Menlo/Changes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
See http://github.com/miyagawa/cpanminus/ for the latest development.
1+
See https://github.com/miyagawa/cpanminus/ for the latest development.
22

33
{{$NEXT}}
44

Menlo/META.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"perl_5"
1010
],
1111
"meta-spec" : {
12-
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
12+
"url" : "https://search.cpan.org/perldoc?CPAN::Meta::Spec",
1313
"version" : 2
1414
},
1515
"name" : "Menlo",

Menlo/lib/Menlo/Index/MetaCPAN.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ sub search_packages {
5555
package => $args->{package},
5656
version => $dist_meta->{version},
5757
uri => "cpan:///distfile/$distfile",
58-
download_uri => $self->_download_uri("http://cpan.metacpan.org", $distfile),
58+
download_uri => $self->_download_uri("https://cpan.metacpan.org", $distfile),
5959
};
6060
}
6161

Menlo/lib/Menlo/Index/MetaDB.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use HTTP::Tiny;
1919
sub BUILD {
2020
my $self = shift;
2121
my $uri = $self->uri;
22-
$uri = "http://cpanmetadb.plackperl.org/v1.0/"
22+
$uri = "https://cpanmetadb.plackperl.org/v1.0/"
2323
unless defined $uri;
2424
# ensure URI ends in '/'
2525
$uri =~ s{/?$}{/};
@@ -73,7 +73,7 @@ sub search_packages {
7373
version => $match->{version},
7474
uri => "cpan:///distfile/$file",
7575
($match->{latest} ? () :
76-
(download_uri => "http://backpan.perl.org/authors/id/$match->{distfile}")),
76+
(download_uri => "https://backpan.perl.org/authors/id/$match->{distfile}")),
7777
};
7878
}
7979
} else {

0 commit comments

Comments
 (0)