[99685] trunk/dports/lang/ruby19/Portfile

kimuraw at macports.org kimuraw at macports.org
Wed Nov 14 03:56:04 PST 2012


Revision: 99685
          https://trac.macports.org/changeset/99685
Author:   kimuraw at macports.org
Date:     2012-11-14 03:56:04 -0800 (Wed, 14 Nov 2012)
Log Message:
-----------
lang/ruby19: upgrade to 1.9.3-p327, includes fix for CVE-2012-5371

1. upgrade to 1.9.3-p327.
   see http://www.ruby-lang.org/en/news/2012/11/09/ruby-1-9-3-p327-is-released/
2. swap symlinks and binaries of +nosuffix.  port:ruby19 always installs
   suffixed commands as executables.  this change is a part of preparation for
   `port select ruby'.

Modified Paths:
--------------
    trunk/dports/lang/ruby19/Portfile

Modified: trunk/dports/lang/ruby19/Portfile
===================================================================
--- trunk/dports/lang/ruby19/Portfile	2012-11-14 11:17:29 UTC (rev 99684)
+++ trunk/dports/lang/ruby19/Portfile	2012-11-14 11:56:04 UTC (rev 99685)
@@ -3,7 +3,7 @@
 PortSystem			1.0
 
 name				ruby19
-version				1.9.3-p286
+version				1.9.3-p327
 revision			0
 
 categories			lang ruby
@@ -26,10 +26,10 @@
 use_bzip2			yes
 distname			ruby-${version}
 
-checksums			md5 e76848a86606a4fd5dcf14fc4b4e755e \
-					rmd160 5ca0dbc1f2d046954f0ce20af76a01ece78cd3f2 \
-					sha1 095c783c88965c6e72b1f3484c50c60207b60bfa \
-					sha256 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64
+checksums			md5 7d602aba93f31ceef32800999855fbca \
+					rmd160 5cd8317a3bdfeb7d6faef4f2ae49193292a60031 \
+					sha1 7fbacfc960ef76d98c83f20eb31c71d6aaf9a5a6 \
+					sha256 d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488
 use_parallel_build	no
 
 depends_lib			port:libiconv \
@@ -109,11 +109,10 @@
 
 variant nosuffix description "Don't add the 1.9 program suffix to the executables" {
     conflicts ruby ruby186 rb-rubygems rb-rake
-		configure.args-delete           --program-suffix=1.9
     post-destroot {
-        # install suffixed binaries to build rb19-* packages.
+        # make symlinks no-suffixed binaries
         foreach file {erb gem irb rake rdoc ri ruby testrb} {
-            ln -s ${prefix}/bin/${file} ${destroot}${prefix}/bin/${file}1.9
+            ln -s ${prefix}/bin/${file}1.9 ${destroot}${prefix}/bin/${file}
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121114/42941e11/attachment-0001.html>


More information about the macports-changes mailing list