* OpenSSL updated to 1.0.0a.

svn path=/nixpkgs/branches/x-updates/; revision=22639
This commit is contained in:
Eelco Dolstra 2010-07-18 21:54:14 +00:00
parent ef8bf2b077
commit d06a183365

View file

@ -6,14 +6,16 @@ let
stdenv.cross; stdenv.cross;
in in
stdenv.mkDerivation ( rec { stdenv.mkDerivation rec {
name = "openssl-0.9.8n"; name = "openssl-1.0.0a";
src = fetchurl { src = fetchurl {
url = "http://www.openssl.org/source/${name}.tar.gz"; url = "http://www.openssl.org/source/${name}.tar.gz";
sha256 = "008z1h09pa6dfxs4wgbqj5i1clw4v82b1waqvwanb1kb6wlbq6mh"; sha256 = "0qqgyzfb0alwx329z8bqybzamfl9j2maykykvq6zk3ibq0gvva8q";
}; };
patches = stdenv.lib.optional stdenv.isDarwin ./darwin-arch.patch;
buildNativeInputs = [ perl ]; buildNativeInputs = [ perl ];
configureScript = "./config"; configureScript = "./config";
@ -36,4 +38,4 @@ stdenv.mkDerivation ( rec {
homepage = http://www.openssl.org/; homepage = http://www.openssl.org/;
description = "A cryptographic library that implements the SSL and TLS protocols"; description = "A cryptographic library that implements the SSL and TLS protocols";
}; };
} // (if stdenv.isDarwin then { patches = [./darwin-arch.patch]; } else {}) ) }