pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Update ruby22-base and ruby22 to 2.2.7.
details: https://anonhg.NetBSD.org/pkgsrc/rev/91e3c4b8c890
branches: trunk
changeset: 360885:91e3c4b8c890
user: taca <taca%pkgsrc.org@localhost>
date: Sun Apr 09 15:49:50 2017 +0000
description:
Update ruby22-base and ruby22 to 2.2.7.
Ruby 2.2.7 Released 2017/3/28
Ruby 2.2.7 has been released.
This release includes about 70 bug fixes after the previous release. See the
ChangeLog for details.
After this release, we will end the normal maintenance phase of Ruby 2.2, and
start the security maintenance phase of it. This means that after the release
of 2.2.7 we will never backport any bug fixes to 2.2 except security fixes.
The term of the security maintenance phase is scheduled for 1 year. By the
end of this term, official support of Ruby 2.2 will be over. Therefore, we
recommend that you start planning to upgrade to Ruby 2.4 or 2.3.
diffstat:
lang/ruby/files/update-gemspec.rb | 3 +-
lang/ruby/rubyversion.mk | 8 +++---
lang/ruby22-base/distinfo | 15 ++++--------
lang/ruby22-base/hacks.mk | 8 +++---
lang/ruby22-base/patches/patch-eval.c | 22 ------------------
lang/ruby22-base/patches/patch-eval__error.c | 17 --------------
lang/ruby22-base/patches/patch-thread.c | 15 ------------
lang/ruby22-base/patches/patch-vm__eval.c | 33 ----------------------------
lang/ruby22-base/patches/patch-vm__trace.c | 13 -----------
9 files changed, 15 insertions(+), 119 deletions(-)
diffs (215 lines):
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby/files/update-gemspec.rb
--- a/lang/ruby/files/update-gemspec.rb Sun Apr 09 15:34:20 2017 +0000
+++ b/lang/ruby/files/update-gemspec.rb Sun Apr 09 15:49:50 2017 +0000
@@ -1,7 +1,7 @@
#!/usr/pkg/bin/ruby
# -*- coding: utf-8 -*-
#
-# $NetBSD: update-gemspec.rb,v 1.8 2016/11/19 13:50:19 taca Exp $
+# $NetBSD: update-gemspec.rb,v 1.9 2017/04/09 15:49:50 taca Exp $
#
# Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -131,6 +131,7 @@
if /^([^=]+)=([^=]+)$/ =~ op
ov = $1
nv = $2
+ puts "#{ov} => #{nv}"
if av.include? ov
av.delete ov
modified = true
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk Sun Apr 09 15:34:20 2017 +0000
+++ b/lang/ruby/rubyversion.mk Sun Apr 09 15:49:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.169 2017/03/20 12:24:22 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.170 2017/04/09 15:49:50 taca Exp $
#
# This file determines which Ruby version is used as a dependency for
@@ -229,13 +229,13 @@
# current supported Ruby's version
RUBY18_VERSION= 1.8.7
RUBY21_VERSION= 2.1.10
-RUBY22_VERSION= 2.2.6
-RUBY23_VERSION= 2.3.3
+RUBY22_VERSION= 2.2.7
+RUBY23_VERSION= 2.3.2
# patch level
RUBY18_PATCHLEVEL= pl374
#RUBY21_PATCHLEVEL= p492
-#RUBY22_PATCHLEVEL= p319
+#RUBY22_PATCHLEVEL= p470
#RUBY23_PATCHLEVEL= p112
# current API compatible version; used for version of shared library
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby22-base/distinfo
--- a/lang/ruby22-base/distinfo Sun Apr 09 15:34:20 2017 +0000
+++ b/lang/ruby22-base/distinfo Sun Apr 09 15:49:50 2017 +0000
@@ -1,12 +1,10 @@
-$NetBSD: distinfo,v 1.16 2016/12/05 15:02:25 taca Exp $
+$NetBSD: distinfo,v 1.17 2017/04/09 15:49:50 taca Exp $
-SHA1 (ruby-2.2.6.tar.bz2) = 67b15fcc394bb1ffb5a7e926dcd6222d8e988188
-RMD160 (ruby-2.2.6.tar.bz2) = f157ece8e73ab9bbc49badb6a5fbb16815ac2af7
-SHA512 (ruby-2.2.6.tar.bz2) = 7a93f72d236521ac28c8a0bc0c73cf805797a8813d22e02f42c5fc05dd39f6e422817272e0db6a24c245f6f97ad4b2b412a9a47ac50156ab186df596918a5f34
-Size (ruby-2.2.6.tar.bz2) = 13378616 bytes
+SHA1 (ruby-2.2.7.tar.bz2) = 0b5b79f55a1e7a7c2f6600e75167c1b9cc435042
+RMD160 (ruby-2.2.7.tar.bz2) = 5aef4d373a0ea7434b7c32098b43ecc6fba542a6
+SHA512 (ruby-2.2.7.tar.bz2) = 83756cd1c91516962b83961e0de59d858618f7ed3e9795f930aab4f199d47a95ed8f867d8aa9b51d508be26d9babf2140117c88241168bac41e6ef702cfadf20
+Size (ruby-2.2.7.tar.bz2) = 13381078 bytes
SHA1 (patch-configure) = ad3d1862a48d12b793fd0062eb357372caa19abc
-SHA1 (patch-eval.c) = a1e86d4ed1729398393e83d519e991259c6163de
-SHA1 (patch-eval__error.c) = cc313587bb24e16e4702f784b30e64618ae3f5a4
SHA1 (patch-ext_dbm_extconf.rb) = ee932265052613d458375ad1a760a09fefb9d959
SHA1 (patch-ext_openssl_ossl__ssl.c) = e887a5576959921da116a5cee629c25610169593
SHA1 (patch-lib_mkmf.rb) = f86f1ae5a1053a0643545a2c11c9fd2bbd5a289d
@@ -25,7 +23,4 @@
SHA1 (patch-man_ri.1) = b07be05375977cfac0f88765a95e85db4f858885
SHA1 (patch-man_ruby.1) = 88ca6703fd58a89726618ca7dfc7912bad312b1c
SHA1 (patch-test_rubygems_test__gem.rb) = 01a36c32e49d518cc68bea5e76c7640451223b61
-SHA1 (patch-thread.c) = 93bba713014dfb92a59ba9715f50f23c5329de6a
SHA1 (patch-tool_rbinstall.rb) = 2bb27173a0e08de94391d56ef2b366a71ee2dc50
-SHA1 (patch-vm__eval.c) = b0739a5e64f99ce3adb86d7d676759cbc3aa7b1b
-SHA1 (patch-vm__trace.c) = 8e992c214b69c6237d4c4418aaba892079f9873e
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby22-base/hacks.mk
--- a/lang/ruby22-base/hacks.mk Sun Apr 09 15:34:20 2017 +0000
+++ b/lang/ruby22-base/hacks.mk Sun Apr 09 15:49:50 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: hacks.mk,v 1.1 2015/03/08 16:24:55 taca Exp $
+# $NetBSD: hacks.mk,v 1.2 2017/04/09 15:49:50 taca Exp $
-.if !defined(RUBY21_BASE_HACKS_MK)
-RUBY21_BASE_HACKS_MK= defined
+.if !defined(RUBY22_BASE_HACKS_MK)
+RUBY22_BASE_HACKS_MK= defined
.include "../../mk/compiler.mk"
@@ -34,4 +34,4 @@
BUILDLINK_TRANSFORM+= opt:-Os:-O1 rm:-freorder-blocks
.endif
-.endif # RUBY21_BASE_HACKS_MK
+.endif # RUBY22_BASE_HACKS_MK
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby22-base/patches/patch-eval.c
--- a/lang/ruby22-base/patches/patch-eval.c Sun Apr 09 15:34:20 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-eval.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
-
---- eval.c.orig 2015-11-16 14:50:49.000000000 +0000
-+++ eval.c
-@@ -743,7 +743,7 @@ rb_rescue2(VALUE (* b_proc) (ANYARGS), V
- {
- int state;
- rb_thread_t *th = GET_THREAD();
-- rb_control_frame_t *cfp = th->cfp;
-+ rb_control_frame_t *volatile cfp = th->cfp;
- volatile VALUE result = Qfalse;
- volatile VALUE e_info = th->errinfo;
- va_list args;
-@@ -809,7 +809,7 @@ rb_protect(VALUE (* proc) (VALUE), VALUE
- volatile VALUE result = Qnil;
- volatile int status;
- rb_thread_t *th = GET_THREAD();
-- rb_control_frame_t *cfp = th->cfp;
-+ rb_control_frame_t * volatile cfp = th->cfp;
- struct rb_vm_protect_tag protect_tag;
- rb_jmpbuf_t org_jmpbuf;
-
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby22-base/patches/patch-eval__error.c
--- a/lang/ruby22-base/patches/patch-eval__error.c Sun Apr 09 15:34:20 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-eval__error.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
-
---- eval_error.c.orig 2015-11-16 15:02:19.000000000 +0000
-+++ eval_error.c
-@@ -80,9 +80,9 @@ static void
- error_print(void)
- {
- volatile VALUE errat = Qundef;
-- rb_thread_t *th = GET_THREAD();
-- VALUE errinfo = th->errinfo;
-- int raised_flag = th->raised_flag;
-+ rb_thread_t * volatile th = GET_THREAD();
-+ volatile VALUE errinfo = th->errinfo;
-+ volatile int raised_flag = th->raised_flag;
- volatile VALUE eclass = Qundef, e = Qundef;
- const char *volatile einfo;
- volatile long elen;
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby22-base/patches/patch-thread.c
--- a/lang/ruby22-base/patches/patch-thread.c Sun Apr 09 15:34:20 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-thread.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
-
---- thread.c.orig 2015-11-16 15:03:41.000000000 +0000
-+++ thread.c
-@@ -420,8 +420,8 @@ rb_threadptr_unlock_all_locking_mutexes(
- void
- rb_thread_terminate_all(void)
- {
-- rb_thread_t *th = GET_THREAD(); /* main thread */
-- rb_vm_t *vm = th->vm;
-+ rb_thread_t *volatile th = GET_THREAD(); /* main thread */
-+ rb_vm_t *volatile vm = th->vm;
-
- if (vm->main_thread != th) {
- rb_bug("rb_thread_terminate_all: called by child thread (%p, %p)",
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby22-base/patches/patch-vm__eval.c
--- a/lang/ruby22-base/patches/patch-vm__eval.c Sun Apr 09 15:34:20 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-vm__eval.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
-
---- vm_eval.c.orig 2015-11-16 14:55:47.000000000 +0000
-+++ vm_eval.c
-@@ -1062,7 +1062,7 @@ rb_iterate(VALUE (* it_proc) (VALUE), VA
- int state;
- volatile VALUE retval = Qnil;
- NODE *node = NEW_IFUNC(bl_proc, data2);
-- rb_thread_t *th = GET_THREAD();
-+ rb_thread_t * volatile th = GET_THREAD();
- rb_control_frame_t *volatile cfp = th->cfp;
-
- node->nd_aid = rb_frame_this_func();
-@@ -1190,7 +1190,7 @@ eval_string_with_cref(VALUE self, VALUE
- int state;
- VALUE result = Qundef;
- VALUE envval;
-- rb_thread_t *th = GET_THREAD();
-+ rb_thread_t *volatile th = GET_THREAD();
- rb_env_t *env = NULL;
- rb_block_t block, *base_block;
- volatile int parse_in_eval;
-@@ -1843,8 +1843,8 @@ rb_catch_protect(VALUE t, rb_block_call_
- {
- int state;
- volatile VALUE val = Qnil; /* OK */
-- rb_thread_t *th = GET_THREAD();
-- rb_control_frame_t *saved_cfp = th->cfp;
-+ rb_thread_t * volatile th = GET_THREAD();
-+ rb_control_frame_t * volatile saved_cfp = th->cfp;
- volatile VALUE tag = t;
-
- TH_PUSH_TAG(th);
diff -r 055b57f8ed41 -r 91e3c4b8c890 lang/ruby22-base/patches/patch-vm__trace.c
--- a/lang/ruby22-base/patches/patch-vm__trace.c Sun Apr 09 15:34:20 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-vm__trace.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
-
---- vm_trace.c.orig 2015-11-16 15:02:00.000000000 +0000
-+++ vm_trace.c
-@@ -390,7 +390,7 @@ rb_suppress_tracing(VALUE (*func)(VALUE)
- volatile int raised;
- volatile int outer_state;
- VALUE result = Qnil;
-- rb_thread_t *th = GET_THREAD();
-+ rb_thread_t * volatile th = GET_THREAD();
- int state;
- const int tracing = th->trace_arg ? 1 : 0;
- rb_trace_arg_t dummy_trace_arg;
Home |
Main Index |
Thread Index |
Old Index