<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/141cee5817cb5683caf3da1a059255771ed7a350">https://github.com/macports/macports-ports/commit/141cee5817cb5683caf3da1a059255771ed7a350</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 141cee5817c p5-crypt-ssleay: openssl 1.1 compatibility
</span>141cee5817c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 141cee5817cb5683caf3da1a059255771ed7a350
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Feb 3 00:45:30 2021 +1100
<span style='display:block; white-space:pre;color:#404040;'> p5-crypt-ssleay: openssl 1.1 compatibility
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/61603
</span>---
perl/p5-crypt-ssleay/Portfile | 3 ++-
perl/p5-crypt-ssleay/files/openssl-1.1.patch | 25 +++++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-crypt-ssleay/Portfile b/perl/p5-crypt-ssleay/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c3cc45a5c65..2cec2a74f1c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-crypt-ssleay/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-crypt-ssleay/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,7 +26,8 @@ if {${perl5.major} != ""} {
</span> port:p${perl5.major}-lwp-protocol-https \
port:p${perl5.major}-mime-base64
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-default-inc-excludes-dot.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-default-inc-excludes-dot.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openssl-1.1.patch
</span>
configure.env C_INCLUDE_PATH=${prefix}/include \
LIBRARY_PATH=${prefix}/lib
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-crypt-ssleay/files/openssl-1.1.patch b/perl/p5-crypt-ssleay/files/openssl-1.1.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8865a51e10e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-crypt-ssleay/files/openssl-1.1.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- SSLeay.xs.orig 2014-04-24 08:36:24.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ SSLeay.xs 2021-02-03 00:41:30.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -145,21 +145,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ RAND_seed(buf, CRYPT_SSLEAY_RAND_BUFSIZE);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if(ssl_version == 23) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ctx = SSL_CTX_new(SSLv23_client_method());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else if(ssl_version == 3) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ctx = SSL_CTX_new(SSLv3_client_method());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef OPENSSL_NO_SSL2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* v2 is the default */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ctx = SSL_CTX_new(SSLv2_client_method());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* v3 is the default */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ctx = SSL_CTX_new(SSLv3_client_method());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ctx = SSL_CTX_new(SSLv23_client_method());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SSL_CTX_set_options(ctx,SSL_OP_ALL|0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SSL_CTX_set_default_verify_paths(ctx);
</span></pre><pre style='margin:0'>
</pre>