[113807] trunk/dports/lang/ruby20

kimuraw at macports.org kimuraw at macports.org
Sat Nov 23 16:19:52 PST 2013


Revision: 113807
          https://trac.macports.org/changeset/113807
Author:   kimuraw at macports.org
Date:     2013-11-23 16:19:52 -0800 (Sat, 23 Nov 2013)
Log Message:
-----------
lang/ruby20: upgrade to 2.0.0-p353, includes fix of CVE-2013-4164

https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/

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

Removed Paths:
-------------
    trunk/dports/lang/ruby20/files/patch-ruby-list-49520.diff

Modified: trunk/dports/lang/ruby20/Portfile
===================================================================
--- trunk/dports/lang/ruby20/Portfile	2013-11-23 22:49:25 UTC (rev 113806)
+++ trunk/dports/lang/ruby20/Portfile	2013-11-24 00:19:52 UTC (rev 113807)
@@ -5,8 +5,8 @@
 PortGroup           select 1.0
 
 name                ruby20
-version             2.0.0-p247
-revision            1
+version             2.0.0-p353
+revision            0
 
 categories          lang ruby
 maintainers         kimuraw openmaintainer
@@ -26,10 +26,10 @@
 use_bzip2           yes
 distname            ruby-${version}
 
-checksums           md5 60913f3eec0c4071f44df42600be2604 \
-                    rmd160 4a3b6653f17c145c6938c538022c199f830a0dee \
-                    sha1 9d3e5758c87a2c8016aec246f278b7551f8cb675 \
-                    sha256 08e3d4b85b8a1118a8e81261f59dd8b4ddcfd70b6ae554e0ec5ceb99c3185e8a
+checksums           md5 20eb8f067d20f6b76b7e16cce2a85a55 \
+                    rmd160 e12445ef618953c89d1c198899b6a3a959fc55f2 \
+                    sha1 0be863f1c39d7764c52cbb79ca06105743e27c42 \
+                    sha256 3de4e4d9aff4682fa4f8ed2b70bd0d746fae17452fc3d3a8e8f505ead9105ad9
 use_parallel_build  no
 
 depends_lib         port:readline \
@@ -59,11 +59,8 @@
 # Port "ruby" and "ruby19" does the same.
 configure.env-append UNAME_RELEASE=${os.major}
 
-# configure: fix build error at verconf.h. patch from trunk.
 # ext/tk/extconf.rb: fix build error with tk variant
-# ruby-list:49520: fix mactk variant does not work
-patchfiles          patch-ext-tk-extconf.rb.diff \
-                    patch-ruby-list-49520.diff
+patchfiles          patch-ext-tk-extconf.rb.diff
 
 # Add the architecture flag as required
 if {[info exists build_arch] && ${build_arch} != ""} {
@@ -83,14 +80,6 @@
     # install destination of commands from port:rb-*
     xinstall -m 0755 -d ${destroot}${prefix}/libexec/ruby2.0
     destroot.keepdirs-append ${destroot}${prefix}/libexec/ruby2.0
-
-#    # error at activate, for these case sensitive files
-#   foreach rdoc {Exception2MessageMapper/fail-i.yaml \
-#                 REXML/Parsers/XPathParser/predicate-i.yaml} {
-#       if {[file exists ${destroot}${prefix}/share/ri1.9/1.9.1/system/${rdoc}]} {
-#           delete ${destroot}${prefix}/share/ri1.9/1.9.1/system/${rdoc}
-#       }
-#   }
 }
 
 variant doc description "Install rdoc indexes and C API documents" {

Deleted: trunk/dports/lang/ruby20/files/patch-ruby-list-49520.diff
===================================================================
--- trunk/dports/lang/ruby20/files/patch-ruby-list-49520.diff	2013-11-23 22:49:25 UTC (rev 113806)
+++ trunk/dports/lang/ruby20/files/patch-ruby-list-49520.diff	2013-11-24 00:19:52 UTC (rev 113807)
@@ -1,11 +0,0 @@
---- ext/tk/extconf.rb.orig	2013-08-22 00:39:29.000000000 +0900
-+++ ext/tk/extconf.rb	2013-08-22 21:19:22.000000000 +0900
-@@ -315,7 +315,7 @@
-   paths.map{|dir| dir.strip.chomp('/')}.each{|dir|
-     next unless File.exist?(File.join(dir, "Tcl.framework", "Headers"))
-     next unless File.directory?(tcldir = File.join(dir, "Tcl.framework"))
--    next unless File.exist?(File.join(dir, "Tk.framework"), "Headers")
-+    next unless File.exist?(File.join(dir, "Tk.framework", "Headers"))
-     next unless File.directory?(tkdir  = File.join(dir, "Tk.framework"))
-     TkLib_Config["tcltk-framework"] = dir
-     return [tcldir, tkdir]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131123/8674cda7/attachment.html>


More information about the macports-changes mailing list