libssh: Update to 0.5.3

Fixes CVE-2012-4559, CVE-2012-4560, CVE-2012-4561 and CVE-2012-4562.
This commit is contained in:
Eelco Dolstra 2012-11-29 16:21:01 +01:00
parent 59e979177d
commit 38e847ff19

View File

@ -1,14 +1,19 @@
{stdenv, fetchurl, cmake, zlib, libgcrypt}: { stdenv, fetchurl, cmake, zlib, libgcrypt }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libssh-0.5.2"; name = "libssh-0.5.3";
src = fetchurl { src = fetchurl {
url = "http://www.libssh.org/files/0.5/${name}.tar.gz"; url = "https://red.libssh.org/attachments/download/38/${name}.tar.gz";
sha256 = "09xjb8ja8k3j3a0y3zjphhxwrnh1y618afcbbri48x87mz0vks21"; sha256 = "1w6s217vjq0w3v5i0c5ql6m0ki1yz05g9snah3azxfkl9k4schpd";
}; };
buildInputs = [ zlib libgcrypt ]; buildInputs = [ zlib libgcrypt ];
buildNativeInputs = [ cmake ]; buildNativeInputs = [ cmake ];
cmakeFlags = "-DWITH_GCRYPT=ON"; cmakeFlags = "-DWITH_GCRYPT=ON";
meta = { meta = {
description = "SSH client library"; description = "SSH client library";
license = "LGPL"; license = "LGPL";