nixpkgs/pkgs/development/libraries/gnutls/tmpdir.patch
Ludovic Courtès ee32d677ab GnuTLS 2.6.1.
svn path=/nixpkgs/trunk/; revision=13240
2008-11-10 19:08:10 +00:00

43 lines
1.8 KiB
Diff

We disable these tests because OpenCDK's `cdk_stream_tmp_from_mem ()'
stupidly uses `tempfile ()', which does not honor $TMPDIR, leading to
build failures in chroots. See also:
http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2693
--- gnutls-2.6.1/tests/Makefile.in 2008-11-10 10:37:52.000000000 +0100
+++ gnutls-2.6.1/tests/Makefile.in 2008-11-10 19:31:52.000000000 +0100
@@ -58,7 +58,7 @@ host_triplet = @host@
@HAVE_FORK_TRUE@am__append_4 = x509self x509signself x509dn anonself pskself dhepskself \
@HAVE_FORK_TRUE@ tlsia resume netconf-psk setcredcrash
-@ENABLE_OPENPGP_TRUE@@HAVE_FORK_TRUE@am__append_5 = openpgpself
+@ENABLE_OPENPGP_TRUE@@HAVE_FORK_TRUE@am__append_5 =
@ENABLE_OPRFI_TRUE@am__append_6 = oprfi
check_PROGRAMS = $(am__EXEEXT_5)
TESTS = $(am__EXEEXT_5)
--- gnutls-2.6.1/tests/openpgp/Makefile.in 2008-11-10 10:37:52.000000000 +0100
+++ gnutls-2.6.1/tests/openpgp/Makefile.in 2008-11-10 19:32:26.000000000 +0100
@@ -51,7 +51,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-@ENABLE_OPENPGP_TRUE@TESTS = keyring$(EXEEXT)
+@ENABLE_OPENPGP_TRUE@TESTS =
@ENABLE_OPENPGP_TRUE@check_PROGRAMS = keyring$(EXEEXT)
subdir = tests/openpgp
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
--- gnutls-2.6.1/guile/tests/Makefile.in 2008-11-10 10:37:50.000000000 +0100
+++ gnutls-2.6.1/guile/tests/Makefile.in 2008-11-10 19:32:50.000000000 +0100
@@ -48,7 +48,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-@ENABLE_OPENPGP_TRUE@am__append_1 = openpgp-keys.scm openpgp-keyring.scm openpgp-auth.scm
+@ENABLE_OPENPGP_TRUE@am__append_1 =
@ENABLE_SRP_TRUE@am__append_2 = srp-base64.scm
subdir = guile/tests
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in