diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-26 11:42:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-26 11:42:28 +0000 |
commit | 89c6c06b8c42107dd231687a1012354e7d3039fc (patch) | |
tree | dad94f4da8a6694f3cb99f7048be2f9cf5f78f97 /dev-perl/Net-SSLeay/files | |
parent | 796cae72cf9ed18ba01256ac1f83a686a2a76036 (diff) |
gentoo resync : 26.11.2017
Diffstat (limited to 'dev-perl/Net-SSLeay/files')
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-fix-libdir.patch b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-fix-libdir.patch new file mode 100644 index 000000000000..43dd224ef2d8 --- /dev/null +++ b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-fix-libdir.patch @@ -0,0 +1,26 @@ +From 7beee46a64a9af1a7edf6bb9011327b4a08e353a Mon Sep 17 00:00:00 2001 +From: Torsten Veller <tove@gentoo.org> +Date: Mon, 16 Jul 2012 05:31:43 +1200 +Subject: Fix libdir + +Bug: https://bugs.gentoo.org/416339 +--- + inc/Module/Install/PRIVATE/Net/SSLeay.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/inc/Module/Install/PRIVATE/Net/SSLeay.pm b/inc/Module/Install/PRIVATE/Net/SSLeay.pm +index 49913e6..0a3aa24 100644 +--- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm ++++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm +@@ -67,7 +67,7 @@ sub ssleay_get_build_opts { + for ("$prefix/include", "$prefix/inc32", '/usr/kerberos/include') { + push @{$opts->{inc_paths}}, $_ if -f "$_/openssl/ssl.h"; + } +- for ($prefix, "$prefix/lib64", "$prefix/lib", "$prefix/out32dll") { ++ for ($prefix, "$prefix/$ENV{LIBDIR}", "$prefix/out32dll") { + push @{$opts->{lib_paths}}, $_ if -d $_; + } + +-- +2.14.3 + diff --git a/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-fix-network-tests.patch b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-fix-network-tests.patch new file mode 100644 index 000000000000..6c3e76858e77 --- /dev/null +++ b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-fix-network-tests.patch @@ -0,0 +1,29 @@ +From 36c14369372f0371e033019c9cea197b31a93bde Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Sat, 5 Mar 2016 12:41:11 +1300 +Subject: Fix network tests re: Networking + +--- + inc/Module/Install/PRIVATE/Net/SSLeay.pm | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/inc/Module/Install/PRIVATE/Net/SSLeay.pm b/inc/Module/Install/PRIVATE/Net/SSLeay.pm +index 0a3aa24..f27b43f 100644 +--- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm ++++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm +@@ -46,11 +46,7 @@ EOM + LIBS => join(' ', (map {"-L$_"} @{$opts->{lib_paths}}), (map {"-l$_"} @{$opts->{lib_links}})), + ); + +- if ( $self->prompt( +- "Do you want to run external tests?\n". +- "These tests *will* *fail* if you do not have network connectivity.", +- 'n', +- ) =~ /^y/i ) { ++ if ( 'yes' eq ( $ENV{NETWORK_TESTS} || '' ) ) { + $self->tests('t/*/*.t t/*/*/*.t'); + } else { + $self->tests('t/local/*.t t/handle/local/*.t'); +-- +2.14.3 + diff --git a/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-respect-cflags.patch b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-respect-cflags.patch new file mode 100644 index 000000000000..03d06b6b8d44 --- /dev/null +++ b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-respect-cflags.patch @@ -0,0 +1,26 @@ +From 8472348e588c16ad5332fe0b1f1dc9cc8eb4ab7d Mon Sep 17 00:00:00 2001 +From: Torsten Veller <tove@gentoo.org> +Date: Mon, 16 Jul 2012 05:31:43 +1200 +Subject: Respect CFLAGS + +Bug: https://bugs.gentoo.org/378657 +--- + inc/Module/Install/PRIVATE/Net/SSLeay.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/inc/Module/Install/PRIVATE/Net/SSLeay.pm b/inc/Module/Install/PRIVATE/Net/SSLeay.pm +index 5abcf70..49913e6 100644 +--- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm ++++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm +@@ -129,7 +129,7 @@ EOM + + if (($Config{cc} =~ /aCC/i) && $^O eq 'hpux') { + print "*** Enabling HPUX aCC options (+e)\n"; +- $opts->{optimize} = '+e -O2 -g'; ++ $opts->{optimize} = '+e ' . $opts->{optimize}; + } + + if ( (($Config{ccname} || $Config{cc}) eq 'gcc') && ($Config{cccdlflags} =~ /-fpic/) ) { +-- +2.14.3 + |