summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-03-13 10:28:53 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-03-13 10:37:58 +0100
commit63ae3f061afb42633975b965249db27c3bc4e911 (patch)
tree99f8d3a11c30e60753efe27637015b7278c66fd8
parentlibreoffice-still: apply the patch for ICU 58 (diff)
downloadnixpkgs-63ae3f061afb42633975b965249db27c3bc4e911.tar.gz
gnutls: bugfix+security 3.5.9 -> 3.5.10
http://gnutls.org/security.html#GNUTLS-SA-2017-3 (cherry picked from commit b264486cf11b5b5946a0c1ad73610a9f80f520a5)
-rw-r--r--pkgs/development/libraries/gnutls/3.5.nix4
-rw-r--r--pkgs/development/libraries/gnutls/generic.nix6
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/libraries/gnutls/3.5.nix b/pkgs/development/libraries/gnutls/3.5.nix
index 8bb1a2d97f76..a1eab1a84c11 100644
--- a/pkgs/development/libraries/gnutls/3.5.nix
+++ b/pkgs/development/libraries/gnutls/3.5.nix
@@ -1,10 +1,10 @@
{ callPackage, fetchurl, libunistring, ... } @ args:
callPackage ./generic.nix (args // rec {
- version = "3.5.9";
+ version = "3.5.10";
src = fetchurl {
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/gnutls-${version}.tar.xz";
- sha256 = "0l9971841jsfdcvcyhas17sk5rsby6x5vvwcmmj4x3zi9q60zcc2";
+ sha256 = "17apwvdkkazh5w8z8mbanpj2yj8s2002qwy46wz4v3akpa33wi5g";
};
})
diff --git a/pkgs/development/libraries/gnutls/generic.nix b/pkgs/development/libraries/gnutls/generic.nix
index cf298baf48a3..3aef10df33ed 100644
--- a/pkgs/development/libraries/gnutls/generic.nix
+++ b/pkgs/development/libraries/gnutls/generic.nix
@@ -1,6 +1,6 @@
{ lib, fetchurl, stdenv, zlib, lzo, libtasn1, nettle, pkgconfig, lzip
, guileBindings, guile, perl, gmp, autogen, libidn, p11_kit, unbound, libiconv
-, tpmSupport ? false, trousers, nettools, libunistring
+, tpmSupport ? false, trousers, which, nettools, libunistring
# Version dependent args
, version, src, patches ? [], postPatch ? "", nativeBuildInputs ? []
@@ -38,14 +38,14 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
buildInputs = [ lzo lzip libtasn1 libidn p11_kit zlib gmp autogen libunistring ]
- ++ lib.optional doCheck nettools
++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) libiconv
++ lib.optional (tpmSupport && stdenv.isLinux) trousers
++ [ unbound ]
++ lib.optional guileBindings guile
++ buildInputs;
- nativeBuildInputs = [ perl pkgconfig ] ++ nativeBuildInputs;
+ nativeBuildInputs = [ perl pkgconfig ] ++ nativeBuildInputs
+ ++ lib.optionals doCheck [ which nettools ];
propagatedBuildInputs = [ nettle ];