summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2015-10-14 18:41:42 +0000
committersevan <sevan@pkgsrc.org>2015-10-14 18:41:42 +0000
commit4116e2e50cad92d445b9f0156999a3712934d206 (patch)
treea5fb993aa0eaa8040f53a7e744926174393fe19d /lang
parented899701d54ae86b39db7bec552aa92aa864257c (diff)
downloadpkgsrc-4116e2e50cad92d445b9f0156999a3712934d206.tar.gz
Missed new addition in previous commit
Add checks for the presence of SSLv3 in OpenSSL/LibreSSL - obtained from http://www.libressl.org/patches.html
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18-base/patches/patch-ext_openssl_extconf.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/ruby18-base/patches/patch-ext_openssl_extconf.rb b/lang/ruby18-base/patches/patch-ext_openssl_extconf.rb
new file mode 100644
index 00000000000..95fde1122de
--- /dev/null
+++ b/lang/ruby18-base/patches/patch-ext_openssl_extconf.rb
@@ -0,0 +1,16 @@
+$NetBSD: patch-ext_openssl_extconf.rb,v 1.1 2015/10/14 18:41:42 sevan Exp $
+
+Check for SSLv3 support as it may nolonger be available.
+
+--- ext/openssl/extconf.rb.orig Sat Oct 10 17:37:29 2015
++++ ext/openssl/extconf.rb
+@@ -103,6 +103,9 @@ end
+ have_func("SSLv2_method")
+ have_func("SSLv2_server_method")
+ have_func("SSLv2_client_method")
++have_func("SSLv3_method")
++have_func("SSLv3_server_method")
++have_func("SSLv3_client_method")
+ unless have_func("SSL_set_tlsext_host_name", ['openssl/ssl.h'])
+ have_macro("SSL_set_tlsext_host_name", ['openssl/ssl.h']) && $defs.push("-DHAVE_SSL_SET_TLSEXT_HOST_NAME")
+ end