Files
gentoo/dev-perl/Net-SSLeay/files/Net-SSLeay-1.88-fix-network-tests.patch
Stefan Strogin 19f6b8c827 dev-perl/Net-SSLeay: Bump version to 1.880.0
- Restore previously broken tests
- CFLAGS repsect logic reworked for upstream tooling changes
- LIBDIR respect logic reworked for upstream tooling changes
- NETWORK_TESTS handling logic reworked for upstream tooling changes

Upstream:
- Clarify licensing to be consistently Artistic-2
- Improved OpenSSL 1.1.1 support
- Improved TLS 1.3 support
- Fixed memory leaks in cb_data_advanced_put

Bug: https://rt.cpan.org/Ticket/Display.html?id=106314
Bug: https://rt.cpan.org/Ticket/Display.html?id=128207
Closes: https://bugs.gentoo.org/556010
Closes: https://bugs.gentoo.org/684308
Closes: https://bugs.gentoo.org/686730
Closes: https://github.com/gentoo/gentoo/pull/12101
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Stefan Strogin <steils@gentoo.org>
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
2019-07-10 20:13:00 +12:00

18 lines
600 B
Diff

diff --git a/Makefile.PL b/Makefile.PL
index 31d9c74..91ac2b4 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -12,11 +12,7 @@ use Symbol qw(gensym);
# the Net-SSLeay loadable object on Windows
my $win_link_statically = 0;
-my $tests = prompt(
- "Do you want to run external tests?\n".
- "These tests *will* *fail* if you do not have network connectivity.",
- 'n',
-) =~ /^y/i ? 't/*/*.t t/*/*/*.t' : 't/local/*.t t/handle/local/*.t';
+my $tests = ( 'yes' eq ( $ENV{NETWORK_TESTS} || '' ) ) ? 't/*/*.t t/*/*/*.t' : 't/local/*.t t/handle/local/*.t';
my %eumm_args = (
NAME => 'Net::SSLeay',