commit ruby19 for openSUSE:Factory

2013-11-06 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2013-11-07 08:44:23

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2013-07-16 
16:15:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2013-11-07 
08:44:24.0 +0100
@@ -0,0 +1,5 @@
+Mon Oct 21 12:21:32 UTC 2013 - jmassaguer...@suse.com
+
+- fix CVE-2013-4287 CVE-2013-4363: ruby19: Algorithmic complexity 
vulnerability  (bnc#837457)
+  The file CVE-2013-4287-4363.patch contains the patch
+

New:

  CVE-2013-4287-4363.patch



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.poISmM/_old  2013-11-07 08:44:25.0 +0100
+++ /var/tmp/diff_new_pack.poISmM/_new  2013-11-07 08:44:25.0 +0100
@@ -75,6 +75,7 @@
 Patch2: ruby19-export_init_prelude.patch
 Patch3: ruby-sort-rdoc-output.patch
 Patch4: thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch
+Patch5: CVE-2013-4287-4363.patch
 #
 Summary:An Interpreted Object-Oriented Scripting Language
 License:BSD-2-Clause or Ruby
@@ -214,6 +215,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4
+%patch5 -p1
 %if 0%{?needs_optimization_zero}
 touch -r configure configure.timestamp
 perl -p -i.bak -e 's|-O2|-O0|g' configure

++ CVE-2013-4287-4363.patch ++
diff -Naur a/lib/rubygems/version.rb b/lib/rubygems/version.rb
--- a/lib/rubygems/version.rb   2013-10-18 13:56:08.178585912 +0200
+++ b/lib/rubygems/version.rb   2013-10-18 13:59:37.788597985 +0200
@@ -146,7 +146,7 @@
   include Comparable
 
   VERSION_PATTERN = '[0-9]+(\.[0-9a-zA-Z]+)*' # :nodoc:
-  ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})*\s*\z/ # :nodoc:
+  ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})?\s*\z/ # :nodoc:
 
   ##
   # A string representation of this Version.
diff -Naur a/test/rubygems/test_gem_requirement.rb 
b/test/rubygems/test_gem_requirement.rb
--- a/test/rubygems/test_gem_requirement.rb 2013-10-18 13:56:08.150585911 
+0200
+++ b/test/rubygems/test_gem_requirement.rb 2013-10-18 14:03:29.201611312 
+0200
@@ -37,17 +37,22 @@
   end
 
   def test_parse_bad
-e = assert_raises ArgumentError do
-  Gem::Requirement.parse nil
+[
+  nil,
+  '',
+  '! 1',
+  '= junk',
+  '1..2',
+].each do |bad|
+  e = assert_raises Gem::Requirement::BadRequirementError do
+Gem::Requirement.parse bad
+  end
+  assert_equal 'Illformed requirement [""]', e.message
 end
-
-assert_equal 'Illformed requirement [nil]', e.message
-
 e = assert_raises ArgumentError do
   Gem::Requirement.parse ""
 end
 
-assert_equal 'Illformed requirement [""]', e.message
   end
 
   def test_prerelease_eh
diff -Naur a/test/rubygems/test_gem_version.rb 
b/test/rubygems/test_gem_version.rb
--- a/test/rubygems/test_gem_version.rb 2013-10-18 13:56:08.150585911 +0200
+++ b/test/rubygems/test_gem_version.rb 2013-10-18 14:04:42.441615531 +0200
@@ -64,12 +64,17 @@
   end
 
   def test_initialize_bad
-["junk", "1.0\n2.0"].each do |bad|
-  e = assert_raises ArgumentError do
+%W[
+  junk
+  1.0\n2.0
+  1..2
+  1.2\ 3.4
+].each do |bad|
+  e = assert_raises ArgumentError, bad do
 Gem::Version.new bad
   end
 
