GnuTLS 2.4.2.

svn path=/nixpkgs/trunk/; revision=12868
This commit is contained in:
Ludovic Courtès 2008-09-16 09:14:20 +00:00
parent 88f0359c5c
commit 7c9b4112c6
2 changed files with 3 additions and 17 deletions

View file

@ -5,14 +5,14 @@ assert guileBindings -> guile != null;
stdenv.mkDerivation rec {
name = "gnutls-2.4.1";
name = "gnutls-2.4.2";
src = fetchurl {
url = "mirror://gnu/gnutls/${name}.tar.bz2";
sha256 = "1zg5ggf8raydr939glq5mwssly84c6czy1hi5gf00wwdhak0256r";
sha256 = "03mvpx35psvw51rv60jffpddziz6vbpapwn8lcgc7iwiqqbfjw0w";
};
patches = [ ./tmpdir.patch ./fix-openssl-test.patch ];
patches = [ ./tmpdir.patch ];
configurePhase = ''
./configure --prefix="$out" --enable-guile --with-guile-site-dir="$out/share/guile/site"

View file

@ -1,14 +0,0 @@
This patch fixes the `openssl' test.
See http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3050 .
--- a/tests/openssl.c
+++ b/tests/openssl.c
@@ -36,5 +36,8 @@ doit (void)
MD5_CTX c;
unsigned char md[MD5_DIGEST_LENGTH];
+ if (gnutls_global_init() != 0)
+ fail ("gnutls_global_init\n");
+
if (!gnutls_check_version (LIBGNUTLS_VERSION))
success ("gnutls_check_version ERROR\n");