Package: jruby / 1.5.6-9

Metadata

Package Version Patches format
jruby 1.5.6-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix shebang lines.patch | (download)

lib/ruby/1.8/abbrev.rb | 1 0 + 1 - 0 !
lib/ruby/1.8/irb/cmd/subirb.rb | 1 0 + 1 - 0 !
lib/ruby/1.8/irb/ext/save-history.rb | 1 0 + 1 - 0 !
lib/ruby/1.8/matrix.rb | 1 0 + 1 - 0 !
lib/ruby/1.8/rdoc/markup/sample/rdoc2latex.rb | 1 0 + 1 - 0 !
lib/ruby/1.8/rdoc/parsers/parse_rb.rb | 1 0 + 1 - 0 !
lib/ruby/1.8/set.rb | 1 0 + 1 - 0 !
lib/ruby/1.8/tsort.rb | 1 0 + 1 - 0 !
lib/ruby/1.8/wsdl/soap/wsdl2ruby.rb | 1 0 + 1 - 0 !
lib/ruby/1.9/abbrev.rb | 1 0 + 1 - 0 !
lib/ruby/1.9/rake/rake_test_loader.rb | 1 0 + 1 - 0 !
lib/ruby/1.9/set.rb | 1 0 + 1 - 0 !
lib/ruby/site_ruby/1.8/rubygems/digest/md5.rb | 1 0 + 1 - 0 !
lib/ruby/site_ruby/1.8/rubygems/digest/sha1.rb | 1 0 + 1 - 0 !
lib/ruby/site_ruby/1.8/rubygems/digest/sha2.rb | 1 0 + 1 - 0 !
15 files changed, 15 deletions(-)

 fix shebang lines

Remove extraneous shebang lines, and correct necessary jruby ones.

0002 jruby_home is at a specific location on Debian.patch | (download)

bin/jruby.sh | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 jruby_home is at a specific location on debian


0003 do not install gems.patch | (download)

build.xml | 75 1 + 74 - 0 !
1 file changed, 1 insertion(+), 74 deletions(-)

 do not install gems


0004 replace bundled libraries.patch | (download)

build.properties | 2 2 + 0 - 0 !
build.xml | 170 62 + 108 - 0 !
2 files changed, 64 insertions(+), 108 deletions(-)

 replace bundled libraries

... and use Debian packages instead

0005 ignore test failures.patch | (download)

build.xml | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 ignore test failures


0006 do not build InvokeDynamicSupport.java.patch | (download)

build.xml | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 do not build invokedynamicsupport.java

... because it requires a dependency from the Java7 world which is not packaged
yet.

0007 use unversioned jarjar.jar.patch | (download)

build.xml | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 use unversioned jarjar.jar


0008 CVE 2011 4838.patch | (download)

src/org/jruby/Ruby.java | 8 8 + 0 - 0 !
src/org/jruby/RubyHash.java | 2 1 + 1 - 0 !
src/org/jruby/RubyString.java | 7 4 + 3 - 0 !
src/org/jruby/util/MurmurHash.java | 62 62 + 0 - 0 !
4 files changed, 75 insertions(+), 4 deletions(-)

---
0009 CVE 2012 5370.patch | (download)

src/org/jruby/RubyString.java | 4 2 + 2 - 0 !
src/org/jruby/util/MurmurHash.java | 62 0 + 62 - 0 !
src/org/jruby/util/PerlHash.java | 24 24 + 0 - 0 !
3 files changed, 26 insertions(+), 64 deletions(-)

---
0010 jruby Set FD_CLOEXEC correctly using F_SETFD not F_S.patch | (download)

lib/ruby/1.8/drb/unix.rb | 2 1 + 1 - 0 !
lib/ruby/1.8/webrick/utils.rb | 2 1 + 1 - 0 !
lib/ruby/1.9/drb/unix.rb | 2 1 + 1 - 0 !
lib/ruby/1.9/webrick/utils.rb | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 [patch] jruby: set fd_cloexec correctly using f_setfd not f_setfl

Using that value on F_SETFL is just wrong, and might make the call fail
on some systems, as it's requesting to set an undetermined flag. For
example on GNU/* FD_CLOEXEC has value 1, which matches with O_WRONLY.

This might cause the code to at least leak file descriptors, and at worst
to terminate execution.

0011 java7 compat.patch | (download)

src/org/jruby/Ruby.java | 2 1 + 1 - 0 !
src/org/jruby/RubyArray.java | 2 1 + 1 - 0 !
src/org/jruby/RubyBignum.java | 8 4 + 4 - 0 !
src/org/jruby/RubyEtc.java | 24 12 + 12 - 0 !
src/org/jruby/RubyGC.java | 2 1 + 1 - 0 !
src/org/jruby/RubyGlobal.java | 4 2 + 2 - 0 !
src/org/jruby/RubyIO.java | 3 1 + 2 - 0 !
src/org/jruby/RubyKernel.java | 2 1 + 1 - 0 !
src/org/jruby/RubyModule.java | 4 2 + 2 - 0 !
src/org/jruby/RubyObject.java | 6 3 + 3 - 0 !
src/org/jruby/RubyRational.java | 4 2 + 2 - 0 !
src/org/jruby/RubyStringScanner.java | 15 6 + 9 - 0 !
src/org/jruby/RubyStruct.java | 2 1 + 1 - 0 !
src/org/jruby/ast/DefnNode.java | 4 2 + 2 - 0 !
src/org/jruby/ast/InstVarNode.java | 2 1 + 1 - 0 !
src/org/jruby/common/IRubyWarnings.java | 23 19 + 4 - 0 !
src/org/jruby/common/NullWarnings.java | 18 16 + 2 - 0 !
src/org/jruby/common/RubyWarnings.java | 77 61 + 16 - 0 !
src/org/jruby/ext/JRubyPOSIXHandler.java | 2 1 + 1 - 0 !
src/org/jruby/internal/runtime/GlobalVariables.java | 2 1 + 1 - 0 !
src/org/jruby/internal/runtime/UndefinedAccessor.java | 2 1 + 1 - 0 !
src/org/jruby/javasupport/util/RuntimeHelpers.java | 4 2 + 2 - 0 !
src/org/jruby/lexer/yacc/RubyYaccLexer.java | 6 3 + 3 - 0 !
src/org/jruby/parser/ParserSupport.java | 6 3 + 3 - 0 !
24 files changed, 147 insertions(+), 77 deletions(-)

  fix compilation issues under openjdk 7 after b142 with primitive
 + varargs now resolving as ambiguous.
0012 nailgun.patch | (download)

build.xml | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 use unversioned nailgun.jar