-rwxr-xr-x root/root usr/lib/ruby/1.8/linux/bigdecimal.so
-rw-r--r-- root/root usr/lib/ruby/1.8/linux/config.h
-rwxr-xr-x root/root usr/lib/ruby/1.8/linux/curses.so
+-rwxr-xr-x root/root usr/lib/ruby/1.8/linux/dbm.so
-rw-r--r-- root/root usr/lib/ruby/1.8/linux/defines.h
-rwxr-xr-x root/root usr/lib/ruby/1.8/linux/digest.so
drwxr-xr-x root/root usr/lib/ruby/1.8/linux/digest/
-3fbb02294a8ca33d4684055adba5ed6f ruby-1.8.5.tar.gz
+d7d12dd9124c9b7d55cdbbee313e3931 ruby-1.8.5-p12.tar.gz
d662b7a68bb88366f2a76b433d765d75 ruby-arch.diff
9d57b2fefcb86461814462033daff254 ruby-array_shift.diff
-9d25f59d1c33a0b215f6c25260dcb536 ruby-cgi_dos.diff
8c83dec7591afc3bbea9d8325a7e29b4 ruby-rdoc-multiple_files.diff
af301cb7830a880e7b30fdba1a64ef97 ruby-valgrind.diff
# Depends on: openssl
name=ruby
-version=1.8.5
-release=2
+version=1.8.5-p12
+release=1
source=(ftp://ftp.ruby-lang.org/pub/$name/1.8/$name-$version.tar.gz \
$name-arch.diff $name-valgrind.diff \
- $name-rdoc-multiple_files.diff $name-array_shift.diff \
- $name-cgi_dos.diff)
+ $name-rdoc-multiple_files.diff $name-array_shift.diff)
build () {
cd $name-$version
patch -Np1 -i ../$name-arch.diff
patch -Np1 -i ../$name-rdoc-multiple_files.diff
patch -Np1 -i ../$name-array_shift.diff
- patch -Np0 -i ../$name-cgi_dos.diff
./configure --prefix=/usr --enable-shared --enable-pthread \
--mandir=/usr/man
+++ /dev/null
---- lib/cgi.rb.orig 2006-08-22 18:38:19.000000000 +0900
-+++ lib/cgi.rb 2006-11-03 00:18:53.000000000 +0900
-@@ -1018,7 +1018,7 @@ class CGI
- else
- stdinput.read(content_length)
- end
-- if c.nil?
-+ if c.nil? || c.empty?
- raise EOFError, "bad content body"
- end
- buf.concat(c)