[143738] trunk/dports/lang/ruby22
kimuraw at macports.org
kimuraw at macports.org
Sat Dec 19 17:29:15 PST 2015
Revision: 143738
https://trac.macports.org/changeset/143738
Author: kimuraw at macports.org
Date: 2015-12-19 17:29:15 -0800 (Sat, 19 Dec 2015)
Log Message:
-----------
lang/ruby22: upgrade to 2.2.4, includes fix for CVE-2015-7551
delete files/leopard.patch, the problem was fixed at 2.2.4.
https://bugs.ruby-lang.org/issues/11591
Modified Paths:
--------------
trunk/dports/lang/ruby22/Portfile
Removed Paths:
-------------
trunk/dports/lang/ruby22/files/leopard.patch
Modified: trunk/dports/lang/ruby22/Portfile
===================================================================
--- trunk/dports/lang/ruby22/Portfile 2015-12-20 01:23:15 UTC (rev 143737)
+++ trunk/dports/lang/ruby22/Portfile 2015-12-20 01:29:15 UTC (rev 143738)
@@ -5,7 +5,7 @@
PortGroup select 1.0
name ruby22
-version 2.2.3
+version 2.2.4
revision 0
categories lang ruby
@@ -26,10 +26,10 @@
use_bzip2 yes
distname ruby-${version}
-checksums md5 f49a734729a71774d4a94a9a603114b2 \
- rmd160 048769272df86969a6848234bc3a1a1968a6e47c \
- sha1 59fe80aeeb518ffb396bb1df74b47b25541fb207 \
- sha256 c745cb98b29127d7f19f1bf9e0a63c384736f4d303b83c4f4bda3c2ee3c5e41f
+checksums md5 c3d65f6d2ebe90dda81a37885ea244f5 \
+ rmd160 012fa73d430db36e5b807cd677a961d6e2700758 \
+ sha1 6132840a859dbf2ac1498ba313021f299a870038 \
+ sha256 31203696adbfdda6f2874a2de31f7c5a1f3bcb6628f4d1a241de21b158cd5c76
use_parallel_build no
depends_lib port:readline \
@@ -45,9 +45,6 @@
select.group ruby
select.file ${filespath}/ruby22
-patchfiles \
- leopard.patch
-
configure.args --enable-shared \
--disable-install-doc \
--mandir="${prefix}/share/man" \
@@ -75,7 +72,7 @@
post-destroot {
foreach type {site vendor} {
- set libdir ${destroot}${prefix}/lib/ruby2.1/${type}_ruby/2.1.0
+ set libdir ${destroot}${prefix}/lib/ruby2.2/${type}_ruby/2.2.0
xinstall -m 0755 -d ${libdir}
}
@@ -83,9 +80,9 @@
destroot.keepdirs-append ${subdir}
}
- # install destination of commands from port:rb21-*
- xinstall -m 0755 -d ${destroot}${prefix}/libexec/ruby2.1
- destroot.keepdirs-append ${destroot}${prefix}/libexec/ruby2.1
+ # install destination of commands from port:rb22-*
+ xinstall -m 0755 -d ${destroot}${prefix}/libexec/ruby2.2
+ destroot.keepdirs-append ${destroot}${prefix}/libexec/ruby2.2
}
variant doc description "Install rdoc indexes and C API documents" {
Deleted: trunk/dports/lang/ruby22/files/leopard.patch
===================================================================
--- trunk/dports/lang/ruby22/files/leopard.patch 2015-12-20 01:23:15 UTC (rev 143737)
+++ trunk/dports/lang/ruby22/files/leopard.patch 2015-12-20 01:29:15 UTC (rev 143738)
@@ -1,11 +0,0 @@
---- vm_dump.c.orig 2015-11-27 20:36:34.000000000 -0800
-+++ vm_dump.c 2015-11-27 20:37:52.000000000 -0800
-@@ -436,7 +436,7 @@ rb_vmdebug_thread_dump_state(VALUE self)
- # ifdef HAVE_LIBUNWIND
- # undef backtrace
- # define backtrace unw_backtrace
--# elif defined(__APPLE__) && defined(__x86_64__)
-+# elif defined(__APPLE__) && defined(__x86_64__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1060
- # define UNW_LOCAL_ONLY
- # include <libunwind.h>
- # undef backtrace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151219/8ebc666a/attachment-0001.html>
More information about the macports-changes
mailing list