commit ruby2.4 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.4 for openSUSE:Factory checked in at 2018-01-16 09:41:01 Comparing /work/SRC/openSUSE:Factory/ruby2.4 (Old) and /work/SRC/openSUSE:Factory/.ruby2.4.new (New) Package is "ruby2.4" Tue Jan 16 09:41:01 2018 rev:5 rq:563729 version:2.4.3 Changes: --- /work/SRC/openSUSE:Factory/ruby2.4/ruby2.4.changes 2017-12-21 11:28:17.062648123 +0100 +++ /work/SRC/openSUSE:Factory/.ruby2.4.new/ruby2.4.changes 2018-01-16 09:41:02.885403271 +0100 @@ -1,0 +2,7 @@ +Fri Jan 5 00:00:23 UTC 2018 - mrueck...@suse.de + +- merge in some improvements from the 2.5 package + - track all binaries handled via u-a in an ua_binaries variable + - set an UTF-8 locale for building + +--- Other differences: -- ++ ruby2.4.spec ++ --- /var/tmp/diff_new_pack.2IMaAy/_old 2018-01-16 09:41:04.221340739 +0100 +++ /var/tmp/diff_new_pack.2IMaAy/_new 2018-01-16 09:41:04.225340551 +0100 @@ -1,7 +1,7 @@ # # spec file for package ruby2.4 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -54,6 +54,7 @@ %define is_default_ruby 1 %endif +%define ua_binaries rake rdoc ri # keep in sync with macro file! # # from valgrind.spec @@ -158,10 +159,10 @@ %package -n %{libname} Summary:Dynamic runtime library for Ruby -Group: System/Libraries # Both ruby and ruby-stdlib now depend explicitly on libruby by version, # however it was not always the case, so the conflicts statements below # are needed to handle updates. +Group: System/Libraries Conflicts: %{name} < %{version}-%{release} Conflicts: %{name}-stdlib < %{version}-%{release} @@ -307,6 +308,8 @@ %build # iseq.c needs -fno-strict-aliasing +export LANG="en_US.UTF-8" +export LC_ALL="en_US.UTF-8" export CFLAGS="%{optflags} -fno-strict-aliasing" %configure \ %if %{with jemalloc} @@ -355,7 +358,7 @@ done ln -s lib%{rb_soname}.so %{buildroot}%{_libdir}/libruby.so %endif -for bin in rake rdoc ri; do +for bin in %{ua_binaries}; do # dummy mv %{buildroot}%_bindir/${bin}%{rb_binary_suffix} %{buildroot}%_bindir/$bin.ruby%{rb_binary_suffix} # @@ -369,7 +372,7 @@ chmod -vR go-w,go+rX %{buildroot}%{_libdir}/ruby %post -for bin in rake rdoc ri; do +for bin in %{ua_binaries}; do /usr/sbin/update-alternatives --install \ %{_bindir}/$bin $bin %{_bindir}/$bin.ruby%{rb_binary_suffix} 3 /usr/sbin/update-alternatives --install \ @@ -378,7 +381,7 @@ %preun if [ "$1" = 0 ] ; then - for bin in rake rdoc ri; do + for bin in %{ua_binaries}; do /usr/sbin/update-alternatives --remove $bin %{_bindir}/$bin.ruby%{rb_binary_suffix} /usr/sbin/update-alternatives --remove $bin%{rb_binary_suffix} %{_bindir}/$bin.ruby%{rb_binary_suffix} done
commit ruby2.4 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.4 for openSUSE:Factory checked in at 2017-12-21 11:28:12 Comparing /work/SRC/openSUSE:Factory/ruby2.4 (Old) and /work/SRC/openSUSE:Factory/.ruby2.4.new (New) Package is "ruby2.4" Thu Dec 21 11:28:12 2017 rev:4 rq:558616 version:2.4.3 Changes: --- /work/SRC/openSUSE:Factory/ruby2.4/ruby2.4.changes 2017-11-23 09:38:20.709800689 +0100 +++ /work/SRC/openSUSE:Factory/.ruby2.4.new/ruby2.4.changes 2017-12-21 11:28:17.062648123 +0100 @@ -1,0 +2,16 @@ +Tue Dec 19 15:28:01 UTC 2017 - mrueck...@suse.de + +- switch to https urls + +--- +Mon Dec 18 15:21:31 UTC 2017 - mrueck...@suse.de + +- update to 2.4.3 (boo#1073002) + This release includes some bug fixes and a security fix. + + CVE-2017-17405: Command injection vulnerability in Net::FTP + https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/ +- update the versions for the bundled gem list +- drop configure-2.4.2.diff as it is included upstream + +--- Old: configure-2.4.2.diff ruby-2.4.2.tar.xz New: ruby-2.4.3.tar.xz Other differences: -- ++ ruby2.4.spec ++ --- /var/tmp/diff_new_pack.6v8CL3/_old 2017-12-21 11:28:17.682617894 +0100 +++ /var/tmp/diff_new_pack.6v8CL3/_new 2017-12-21 11:28:17.686617699 +0100 @@ -25,7 +25,7 @@ %define patch_level p0 -Version:2.4.2 +Version:2.4.3 Release:0 # make the exported API version explicit %define api_version 2.4.0 @@ -36,7 +36,7 @@ %define rpm_macros_version 3 # -%define pkg_version 2.4.2 +%define pkg_version 2.4.3 %define libname libruby2_4-2_4 # keep in sync with macro file! %define rb_ver %{api_version} @@ -115,8 +115,8 @@ Requires: ruby-common # -Url:http://www.ruby-lang.org/ -Source: http://cache.ruby-lang.org/pub/ruby/2.4/ruby-%{pkg_version}.tar.xz +Url:https://www.ruby-lang.org/ +Source: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-%{pkg_version}.tar.xz Source1:generate_rubygemprovides.awk # Source2:%{name}.macros @@ -125,7 +125,6 @@ Patch01:0001-make-gem-build-reproducible.patch Patch02:0002-gc.c-tick-for-POWER-arch.patch -Patch03:configure-2.4.2.diff # Summary:An Interpreted Object-Oriented Scripting Language @@ -192,14 +191,11 @@ %define gen_embedded_provides4() %(awk -f %{S:1} -- %api_version %arch %1 %2 %3 %4) %define gen_embedded_provides5() %(awk -f %{S:1} -- %api_version %arch %1 %2 %3 %4 %5) -# gemspec %gen_embedded_provides4 bigdecimal1 3 0 %gen_embedded_provides4 io-console0 4 6 -%gen_embedded_provides4 json 2 0 2 -%gen_embedded_provides4 openssl 2 0 2 +%gen_embedded_provides4 json 2 0 4 +%gen_embedded_provides4 openssl 2 0 5 %gen_embedded_provides4 psych 2 2 2 -%gen_embedded_provides4 rdoc 5 0 0 -# gems %gen_embedded_provides4 did_you_mean 1 1 0 %gen_embedded_provides4 minitest 5 10 1 %gen_embedded_provides4 net-telnet0 1 1 @@ -207,6 +203,7 @@ %gen_embedded_provides4 rake 12 0 0 %gen_embedded_provides4 test-unit 3 2 3 %gen_embedded_provides4 xmlrpc0 2 1 +%gen_embedded_provides4 rdoc 4 1 0 @@ -304,7 +301,6 @@ %setup -q -n ruby-%{pkg_version} %patch01 -p1 %patch02 -p1 -%patch03 -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|' ++ ruby-2.4.2.tar.xz -> ruby-2.4.3.tar.xz ++ /work/SRC/openSUSE:Factory/ruby2.4/ruby-2.4.2.tar.xz /work/SRC/openSUSE:Factory/.ruby2.4.new/ruby-2.4.3.tar.xz differ: char 26, line 1
commit ruby2.4 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.4 for openSUSE:Factory checked in at 2017-11-23 09:38:05 Comparing /work/SRC/openSUSE:Factory/ruby2.4 (Old) and /work/SRC/openSUSE:Factory/.ruby2.4.new (New) Package is "ruby2.4" Thu Nov 23 09:38:05 2017 rev:3 rq:543851 version:2.4.2 Changes: --- /work/SRC/openSUSE:Factory/ruby2.4/ruby2.4.changes 2017-06-04 01:56:43.954447531 +0200 +++ /work/SRC/openSUSE:Factory/.ruby2.4.new/ruby2.4.changes 2017-11-23 09:38:20.709800689 +0100 @@ -1,0 +2,50 @@ +Mon Nov 20 11:10:12 UTC 2017 - mrueck...@suse.de + +- disable jemalloc again because of: (boo#1068883) + https://github.com/jemalloc/jemalloc/issues/937 + +--- +Thu Nov 9 13:43:41 UTC 2017 - jdelv...@suse.de + +- Add conflicts to libruby to make sure ruby and ruby-stdlib are + also updated when libruby is updated (bsc#1048072.) + +--- +Tue Nov 7 21:38:07 UTC 2017 - mrueck...@suse.de + +- devel package needs to require jemalloc-devel when building with + it + +--- +Tue Nov 7 13:19:33 UTC 2017 - mrueck...@suse.de + +- only use jemalloc on opensuse and sle >= 15 + +--- +Mon Nov 6 14:26:31 UTC 2017 - mrueck...@suse.de + +- update to 2.4.2 + - CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf +(boo#1058755) + - CVE-2017-10784: Escape sequence injection vulnerability in the +Basic authentication of WEBrick (boo#1058754) + - CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 +decode (boo#1058757) + - CVE-2017-14064: Heap exposure in generating JSON +(boo#1056782) + - Multiple vulnerabilities in RubyGems (boo#1056286) +CVE-2017-0899 CVE-2017-0900 CVE-2017-0901 CVE-2017-0902 + - Update bundled libyaml to version 0.1.7. + - There are also many bug-fixes. For more details see: +https://github.com/ruby/ruby/compare/v2_4_1...v2_4_2 +- added https://bugs.ruby-lang.org/attachments/download/6735/configure-2.4.2.diff + to allow building with libgmp and libjemalloc again + +--- +Mon Aug 7 09:46:16 UTC 2017 - mrueck...@suse.de + +- provide a ruby-default symbol and conflict with other providers + of that symbol so we can uninstall older default ruby versions + during zypper dup. + +--- Old: ruby-2.4.1.tar.xz New: configure-2.4.2.diff ruby-2.4.2.tar.xz Other differences: -- ++ ruby2.4.spec ++ --- /var/tmp/diff_new_pack.qmlDxD/_old 2017-11-23 09:38:21.597768291 +0100 +++ /var/tmp/diff_new_pack.qmlDxD/_new 2017-11-23 09:38:21.597768291 +0100 @@ -25,7 +25,7 @@ %define patch_level p0 -Version:2.4.1 +Version:2.4.2 Release:0 # make the exported API version explicit %define api_version 2.4.0 @@ -36,7 +36,7 @@ %define rpm_macros_version 3 # -%define pkg_version 2.4.1 +%define pkg_version 2.4.2 %define libname libruby2_4-2_4 # keep in sync with macro file! %define rb_ver %{api_version} @@ -50,6 +50,10 @@ %define rb_extdocdir %{_libdir}/ruby/gems/%{rb_ver}/doc/extensions %define rb_extarchdocdir %{_libdir}/ruby/gems/%{rb_ver}/doc/extensions/%{rb_arch_short} +%if "%{rb_default_ruby_suffix}" == "%{rb_soname}" +%define is_default_ruby 1 +%endif + # keep in sync with macro file! # # from valgrind.spec @@ -58,11 +62,19 @@ %endif # turn on testsuite by default. we dont hard fail anyway. %bcond_without run_tests +%if 0%{?is_opensuse} || 0%{?sle_version} >= 15 +%bcond_withjemalloc +%else +%bcond_withjemalloc +%endif # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: awk BuildRequires: gdbm-devel +%if %{with jemalloc} +BuildRequires: jemalloc-devel +%endif BuildRequires: libffi-devel BuildRequires: libyaml-devel BuildRequires: ncurses-devel @@ -91,7 +103,11 @@ %if 0%{?suse_version} > 1130 Conflicts: ruby(abi) = %{rb_ver} %endif -Provides: ruby22 = %{version}-%{release} +Provides: ruby24 = %{version}-%{release} +%if 0%{?is_default_ruby} +Provides: ruby-default = %{version}-%{release} +Conflicts: otherproviders(ruby-default) +%endif Requires: %{libname} = %{version} Requires: %{name}-stdlib = %{version} PreReq: update-alternatives @@ -109,6 +125,7 @@ Patch01:0001-make-gem-build-reproducible.patch Patch02:0002-gc.c-tick-for-POWER-arch.patch +Patch03:configure-2.4.2.diff # Summary:An
commit ruby2.4 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby2.4 for openSUSE:Factory checked in at 2017-06-04 01:56:42 Comparing /work/SRC/openSUSE:Factory/ruby2.4 (Old) and /work/SRC/openSUSE:Factory/.ruby2.4.new (New) Package is "ruby2.4" Sun Jun 4 01:56:42 2017 rev:2 rq:498956 version:2.4.1 Changes: --- /work/SRC/openSUSE:Factory/ruby2.4/ruby2.4.changes 2017-03-24 02:22:50.725954572 +0100 +++ /work/SRC/openSUSE:Factory/.ruby2.4.new/ruby2.4.changes 2017-06-04 01:56:43.954447531 +0200 @@ -1,0 +2,5 @@ +Mon May 29 11:05:06 UTC 2017 - mrueck...@suse.de + +- make the 2.4 macros actually using ruby 2.4 + +--- Other differences: -- ++ ruby2.4-default.macros ++ --- /var/tmp/diff_new_pack.TyYnPF/_old 2017-06-04 01:56:44.586358256 +0200 +++ /var/tmp/diff_new_pack.TyYnPF/_new 2017-06-04 01:56:44.586358256 +0200 @@ -1,7 +1,7 @@ -%rb_default_ruby_suffix ruby2.3 +%rb_default_ruby_suffix ruby2.4 -%rb_default_rubyruby23 -%rb_default_ruby_abiruby:2.3.0 +%rb_default_rubyruby24 +%rb_default_ruby_abiruby:2.4.0 %rb_build_versions %rb_default_ruby %rb_build_ruby_abis %rb_default_ruby_abi ++ ruby2.4.macros ++ --- /var/tmp/diff_new_pack.TyYnPF/_old 2017-06-04 01:56:44.626352606 +0200 +++ /var/tmp/diff_new_pack.TyYnPF/_new 2017-06-04 01:56:44.626352606 +0200 @@ -6,11 +6,11 @@ # # IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT # -%rubygemsruby23() rubygem(ruby:2.3.0:%{expand:%%rubygemsx%*} %{expand:%%{rubygems%*}} -%rubygemsxruby23() %{expand:%%{rubygemsx%*}} +%rubygemsruby24() rubygem(ruby:2.4.0:%{expand:%%rubygemsx%*} %{expand:%%{rubygems%*}} +%rubygemsxruby24() %{expand:%%{rubygemsx%*}} -%rubyruby23() ruby2.3 %{expand:%%rubyx%*} %{expand:%%{ruby%*}} -%rubyxruby23() %{expand:%%{rubyx%*}} +%rubyruby24() ruby2.4 %{expand:%%rubyx%*} %{expand:%%{ruby%*}} +%rubyxruby24() %{expand:%%{rubyx%*}} -%rubydevelruby23() ruby2.3-devel %{expand:%%rubydevelx%*} %{expand:%%{rubydevel%*}} -%rubydevelxruby23() %{expand:%%{rubydevelx%*}} +%rubydevelruby24() ruby2.4-devel %{expand:%%rubydevelx%*} %{expand:%%{rubydevel%*}} +%rubydevelxruby24() %{expand:%%{rubydevelx%*}}