[71991] trunk/dports/ruby/rb-rabbit

kimuraw at macports.org kimuraw at macports.org
Wed Sep 29 09:14:08 PDT 2010


Revision: 71991
          http://trac.macports.org/changeset/71991
Author:   kimuraw at macports.org
Date:     2010-09-29 09:14:06 -0700 (Wed, 29 Sep 2010)
Log Message:
-----------
ruby/rb-rabbit: upgrade to 0.9.0

Modified Paths:
--------------
    trunk/dports/ruby/rb-rabbit/Portfile

Added Paths:
-----------
    trunk/dports/ruby/rb-rabbit/files/
    trunk/dports/ruby/rb-rabbit/files/patch-lib-rabbit-source-rwiki.rb.diff

Modified: trunk/dports/ruby/rb-rabbit/Portfile
===================================================================
--- trunk/dports/ruby/rb-rabbit/Portfile	2010-09-29 15:48:35 UTC (rev 71990)
+++ trunk/dports/ruby/rb-rabbit/Portfile	2010-09-29 16:14:06 UTC (rev 71991)
@@ -3,7 +3,7 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		rabbit 0.6.5 setup.rb {README.en sample misc}
+ruby.setup		rabbit 0.9.0 setup.rb {README.en sample misc}
 revision		0
 maintainers		kimuraw
 description		An application to do presentation with RD document.
@@ -27,6 +27,12 @@
 # rabbiter requires tweetstream and password
 depends_lib-append	port:rb-tweetstream port:rb-password
 
+# disable source rwiki to avoid crash with openssl-1.0.0.
+# port:glib2 is linking /usr/lib/libcrypto.0.9.8.dylib via Carbon.framework.
+# ruby is a flat namespace program. We face problems wheh ruby loads both of
+# libcrypto.0.9.8.dylib from MacOSX and libcrypto.1.0.0.dylib from MacPorts.
+patchfiles			patch-lib-rabbit-source-rwiki.rb.diff
+
 post-build {
 	reinplace "s|^#!.*ruby|#!${ruby.bin}|" \
 		${worksrcpath}/bin/rabbit \
@@ -34,16 +40,16 @@
 		${worksrcpath}/bin/rabbit-theme-manager \
 		${worksrcpath}/bin/rabrick \
 		${worksrcpath}/bin/rabbirc \
-		${worksrcpath}/bin/rabbitter
+		${worksrcpath}/bin/rabbiter
 }
 post-destroot {
 	delete "${destroot}${prefix}/bin/rabbit.bat"
 }
 
 master_sites    http://www.cozmixng.org/~kou/download/
-checksums		md5 9d2122bdae51afa3c34f7e7406c4e2ce \
-				rmd160 c7acf78ea025dc65d4e78ed94971c3fe130413b9 \
-				sha1 8533d55a3ae51a05360cd2fc73cf4f80d814c969
+checksums		md5 09a7acdf58cfbcbe47cdd2e9bc573954 \
+				rmd160 845c825e2d1db3a94533616d9657aa7dcadcaea1 \
+				sha1 da4734ac42c1c0b68ef623eb2740dcf66cd22b30
 
 livecheck.type	regex
 livecheck.url	http://raa.ruby-lang.org/project/rabbit/

Added: trunk/dports/ruby/rb-rabbit/files/patch-lib-rabbit-source-rwiki.rb.diff
===================================================================
--- trunk/dports/ruby/rb-rabbit/files/patch-lib-rabbit-source-rwiki.rb.diff	                        (rev 0)
+++ trunk/dports/ruby/rb-rabbit/files/patch-lib-rabbit-source-rwiki.rb.diff	2010-09-29 16:14:06 UTC (rev 71991)
@@ -0,0 +1,9 @@
+--- lib/rabbit/source/rwiki.rb.orig	2010-09-26 12:42:39.000000000 +0900
++++ lib/rabbit/source/rwiki.rb	2010-09-30 00:58:52.000000000 +0900
+@@ -1,3 +1,6 @@
++# avoid crash with openssl
++# http://www.cozmixng.org/~w3ml/index.rb/rabbit-shockers/msg/793 (in Japanese)
++raise LoadError
+ require 'rabbit/source/base'
+ require 'rwiki/soap/driver'
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100929/af731ea7/attachment.html>


More information about the macports-changes mailing list