Update ruby 1.8

This contains a fix for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4815.
All users of ruby 1.8 for web-facing apps should upgrade

svn path=/nixpkgs/trunk/; revision=31922
This commit is contained in:
Shea Levy 2012-01-29 18:00:22 +00:00
parent 086e9a090b
commit c277a6bc53

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.8/${name}.tar.gz";
sha256 = "0qf50wa1ziziagnxarj8z6yrsivrhchq1j9017ff3z2z7d31l9kc";
sha256 = "0b4n9d1idmsl47cq3mw6zhi94yp048ljlfgg9qdblbkvnd7arp1g";
};
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
passthru = rec {
majorVersion = "1.8";
minorVersion = "7";
patchLevel = "330";
patchLevel = "357";
libPath = "lib/ruby/${majorVersion}";
gemPath = "lib/ruby/gems/${majorVersion}";
};