[94833] trunk/dports/lang/ruby19
kimuraw at macports.org
kimuraw at macports.org
Sat Jun 30 20:25:30 PDT 2012
Revision: 94833
https://trac.macports.org/changeset/94833
Author: kimuraw at macports.org
Date: 2012-06-30 20:25:26 -0700 (Sat, 30 Jun 2012)
Log Message:
-----------
lang/ruby19: fix error drbssl with openssl-1.0.1.
Modified Paths:
--------------
trunk/dports/lang/ruby19/Portfile
Added Paths:
-----------
trunk/dports/lang/ruby19/files/patch-lib-drb-ssl.rb.diff
Modified: trunk/dports/lang/ruby19/Portfile
===================================================================
--- trunk/dports/lang/ruby19/Portfile 2012-07-01 00:01:54 UTC (rev 94832)
+++ trunk/dports/lang/ruby19/Portfile 2012-07-01 03:25:26 UTC (rev 94833)
@@ -4,7 +4,7 @@
name ruby19
version 1.9.3-p194
-revision 2
+revision 3
categories lang ruby
maintainers kimuraw openmaintainer
@@ -41,10 +41,13 @@
default_variants +doc
-# https://github.com/rubygems/rubygems/pull/196
-# fix 'Invalid gemspec in [... json-1.6.1.gemspec]: invalid date format in
-# specification: "2011-09-18 00:00:00.000000000Z"'
-patchfiles patch-lib-rubygems-specification.rb.diff
+# lib-rubygems-specification.rb: fix 'Invalid gemspec in [... json-1.6.1.gemspec]: invalid date
+# format in specification: "2011-09-18 00:00:00.000000000Z"'
+# https://github.com/rubygems/rubygems/pull/196
+# lib-drb-ssl.rb: 512bits rsa key is too small for openssl-1.0.1.
+# (http://bugs.ruby-lang.org/issues/6221)
+patchfiles patch-lib-rubygems-specification.rb.diff \
+ patch-lib-drb-ssl.rb.diff
# ruby-1.9.3 supports Xcode-4.2 clang and gcc-4.2.
# ruby built with llvm-gcc will be broken.
Added: trunk/dports/lang/ruby19/files/patch-lib-drb-ssl.rb.diff
===================================================================
--- trunk/dports/lang/ruby19/files/patch-lib-drb-ssl.rb.diff (rev 0)
+++ trunk/dports/lang/ruby19/files/patch-lib-drb-ssl.rb.diff 2012-07-01 03:25:26 UTC (rev 94833)
@@ -0,0 +1,13 @@
+Index: lib/drb/ssl.rb
+===================================================================
+--- lib/drb/ssl.rb (revision 35410)
++++ lib/drb/ssl.rb (working copy)
+@@ -54,7 +54,7 @@
+ return
+ end
+
+- rsa = OpenSSL::PKey::RSA.new(512){|p, n|
++ rsa = OpenSSL::PKey::RSA.new(1024){|p, n|
+ next unless self[:verbose]
+ case p
+ when 0; $stderr.putc "." # BN_generate_prime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120630/aea60b82/attachment.html>
More information about the macports-changes
mailing list