Skip to content

Commit 23ca0dd

Browse files
committedJun 7, 2017
gnutls: maintenance 3.5.10 -> 3.5.13
It contains a fix for DOS possibility in servers. http://gnutls.org/security.html#GNUTLS-SA-2017-4 (cherry picked from commit 9135c9f)
1 parent 7648f52 commit 23ca0dd

File tree

1 file changed

+10
-2
lines changed
  • pkgs/development/libraries/gnutls

1 file changed

+10
-2
lines changed
 
+10-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{ callPackage, fetchurl, libunistring, ... } @ args:
22

33
callPackage ./generic.nix (args // rec {
4-
version = "3.5.10";
4+
version = "3.5.13";
55

66
src = fetchurl {
77
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/gnutls-${version}.tar.xz";
8-
sha256 = "17apwvdkkazh5w8z8mbanpj2yj8s2002qwy46wz4v3akpa33wi5g";
8+
sha256 = "15ihq6p0hnnhs8cnjrkj40dmlcaa1jjg8xg0g2ydbnlqs454ixbr";
99
};
10+
11+
# Skip two tests introduced in 3.5.11. Probable reasons of failure:
12+
# - pkgconfig: building against the result won't work before installing
13+
# - trust-store: default trust store path (/etc/ssl/...) is missing in sandbox
14+
postPatch = ''
15+
sed '2iexit 77' -i tests/pkgconfig.sh
16+
sed '/^void doit(void)/,$s/{/{ exit(77);/; t' -i tests/trust-store.c
17+
'';
1018
})

0 commit comments

Comments
 (0)