[Frugalware-darcs] frugalware-0.5: ruby-1.8.5-2siwenna1-i686

voroskoi voroskoi at frugalware.org
Tue Nov 14 21:02:41 CET 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-0.5;a=darcs_commitdiff;h=20061114200115-dd049-694eed06281617d259fcec861bf022163c0c30c6.gz;

[ruby-1.8.5-2siwenna1-i686
voroskoi <voroskoi at frugalware.org>**20061114200115
 secfix relbump, closes #1418
] {
addfile ./source/devel/ruby/CVE-2006-5467.patch
hunk ./source/devel/ruby/CVE-2006-5467.patch 1
+diff -ruN ruby-1.8.2-old/lib/cgi.rb ruby-1.8.2/lib/cgi.rb
+--- ruby-1.8.2-old/lib/cgi.rb	2006-10-27 15:57:32.885092000 -0700
++++ ruby-1.8.2/lib/cgi.rb	2006-10-27 15:58:09.106941425 -0700
+@@ -1016,7 +1016,7 @@
+               else
+                 stdinput.read(content_length)
+               end
+-          if c.nil?
++          if c.nil? || c.empty?
+             raise EOFError, "bad content body"
+           end
+           buf.concat(c)
hunk ./source/devel/ruby/FrugalBuild 1
-# Last modified: Tue, 29 Aug 2006 15:13:57 +0200
hunk ./source/devel/ruby/FrugalBuild 6
-pkgrel=1
+pkgrel=2siwenna1
hunk ./source/devel/ruby/FrugalBuild 14
-source=(ftp://ftp.ruby-lang.org/pub/ruby/ruby-$pkgver.tar.gz)
-sha1sums=('0638ea26e1088fc9f4237abde8c85331689ce77c')
-
-build() {
-	Fbuild --enable-shared --enable-pthread \
+source=(ftp://ftp.ruby-lang.org/pub/ruby/ruby-$pkgver.tar.gz CVE-2006-5467.patch)
+Fconfopts="$Fconfopts --enable-shared --enable-pthread \
hunk ./source/devel/ruby/FrugalBuild 17
-	--with-tcl-include=/usr/include/tcl/generic
-}
+	--with-tcl-include=/usr/include/tcl/generic"
+sha1sums=('0638ea26e1088fc9f4237abde8c85331689ce77c' \
+	  '0699e71e4f85a91e927eaa84830de44c9d578828')
}


More information about the Frugalware-darcs mailing list