Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pzb:ruby
ruby
ruby.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ruby.spec of Package ruby
# # spec file for package ruby (Version 1.8.6.p286) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild # From ruby version.h %define major_minor 1.8 %define teeny 6 %define patchlevel 287 # Some useful versions %define ruby_version %{major_minor}.%{teeny} %define rb_ver %{major_minor} %define ruby_tar_ver %{ruby_version}-p%{patchlevel} # Determine which packages to build %define with_htmldoc 1 %define with_testsuite 1 %define with_examples 1 Name: ruby Version: %{ruby_version}.p%{patchlevel} Release: 9.pzb # License: GPL v2, Ruby Group: Development/Languages/Ruby # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison gdbm-devel gperf graphviz libjpeg-devel openssl-devel readline-devel tk-devel #define with_bleak_house 1 %if 0%{suse_version} >= 1030 %define use_fdupes 1 %endif %if 0%{?use_fdupes} BuildRequires: fdupes %endif %if 0%{?suse_version} < 930 BuildRequires: XFree86-devel XFree86-fonts-scalable %else BuildRequires: xorg-x11-devel xorg-x11-fonts-scalable %endif # Provides: /usr/bin/ruby Provides: ruby_with_187_vendor Provides: ruby(abi) = %{rb_ver} %if 0%{?with_bleak_house} %define bleak_house_version 4.0 Provides: ruby_with_bleak_house = %{bleak_house_version}-%{release} %endif # Url: http://www.ruby-lang.org/ Source: ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{ruby_tar_ver}.tar.bz2 Source1: irb.1 Source2: http://www.ruby-doc.org/download/ruby-doc-bundle.tar.gz # First series backports some configure/include path handling from 1.8.7 # Includes support for vendor_ruby Patch0: ruby-187svn-r15303.patch Patch1: ruby-187svn-r15377.patch Patch2: ruby-187svn-r15777.patch Patch3: ruby-187svn-r15779.patch Patch4: ruby-187svn-r16679.patch Patch5: ruby-187svn-r17030.patch Patch6: ruby-187svn-r17183.patch # Add htmldoc target Patch10: ruby-1.8.6-htmldoc.patch # Fix the stack size type (from ruby_1_8 branch) Patch100: ruby-18svn-r18463.patch # Main declaration should return int Patch101: ruby-18svn-r18459.patch # Not upstream, unclear source Patch102: ruby-pedantic-headers.diff # Patch103: ruby_1.8.6.p36_date_remove_privat.patch # Latest tests from ruby_1_8_6 branch Patch200: ruby-1.8.6.p286-missing-tests.patch # Diff after running autoreconf # We do this instead of autoreconf as SLES10 has a too-old autoconf Patch1000: ruby-1.8.6.p286_autoreconf.patch # Source5: ruby-rpmlintrc %if 0%{?with_bleak_house} #Source6: bleak_house-%{bleak_house_version}.tar.bz2 %endif # Summary: An Interpreted Object-Oriented Scripting Language %description Ruby is an interpreted scripting language for quick and easy object-oriented programming. It has many features for processing text files and performing system management tasks (as in Perl). It is simple, straight-forward, and extensible. * Ruby features: - Simple Syntax - *Normal* Object-Oriented features (class, method calls, for example) - *Advanced* Object-Oriented features(Mix-in, Singleton-method, for example) - Operator Overloading - Exception Handling - Iterators and Closures - Garbage Collection - Dynamic Loading of Object Files (on some architectures) - Highly Portable (works on many UNIX machines; DOS, Windows, Mac, BeOS, and more) Authors: -------- Yukihiro Matsumoto <matz@netlab.co.jp> %package devel License: GPL v2 or later Group: Development/Languages/Ruby Summary: Development files to link against Ruby Requires: %{name} = %{version} %if 0%{?with_bleak_house} Requires: ruby_with_bleak_house = %{bleak_house_version} Provides: ruby-devel_with_bleak_house = %{bleak_house_version}-%{release} %endif %description devel Development files to link against Ruby. Authors: -------- Yukihiro Matsumoto <matz@netlab.co.jp> %package tk License: GPL v2 or later Group: Development/Languages/Ruby Summary: TCL/TK bindings for Ruby Requires: %{name} = %{version} %description tk TCL/TK bindings for Ruby Authors: -------- Yukihiro Matsumoto <matz@netlab.co.jp> %package doc-ri License: GPL v2 or later Group: Development/Languages/Ruby Summary: Ruby Interactive Documentation Requires: %{name} = %{version} %description doc-ri This package contains the RI docs for ruby Authors: -------- Yukihiro Matsumoto <matz@netlab.co.jp> %package doc-html License: GPL v2 or later Group: Development/Languages/Ruby Summary: This package contains the HTML docs for ruby %description doc-html This package contains the HTML docs for ruby Authors: -------- Yukihiro Matsumoto <matz@netlab.co.jp> %package examples License: GPL v2 or later Group: Development/Languages/Ruby Summary: Example scripts for ruby Requires: %{name} = %{version} %description examples Example scripts for ruby Authors: -------- Yukihiro Matsumoto <matz@netlab.co.jp> %package test-suite License: GPL v2 or later Group: Development/Languages/Ruby Summary: An Interpreted Object-Oriented Scripting Language %description test-suite Ruby is an interpreted scripting language for quick and easy object-oriented programming. It has many features for processing text files and performing system management tasks (as in Perl). It is simple, straight-forward, and extensible. * Ruby features: - Simple Syntax - *Normal* Object-Oriented features (class, method calls, for example) - *Advanced* Object-Oriented features(Mix-in, Singleton-method, for example) - Operator Overloading - Exception Handling - Iterators and Closures - Garbage Collection - Dynamic Loading of Object Files (on some architectures) - Highly Portable (works on many UNIX machines; DOS, Windows, Mac, BeOS, and more) Authors: -------- Yukihiro Matsumoto <matz@netlab.co.jp> %prep %setup -q -n ruby-%{ruby_tar_ver} %{?with_bleak_house:-a6} # Config backports from 1.8.7 %patch0 -p0 %patch1 -p0 %patch2 -p0 %patch3 -p0 %patch4 -p0 %patch5 -p0 %patch6 -p0 # Add htmldoc targets %patch10 -p1 # Misc fixes %patch100 -p0 %patch101 -p0 %patch102 -p0 %patch103 -p0 # Latest tests from svn %patch200 -p1 # Effectively run autoreconf # Works around platforms with old autoconf %patch1000 -p0 %if 0%{?with_bleak_house} for patch in valgrind configure gc ; do patch -p0 < bleak_house-%{bleak_house_version}/ruby/${patch}.patch done %endif find . -type f | while read FN; do sed -r -e '1{s,^#!\s*(/[^ ]+/)?(env )?(ruby|wish)(\s|$),#!/usr/bin/\3\4,}' < "$FN" > "$FN.n" if ! cmp "$FN" "$FN.n"; then cat "$FN.n" > "$FN" fi rm -f "$FN.n" done # Some tests failed because it was expecting the wrong path sed -i -e 's,/usr/bin/env ruby,/usr/bin/ruby,' lib/wsdl/soap/wsdl2ruby.rb # make sure it _really_ rebuilds parse.c for us #mv parse.c parse.c.save %build export CFLAGS="%{optflags} -g -fno-strict-aliasing -Wall" # Disable ptheads as tk doesn't support pthreads %configure \ --docdir=%{_docdir}/%{name}/ruby-library-docs \ %if 0%{?with_htmldoc} --enable-install-html-doc \ %endif --enable-install-doc \ --disable-pthreads \ --with-default-kcode=none \ --disable-rpath \ --enable-shared \ --with-bundled-rmd160 \ --with-bundled-md5 \ --with-bundled-sha1 \ --enable-ipv6 \ --with-dbm-type=gdbm_compat \ --with-X11-lib=%{_exec_prefix}/X11R6/%{_lib} \ --disable-static %{__make} %{?_smp_mflags} %check # # move the tests out of the way that require an installed ruby # we dont have that in our build environment. # %{__mkdir} unused.test %{__mv} test/{wsdl,soap,webrick} unused.test/ # # run the test suites # export RUBY="$PWD/ruby" # Readline tests assume a basic terminal export TERM=vt100 %{__make} check ||: # # restore the tests # %{__mv} unused.test/* test/ %install %makeinstall # Add emacs mode files %{__install} -d -m 0755 %{buildroot}%{_datadir}/emacs/site-lisp %{__install} -m 0644 misc/*.el %{buildroot}%{_datadir}/emacs/site-lisp/ # Install extra man page %{__install} -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/irb.1 # If we use %doc in the %files section, rpm blows away our doc directory # So we copy the necessary files here # Fix up docs and install more docs (cd %{buildroot}%{_docdir}/%{name}; tar xf %{SOURCE2}) %{__cp} -pr \ COPYING COPYING.ja ChangeLog GPL LEGAL \ LGPL README README.EXT README.EXT.ja \ README.ja ToDo NEWS \ %{buildroot}%{_docdir}/%{name} %if 0%{?with_bleak_house} %{__cp} -v bleak_house-%{bleak_house_version}/LICENSE %{buildroot}%{_docdir}/%{name}/LICENSE_AFL_for_bleak_house %{__cp} -v bleak_house-%{bleak_house_version}/LICENSE_BSD %{buildroot}%{_docdir}/%{name}/LICENSE_BSD_for_bleak_house %endif %if 0%{?with_examples} # Files for example package %{__cp} -pr sample %{buildroot}%{_docdir}/%{name}/examples %endif %if 0%{?with_testsuite} # Files for test suite package %{__install} -d -m 0755 %{buildroot}%{_docdir}/%{name}-test-suite sed -i "s@#!\s*\./miniruby@#!/usr/bin/ruby@" runruby.rb %{__cp} -r test/ runruby.rb %{buildroot}%{_docdir}/%{name}-test-suite/ %{__ln_s} -f %{_bindir}/%{name} %{buildroot}%{_docdir}/%{name}-test-suite/%{name} %endif %if 0%{?use_fdupes} %fdupes %{buildroot} %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/%{rb_ver} %{_libdir}/*.so.* %dir %{_datadir}/emacs %dir %{_datadir}/emacs/site-lisp %{_datadir}/emacs/site-lisp/* %{_mandir}/man1/* %{_libdir}/%{name}/site_%{name} %{_libdir}/%{name}/vendor_%{name} %exclude %{_libdir}/%{name}/%{rb_ver}/tcltk.rb %exclude %{_libdir}/%{name}/%{rb_ver}/tk* %exclude %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/tcltklib.so %exclude %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/tkutil.so %exclude %{_libdir}/%{name}/%{rb_ver}/remote-tk.rb %exclude %{_libdir}/%{name}/%{rb_ver}/multi-tk.rb %{_libdir}/%{name}/%{rb_ver}/*.rb %{_libdir}/%{name}/%{rb_ver}/bigdecimal/ %{_libdir}/%{name}/%{rb_ver}/cgi/ %{_libdir}/%{name}/%{rb_ver}/date/ %{_libdir}/%{name}/%{rb_ver}/digest/ %{_libdir}/%{name}/%{rb_ver}/dl/ %{_libdir}/%{name}/%{rb_ver}/drb/ %{_libdir}/%{name}/%{rb_ver}/io/ %{_libdir}/%{name}/%{rb_ver}/irb/ %{_libdir}/%{name}/%{rb_ver}/net/ %{_libdir}/%{name}/%{rb_ver}/openssl/ %{_libdir}/%{name}/%{rb_ver}/optparse/ %{_libdir}/%{name}/%{rb_ver}/racc/ %{_libdir}/%{name}/%{rb_ver}/rdoc/ %{_libdir}/%{name}/%{rb_ver}/rexml/ %{_libdir}/%{name}/%{rb_ver}/rinda/ %{_libdir}/%{name}/%{rb_ver}/rss/ %{_libdir}/%{name}/%{rb_ver}/runit/ %{_libdir}/%{name}/%{rb_ver}/shell/ %{_libdir}/%{name}/%{rb_ver}/soap/ %{_libdir}/%{name}/%{rb_ver}/test/ %{_libdir}/%{name}/%{rb_ver}/uri/ %{_libdir}/%{name}/%{rb_ver}/webrick/ %{_libdir}/%{name}/%{rb_ver}/wsdl/ %{_libdir}/%{name}/%{rb_ver}/xmlrpc/ %{_libdir}/%{name}/%{rb_ver}/xsd/ %{_libdir}/%{name}/%{rb_ver}/yaml/ %dir %{_libdir}/%{name}/%{rb_ver}/%{rb_arch} %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/rbconfig.rb %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/*.so %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/digest/ %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/io/ %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/racc/ %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/COPYING* %doc %{_docdir}/%{name}/ChangeLog %doc %{_docdir}/%{name}/LEGAL %doc %{_docdir}/%{name}/*GPL %doc %{_docdir}/%{name}/NEWS %doc %{_docdir}/%{name}/README* %doc %{_docdir}/%{name}/ToDo %if 0%{?with_bleak_house} %doc %{_docdir}/%{name}/LICENSE_*_for_bleak_house %endif %files devel %defattr(-,root,root) %{_libdir}/lib%{name}.so %{_libdir}/lib%{name}-static.a %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/*.h %if 0%{?with_testsuite} %files test-suite %defattr(-,root,root) %{_docdir}/%{name}-test-suite %endif %files tk %defattr(-,root,root) %{_libdir}/%{name}/%{rb_ver}/tcltk.rb %{_libdir}/%{name}/%{rb_ver}/tk* %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/tcltklib.so %{_libdir}/%{name}/%{rb_ver}/%{rb_arch}/tkutil.so %{_libdir}/%{name}/%{rb_ver}/remote-tk.rb %{_libdir}/%{name}/%{rb_ver}/multi-tk.rb %if 0%{?with_htmldoc} %files doc-html %defattr(-,root,root) %doc %{_docdir}/%{name}/ruby-library-docs %doc %{_docdir}/%{name}/ruby-doc-bundle %endif %files doc-ri %defattr(-,root,root) %doc %{_datadir}/ri %if 0%{?with_examples} %files examples %defattr(-,root,root) %doc %{_docdir}/%{name}/examples %endif %changelog * Mon Aug 11 2008 pzb@novell.com - Update patches. Current mapping for old patches: ruby-1.8.6_openssl_verify_host.patch -> upstream included ruby-1.8.6.p111_vendor_ruby.patch -> replaced with upstream implementation ruby_1.8.6.p36_date_remove_privat.patch -> (pending upstream) ruby-1.8.6.p36_gc.patch -> ruby-18svn-r18463.patch ruby-1.8.6.p36_lib64.patch -> included in vendor fixes ruby-1.8.6.p36_socket_ipv6.patch -> ruby-18svn-r18459.patch ruby-1.8.6.p36_tcltk-multilib.patch -> included in configure options ruby-pedantic-headers.diff -> (pending upstream) * Fri Aug 8 2008 pzb@novell.com - Update to 1.8.6p286 - Fixes CVE-2008-1447 for Ruby - Obsoletes a bunch of patches - Remove old patches, rediff existing ones * Thu Jul 31 2008 pzb@novell.com - Patch configure rather than running autoreconf (fixes SLE10) - Add patches from 1.8.6 svn to resolve test issues - Specfile cleanups - Add patch to build html docs in Makefile * Fri Jul 25 2008 pzb@novell.com - Add debug patch to trackdown SLE10 x86_64 bit failure * Thu Jul 24 2008 pzb@novell.com - update to 1.8.6.p230 security release - Fixes Ruby memory corruption bugs in array and string handling (CVE-2008-2662, CVE-2008-2663, CVE-2008-2664, CVE-2008-2725, CVE-2008-2726) (bnc#397346) - Fixes Directory traversal vulnerability in WEBrick (CVE-2008-1891) (bnc#383299) - Add backports to prevent segfaults and integer overflow (CVE-2008-2376) (bnc#405339) - Remove ruby-1.8.6.p111_openssl_verify_host.patch (included in p230) - Backport vendor_ruby support from 1.8.7 - Backport other config path changes from 1.8.7 - Remove date_privat patch * Fri May 16 2008 mrueckert@suse.de - update to 1.8.6.p114 bugfix release - Fixes File access vulnerability of WEBrick (CVE-2008-1145) (bnc#368618) - ensure that the rss module adds the xml namespace * Fri Dec 07 2007 mrueckert@suse.de - update to 1.8.6.p111 bugfix release. important changes: - ssl fixes (see notes on the ssl patch below) - fixes for the threads support - various overflow checks - safe_level improvements - printf fixes - imap fixes for all the details see /usr/share/doc/packages/ruby/ChangeLog - added ruby-1.8.6.p111_openssl_verify_host.patch: (#329706) validate the hostname against the CN from the presented SSL certificicate. This has been enabled for telnets, ftptls, imaps and https. (CVE-2007-5162,CVE-2007-5770) For telnets and https the verification is done if the verify mode is set to anything else than OpenSSL::SSL::VERIFY_NONE. For ftptls it is always enabled. For imaps it is checked if you enable verification. - added support to build with bleak_house to allow better memleak debugging. (requires additional package ruby-bleakhouse) - updated ruby-1.8.6.p36_vendor_ruby.patch new name ruby-1.8.6.p111_vendor_ruby.patch - dropped ruby-1.8.6.p36_thread_prototype_and_testsuite.patch: included in update * Thu Oct 11 2007 dmueller@suse.de - fix headers to be compileable with -pedantic * Sun Aug 12 2007 mrueckert@suse.de - added ruby_1.8.6.p36_date_remove_privat.patch: Time.to_date() and Time.to_datetime() shouldnt be private. * Mon Aug 06 2007 mrueckert@suse.de - added ruby-1.8.6.p36_thread_prototype_and_testsuite.patch: pulled two fixes from the 1.8.6 branch: * avoid executing shell in the testsuite * moved definition of rb_thread_status() to avoid errors in C++ extensions. * Mon Aug 06 2007 mrueckert@suse.de - update to 1.8.6.p36: many bugfixes and library updates. hilights: === Library updates (outstanding ones only) * date * Updated based on date2 4.0.3. * digest * New internal APIs for C and Ruby. * Support for autoloading. * See below for new features and compatibility issues. * nkf * Updated based on nkf as of 2007-01-28. * tk * Tk::X_Scrollable (Y_Scrollable) is renamed to Tk::XScrollable (YScrollable). Tk::X_Scrollable (Y_Scrollable) is still available, but it is an alias name. * Updated Tile extension support based on Tile 0.7.8. * Support --without-X11 configure option for non-X11 versions of Tcl/Tk (e.g. Tcl/Tk Aqua). * New sample script: irbtkw.rbw -- IRB on Ruby/Tk. It has no trouble about STDIN blocking on Windows. === New methods and features * builtin classes * New method: Kernel#instance_variable_defined? * New method: Module#class_variable_defined? * New feature: Dir::glob() can now take an array of glob patterns. * digest * New digest class methods: file * New digest instance methods: clone, reset, new, inspect, digest_length (alias size or length), block_length() * New library: digest/bubblebabble * New function: Digest(name) * fileutils * New option for FileUtils.cp_r(): :remove_destination * thread * Replaced with much faster mutex implementation in C. The former implementation is available with a configure option `--disable-fastthread'. * webrick * New method: WEBrick::Cookie.parse_set_cookies() === Compatibility issues (excluding feature bug fixes) * builtin classes * String#intern now raises SecurityError when $SAFE level is greater than zero. * fileutils * A minor implementation change breaks Rake <=0.7.1. Updating Rake to 0.7.2 fixes the problem. * digest * The constructor does no longer take an initial string to feed; digest() and hexdigest() now do, instead. For all details see the NEWS or ChangeLog file. - rediffed patch ruby-1.8.2-gc.diff new name ruby-1.8.6.p36_gc.patch - rediffed patch ruby-1.8.2-tcltk-multilib.patch new name ruby-1.8.6.p36_tcltk-multilib.patch - rediffed patch ruby-socket_ipv6.patch new name ruby-1.8.6.p36_socket_ipv6.patch - rediffed patch ruby-1.8.5-vendor_ruby.patch new name ruby-1.8.6.p36_vendor_ruby.patch - rediffed patch ruby-1.8.5.p12-lib64.diff new name ruby-1.8.6.p36_lib64.patch * Fri Mar 30 2007 rguenther@suse.de - add bison BuildRequires - add emacs site-lisp directories * Fri Mar 23 2007 rguenther@suse.de - add gdbm-devel BuildRequires * Mon Feb 12 2007 mrueckert@suse.de - update to 1.8.5-p12: * stable version 1.8.5-p12 released. * ext/tk/tcltklib.c: shouldn't run the killed thread at callback. [ruby-talk: 227408] * lib/rdoc/ri/ri_options.rb: prevent NameError. [ruby-dev:29597] * dir.c (glob_helper): get rid of possible memory leak. * win32/win32.c (cmdglob, rb_w32_cmdvector, rb_w32_opendir, rb_w32_get_environ): not to use GC before initialization. * configure.in (SITE_DIR): fixed to emtpy RUBY_SITE_LIB in config.h on NetBSD. fixed: [ruby-dev:29358] * parse.y (dyna_init_gen): dvar initialization only if dvar is assigned inner block. [ruby-talk:227402] * stable version 1.8.5-p2 released. * lib/cgi.rb (CGI::QueryExtension::read_multipart): should quote boundary. JVN#84798830 (BNC #225983) (CVE-2006-6303) * bignum.c (bignorm): avoid segmentation. a patch from Hiroyuki Ito <ZXB01226@nifty.com>. [ruby-list:43012] * parse.y (primary): should set NODE even when compstmt is NULL. merge from trunk. fixed: [ruby-dev:29732] * lib/cgi.rb (CGI::QueryExtension::read_multipart): CGI content may be empty. a patch from Jamis Buck <jamis at 37signals.com>. * ext/dbm/extconf.rb: create makefile according to the result of check for dbm header. fixed: [ruby-dev:29445] * hash.c (rb_hash_s_create): fixed memory leak, based on the patch by Kent Sibilev <ksruby at gmail.com>. fixed: [ruby-talk:211233] - rediffed ruby-1.8.1-lib64.diff new name ruby-1.8.5.p12-lib64.diff - patches included in the update: cgi_multipart_eof_fix.patch ruby-1.8.4-fix-alias-safe-level.patch ruby-1.8.4-fix-insecure-dir-operation.patch ruby-1.8.4-fix-insecure-regexp-modification.patch ruby-1.8.4-no-eaccess.diff ruby-1.8.4-warnings.patch ruby-fix-autoconf-magic-code.patch - added ruby-1.8.x-autoconf_2.61a.patch: config.status changed to awk in 2.61a. adapt mkconfig.rb to the new syntax. * Mon Oct 30 2006 mrueckert@suse.de - added cgi_multipart_eof_fix.patch: fix for a denial of service condition in cgi.rb CVE-2006-5467 (#214916) * Fri Oct 20 2006 mrueckert@suse.de - run ldconfig - add site_ruby and vendor_ruby arch directories to the filelist * Wed Sep 27 2006 mrueckert@suse.de - added ruby-1.8.5-vendor_ruby.patch, site-specific.rb, vendor-specific.rb: add vendor_ruby support. This is a small change for packager. you can now run 'ruby -rvendor-specific extconf.rb' (or setup.rb) and it will be automatically installed in %%{_libdir}/ruby/vendor_ruby. * Sat Aug 26 2006 mrueckert@suse.de - Update to version 1.8.5: o Non-blocking IO | - Several methods backported from HEAD have been added: | - BasicSocket?#recv_nonblock | - IO#read_nonblock | - IO#write_nonblock | - Socket#accept_nonblock | - Socket#connect_nonblock | - Socket#recvfrom_nonblock | - TCPServer#accept_nonblock | - UDPSocket#recvfrom_nonblock | - UNIXServer#accept_nonblock | (see ruby-core:7917, ruby-core:7925). | o Process.getrlimit/setrlimit See ruby-dev:28729. | o Changes in rdoc/ri | - lots of documentation added | - RubyGems support: ri will search gem installation dirs for | additional documentation | - new options to limit the search path | o RSS | - added RSS::RootElementMixin?#to_xml (ruby-talk:197284), which | can be used to convert feeds to a different RSS version as | follows: | [[[ | rss10 = RSS::Parser.parse(File.read("1.0.rdf")) | File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))} | ]]] | - Support for taxonomies added to the RSS parser and generator. | - A number of convenience methods added | - New style API for RSS generation ruby-talk:197284 | [[[ | The recommended style is nowxxx.new_yyy do |yyy| | yyy.zzz = zzz | ... | end | | | This corresponds to the following in pre-1.8.5: | yyy = xxx.new_yyy | yyy.zzz = zzz | ]]] o Misc | - added Kernel.Pathname(path) | - added Kernel#pretty_inspect | - changes in the GC subsystem that result in better performance | in some cases | - added OptionParser?#getopts | - the per-object overhead went down to 20 bytes on win32 | (from 24) ruby-core:7474 o What breaks (!!!) | - Binding.of_caller, and therefore breakpoint (including Rails') | - several problems in ri reported: the documentation for some | methods seems to have disappeared, and several methods that | should not be documented appear in the indices; | see ruby-core:08709 - removed patches, which are included in 1.8.5: ruby-1.8.4-fix-insecure-dir-operation.patch ruby-1.8.4-fix-insecure-regexp-modification.patch ruby-1.8.4-fix-alias-safe-level.patch - updated ruby-1.8.4_linkerflags.patch. new name ruby-1.8.5_linkerflags.patch * Mon Jul 31 2006 mrueckert@suse.de - added ruby-fix-autoconf-magic-code.patch: Fix for the latest changes in the autoconf code. * Mon Jul 31 2006 mrueckert@suse.de - security fixes [CVE-2006-3694] [#193661] * added ruby-1.8.4-fix-insecure-dir-operation.patch & ruby-1.8.4-fix-insecure-regexp-modification.patch: fix the insecure operations in the certain safe-level restrictions. * ruby-1.8.4-fix-alias-safe-level.patch: preserve safe level restrictions when aliasing a function. * Mon Apr 10 2006 mrueckert@suse.de - build with -fno-strict-aliasing - enable more tests on ppc - disable drb tests * Mon Apr 03 2006 mrueckert@suse.de - reworked the ruby-1.8.4-no-eaccess.diff patch it broke when build on old distros * Thu Jan 26 2006 mrueckert@suse.de - added upstream patch for eaccess - disabled openssl tests on pcc * Wed Jan 25 2006 mrueckert@suse.de - added ruby-1.8.4_linkerflags.patch patch removes -L. from the linker flags. it seems libtool otherwise expands it to -L$PWD. this leads to trouble with our build system. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 16 2006 kukuk@suse.de - Use eaccess() from glibc [#143291] * Sun Jan 15 2006 mrueckert@suse.de - disabled the big test suite as we trigger a weird bug in the openssl bindings on ppc64 * Sat Dec 24 2005 mrueckert@suse.de - Update to 1.8.4 - dont run with --default-kcode=utf8 triggers a bug in the test suite * Fri Sep 23 2005 mrueckert@suse.de - update to 1.8.3 - updated patches for 1.8.3 - ruby-doc tarball now included as tar.bz2 * Mon Sep 12 2005 mrueckert@suse.de - fix path of the RI documentation [Bug #116408] * Thu Sep 08 2005 mrueckert@suse.de - dont make the irb man page executable. [Bug #114849] * Tue Aug 23 2005 mrueckert@suse.de - added directory entries for the site ruby dirs * Mon Aug 22 2005 mrueckert@suse.de - disabled mkmf patch for now. it breaks building the socket extension. * Sun Aug 21 2005 ro@suse.de - added directories to filelist - fix typo in filelist * Fri Aug 19 2005 mrueckert@suse.de - Build RI and html documentation. Added subpackages for them. - moved samples into a sub packages. - build tcl/tk bindings and move them into their own package. (ruby-1.8.2-tcltk-multilib.patch) - disabled optimization on ia64/x86_x64. needs investigation. - fixed parameter swap in memset call (ruby-1.8.2-strscan-memset.patch) - let mkmf create shared libraries (ruby-mkmf-shared.patch) - splitted of devel files * Tue Jul 19 2005 mge@suse.de - make "make test" run also on x86_64 by disabling code optimization (-O0), as it is for ia64 - enable "make test" for ppc64 again * Tue Jul 19 2005 mge@suse.de - Fixes #95366, CAN-2005-1992: arbitrary command execution on XMLRPC server * Wed Jun 01 2005 ro@suse.de - update to 1.8.2 * Mon Jan 03 2005 mge@suse.de - added fixes for lib/cgi.rb and lib/cgi/session.rb from ruby-1.8.2, fixes: #47886 (CAN-2004-0983) * Thu Nov 18 2004 ro@suse.de - fixed file list * Sat Sep 25 2004 ro@suse.de - added cgi_session.diff (from debian, CAN-2004-0755) * Mon Jul 26 2004 ro@suse.de - fix typo in specfile * Sun Jun 20 2004 ro@suse.de - fix find in specfile * Thu Apr 29 2004 ro@suse.de - added missing return value (unreached code) * Tue Mar 23 2004 mge@suse.de - make ruby build on ia64 and ppc64 * Sat Feb 28 2004 ro@suse.de - fix makefile rule for regenerating lex.c * Sat Feb 28 2004 ro@suse.de - add gperf to neededforbuild * Sat Feb 28 2004 ro@suse.de - fix requirement for /usr/local/bin - use no-strict-aliasing * Mon Feb 02 2004 mge@suse.de - update to 1.8.1 also fixes Bug #34226: Readline support missing from ruby * Sun Jan 11 2004 adrian@suse.de - add %%defattr * Mon Aug 04 2003 mge@suse.de - update tp 1.8.0 * Mon Jan 06 2003 mge@suse.de - update to 1.6.8 * Tue May 21 2002 meissner@suse.de - More %%_lib fixes inside package. * Tue May 21 2002 meissner@suse.de - %%_lib fixes - Added prototype for rb_node_newnode. * Fri May 17 2002 mge@suse.de - update to 1.6.7 * Mon Apr 15 2002 bk@suse.de - lib64 and new arch fixes: suse_update_config and use %%_libdir * Fri Apr 05 2002 schwab@suse.de - Remove ia64 workaround. * Tue Aug 21 2001 mge@suse.de - update to 1.6.4 * Sun May 20 2001 mge@suse.de - changes _only_ to spec-file: - make ruby shared libs built - cleanup ruby directory structure (drop /usr/share/lib/ruby/) * Wed May 09 2001 mfabian@suse.de - bzip2 sources * Thu Mar 22 2001 mge@suse.de - update to 1.6.3, merge of rread's SPEC patches * Mon Mar 19 2001 schwab@suse.de - Don't use __builtin_frame_address(2) on ia64. - Compile with -O0 on ia64 to work around compiler bug. * Mon Mar 05 2001 rread@mountainviewdata.com - introduced build-root * Fri Feb 23 2001 ro@suse.de - added readline/readline-devel to neededforbuild (split from bash) * Fri Jan 12 2001 mge@suse.de - update to 1.6.2 * Wed Dec 13 2000 schwab@suse.de - Add %%suse_update_config. - Fix computation of stack limit. * Tue Dec 05 2000 mge@suse.de - update to 1.6.1, manual 1.4.6 * Thu Jul 06 2000 mge@suse.de - initial SuSE RPM
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor