Hello community, here is the log from the commit of package ruby for openSUSE:Factory checked in at Fri Mar 12 17:36:46 CET 2010. -------- --- ruby/ruby.changes 2009-12-17 14:43:29.000000000 +0100 +++ /mounts/work_src_done/STABLE/ruby/ruby.changes 2010-02-23 13:04:59.000000000 +0100 @@ -1,0 +2,22 @@ +Tue Feb 23 12:02:11 UTC 2010 - mrueckert@suse.de + +- added ruby-1.8.x_digest_non_void_return.patch: + patch pulled from SVN to fix the warnings about no return in + non-void functions. + +------------------------------------------------------------------- +Sun Jan 31 21:56:19 CET 2010 - meissner@suse.de + +- ruby calls "ppc" "powerpc". + +------------------------------------------------------------------- +Fri Jan 29 19:12:11 UTC 2010 - mrueckert@suse.de + +- update to 1.8.7p249 + small big fix release in the 1.8.7 branch, this includes the fix + for: + - ruby webrick doesn't sanitize non-printable characters in log + (bnc#570616) CVE-2009-4492 +- drop ruby-1.8.6.p36_gc.patch: solution is upstream + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- ruby-1.8.6.p36_gc.patch ruby-1.8.7-p72.tar.bz2 New: ---- ruby-1.8.7-p249.tar.bz2 ruby-1.8.x_digest_non_void_return.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ruby.spec ++++++ --- /var/tmp/diff_new_pack.Gjzc65/_old 2010-03-12 17:36:26.000000000 +0100 +++ /var/tmp/diff_new_pack.Gjzc65/_new 2010-03-12 17:36:26.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package ruby (Version 1.8.7.p72) +# spec file for package ruby (Version 1.8.7.p249) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,12 +19,12 @@ Name: ruby -Version: 1.8.7.p72 -Release: 7 +Version: 1.8.7.p249 +Release: 1 # %define pkg_version 1.8.7 -%define patch_level p72 -%define rb_arch %(echo %{_target_cpu}-linux | sed -e "s/i686/i586/" -e "s/hppa2.0/hppa/") +%define patch_level p249 +%define rb_arch %(echo %{_target_cpu}-linux | sed -e "s/i686/i586/" -e "s/hppa2.0/hppa/" -e "s/ppc/powerpc/") %define rb_ver %(echo %{pkg_version} | sed -e 's/\\\.[0-9]\\\+$//') # License: GPLv2+ @@ -55,7 +55,6 @@ Source: ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{pkg_version}-%{patch_level}.tar.bz2 Source1: irb.1 Source2: ruby-doc-bundle.tar.bz2 -Patch0: ruby-1.8.6.p36_gc.patch Patch1: ruby-1.8.7.p22_lib64.patch Patch2: ruby-1.8.7.p22_tcltk-multilib.patch Patch3: ruby-1.8.6.p36_socket_ipv6.patch @@ -63,6 +62,8 @@ Patch6: ruby-pedantic-headers.diff Patch7: ruby-1.8.7-p72_vendor_specific.patch Patch8: ruby-1.8.7-p72_topdir.patch +# can be removed on next version update. pulled from svn +Patch9: ruby-1.8.x_digest_non_void_return.patch # vendor ruby files taken from: # http://svn.macports.org/repository/macports/trunk/dports/lang/ruby/ Source3: site-specific.rb @@ -237,7 +238,6 @@ %prep %setup -q -n ruby-%{pkg_version}-%{patch_level} -a2 %{?with_bleak_house:-a6} -%patch0 %patch1 %patch2 %patch3 @@ -245,6 +245,7 @@ %patch6 %patch7 %patch8 +%patch9 %if 0%{?with_bleak_house} for patch in valgrind configure gc ; do patch -p0 < bleak_house-%{bleak_house_version}/ruby/${patch}.patch ++++++ ruby-1.8.7-p72.tar.bz2 -> ruby-1.8.7-p249.tar.bz2 ++++++ ++++ 13795 lines of diff (skipped) ++++++ ruby-1.8.x_digest_non_void_return.patch ++++++ Index: ext/digest/digest.c =================================================================== --- ext/digest/digest.c.orig 2009-12-14 04:19:26.000000000 +0100 +++ ext/digest/digest.c 2010-02-23 12:27:54.812092205 +0100 @@ -2,14 +2,14 @@ digest.c - - $Author: shyouhei $ + $Author: knu $ created at: Fri May 25 08:57:27 JST 2001 Copyright (C) 1995-2001 Yukihiro Matsumoto Copyright (C) 2001-2006 Akinori MUSHA $RoughId: digest.c,v 1.16 2001/07/13 15:38:27 knu Exp $ - $Id: digest.c 26089 2009-12-14 03:19:26Z shyouhei $ + $Id: digest.c 26341 2010-01-17 19:23:17Z knu $ ************************************************/ @@ -76,6 +76,8 @@ rb_digest_s_hexencode(VALUE klass, VALUE return hexencode_str_new(str); } +NORETURN(static void rb_digest_instance_method_unimpl(VALUE self, const char *method)); + /* * Document-module: Digest::Instance * @@ -86,8 +88,6 @@ rb_digest_s_hexencode(VALUE klass, VALUE static void rb_digest_instance_method_unimpl(VALUE self, const char *method) { - VALUE klass = rb_obj_class(self); - rb_raise(rb_eRuntimeError, "%s does not implement %s()", rb_obj_classname(self), method); } @@ -179,10 +179,7 @@ rb_digest_instance_digest(int argc, VALU value = rb_funcall(self, id_finish, 0); rb_funcall(self, id_reset, 0); } else { - VALUE clone = rb_obj_clone(self); - - value = rb_funcall(clone, id_finish, 0); - rb_funcall(clone, id_reset, 0); + value = rb_funcall(rb_obj_clone(self), id_finish, 0); } return value; @@ -227,10 +224,7 @@ rb_digest_instance_hexdigest(int argc, V value = rb_funcall(self, id_finish, 0); rb_funcall(self, id_reset, 0); } else { - VALUE clone = rb_obj_clone(self); - - value = rb_funcall(clone, id_finish, 0); - rb_funcall(clone, id_reset, 0); + value = rb_funcall(rb_obj_clone(self), id_finish, 0); } return hexencode_str_new(value); @@ -240,8 +234,8 @@ rb_digest_instance_hexdigest(int argc, V * call-seq: * digest_obj.hexdigest! -> string * - * Returns the resulting hash value and resets the digest to the - * initial state. + * Returns the resulting hash value in a hex-encoded form and resets + * the digest to the initial state. */ static VALUE rb_digest_instance_hexdigest_bang(VALUE self) @@ -275,7 +269,7 @@ rb_digest_instance_inspect(VALUE self) { VALUE str; size_t digest_len = 32; /* about this size at least */ - char *cname; + const char *cname; cname = rb_obj_classname(self); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org