-  assert_equal "Malformed version number string #{bad}", e.message
+  assert_equal "Malformed version number string #{bad}", e.message, bad
 end
   end
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2013-07-16 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2013-07-16 16:14:59

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2013-03-22 
12:07:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2013-07-16 
16:15:01.0 +0200
@@ -1,0 +2,11 @@
+Tue Jul  2 16:15:01 UTC 2013 - jmassaguer...@suse.com
+
+- update to 1.9.3.p392
+  This release includes a fix for CVE-2013-4073 (bnc#827265)
+
+  And some other bugfixes are also included
+
+  see /usr/share/doc/packages/ruby19/Changelog for more details
+ 
+
+---

Old:

  ruby-1.9.3-p392.tar.bz2

New:

  ruby-1.9.3-p448.tar.bz2



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.ObBMsv/_old  2013-07-16 16:15:01.0 +0200
+++ /var/tmp/diff_new_pack.ObBMsv/_new  2013-07-16 16:15:01.0 +0200
@@ -17,11 +17,11 @@
 
 
 Name:   ruby19
-Version:1.9.3.p392
+Version:1.9.3.p448
 Release:0
 #
 %define pkg_version 1.9.3
-%define patch_level p392
+%define patch_level p448
 # keep in sync with macro file!
 %define rb_binary_suffix 1.9
 %define rb_ver  1.9.1

++ ruby-1.9.3-p392.tar.bz2 -> ruby-1.9.3-p448.tar.bz2 ++
/work/SRC/openSUSE:Factory/ruby19/ruby-1.9.3-p392.tar.bz2 
/work/SRC/openSUSE:Factory/.ruby19.new/ruby-1.9.3-p448.tar.bz2 differ: char 11, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2013-03-22 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2013-03-22 12:07:14

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is "jmassaguer...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2013-03-10 
08:39:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2013-03-22 
12:07:15.0 +0100
@@ -16,0 +17,7 @@
+---
+Fri Feb  8 12:21:05 UTC 2013 - kkae...@suse.com
+
+- replace bind_stack.patch with upstream patch (bnc#796757)
+  (thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch)
+  * thread_pthread.c (ruby_init_stack): ignore `STACK_END_ADDRESS'
+if Ruby interpreter is running on co-routine.

Old:

  bind_stack.patch

New:

  thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.KnJVth/_old  2013-03-22 12:07:17.0 +0100
+++ /var/tmp/diff_new_pack.KnJVth/_new  2013-03-22 12:07:17.0 +0100
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:   ruby19
 Version:1.9.3.p392
 Release:0
@@ -75,7 +74,7 @@
 Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch
 Patch2: ruby19-export_init_prelude.patch
 Patch3: ruby-sort-rdoc-output.patch
-Patch4: bind_stack.patch
+Patch4: thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch
 #
 Summary:An Interpreted Object-Oriented Scripting Language
 License:BSD-2-Clause or Ruby

++ thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch ++
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in 
../orig-ruby-1.9.3-p362/thread_pthread.c ./thread_pthread.c
--- ../orig-ruby-1.9.3-p362/thread_pthread.c2012-09-20 16:34:12.0 
+0200
+++ ./thread_pthread.c  2013-02-08 13:19:46.609491143 +0100
@@ -593,6 +593,27 @@
 #endif
native_main_thread.stack_maxsize = size - space;
 }
+
+/* If addr is out of range of main-thread stack range estimation,  */
+/* it should be on co-routine (alternative stack). [Feature #2294] */
+{
+   void *start, *end;
+
+   if (STACK_DIR_UPPER(1,0)) {
+   start = native_main_thread.stack_start;
+   end = (char *)native_main_thread.stack_start + 
native_main_thread.stack_maxsize;
+   }
+   else {
+   start = (char *)native_main_thread.stack_start - 
native_main_thread.stack_maxsize;
+   end = native_main_thread.stack_start;
+   }
+
+   if ((void *)addr < start || (void *)addr > end) {
+   /* out of range */
+   native_main_thread.stack_start = (VALUE *)addr;
+   native_main_thread.stack_maxsize = 0; /* unknown */
+   }
+}
 }
 
 #define CHECK_ERR(expr) \
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2013-03-09 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2013-03-10 08:39:14

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is "jmassaguer...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2013-02-09 
10:15:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2013-03-10 
08:39:15.0 +0100
@@ -1,0 +2,17 @@
+Fri Mar  1 18:22:29 UTC 2013 - jmassaguer...@suse.com
+
+- update to 1.9.3 p392 
+  This release includes security fixes about bundled JSON and 
+  REXML.
+
+* Denial of Service and Unsafe Object Creation Vulnerability 
+  in JSON (CVE-2013-0269)
+
+* Entity expansion DoS vulnerability in REXML (XML bomb)
+ 
+  And some small bugfixes are also included 
+  
+  see /usr/share/doc/packages/ruby19/Changelog for more details
+ 
+
+---

Old:

  ruby-1.9.3-p385.tar.bz2

New:

  ruby-1.9.3-p392.tar.bz2



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.kaPpWl/_old  2013-03-10 08:39:17.0 +0100
+++ /var/tmp/diff_new_pack.kaPpWl/_new  2013-03-10 08:39:17.0 +0100
@@ -16,12 +16,13 @@
 #
 
 
+
 Name:   ruby19
-Version:1.9.3.p385
+Version:1.9.3.p392
 Release:0
 #
 %define pkg_version 1.9.3
-%define patch_level p385
+%define patch_level p392
 # keep in sync with macro file!
 %define rb_binary_suffix 1.9
 %define rb_ver  1.9.1
@@ -144,6 +145,7 @@
 %if 0%{?suse_version} >= 1120
 BuildArch:  noarch
 %endif
+
 %description doc-ri
 This package contains the RI docs for ruby
 
@@ -154,6 +156,7 @@
 %if 0%{?suse_version} >= 1120
 BuildArch:  noarch
 %endif
+
 %description doc-html
 This package contains the HTML docs for ruby
 
@@ -164,6 +167,7 @@
 %if 0%{?suse_version} >= 1120
 BuildArch:  noarch
 %endif
+
 %description examples
 Example scripts for ruby
 
@@ -174,6 +178,7 @@
 %if 0%{?suse_version} >= 1120
 BuildArch:  noarch
 %endif
+
 %description test-suite
 Ruby is an interpreted scripting language for quick and easy
 object-oriented programming.  It has many features for processing text
@@ -253,6 +258,7 @@
 done
 
 %if 0%{?run_tests}
+
 %check
 export LD_LIBRARY_PATH="$PWD"
 # we know some tests will fail when they do not find a /usr/bin/ruby
@@ -260,6 +266,7 @@
 %endif
 
 %post   -p /sbin/ldconfig
+
 %postun -p /sbin/ldconfig
 
 %files

++ ruby-1.9.3-p385.tar.bz2 -> ruby-1.9.3-p392.tar.bz2 ++
/work/SRC/openSUSE:Factory/ruby19/ruby-1.9.3-p385.tar.bz2 
/work/SRC/openSUSE:Factory/.ruby19.new/ruby-1.9.3-p392.tar.bz2 differ: char 11, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2013-02-09 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2013-02-09 10:15:46

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is "jmassaguer...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2013-01-10 
13:53:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2013-02-09 
10:15:49.0 +0100
@@ -1,0 +2,9 @@
+Wed Feb  6 16:27:34 UTC 2013 - mrueck...@suse.de
+
+- update to 1.9.3 p385 (bnc#802406)
+  XSS exploit of RDoc documentation generated by rdoc
+  (CVE-2013-0256)
+
+  for other changes see /usr/share/doc/packages/ruby19/Changelog
+
+---
@@ -6,0 +16,7 @@
+Fri Jan  4 13:33:09 UTC 2013 - kkae...@suse.com
+
+- added bind_stack.patch: (bnc#796757)
+  Fixes stack boundary issues when embedding Ruby into
+  threaded C code (Ruby bug #2294)
+
+---
@@ -15 +31 @@
-- update to 1.9.3 p327 to get the fix for 
+- update to 1.9.3 p327 (bnc#789983)
@@ -27 +43 @@
-- update to 1.9.3 p286
+- update to 1.9.3 p286 (bnc#783511, bnc#791199)
@@ -33 +49 @@
-  many other bug fixes.
+  many other bug fixes. (CVE-2012-4522)

Old:

  ruby-1.9.3-p362.tar.bz2

New:

  bind_stack.patch
  ruby-1.9.3-p385.tar.bz2



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.N8nSTx/_old  2013-02-09 10:15:52.0 +0100
+++ /var/tmp/diff_new_pack.N8nSTx/_new  2013-02-09 10:15:52.0 +0100
@@ -17,11 +17,11 @@
 
 
 Name:   ruby19
-Version:1.9.3.p362
+Version:1.9.3.p385
 Release:0
 #
 %define pkg_version 1.9.3
-%define patch_level p362
+%define patch_level p385
 # keep in sync with macro file!
 %define rb_binary_suffix 1.9
 %define rb_ver  1.9.1
@@ -74,6 +74,7 @@
 Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch
 Patch2: ruby19-export_init_prelude.patch
 Patch3: ruby-sort-rdoc-output.patch
+Patch4: bind_stack.patch
 #
 Summary:An Interpreted Object-Oriented Scripting Language
 License:BSD-2-Clause or Ruby
@@ -208,6 +209,7 @@
 %patch1
 %patch2 -p1
 %patch3 -p1
+%patch4
 %if 0%{?needs_optimization_zero}
 touch -r configure configure.timestamp
 perl -p -i.bak -e 's|-O2|-O0|g' configure

++ bind_stack.patch ++
Index: gc.c
===
--- gc.c.orig   2013-01-15 08:29:28.0 +0100
+++ gc.c2013-02-06 17:26:39.675029432 +0100
@@ -2198,6 +2198,24 @@ ready_to_gc(rb_objspace_t *objspace)
 return TRUE;
 }
 
+static VALUE *ruby_stack_lower_bound = 0, *ruby_stack_upper_bound = 0;
+static char ruby_stack_is_bound = 0;
+
+void
+ruby_bind_stack(void *lower_bound, void *upper_bound)
+{
+assert(upper_bound > lower_bound && lower_bound > 0);
+ruby_stack_lower_bound = lower_bound;
+ruby_stack_upper_bound = upper_bound;
+ruby_stack_is_bound = 1;
+}
+
+#define FIX_STACK_BOUNDS(start, end, th) \
+ if (ruby_stack_is_bound && th == th->vm->main_thread) { \
+  if (start < ruby_stack_lower_bound) { start = 
ruby_stack_lower_bound; } \
+  if (end   > ruby_stack_upper_bound) { end   = 
ruby_stack_upper_bound; } \
+ }
+
 static void
 before_gc_sweep(rb_objspace_t *objspace)
 {
@@ -2524,6 +2542,7 @@ mark_current_machine_context(rb_objspace
 
 SET_STACK_END;
 GET_STACK_BOUNDS(stack_start, stack_end, 1);
+FIX_STACK_BOUNDS(stack_start, stack_end, th);
 
 mark_locations_array(objspace, save_regs_gc_mark.v, 
numberof(save_regs_gc_mark.v));
 
@@ -2623,6 +2642,7 @@ rb_gc_mark_machine_stack(rb_thread_t *th
 VALUE *stack_start, *stack_end;
 
 GET_STACK_BOUNDS(stack_start, stack_end, 0);
+FIX_STACK_BOUNDS(stack_start, stack_end, th);
 rb_gc_mark_locations(stack_start, stack_end);
 #ifdef __ia64
 rb_gc_mark_locations(th->machine_register_stack_start, 
th->machine_register_stack_end);
Index: include/ruby/ruby.h
===
--- include/ruby/ruby.h.orig2013-02-06 17:25:51.528019626 +0100
+++ include/ruby/ruby.h 2013-02-06 17:25:51.558019656 +0100
@@ -1224,6 +1224,17 @@ void ruby_init_stack(volatile VALUE*);
 #define RUBY_INIT_STACK \
 VALUE variable_in_this_stack_frame; \
 ruby_init_stack(&variable_in_this_stack_frame);
+/*
+ *  Binds the stack of Ruby's main thread to the region of memory that spans
+ *  inclusively from the given lower boundary to the given upper boundary:
+ *
+ *  (lower) <= (stack pointer of Ruby's main thread) <= (upper)
+ *
+ *  These boundaries do not protect Rub

commit ruby19 for openSUSE:Factory

2013-01-10 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2013-01-10 13:53:55

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is "jmassaguer...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2013-01-07 
17:40:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2013-01-10 
13:53:57.0 +0100
@@ -1,0 +2,5 @@
+Tue Jan  8 20:35:50 UTC 2013 - co...@suse.com
+
+- readd the private header *atomic.h
+
+---



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.Fdd99z/_old  2013-01-10 13:53:58.0 +0100
+++ /var/tmp/diff_new_pack.Fdd99z/_new  2013-01-10 13:53:58.0 +0100
@@ -244,7 +244,7 @@
 echo "%defattr(-,root,root,-)" > devel-extra-excludes
 echo "%defattr(-,root,root,-)" > devel-extra-list
 for i in iseq.h insns.inc insns_info.inc revision.h version.h  
thread_pthread.h \
-  method.h id.h vm_core.h vm_opts.h node.h debug.h eval_intern.h; do
+  ruby_atomic.h method.h id.h vm_core.h vm_opts.h node.h debug.h 
eval_intern.h; do
   install -m 644 $i %{buildroot}%{_includedir}/ruby-%{rb_ver}/
   echo "%exclude %{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-excludes  
   echo "%{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-list

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2013-01-07 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2013-01-07 17:40:15

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is "jmassaguer...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-11-20 
20:19:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2013-01-07 
17:40:17.0 +0100
@@ -1,0 +2,6 @@
+Sun Dec 30 11:51:20 UTC 2012 - co...@suse.com
+
+- update to 1.9.3 p362 
+  * many bug fixes.
+
+---

Old:

  ruby-1.9.3-p327.tar.bz2

New:

  ruby-1.9.3-p362.tar.bz2



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.QTxlTk/_old  2013-01-07 17:40:19.0 +0100
+++ /var/tmp/diff_new_pack.QTxlTk/_new  2013-01-07 17:40:19.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ruby19
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,11 +17,11 @@
 
 
 Name:   ruby19
-Version:1.9.3.p327
+Version:1.9.3.p362
 Release:0
 #
 %define pkg_version 1.9.3
-%define patch_level p327
+%define patch_level p362
 # keep in sync with macro file!
 %define rb_binary_suffix 1.9
 %define rb_ver  1.9.1
@@ -244,7 +244,7 @@
 echo "%defattr(-,root,root,-)" > devel-extra-excludes
 echo "%defattr(-,root,root,-)" > devel-extra-list
 for i in iseq.h insns.inc insns_info.inc revision.h version.h  
thread_pthread.h \
-  atomic.h method.h id.h vm_core.h vm_opts.h node.h debug.h eval_intern.h; do
+  method.h id.h vm_core.h vm_opts.h node.h debug.h eval_intern.h; do
   install -m 644 $i %{buildroot}%{_includedir}/ruby-%{rb_ver}/
   echo "%exclude %{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-excludes  
   echo "%{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-list

++ ruby-1.9.3-p327.tar.bz2 -> ruby-1.9.3-p362.tar.bz2 ++
/work/SRC/openSUSE:Factory/ruby19/ruby-1.9.3-p327.tar.bz2 
/work/SRC/openSUSE:Factory/.ruby19.new/ruby-1.9.3-p362.tar.bz2 differ: char 11, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-11-20 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-11-20 20:19:16

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is "jmassaguer...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-11-03 
21:31:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-11-20 
20:19:18.0 +0100
@@ -1,0 +2,12 @@
+Tue Nov 13 14:09:45 UTC 2012 - co...@suse.com
+
+- update to 1.9.3 p327 to get the fix for 
+  CVE-2012-5371 and plenty of other fixes
+
+---
+Tue Nov  6 05:31:47 UTC 2012 - co...@suse.com
+
+- make sure the rdoc output is more stable for build-compare
+  (new patch ruby-sort-rdoc-output.patch)
+
+---

Old:

  ruby-1.9.3-p286.tar.bz2

New:

  ruby-1.9.3-p327.tar.bz2
  ruby-sort-rdoc-output.patch



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.rC1HV3/_old  2012-11-20 20:19:20.0 +0100
+++ /var/tmp/diff_new_pack.rC1HV3/_new  2012-11-20 20:19:20.0 +0100
@@ -17,11 +17,11 @@
 
 
 Name:   ruby19
-Version:1.9.3.p286
+Version:1.9.3.p327
 Release:0
 #
 %define pkg_version 1.9.3
-%define patch_level p286
+%define patch_level p327
 # keep in sync with macro file!
 %define rb_binary_suffix 1.9
 %define rb_ver  1.9.1
@@ -73,6 +73,7 @@
 Patch:  rubygems-1.5.0_buildroot.patch
 Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch
 Patch2: ruby19-export_init_prelude.patch
+Patch3: ruby-sort-rdoc-output.patch
 #
 Summary:An Interpreted Object-Oriented Scripting Language
 License:BSD-2-Clause or Ruby
@@ -206,6 +207,7 @@
 %patch
 %patch1
 %patch2 -p1
+%patch3 -p1
 %if 0%{?needs_optimization_zero}
 touch -r configure configure.timestamp
 perl -p -i.bak -e 's|-O2|-O0|g' configure

++ ruby-1.9.3-p286.tar.bz2 -> ruby-1.9.3-p327.tar.bz2 ++
/work/SRC/openSUSE:Factory/ruby19/ruby-1.9.3-p286.tar.bz2 
/work/SRC/openSUSE:Factory/.ruby19.new/ruby-1.9.3-p327.tar.bz2 differ: char 11, 
line 1

++ ruby-sort-rdoc-output.patch ++
Index: ruby-1.9.3-p194/lib/rdoc/generator/template/darkfish/classpage.rhtml
===
--- ruby-1.9.3-p194.orig/lib/rdoc/generator/template/darkfish/classpage.rhtml
+++ ruby-1.9.3-p194/lib/rdoc/generator/template/darkfish/classpage.rhtml
@@ -33,7 +33,7 @@
 In Files
 
   
-  <% klass.in_files.each do |tl| %>
+  <% klass.in_files.sort.each do |tl| %>
 <%= h 
tl.absolute_name %>
   <% end %>
Index: ruby-1.9.3-p194/lib/rdoc/stats.rb
===
--- ruby-1.9.3-p194.orig/lib/rdoc/stats.rb
+++ ruby-1.9.3-p194/lib/rdoc/stats.rb
@@ -288,7 +288,7 @@ class RDoc::Stats
 else
   report << '# in files:'
 
-  cm.in_files.each do |file|
+  cm.in_files.sort.each do |file|
 report << "#   #{file.full_name}"
   end
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-11-03 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-11-03 21:31:20

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is "jmassaguer...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-10-26 
17:47:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-11-03 
21:31:22.0 +0100
@@ -1,0 +2,14 @@
+Sat Nov  3 08:12:18 UTC 2012 - co...@suse.com
+
+- update to 1.9.3 p286
+  This release includes some security fixes, and many other bug fixes.
+
+  $SAFE escaping vulnerability about Exception#to_s / NameError#to_s 
+  (CVE-2012-4464, CVE-2012-4466)
+  Unintentional file creation caused by inserting an illegal NUL character
+  many other bug fixes.
+  
+  See Changelog for the complete set
+- remove ruby-1.8.7_safe_level_bypass.patch as it's upstream
+
+---

Old:

  ruby-1.8.7_safe_level_bypass.patch
  ruby-1.9.3-p194.tar.bz2

New:

  ruby-1.9.3-p286.tar.bz2



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.j3IO5q/_old  2012-11-03 21:31:23.0 +0100
+++ /var/tmp/diff_new_pack.j3IO5q/_new  2012-11-03 21:31:23.0 +0100
@@ -17,11 +17,11 @@
 
 
 Name:   ruby19
-Version:1.9.3.p194
+Version:1.9.3.p286
 Release:0
 #
 %define pkg_version 1.9.3
-%define patch_level p194
+%define patch_level p286
 # keep in sync with macro file!
 %define rb_binary_suffix 1.9
 %define rb_ver  1.9.1
@@ -73,7 +73,6 @@
 Patch:  rubygems-1.5.0_buildroot.patch
 Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch
 Patch2: ruby19-export_init_prelude.patch
-Patch3: ruby-1.8.7_safe_level_bypass.patch
 #
 Summary:An Interpreted Object-Oriented Scripting Language
 License:BSD-2-Clause or Ruby
@@ -207,7 +206,6 @@
 %patch
 %patch1
 %patch2 -p1
-%patch3
 %if 0%{?needs_optimization_zero}
 touch -r configure configure.timestamp
 perl -p -i.bak -e 's|-O2|-O0|g' configure

++ ruby-1.9.3-p194.tar.bz2 -> ruby-1.9.3-p286.tar.bz2 ++
/work/SRC/openSUSE:Factory/ruby19/ruby-1.9.3-p194.tar.bz2 
/work/SRC/openSUSE:Factory/.ruby19.new/ruby-1.9.3-p286.tar.bz2 differ: char 11, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-10-26 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-10-26 17:47:50

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is "jmassaguer...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-10-19 
08:52:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-10-26 
17:47:52.0 +0200
@@ -1,0 +2,7 @@
+Fri Oct 26 14:27:36 UTC 2012 - mrueck...@suse.de
+
+- added ruby-1.8.7_safe_level_bypass.patch: (bnc#783511)
+  Fixes a SAFE_LEVEL bypass in name_err_to_s and exc_to_s.
+  CVE-2012-4464
+
+---

New:

  ruby-1.8.7_safe_level_bypass.patch



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.tVX9CI/_old  2012-10-26 17:47:53.0 +0200
+++ /var/tmp/diff_new_pack.tVX9CI/_new  2012-10-26 17:47:53.0 +0200
@@ -73,6 +73,7 @@
 Patch:  rubygems-1.5.0_buildroot.patch
 Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch
 Patch2: ruby19-export_init_prelude.patch
+Patch3: ruby-1.8.7_safe_level_bypass.patch
 #
 Summary:An Interpreted Object-Oriented Scripting Language
 License:BSD-2-Clause or Ruby
@@ -206,6 +207,7 @@
 %patch
 %patch1
 %patch2 -p1
+%patch3
 %if 0%{?needs_optimization_zero}
 touch -r configure configure.timestamp
 perl -p -i.bak -e 's|-O2|-O0|g' configure

++ ruby-1.8.7_safe_level_bypass.patch ++
Index: error.c
===
--- error.c.orig2012-02-25 13:32:19.0 +0100
+++ error.c 2012-10-26 13:03:11.760708214 +0200
@@ -569,7 +569,6 @@ exc_to_s(VALUE exc)
 
 if (NIL_P(mesg)) return rb_class_name(CLASS_OF(exc));
 r = rb_String(mesg);
-OBJ_INFECT(r, exc);
 return r;
 }
 
@@ -853,11 +852,7 @@ name_err_to_s(VALUE exc)
 
 if (NIL_P(mesg)) return rb_class_name(CLASS_OF(exc));
 StringValue(str);
-if (str != mesg) {
-   rb_iv_set(exc, "mesg", mesg = str);
-}
-OBJ_INFECT(mesg, exc);
-return mesg;
+return str;
 }
 
 /*
@@ -988,7 +983,6 @@ name_err_mesg_to_str(VALUE obj)
args[2] = d;
mesg = rb_f_sprintf(NAME_ERR_MESG_COUNT, args);
 }
-OBJ_INFECT(mesg, obj);
 return mesg;
 }
 
Index: test/ruby/test_exception.rb
===
--- test/ruby/test_exception.rb.orig2012-02-08 01:44:05.0 +0100
+++ test/ruby/test_exception.rb 2012-10-26 13:03:11.761708215 +0200
@@ -333,4 +333,54 @@ end.join
   load(t.path)
 end
   end
+
+  def test_to_s_taintness_propagation
+for exc in [Exception, NameError]
+  m = "abcdefg"
+  e = exc.new(m)
+  e.taint
+  s = e.to_s
+  assert_equal(false, m.tainted?,
+   "#{exc}#to_s should not propagate taintness")
+  assert_equal(false, s.tainted?,
+   "#{exc}#to_s should not propagate taintness")
+end
+
+o = Object.new
+def o.to_str
+  "foo"
+end
+o.taint
+e = NameError.new(o)
+s = e.to_s
+assert_equal(false, s.tainted?)
+  end
+
+  def test_exception_to_s_should_not_propagate_untrustedness
+favorite_lang = "Ruby"
+
+for exc in [Exception, NameError]
+  assert_raise(SecurityError) do
+lambda {
+  $SAFE = 4
+  exc.new(favorite_lang).to_s
+  favorite_lang.replace("Python")
+}.call
+  end
+end
+
+assert_raise(SecurityError) do
+  lambda {
+$SAFE = 4
+o = Object.new
+o.singleton_class.send(:define_method, :to_str) {
+  favorite_lang
+}
+NameError.new(o).to_s
+favorite_lang.replace("Python")
+  }.call
+end
+
+assert_equal("Ruby", favorite_lang)
+  end
 end
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-10-18 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-10-19 08:52:17

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-09-25 
14:18:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-10-19 
08:52:22.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 18 10:10:55 UTC 2012 - co...@suse.com
+
+- remove build depencency on ca certificates - only causing cycles
+
+---



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.GVj4Ec/_old  2012-10-19 08:52:23.0 +0200
+++ /var/tmp/diff_new_pack.GVj4Ec/_new  2012-10-19 08:52:23.0 +0200
@@ -64,12 +64,6 @@
 BuildRequires:  valgrind
 %endif
 %endif
-%if 0%{?suse_version} > 1120
-BuildRequires:  ca-certificates
-BuildRequires:  ca-certificates-cacert
-%else
-BuildRequires:  openssl-certs
-%endif
 #
 Provides:   ruby(abi) = %{rb_ver}
 #

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-09-25 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-09-25 14:03:31

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-09-13 
07:07:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-09-25 
14:18:15.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep 13 05:04:39 UTC 2012 - co...@suse.com
+
+- one more header needed for rubygem-ruby-debug-base19
+
+---



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.iewmoj/_old  2012-09-25 14:18:17.0 +0200
+++ /var/tmp/diff_new_pack.iewmoj/_new  2012-09-25 14:18:17.0 +0200
@@ -248,7 +248,7 @@
 echo "%defattr(-,root,root,-)" > devel-extra-excludes
 echo "%defattr(-,root,root,-)" > devel-extra-list
 for i in iseq.h insns.inc insns_info.inc revision.h version.h  
thread_pthread.h \
-  atomic.h method.h id.h vm_core.h vm_opts.h node.h debug.h; do
+  atomic.h method.h id.h vm_core.h vm_opts.h node.h debug.h eval_intern.h; do
   install -m 644 $i %{buildroot}%{_includedir}/ruby-%{rb_ver}/
   echo "%exclude %{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-excludes  
   echo "%{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-list

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-09-12 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-09-13 07:07:36

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-08-04 
09:33:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-09-13 
07:07:37.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep  7 11:08:42 UTC 2012 - co...@suse.com
+
+- install vm_core.h and its dependencies as ruby-devel-extra
+
+---



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.PLY4H4/_old  2012-09-13 07:07:40.0 +0200
+++ /var/tmp/diff_new_pack.PLY4H4/_new  2012-09-13 07:07:40.0 +0200
@@ -125,6 +125,14 @@
 %description devel
 Development files to link against Ruby.
 
+%package devel-extra
+Summary:Special development files of ruby, normally not installed
+Group:  Development/Languages/Ruby
+Requires:   %{name}-devel = %{version}
+
+%description devel-extra
+Development files to link against Ruby.
+
 %package tk
 Summary:TCL/TK bindings for Ruby
 Group:  Development/Languages/Ruby
@@ -237,6 +245,14 @@
 %install
 %makeinstall V=1
 %{__install} -D -m 0644 %{S:6} %{buildroot}/etc/rpm/macros.ruby19
+echo "%defattr(-,root,root,-)" > devel-extra-excludes
+echo "%defattr(-,root,root,-)" > devel-extra-list
+for i in iseq.h insns.inc insns_info.inc revision.h version.h  
thread_pthread.h \
+  atomic.h method.h id.h vm_core.h vm_opts.h node.h debug.h; do
+  install -m 644 $i %{buildroot}%{_includedir}/ruby-%{rb_ver}/
+  echo "%exclude %{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-excludes  
+  echo "%{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-list
+done
 
 %if 0%{?run_tests}
 %check
@@ -276,13 +292,15 @@
 %{_mandir}/man1/ruby%{rb_binary_suffix}.1*
 %doc ChangeLog  COPYING  COPYING.ja  GPL  KNOWNBUGS.rb  LEGAL  NEWS  README  
README.EXT  README.EXT.ja  README.ja  ToDo doc/* sample/
 
-%files devel
+%files devel -f devel-extra-excludes
 %defattr(-,root,root,-)
 %{_includedir}/ruby-%{rb_ver}
 %{_libdir}/libruby%{rb_binary_suffix}.so
 %{_libdir}/libruby%{rb_binary_suffix}-static.a
 %{_libdir}/pkgconfig/ruby-1.9.pc
 
+%files devel-extra -f devel-extra-list
+
 %files tk
 %defattr(-,root,root,-)
 %{rb_libdir}/multi-tk.rb

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-08-04 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-08-04 09:33:42

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-06-12 
22:11:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-08-04 
09:33:44.0 +0200
@@ -1,0 +2,20 @@
+Wed Aug  1 11:54:11 UTC 2012 - co...@suse.com
+
+- move the provides to the ruby package instead
+
+---
+Fri Jul 27 07:22:48 UTC 2012 - co...@suse.com
+
+- add provides for the internal gems
+
+---
+Thu Jul 26 09:52:41 UTC 2012 - co...@suse.com
+
+- fix macros
+
+---
+Mon Jul  9 05:20:30 UTC 2012 - co...@suse.com
+
+- gem_install_wrapper no longer necessary
+
+---

Old:

  gem_install_wrapper.sh



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.jx4iBS/_old  2012-08-04 09:34:00.0 +0200
+++ /var/tmp/diff_new_pack.jx4iBS/_new  2012-08-04 09:34:00.0 +0200
@@ -71,13 +71,11 @@
 BuildRequires:  openssl-certs
 %endif
 #
-Provides:   rubygem-rake = 0.9.2.2
 Provides:   ruby(abi) = %{rb_ver}
 #
 Url:http://www.ruby-lang.org/
 Source: 
ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-%{pkg_version}-%{patch_level}.tar.bz2
 Source6:ruby19.macros
-Source7:gem_install_wrapper.sh
 Patch:  rubygems-1.5.0_buildroot.patch
 Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch
 Patch2: ruby19-export_init_prelude.patch
@@ -239,7 +237,6 @@
 %install
 %makeinstall V=1
 %{__install} -D -m 0644 %{S:6} %{buildroot}/etc/rpm/macros.ruby19
-%{__install} -D -m 0755 %{S:7} %{buildroot}/usr/lib/rpm/gem_install_wrapper.sh
 
 %if 0%{?run_tests}
 %check
@@ -264,7 +261,6 @@
 %{_bindir}/testrb%{rb_binary_suffix}
 %{_libdir}/libruby%{rb_binary_suffix}.so.1.9*
 %{_libdir}/ruby/
-/usr/lib/rpm/gem_install_wrapper.sh
 %exclude %{rb_libdir}/multi-tk.rb
 %exclude %{rb_libdir}/remote-tk.rb
 %exclude %{rb_libdir}/tcltk.rb

++ ruby19.macros ++
--- /var/tmp/diff_new_pack.jx4iBS/_old  2012-08-04 09:34:00.0 +0200
+++ /var/tmp/diff_new_pack.jx4iBS/_new  2012-08-04 09:34:00.0 +0200
@@ -1,4 +1,5 @@
 %rb19_binary /usr/bin/ruby1.9
+%gem19_binary/usr/bin/gem1.9
 %rb19_arch   %(%{rb19_binary} -e 'print RUBY_PLATFORM')
 %rb19_ver%(%{rb19_binary} -r rbconfig -e 'print 
RbConfig::CONFIG["ruby_version"]')
 #
@@ -39,13 +40,3 @@
 # "vendorarchdir" =>"/usr/lib64/ruby/vendor_ruby/1.9.1/x86_64-linux",
 %rb19_vendorarchdir %(%{rb19_binary} -rrbconfig -e 'puts 
RbConfig::CONFIG["vendorarchdir"]' )
 
-
-%gem19_install   /usr/lib/rpm/gem_install_wrapper.sh 
-%gem19_cleanup   /usr/bin/gem_build_cleanup 
%{buildroot}%{_libdir}/ruby/gems/%{rb19_ver}/gems/%{mod_name}-%{version}/
-%rubygems19_requires() \
-%if 0%{?suse_version} > 1100 \
-%{requires_ge ruby19}  \
-%else\
-%{requires_eq ruby19}  \
-%endif
-

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-06-12 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-06-12 22:08:09

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-05-12 
08:51:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-06-12 
22:11:12.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun  4 11:03:08 UTC 2012 - idon...@suse.com
+
+- Add patch to export ruby_init_prelude, ruby bug #5174
+
+---

New:

  ruby19-export_init_prelude.patch



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.sAjK8q/_old  2012-06-12 22:11:13.0 +0200
+++ /var/tmp/diff_new_pack.sAjK8q/_new  2012-06-12 22:11:13.0 +0200
@@ -80,6 +80,7 @@
 Source7:gem_install_wrapper.sh
 Patch:  rubygems-1.5.0_buildroot.patch
 Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch
+Patch2: ruby19-export_init_prelude.patch
 #
 Summary:An Interpreted Object-Oriented Scripting Language
 License:BSD-2-Clause or Ruby
@@ -204,6 +205,7 @@
 %setup -q -n ruby-%{pkg_version}-%{patch_level}
 %patch
 %patch1
+%patch2 -p1
 %if 0%{?needs_optimization_zero}
 touch -r configure configure.timestamp
 perl -p -i.bak -e 's|-O2|-O0|g' configure

++ ruby19-export_init_prelude.patch ++
Index: ruby-1.9.3-p194/include/ruby/ruby.h
===
--- ruby-1.9.3-p194.orig/include/ruby/ruby.h
+++ ruby-1.9.3-p194/include/ruby/ruby.h
@@ -1225,6 +1225,7 @@ void ruby_init_stack(volatile VALUE*);
 VALUE variable_in_this_stack_frame; \
 ruby_init_stack(&variable_in_this_stack_frame);
 void ruby_init(void);
+void ruby_init_prelude(void);
 void *ruby_options(int, char**);
 int ruby_run_node(void *);
 int ruby_exec_node(void *);
Index: ruby-1.9.3-p194/ruby.c
===
--- ruby-1.9.3-p194.orig/ruby.c
+++ ruby-1.9.3-p194/ruby.c
@@ -1091,7 +1091,7 @@ proc_options(long argc, char **argv, str
 return argc0 - argc;
 }
 
-static void
+void
 ruby_init_prelude(void)
 {
 Init_prelude();
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-05-11 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-05-12 08:51:35

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-05-09 
18:33:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-05-12 
08:51:39.0 +0200
@@ -1,0 +2,18 @@
+Fri May 11 10:03:11 UTC 2012 - co...@suse.com
+
+- there is no obvious use for the vim buildrequires and it's causing
+  a build cycle (because vim really requires ruby) - so remove it
+
+---
+Fri May 11 05:02:13 UTC 2012 - co...@suse.com
+
+- rubygem-rake is still named like this
+
+---
+Thu May 10 18:35:48 UTC 2012 - co...@suse.com
+
+- update to 1.9.3 p194
+   - update rubygems to 1.8.23 to verify ssl certificates
+   - other bug fixes
+
+---

Old:

  ruby-1.9.3-p125.tar.bz2

New:

  ruby-1.9.3-p194.tar.bz2



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.QNBd9j/_old  2012-05-12 08:51:42.0 +0200
+++ /var/tmp/diff_new_pack.QNBd9j/_new  2012-05-12 08:51:42.0 +0200
@@ -17,11 +17,11 @@
 
 
 Name:   ruby19
-Version:1.9.3.p125
+Version:1.9.3.p194
 Release:0
 #
 %define pkg_version 1.9.3
-%define patch_level p125
+%define patch_level p194
 # keep in sync with macro file!
 %define rb_binary_suffix 1.9
 %define rb_ver  1.9.1
@@ -70,13 +70,12 @@
 %else
 BuildRequires:  openssl-certs
 %endif
-BuildRequires:  vim
 #
-Provides:   ruby19-gem-rake = 0.9.2.2
+Provides:   rubygem-rake = 0.9.2.2
 Provides:   ruby(abi) = %{rb_ver}
 #
 Url:http://www.ruby-lang.org/
-Source: 
ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{pkg_version}-%{patch_level}.tar.bz2
+Source: 
ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-%{pkg_version}-%{patch_level}.tar.bz2
 Source6:ruby19.macros
 Source7:gem_install_wrapper.sh
 Patch:  rubygems-1.5.0_buildroot.patch

++ ruby-1.9.3-p125.tar.bz2 -> ruby-1.9.3-p194.tar.bz2 ++
/work/SRC/openSUSE:Factory/ruby19/ruby-1.9.3-p125.tar.bz2 
/work/SRC/openSUSE:Factory/.ruby19.new/ruby-1.9.3-p194.tar.bz2 differ: char 11, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ruby19 for openSUSE:Factory

2012-05-09 Thread h_root
Hello community,

here is the log from the commit of package ruby19 for openSUSE:Factory checked 
in at 2012-05-09 18:21:14

Comparing /work/SRC/openSUSE:Factory/ruby19 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby19.new (New)


Package is "ruby19", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes2012-05-08 
07:34:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes   2012-05-09 
18:33:03.0 +0200
@@ -1,0 +2,5 @@
+Tue May  8 11:37:06 UTC 2012 - co...@suse.com
+
+- readd the requires on ruby-common to fix gems suffix
+
+---



Other differences:
--
++ ruby19.spec ++
--- /var/tmp/diff_new_pack.DrvqsI/_old  2012-05-09 18:33:05.0 +0200
+++ /var/tmp/diff_new_pack.DrvqsI/_new  2012-05-09 18:33:05.0 +0200
@@ -72,8 +72,8 @@
 %endif
 BuildRequires:  vim
 #
-Provides:   ruby(abi) = %{rb_ver}
 Provides:   ruby19-gem-rake = 0.9.2.2
+Provides:   ruby(abi) = %{rb_ver}
 #
 Url:http://www.ruby-lang.org/
 Source: 
ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{pkg_version}-%{patch_level}.tar.bz2
@@ -122,7 +122,7 @@
 Requires:   %{name} = %{version}
 Provides:   rubygems19 = 1.3.7
 Provides:   rubygems19_with_buildroot_patch
-# not yet Requires:   ruby-common
+Requires:   ruby-common
 
 %description devel
 Development files to link against Ruby.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org