nixpkgs/pkgs/development/libraries/gnutls/tmpdir.patch

52 lines
2.2 KiB
Diff
Raw Normal View History

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.4.0/tests/Makefile.in 2008-06-18 17:02:36.000000000 +0200
+++ gnutls-2.4.0/tests/Makefile.in 2008-06-28 20:00:10.000000000 +0200
@@ -56,7 +56,7 @@ host_triplet = @host@
@HAVE_FORK_TRUE@am__append_2 = x509self x509signself x509dn anonself pskself dhepskself \
@HAVE_FORK_TRUE@ tlsia resume netconf-psk
-@ENABLE_OPENPGP_TRUE@@HAVE_FORK_TRUE@am__append_3 = openpgpself
+@ENABLE_OPENPGP_TRUE@@HAVE_FORK_TRUE@am__append_3 =
@ENABLE_OPRFI_TRUE@am__append_4 = oprfi
check_PROGRAMS = $(am__EXEEXT_4)
TESTS = $(am__EXEEXT_4)
@@ -151,7 +151,7 @@ libutils_la_OBJECTS = $(am_libutils_la_O
@HAVE_FORK_TRUE@ tlsia$(EXEEXT) resume$(EXEEXT) \
@HAVE_FORK_TRUE@ netconf-psk$(EXEEXT)
@ENABLE_OPENPGP_TRUE@@HAVE_FORK_TRUE@am__EXEEXT_2 = \
-@ENABLE_OPENPGP_TRUE@@HAVE_FORK_TRUE@ openpgpself$(EXEEXT)
+@ENABLE_OPENPGP_TRUE@@HAVE_FORK_TRUE@
@ENABLE_OPRFI_TRUE@am__EXEEXT_3 = oprfi$(EXEEXT)
am__EXEEXT_4 = simple$(EXEEXT) openssl$(EXEEXT) gc$(EXEEXT) \
set_pkcs12_cred$(EXEEXT) certder$(EXEEXT) \
--- gnutls-2.4.0/tests/openpgp/Makefile.in 2008-06-18 17:02:37.000000000 +0200
+++ gnutls-2.4.0/tests/openpgp/Makefile.in 2008-06-27 20:07:00.000000000 +0200
@@ -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.4.0/guile/tests/Makefile.in 2008-06-18 17:02:34.000000000 +0200
+++ gnutls-2.4.0/guile/tests/Makefile.in 2008-06-27 20:08:13.000000000 +0200
@@ -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