components/ruby/ruby-21/patches/09-ext_openssl_extconf_rb.patch
author April Chin <april.chin@oracle.com>
Sat, 11 Jul 2015 09:17:55 -0700
changeset 4632 8152228598dc
permissions -rw-r--r--
21418284 ruby doesn't build on s11u3-26 and s12-78
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4632
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     1
Fixes problem with deprecated SSLv2 functions in Solaris.
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     2
Patch was developed in-house; it is Solaris specific and
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     3
will not be contributed upstream.
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     4
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     5
--- ruby-2.1.6-orig/ext/openssl/extconf.rb	2013-10-27 23:32:24.000000000 -0700
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     6
+++ ruby-2.1.6/ext/openssl/extconf.rb	2015-07-10 13:55:14.910884056 -0700
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     7
@@ -100,9 +100,12 @@ have_func("OBJ_NAME_do_all_sorted")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     8
 have_func("SSL_SESSION_get_id")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
     9
 have_func("SSL_SESSION_cmp")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    10
 have_func("OPENSSL_cleanse")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    11
+=begin
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    12
+These functions are deprecated in Solaris
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    13
 have_func("SSLv2_method")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    14
 have_func("SSLv2_server_method")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    15
 have_func("SSLv2_client_method")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    16
+=end
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    17
 have_func("TLSv1_1_method")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    18
 have_func("TLSv1_1_server_method")
8152228598dc 21418284 ruby doesn't build on s11u3-26 and s12-78
April Chin <april.chin@oracle.com>
parents:
diff changeset
    19
 have_func("TLSv1_1_client_method")