Skip to content

Commit fe72167

Browse files
authored
Merge pull request #25333 from boegel/Perl_SSL_fix
add patch to work around failing test in `LWP::Protocol::https` extension due to problem with SSL certificate for `example.com`
2 parents 6c81c7e + aaa0ac7 commit fe72167

10 files changed

Lines changed: 65 additions & 13 deletions
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
workaround for failing test in LWP::Protocol::https extension due to problem with SSL certificate for example.com
2+
see also https://github.com/libwww-perl/LWP-Protocol-https/issues/90
3+
author: Kenneth Hoste (HPC-UGent)
4+
--- LWP-Protocol-https-6.14/t/example.t.orig 2026-02-19 10:41:14.082732809 +0100
5+
+++ LWP-Protocol-https-6.14/t/example.t 2026-02-19 10:46:40.834320072 +0100
6+
@@ -2,7 +2,7 @@
7+
8+
use strict;
9+
use Test::More;
10+
-use Test::RequiresInternet 'www.example.com' => 443;
11+
+use Test::RequiresInternet 'www.google.com' => 443;
12+
13+
use LWP::UserAgent ();
14+
15+
@@ -10,7 +10,7 @@
16+
17+
plan tests => 2;
18+
19+
-my $url = 'https://www.example.com';
20+
+my $url = 'https://www.google.com';
21+
22+
subtest "Request GET $url" => sub {
23+
plan tests => 6;
24+
@@ -43,7 +43,7 @@
25+
my $ssl_cipher = $res->header($h) || '';
26+
ok($ssl_cipher =~ /\S/, "have header $h");
27+
28+
- like($res->content, qr/Example Domain/, "found expected document content");
29+
+ like($res->content, qr/<title>Google<\/title>/, "found expected document content");
30+
};
31+
32+
subtest "Check for warnings from GET $url (RT #81948)" => sub {

easybuild/easyconfigs/p/Perl-bundle-CPAN/Perl-bundle-CPAN-5.36.1-GCCcore-12.3.0.eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,8 +1898,8 @@ exts_list = [
18981898
'checksums': ['701bea67be670add5a102f9f8c879402b4983096b1cb0e20dd47d52d7a10666b'],
18991899
}),
19001900
('LWP::Protocol::https', '6.10', {
1901-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
19021901
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1902+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
19031903
'checksums': ['cecfc31fe2d4fc854cac47fce13d3a502e8fdfe60c5bc1c09535743185f2a86c'],
19041904
}),
19051905
('Module::Load', '0.36', {

easybuild/easyconfigs/p/Perl-bundle-CPAN/Perl-bundle-CPAN-5.38.0-GCCcore-13.2.0.eb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,9 +1901,14 @@ exts_list = [
19011901
'checksums': ['32e1d0045299004045b9c4d16c2daae453a216208873deea2440f71260a7cda1'],
19021902
}),
19031903
('LWP::Protocol::https', '6.11', {
1904-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
19051904
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1906-
'checksums': ['0132ddbf03661565ca85050f2a5094fb9263cbbc3ccb1a4d9c41ac9bb083b917'],
1905+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
1906+
'patches': ['LWP-Protocol-https_fix-SSL-test.patch'],
1907+
'checksums': [
1908+
{'LWP-Protocol-https-6.11.tar.gz': '0132ddbf03661565ca85050f2a5094fb9263cbbc3ccb1a4d9c41ac9bb083b917'},
1909+
{'LWP-Protocol-https_fix-SSL-test.patch':
1910+
'b7c0adfda628c499dccefee25f783666157ea6793a40dfcc0b06827d6ab8588e'},
1911+
],
19071912
}),
19081913
('Module::Load', '0.36', {
19091914
'source_tmpl': 'Module-Load-%(version)s.tar.gz',

easybuild/easyconfigs/p/Perl-bundle-CPAN/Perl-bundle-CPAN-5.38.2-GCCcore-13.3.0.eb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,9 +1903,14 @@ exts_list = [
19031903
'checksums': ['624873939e309833894f881464a95dfe74ab77cab5d557308c010487161698e7'],
19041904
}),
19051905
('LWP::Protocol::https', '6.14', {
1906-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
19071906
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1908-
'checksums': ['59cdeabf26950d4f1bef70f096b0d77c5b1c5a7b5ad1b66d71b681ba279cbb2a'],
1907+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
1908+
'patches': ['LWP-Protocol-https_fix-SSL-test.patch'],
1909+
'checksums': [
1910+
{'LWP-Protocol-https-6.14.tar.gz': '59cdeabf26950d4f1bef70f096b0d77c5b1c5a7b5ad1b66d71b681ba279cbb2a'},
1911+
{'LWP-Protocol-https_fix-SSL-test.patch':
1912+
'b7c0adfda628c499dccefee25f783666157ea6793a40dfcc0b06827d6ab8588e'},
1913+
],
19091914
}),
19101915
('Module::Load', '0.36', {
19111916
'source_tmpl': 'Module-Load-%(version)s.tar.gz',

easybuild/easyconfigs/p/Perl-bundle-CPAN/Perl-bundle-CPAN-5.40.0-GCCcore-14.2.0.eb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,9 +1918,14 @@ exts_list = [
19181918
'checksums': ['c4b1412bbc37dff8cf29af6f92cb47defbe90eebcbc29e407a98638f7a31bcd0'],
19191919
}),
19201920
('LWP::Protocol::https', '6.14', {
1921-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
19221921
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1923-
'checksums': ['59cdeabf26950d4f1bef70f096b0d77c5b1c5a7b5ad1b66d71b681ba279cbb2a'],
1922+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
1923+
'patches': ['LWP-Protocol-https_fix-SSL-test.patch'],
1924+
'checksums': [
1925+
{'LWP-Protocol-https-6.14.tar.gz': '59cdeabf26950d4f1bef70f096b0d77c5b1c5a7b5ad1b66d71b681ba279cbb2a'},
1926+
{'LWP-Protocol-https_fix-SSL-test.patch':
1927+
'b7c0adfda628c499dccefee25f783666157ea6793a40dfcc0b06827d6ab8588e'},
1928+
],
19241929
}),
19251930
('Module::Load', '0.36', {
19261931
'source_tmpl': 'Module-Load-%(version)s.tar.gz',

easybuild/easyconfigs/p/Perl-bundle-CPAN/Perl-bundle-CPAN-5.40.2-GCCcore-14.3.0.eb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,9 +1927,14 @@ exts_list = [
19271927
'checksums': ['adeac0752440b2da094e8036bab6c857e22172457658868f5ac364f0c7b35481'],
19281928
}),
19291929
('LWP::Protocol::https', '6.14', {
1930-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
19311930
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1932-
'checksums': ['59cdeabf26950d4f1bef70f096b0d77c5b1c5a7b5ad1b66d71b681ba279cbb2a'],
1931+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
1932+
'patches': ['LWP-Protocol-https_fix-SSL-test.patch'],
1933+
'checksums': [
1934+
{'LWP-Protocol-https-6.14.tar.gz': '59cdeabf26950d4f1bef70f096b0d77c5b1c5a7b5ad1b66d71b681ba279cbb2a'},
1935+
{'LWP-Protocol-https_fix-SSL-test.patch':
1936+
'b7c0adfda628c499dccefee25f783666157ea6793a40dfcc0b06827d6ab8588e'},
1937+
],
19331938
}),
19341939
('Module::Load', '0.36', {
19351940
'source_tmpl': 'Module-Load-%(version)s.tar.gz',

easybuild/easyconfigs/p/Perl/Perl-5.34.0-GCCcore-11.2.0.eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,8 +1625,8 @@ exts_list = [
16251625
'checksums': ['bba7b32a1cc0d58ce2ec20b200a7347c69631641e8cae8ff4567ad24ef1e833e'],
16261626
}),
16271627
('LWP::Protocol::https', '6.10', {
1628-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
16291628
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1629+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
16301630
'checksums': ['cecfc31fe2d4fc854cac47fce13d3a502e8fdfe60c5bc1c09535743185f2a86c'],
16311631
}),
16321632
('Module::Load', '0.36', {

easybuild/easyconfigs/p/Perl/Perl-5.34.1-GCCcore-11.3.0.eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1730,8 +1730,8 @@ exts_list = [
17301730
'checksums': ['bba7b32a1cc0d58ce2ec20b200a7347c69631641e8cae8ff4567ad24ef1e833e'],
17311731
}),
17321732
('LWP::Protocol::https', '6.10', {
1733-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
17341733
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1734+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
17351735
'checksums': ['cecfc31fe2d4fc854cac47fce13d3a502e8fdfe60c5bc1c09535743185f2a86c'],
17361736
}),
17371737
('Module::Load', '0.36', {

easybuild/easyconfigs/p/Perl/Perl-5.36.0-GCCcore-12.1.0.eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,8 +1722,8 @@ exts_list = [
17221722
'checksums': ['bba7b32a1cc0d58ce2ec20b200a7347c69631641e8cae8ff4567ad24ef1e833e'],
17231723
}),
17241724
('LWP::Protocol::https', '6.10', {
1725-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
17261725
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1726+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
17271727
'checksums': ['cecfc31fe2d4fc854cac47fce13d3a502e8fdfe60c5bc1c09535743185f2a86c'],
17281728
}),
17291729
('Module::Load', '0.36', {

easybuild/easyconfigs/p/Perl/Perl-5.36.0-GCCcore-12.2.0.eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1730,8 +1730,8 @@ exts_list = [
17301730
'checksums': ['bba7b32a1cc0d58ce2ec20b200a7347c69631641e8cae8ff4567ad24ef1e833e'],
17311731
}),
17321732
('LWP::Protocol::https', '6.10', {
1733-
'source_tmpl': 'LWP-Protocol-https-%(version)s.tar.gz',
17341733
'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'],
1734+
'sources': ['LWP-Protocol-https-%(version)s.tar.gz'],
17351735
'checksums': ['cecfc31fe2d4fc854cac47fce13d3a502e8fdfe60c5bc1c09535743185f2a86c'],
17361736
}),
17371737
('Module::Load', '0.36', {

0 commit comments

Comments
 (0)