File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ sub die_with_sample {
91
91
url => " https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz" ,
92
92
# sha256 taken from http://www.cpan.org/authors/id/M/MI/MIYAGAWA/CHECKSUMS
93
93
sha256 => " 963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5" ,
94
+ patch => q[ perl -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm] ,
94
95
},
95
96
iosocketssl => {
96
97
name => " IO-Socket-SSL-2.085" ,
@@ -325,7 +326,9 @@ =head1 DESCRIPTION
325
326
&& cd /usr/src \
326
327
&& curl -fLO {{cpanm_dist_url}} \
327
328
&& echo '{{cpanm_dist_sha256}} *{{cpanm_dist_name}}.tar.gz' | sha256sum --strict --check - \
328
- && tar -xzf {{cpanm_dist_name}}.tar.gz && cd {{cpanm_dist_name}} && perl bin/cpanm . && cd /root \
329
+ && tar -xzf {{cpanm_dist_name}}.tar.gz && cd {{cpanm_dist_name}} \
330
+ && {{cpanm_dist_patch}} \
331
+ && perl bin/cpanm . && cd /root \
329
332
&& curl -fLO '{{netssleay_dist_url}}' \
330
333
&& echo '{{netssleay_dist_sha256}} *{{netssleay_dist_name}}.tar.gz' | sha256sum --strict --check - \
331
334
&& cpanm --from $PWD {{netssleay_dist_name}}.tar.gz \
You can’t perform that action at this time.
0 commit comments