commit ruby2.2 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.2 for openSUSE:Factory checked in at 2017-06-18 13:49:24 Comparing /work/SRC/openSUSE:Factory/ruby2.2 (Old) and /work/SRC/openSUSE:Factory/.ruby2.2.new (New) Package is "ruby2.2" Sun Jun 18 13:49:24 2017 rev:9 rq:503538 version:2.2.6 Changes: --- /work/SRC/openSUSE:Factory/ruby2.2/ruby2.2.changes 2017-03-31 15:00:54.545149069 +0200 +++ /work/SRC/openSUSE:Factory/.ruby2.2.new/ruby2.2.changes 2017-06-18 13:49:56.614591623 +0200 @@ -1,0 +2,5 @@ +Fri Jun 9 07:03:09 UTC 2017 - meiss...@suse.com + +- forcefully enable PIE here + +--- Other differences: -- ++ ruby2.2.spec ++ --- /var/tmp/diff_new_pack.9r0fLl/_old 2017-06-18 13:49:57.470471185 +0200 +++ /var/tmp/diff_new_pack.9r0fLl/_new 2017-06-18 13:49:57.470471185 +0200 @@ -1,7 +1,7 @@ # # spec file for package ruby2.2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -306,7 +306,7 @@ %build # iseq.c needs -fno-strict-aliasing -export CFLAGS="%{optflags} -fno-strict-aliasing" +export CFLAGS="%{optflags} -fno-strict-aliasing -fPIE -pie" %configure \ --program-suffix="%{rb_binary_suffix}" \ --with-soname=%{rb_soname} \
commit ruby2.2 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.2 for openSUSE:Factory checked in at 2017-03-31 15:00:52 Comparing /work/SRC/openSUSE:Factory/ruby2.2 (Old) and /work/SRC/openSUSE:Factory/.ruby2.2.new (New) Package is "ruby2.2" Fri Mar 31 15:00:52 2017 rev:8 rq:481787 version:2.2.6 Changes: --- /work/SRC/openSUSE:Factory/ruby2.2/ruby2.2.changes 2017-01-10 10:34:51.840268789 +0100 +++ /work/SRC/openSUSE:Factory/.ruby2.2.new/ruby2.2.changes 2017-03-31 15:00:54.545149069 +0200 @@ -1,0 +2,25 @@ +Tue Mar 21 12:40:39 UTC 2017 - mrueck...@suse.de + +- added patch by rguenther@ to fix building with GCC7: + 0005-RB_GC_GUARD-stronger-than-gcc7.patch + +--- +Thu Mar 16 15:53:48 UTC 2017 - mrueck...@suse.de + +- switched to git branch based patching. we replace all patches in + this round: + removed: + - 0001-GC-Use-__builtin_ppc_get_timebase-for-POWER-arch.patch + - make-gem-build-reproducible.patch + - ruby-1.9.2p290_tcl_no_stupid_rpaths.patch + + - ruby2.2.x_rbinstall_gem_buildroot.patch (unused) + - rubygems-1.5.0_buildroot.patch (unused) + added: + - 0001-tcl-no-stupid-rpaths.patch + - 0002-make-gem-build-reproducible.patch + - 0003-gc.c-tick-for-POWER-arch.patch +- added 0004-manual-backport-for-CVE-2016-2339.patch + CVE-2016-2339 (boo#1018808) + +--- Old: 0001-GC-Use-__builtin_ppc_get_timebase-for-POWER-arch.patch make-gem-build-reproducible.patch ruby-1.9.2p290_tcl_no_stupid_rpaths.patch ruby2.2.x_rbinstall_gem_buildroot.patch rubygems-1.5.0_buildroot.patch New: 0001-tcl-no-stupid-rpaths.patch 0002-make-gem-build-reproducible.patch 0003-gc.c-tick-for-POWER-arch.patch 0004-manual-backport-for-CVE-2016-2339.patch 0005-RB_GC_GUARD-stronger-than-gcc7.patch Other differences: -- ++ ruby2.2.spec ++ --- /var/tmp/diff_new_pack.i8Kh2D/_old 2017-03-31 15:00:56.508871472 +0200 +++ /var/tmp/diff_new_pack.i8Kh2D/_new 2017-03-31 15:00:56.512870907 +0200 @@ -114,13 +114,11 @@ Source3:%{name}-default.macros Source99: %{name}-rpmlintrc -# to be regenerated patches? -Source100: rubygems-1.5.0_buildroot.patch -Source101: ruby2.2.x_rbinstall_gem_buildroot.patch - -Patch0: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch -Patch1: make-gem-build-reproducible.patch -Patch2: 0001-GC-Use-__builtin_ppc_get_timebase-for-POWER-arch.patch +Patch01:0001-tcl-no-stupid-rpaths.patch +Patch02:0002-make-gem-build-reproducible.patch +Patch03:0003-gc.c-tick-for-POWER-arch.patch +Patch04:0004-manual-backport-for-CVE-2016-2339.patch +Patch05:0005-RB_GC_GUARD-stronger-than-gcc7.patch # Summary:An Interpreted Object-Oriented Scripting Language License:BSD-2-Clause or Ruby @@ -297,9 +295,11 @@ %prep %setup -q -n ruby-%{pkg_version} -%patch0 -%patch1 -p1 -%patch2 -p1 +%patch01 -p1 +%patch02 -p1 +%patch03 -p1 +%patch04 -p1 +%patch05 -p1 find sample -type f -print0 | xargs -r0 chmod a-x grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \ | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby%{rb_binary_suffix} $1|' ++ 0001-tcl-no-stupid-rpaths.patch ++ >From bdcc1e3113b2595e531d785c3fcb57898cc4843b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20R=C3=BCckert?=Date: Wed, 8 Mar 2017 17:56:36 +0100 Subject: [PATCH 1/5] tcl no stupid rpaths --- ext/tk/extconf.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb index c6a2dd52ff..c29d8541fe 100644 --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -224,9 +224,7 @@ def get_shlib_path_head else [ - '/opt', '/pkg', '/share', - '/usr/local/opt', '/usr/local/pkg', '/usr/local/share', '/usr/local', - '/usr/opt', '/usr/pkg', '/usr/share', '/usr/contrib', '/usr' + '/usr' ].each{|dir| next unless File.directory?(dir) -- 2.12.0 ++ 0002-make-gem-build-reproducible.patch ++ >From e955cdc91a10ee969e7400e4ebcb24c8b75b953e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20R=C3=BCckert?= Date: Wed, 8 Mar 2017 17:56:58 +0100 Subject: [PATCH 2/5] make gem build reproducible --- lib/rubygems/package.rb| 4 lib/rubygems/package/tar_writer.rb | 9 ++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/rubygems/package.rb b/lib/rubygems/package.rb index e8b8b38b06..b5a876c1be 100644 --- a/lib/rubygems/package.rb +++ b/lib/rubygems/package.rb @@ -108,9 +108,12 @@ class Gem::Package def self.build spec, skip_validation=false
commit ruby2.2 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.2 for openSUSE:Factory checked in at 2016-05-10 09:24:50 Comparing /work/SRC/openSUSE:Factory/ruby2.2 (Old) and /work/SRC/openSUSE:Factory/.ruby2.2.new (New) Package is "ruby2.2" Changes: --- /work/SRC/openSUSE:Factory/ruby2.2/ruby2.2.changes 2016-04-03 23:06:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.ruby2.2.new/ruby2.2.changes 2016-05-10 09:24:52.0 +0200 @@ -1,0 +2,310 @@ +Wed Apr 27 12:40:01 UTC 2016 - mrueck...@suse.de + +- update to 2.2.5 + - README.EXT{,.ja}: `nul` should be uppercase. change 'nul' => +'NUL'. [Fix GH-1172] derived from a patch by craft4coder ++ - doc/extension.rdoc: Improvements to english grammers. [Bug +#12246][ruby-core:74792][ci skip] derived from a patch by +Marcus Stollsteimer + - encoding.c: Fix return value of `Encoding::ISO8859_1.name` [Bug +#12313][ruby-core:75147][ci skip] + - ext/bigdecimal/bigdecimal.c: Fix code sample of +`BigDecimal.new` + - configure.in: add missing -lm for AIX. + - configure.in: don't use the system-provided round(3) on AIX. +In AIX, round(0.49994) returns 1.0. Use round() in +numeric.c instead. + - ruby.c: cygwin does not use w32_cmdvector, command line can be +other than UTF-8. [ruby-dev:49519] [Bug #12184] + - eval_jump.c (exec_end_procs_chain): restore previous error info +for each end procs. [ruby-core:75038] [Bug #12302] + - compile.c (new_label_body): initialize bit fields, since +compile_data_alloc does not clear the memory. [Bug #12082] + - compile.c (iseq_optimize): disable tail call optimization in +rescued, rescue, and ensure blocks. [ruby-core:73871] [Bug +#12082] + - doc/regexp.rdoc (comments): [DOC] terminators cannot appear in +comments. [ruby-core:74838] [Bug #12256] + - extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors. +Renamed files, wrong method names or argument types; the +example GetDBM macro is now updated to the current version of +the actual code. patches are derived from Marcus Stollsteimer +in [ruby-core:74690]. [Bug #12228] + - ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo. [Bug #12202] +[ruby-core:74802] + - ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0. patched by +Anton Sivakov [Bug #12201] [Bug #12202] + - lib/securerandom.rb (gen_random): to avoid blocking on Windows. +On Windows OpenSSL RAND_bytes (underlying implementation is +RAND_poll in crypto/rand/rand_win.c) may be blocked at +NetStatisticsGet. +https://wiki.openssl.org/index.php/Random_Numbers#Windows_Issues +Instead of this, use Random.raw_seed directory (whose +implementation CryptGenRandom is one of the source of entropy +of RAND_poll on Windows). +https://wiki.openssl.org/index.php/Random_Numbers Note: +CryptGenRandom function is PRNG and doesn't check its entropy, +so it won't block. [Bug #12139] +https://msdn.microsoft.com/ja-jp/library/windows/desktop/aa379942.aspx +https://tools.ietf.org/html/rfc4086#section-7.1.3 +https://eprint.iacr.org/2007/419.pdf +http://www.cs.huji.ac.il/~dolev/pubs/thesis/msc-thesis-leo.pdf + - lib/rubygems/test_case.rb: Fix test on Windows for inconsistent +temp path. https://github.com/rubygems/rubygems/pull/1554 [Bug +#12193][ruby-core:74431] + - ext/openssl/extconf.rb: check RAND_edg to support libressl. + - ext/openssl/ossl_rand.c (ossl_rand_egd): define only if +RAND_edg is available. [Fix GH-829] + - configure.in (rb_cv_lgamma_r_m0): fix the condition for +lgamma_r(-0.0). [Bug #12249] + - configure.in (rb_cv_lgamma_r_m0): check if lgamma_r(-0.0) +returns negative infinity. [Bug #12249] + - math.c (ruby_lgamma_r): define by the configured result. + - math.c (ruby_lgamma_r): missing/lgamma_r.c is used on Windows, +since msvcrt does not provide it. + - missing/lgamma_r.c (lgamma_r): fix lgamma(-0.0). +[ruby-core:74823] [Bug #12249] + - math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be +wrong. cf. [Bug #12249] + - math.c (ruby_tgamma): fix tgamma(-0.0) on mingw. +[ruby-core:74817] [Bug #12249] + - defs/keywords (alias, undef): symbol literals are allowed. + - parse.y (parse_percent): should parse symbol literals for alias +and undef. [ruby-dev:47681] [Bug #8851] + - struct.c (struct_make_members_list): extract making member name +list from char* va_list, with creating symbols without +intermediate IDs. + - ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix +API names. [ruby-core:74863] [Bug #12264] + - vm_core.h (rb_vm_struct): make at_exit a single linked list but +not RArray, not to mark the registered functions by the write +barrier. based on the
commit ruby2.2 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.2 for openSUSE:Factory checked in at 2016-04-03 23:06:28 Comparing /work/SRC/openSUSE:Factory/ruby2.2 (Old) and /work/SRC/openSUSE:Factory/.ruby2.2.new (New) Package is "ruby2.2" Changes: --- /work/SRC/openSUSE:Factory/ruby2.2/ruby2.2.changes 2016-01-13 22:44:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.ruby2.2.new/ruby2.2.changes 2016-04-03 23:06:30.0 +0200 @@ -1,0 +2,8 @@ +Mon Mar 14 23:14:12 UTC 2016 - dval...@suse.com + +- 0001-GC-Use-__builtin_ppc_get_timebase-for-POWER-arch.patch + Use __builtin_ppc_get_timebase on POWER architecture to gain + a little bit of performance improvement. + https://github.com/ruby/ruby/pull/1291 + +--- New: 0001-GC-Use-__builtin_ppc_get_timebase-for-POWER-arch.patch Other differences: -- ++ ruby2.2.spec ++ --- /var/tmp/diff_new_pack.rAYKgX/_old 2016-04-03 23:06:31.0 +0200 +++ /var/tmp/diff_new_pack.rAYKgX/_new 2016-04-03 23:06:31.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ruby2.2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -120,6 +120,7 @@ Patch0: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch Patch1: make-gem-build-reproducible.patch +Patch2: 0001-GC-Use-__builtin_ppc_get_timebase-for-POWER-arch.patch # Summary:An Interpreted Object-Oriented Scripting Language License:BSD-2-Clause or Ruby @@ -298,6 +299,7 @@ %setup -q -n ruby-%{pkg_version} %patch0 %patch1 -p1 +%patch2 -p1 find sample -type f -print0 | xargs -r0 chmod a-x grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \ | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby%{rb_binary_suffix} $1|' ++ 0001-GC-Use-__builtin_ppc_get_timebase-for-POWER-arch.patch ++ >From 391bc3ee3f0e27bf586dfeb5f30d2379676d5558 Mon Sep 17 00:00:00 2001 From: Dinar ValeevDate: Tue, 15 Mar 2016 00:03:48 +0100 Subject: [PATCH] GC: Use __builtin_ppc_get_timebase for POWER arch This gives a little performance improvement user system totalreal Before: 20.87 0.00 20.87 ( 20.893959) After: 20.72 0.00 20.72 ( 20.733970) Signed-off-by: Dinar Valeev --- gc.c | 12 1 file changed, 12 insertions(+) diff --git a/gc.c b/gc.c index 221752a..31a0530 100644 --- a/gc.c +++ b/gc.c @@ -933,6 +933,18 @@ tick(void) return ((unsigned long long)lo)|( ((unsigned long long)hi)<<32); } +#elif defined(__powerpc64__) && \ + ( __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)) +typedef unsigned long long tick_t; +#define PRItick "llu" + +static __inline__ tick_t +tick(void) +{ +unsigned long long val = __builtin_ppc_get_timebase(); +return val; +} + #elif defined(_WIN32) && defined(_MSC_VER) #include typedef unsigned __int64 tick_t; -- 2.1.4
commit ruby2.2 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.2 for openSUSE:Factory checked in at 2016-01-13 22:44:19 Comparing /work/SRC/openSUSE:Factory/ruby2.2 (Old) and /work/SRC/openSUSE:Factory/.ruby2.2.new (New) Package is "ruby2.2" Changes: --- /work/SRC/openSUSE:Factory/ruby2.2/ruby2.2.changes 2015-08-29 20:03:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.ruby2.2.new/ruby2.2.changes 2016-01-13 22:44:20.0 +0100 @@ -1,0 +2,194 @@ +Mon Jan 4 21:29:56 UTC 2016 - mrueck...@suse.de + +- update to 2.2.4 (boo# 959495) + - ext/fiddle/handle.c: check tainted string arguments. Patch +provided by tenderlove and nobu. (CVE-2015-7551) + - test/fiddle/test_handle.rb (class TestHandle): add test for +above. + - io.c (parse_mode_enc): fix buffer overflow. + - doc/NEWS-0.2.2: add description about incompatible change in +Hash duplicated key overriding policy. [Bug #10315] [Bug +#11501] + - insns.def (opt_case_dispatch): avoid converting Infinity + - test/ruby/test_optimization.rb (test_opt_case_dispatch_inf): +new [ruby-dev:49423] [Bug #11804]' + - configure.in: pthread_getattr_np is broken on AIX. More +specifically, the stack address and size returned are not +correct. + - common.mk (update-gems): use BASERUBY instead of RUNRUBY. + - insns.def (opt_case_dispatch): check Float#=== redefinition + - test/ruby/test_optimization.rb (test_opt_case_dispatch): new +[ruby-core:71920] [Bug #11784] + - ruby_atomic.h (ATOMIC_SIZE_CAS): fix the argument order of +InterlockedCompareExchange64. new value and then old value is +the last. + - encoding.c (enc_m_loader): defer finding encoding object not to +be infected by marshal source. [ruby-core:71793] [Bug #11760] + - marshal.c (r_object0): enable compatible loader on USERDEF +class. the loader function is called with the class itself, +instead of an allocated object, and the loaded data. + - marshal.c (compat_allocator_table): initialize +compat_allocator_tbl on demand. + - object.c (rb_undefined_alloc): extract from rb_obj_alloc. + - ext/-test-/file/fs.c: need to include sys/statvfs.h to use +statvfs(). + - ext/-test-/file/extconf.rb: check the existence of +sys/statvfs.h + - sprintf.c (rb_str_format): fix wrong shifting position in +Rational conversion when not at the beginning of the result. +[ruby-core:71806] [Bug #11766] + - range.c (range_to_s): should be infected by the receiver. str2 +infects by appending. [ruby-core:71811] [Bug #11767] + - ext/readline/extconf.rb: call dir_config("libedit") if +--enable-libedit is spcified. [Bug #11751] patched by John Hein + - parse.y (parser_here_document): store dispatched result of +on_tstring_content at the last fragment of a here document. + - test/ruby/test_gc.rb: merge partially r52391 to get rid of CI +error. + - io.c (rb_io_each_codepoint): raise an exception at incomplete +character before EOF when conversion takes place. [Bug #11444] + - io.c (argf_getpartial): should not resize str if the second +argument is not given. [ruby-core:71668] [Bug #11738] + - vm_eval.c (local_var_list_add): skip internal local variable +name by its type but not if it has a name. internal local +variable names are just unique per frame, not globally. +[ruby-core:71437] [Bug #11674] + - io.c (rb_io_each_codepoint): read more data when read +partially. [ruby-core:70379] [Bug #11444] + - lib/net/http.rb: set hostname before call ossl_ssl_set_session. +[Bug #11401][ruby-core:70152][fix GH-964] Patch by @mkarnebeek + - transcode.c (rb_econv_open0): rb_econv_t::source_encoding_name +and rb_econv_t::destination_encoding_name should refer static +strings always or NULL. [ruby-core:70247] [Bug #11416] + - iseq.c (iseq_data_to_ary): dump kw_arg as symbol + - test/-ext-/iseq_load/test_iseq_load.rb: test kw_arg roundtrip +[ruby-core:69891] [Bug #11338] + - gc.c (__has_feature): move into internal.h. + - internal.h (__has_feature): ditto. + - internal.h (__has_extension): new macro. + - internal.h (STATIC_ASSERT): use _Static_assert with clang. +[ruby-core:69931] [Bug #11343] + - parse.y (literal_concat_gen, evstr2dstr_gen): keep literal +encoding beginning with an interpolation same as the source +file encoding. [ruby-core:70703] [Bug #11519] + - ext/openssl/ossl_ssl.c (ssl_npn_select_cb): explicitly raise +error in ext/openssl instead of OpenSSL itself because LibreSSL +silently truncate the selected protocol name by casting the +length from int to unsigned char. [Bug #11369] Patch by Jeremy +Evans+ - vm_eval.c (send_internal): set method_missing_reason before +invoking overriding method_missing method so that the default +
commit ruby2.2 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.2 for openSUSE:Factory checked in at 2015-08-29 20:03:01 Comparing /work/SRC/openSUSE:Factory/ruby2.2 (Old) and /work/SRC/openSUSE:Factory/.ruby2.2.new (New) Package is ruby2.2 Changes: --- /work/SRC/openSUSE:Factory/ruby2.2/ruby2.2.changes 2015-05-07 08:27:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.ruby2.2.new/ruby2.2.changes 2015-08-29 20:03:06.0 +0200 @@ -1,0 +2,156 @@ +Wed Aug 19 09:53:42 UTC 2015 - mrueck...@suse.de + +- update to 2.2.3 (boo# 936032) + - update rubygems to 2.4.5.1. this version fixed CVE-2015-3900. + - Fix document for Float::MIN and Float::EPSILON. + - should match only char boundaries in wide character encodings. +[ruby-core:70220] [Bug #11413] + - Fixed bad performance in ruby = 2.2 for Hash with many symbol +keys + - target encoding name can be empty now. +[ruby-core:69841] [Bug #11324] + - fix Float hash. rb_dbl_hash() returns a Fixnum, but not a long. +[Bug #9381] + - raise with messages in UTF-8 encoding. +[ruby-core:67386] [Bug #10705] + - handle O_TRUNC correctly [ruby-core:69779] [Bug #11319] + - FTP close the TCPServer when sending the port fails. + - (Net::HTTPResponse::Inflater#finish): fix a bug that empty +gzipped response body causes Zlib::BufError. +[ruby-core:68846] [Bug #11058] + - (Net::HTTPResponse#inflater): fix TypeError. An exception +object might be nil. [ruby-core:68846] [Bug #11058] + - (module OpenSSL): raise a more helpful exception when verifying +the peer connection and an anonymous cipher has been selected. +[ruby-core:68330] [Bug #10910] + - ruby itself (including numeric.c) is built with strict compile +options including -std=iso9899:1999, but ext/date is not. By +the way -std=iso9899:1999 is not only a warning option but also +changes behavior like MACRO definitions for example INFINITY. +[Bug #10906] + - Fix LocalJumpErrors being raised in OpenSSL tests. +[ruby-core:70020][Bug #11368] + - make Timeout::ExitException an alias of Timeout::Error +[ruby-dev:49179] [Bug #11344] + - (HTTPResponseTest#test_read_body_content_encoding_deflate_uppercase): +fix a failure without zlib. + - copy the arguments to the machine stack before rewinding the +control frame pointer and leaving the arguments outside valid +region of the value stack. [ruby-core:69969] [Bug #11352] + - CONTENT_ENCODING can be upper case. [ruby-core:69670] [Bug #11285] +patched by Andy Chu + - copy the arguments to the machine stack before rewinding the control +frame pointer and leaving the arguments outside valid region of the +value stack. [ruby-core:69969] [Bug #11352] + - keep the arguments region inside the valid value stack. +[ruby-core:69969] [Bug #11352] + - reversed string is not a substring, and should not set coderange of +the original string. [ruby-dev:49189] [Bug #11387] + - pop cmdarg stack for lookahead token. [ruby-core:70067] [Bug +#11380] + - Support %s.%N. [ruby-core:68301] [Bug #10904] + - fix transcoder loading race condition, by waiting in require. +[ruby-dev:49106] [Bug #11277] + - check if array size will exceed maximum size to get rid of buffer +overflow. [ruby-dev:49043] [Bug #11235] + - try opening file without gvl not to lock entire process. [Bug +#11060] + - split --libs if --libs-only-l option is not available. patch in +[ruby-core:69428] by Hans Mackowiak. [ruby-core:69421] [Bug #11201] + - out of range NTH_REF is always nil. + - check overflow of NTH_REF and range. [ruby-core:69393] [Bug #11192] + - make public and add length parameter. + - resolve refined method entry to check if undefined. +[ruby-core:69064] [Bug #7] + - undefined refined method is not callable unless using. +[ruby-core:69064] [Bug #7] + - Fix require paths for released gem. [fix GH-929] Patch by @voxik + - Return empty JSON object when passed object is a special const, +instead of SEGV. Based patch by Kohei Suzuki (eagletmt). +[ruby-core:69692] [Bug #11291] + - relax pattern because long_lived flag and marked flag can be false +at major GC. [Bug #10852] + - use RB_GC_GUARD instead of volatile [ruby-core:69419] [Feature +#11198] + - ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode, +ossl_asn1_decode_all): use RB_GC_GUARD instead of volatile +[ruby-core:69371] [Bug #11185] + - seek to the file end only when writing (mode:a), not reading +(mode:a+, read). + - stop returning false negatives for filenames which are trailing +substrings of file extensions. For example, 'b', which a trailing +substring of .rb should not return false. [Bug +#11155][ruby-core:69206] + - register symbol names as strings first so
commit ruby2.2 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.2 for openSUSE:Factory checked in at 2015-05-07 08:27:37 Comparing /work/SRC/openSUSE:Factory/ruby2.2 (Old) and /work/SRC/openSUSE:Factory/.ruby2.2.new (New) Package is ruby2.2 Changes: --- /work/SRC/openSUSE:Factory/ruby2.2/ruby2.2.changes 2015-02-10 20:23:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.ruby2.2.new/ruby2.2.changes 2015-05-07 08:27:39.0 +0200 @@ -1,0 +2,65 @@ +Thu Apr 16 23:42:00 UTC 2015 - mrueck...@suse.de + +- update to 2.2.2 (bsc# 926974) + - stricter hostname verification following RFC 6125. with the +patch provided by Tony Arcieri and Hiroshi Nakamura +[ruby-core:61545] [Bug #9644] CVE-2015-1855 + - fix segfault by null caused by syntax error. [ruby-core:68851] +[Bug #10957] + - parse.y (primary): empty parentheses at cmdarg can be null. +[ruby-core:68477] [Bug #10957] + - ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX +Thanks to Yura Sokolov funny.fal...@gmail.com +[ruby-core:68369] [Bug#10923] + - test/io/wait/test_io_wait.rb (test_nread_buffered): fix broken +test + - vm_eval.c (vm_call_super): search next super class from the +original class, to get rid of infinite recursion with +prepending. a patch by Seiei Higa hanachin AT gmail.com at +[ruby-core:68434]. [ruby-core:68093] [Bug #10847] + - class.c (rb_prepend_module): need a WB for klass - origin. + - ext/fiddle/extconf.rb: needs --enable-shared when linked to +libruby or fiddle.so. since --with-static-linked-ext does no +longer link extensions to ruby program with --enable-shared, +the only combination needs --enable-static is --disable-shared +and --with-static-linked-ext. [ruby-dev:48901] [Bug #10960] + - ext/fiddle/extconf.rb: make PIC objects if it will be linked as +a shared object eventually. [ruby-core:67128] + - spec/default.mspec: use default configuration file name. + https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf + - spec/default.mspec: remove specific version number. + https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714 + - common.mk: use ruby organization for rubyspec. + For all the changes see /usr/share/doc/packages/ruby2.2/ChangeLog + +--- +Wed Mar 11 19:51:48 UTC 2015 - mrueck...@suse.de + +- while merging the changes with the 2.1 package i noticed 2 + problems: + - we still rewrote the she bang lines to ruby 2.1. + - the macro files weren't marked as config. + +--- +Wed Mar 11 19:32:05 UTC 2015 - mrueck...@suse.de + +- Remove the support to have the shared files from ruby-common + intree again. + +--- +Wed Mar 11 17:25:54 UTC 2015 - mrueck...@suse.de + +- update to 2.2.1 + This release includes the fix for ffi build failure and memory + leak issue on Symbol GC (See Bug #10686). + + For more details see /usr/share/doc/packages/ruby2.2/ChangeLog +- match the version number in the rubygems provides to what is + actually shipped with ruby 2.2 + +--- +Wed Feb 11 10:55:05 UTC 2015 - co...@suse.com + +- port make-gem-build-reproducible.patch from ruby 2.1 + +--- Old: gem_build_cleanup gem_install.sh generate_buildrequires.sh ruby-2.2.0.tar.xz ruby.macros ruby.rpm-macros rubygems.attr rubygemsdeps.rb New: make-gem-build-reproducible.patch ruby-2.2.2.tar.xz Other differences: -- ++ ruby2.2.spec ++ --- /var/tmp/diff_new_pack.OlsDhh/_old 2015-05-07 08:27:39.0 +0200 +++ /var/tmp/diff_new_pack.OlsDhh/_new 2015-05-07 08:27:39.0 +0200 @@ -16,8 +16,6 @@ # -%bcond_with ruby_intree_common - Name: ruby2.2 @@ -27,7 +25,7 @@ %define patch_level p0 -Version:2.2.0 +Version:2.2.2 Release:0 # make the exported API version explicit %define api_version 2.2.0 @@ -38,7 +36,7 @@ %define rpm_macros_version 3 # -%define pkg_version 2.2.0 +%define pkg_version 2.2.2 %define libname libruby2_2-2_2 # keep in sync with macro file! %define rb_ver %{api_version} @@ -100,11 +98,6 @@ %if 0%{?suse_version} 1130 Conflicts: ruby(abi) = %{rb_ver} %endif -%if %{with ruby_intree_common} -Provides: ruby-common = %{rpm_macros_version} -Obsoletes: ruby-common %{rpm_macros_version} -Provides: ruby-macros = %{rpm_macros_version} -%endif Provides: ruby22 = %{version}-%{release}