diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/gnutls/Makefile | 7 | ||||
-rw-r--r-- | security/gnutls/PLIST | 43 | ||||
-rw-r--r-- | security/gnutls/distinfo | 16 | ||||
-rw-r--r-- | security/gnutls/patches/patch-ae | 15 | ||||
-rw-r--r-- | security/gnutls/patches/patch-fuzz_Makefile.in | 16 | ||||
-rw-r--r-- | security/gnutls/patches/patch-lib_Makefile.in | 4 | ||||
-rw-r--r-- | security/gnutls/patches/patch-lib_atomic.h | 38 | ||||
-rw-r--r-- | security/gnutls/patches/patch-tests_suite_Makefile.in | 16 |
8 files changed, 126 insertions, 29 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 98211cbb945..3032186765c 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.175 2017/08/31 10:18:12 wiz Exp $ +# $NetBSD: Makefile,v 1.176 2017/09/06 13:41:26 wiz Exp $ -DISTNAME= gnutls-3.5.15 +DISTNAME= gnutls-3.6.0 CATEGORIES= security devel -MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/ +MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/ EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org @@ -37,7 +37,6 @@ TEST_TARGET= check INFO_FILES= yes -REPLACE_BASH+= tests/cert-tests/openpgp-certs REPLACE_BASH+= tests/danetool.sh REPLACE_BASH+= tests/ocsp-tests/ocsp-must-staple-connection REPLACE_BASH+= tests/ocsp-tests/ocsp-tls-connection diff --git a/security/gnutls/PLIST b/security/gnutls/PLIST index 806151bbe39..b252520a6d8 100644 --- a/security/gnutls/PLIST +++ b/security/gnutls/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.57 2017/06/30 06:15:44 wiz Exp $ +@comment $NetBSD: PLIST,v 1.58 2017/09/06 13:41:26 wiz Exp $ bin/certtool bin/gnutls-cli bin/gnutls-cli-debug @@ -87,6 +87,8 @@ man/man3/gnutls_anon_set_server_params_function.3 man/man3/gnutls_auth_client_get_type.3 man/man3/gnutls_auth_get_type.3 man/man3/gnutls_auth_server_get_type.3 +man/man3/gnutls_base64_decode2.3 +man/man3/gnutls_base64_encode2.3 man/man3/gnutls_buffer_append_data.3 man/man3/gnutls_bye.3 man/man3/gnutls_certificate_activation_time_peers.3 @@ -189,6 +191,7 @@ man/man3/gnutls_db_set_remove_function.3 man/man3/gnutls_db_set_retrieve_function.3 man/man3/gnutls_db_set_store_function.3 man/man3/gnutls_decode_ber_digest_info.3 +man/man3/gnutls_decode_rs_value.3 man/man3/gnutls_deinit.3 man/man3/gnutls_dh_get_group.3 man/man3/gnutls_dh_get_peers_public_bits.3 @@ -228,6 +231,7 @@ man/man3/gnutls_ecc_curve_get_pk.3 man/man3/gnutls_ecc_curve_get_size.3 man/man3/gnutls_ecc_curve_list.3 man/man3/gnutls_encode_ber_digest_info.3 +man/man3/gnutls_encode_rs_value.3 man/man3/gnutls_error_is_fatal.3 man/man3/gnutls_error_to_alert.3 man/man3/gnutls_est_record_overhead_size.3 @@ -245,6 +249,10 @@ man/man3/gnutls_global_set_log_level.3 man/man3/gnutls_global_set_mem_functions.3 man/man3/gnutls_global_set_mutex.3 man/man3/gnutls_global_set_time_function.3 +man/man3/gnutls_group_get.3 +man/man3/gnutls_group_get_id.3 +man/man3/gnutls_group_get_name.3 +man/man3/gnutls_group_list.3 man/man3/gnutls_handshake.3 man/man3/gnutls_handshake_description_get_name.3 man/man3/gnutls_handshake_get_last_in.3 @@ -412,6 +420,7 @@ man/man3/gnutls_pkcs11_privkey_status.3 man/man3/gnutls_pkcs11_reinit.3 man/man3/gnutls_pkcs11_set_pin_function.3 man/man3/gnutls_pkcs11_set_token_function.3 +man/man3/gnutls_pkcs11_token_check_mechanism.3 man/man3/gnutls_pkcs11_token_get_flags.3 man/man3/gnutls_pkcs11_token_get_info.3 man/man3/gnutls_pkcs11_token_get_mechanism.3 @@ -489,6 +498,7 @@ man/man3/gnutls_priority_compression_list.3 man/man3/gnutls_priority_deinit.3 man/man3/gnutls_priority_ecc_curve_list.3 man/man3/gnutls_priority_get_cipher_suite_index.3 +man/man3/gnutls_priority_group_list.3 man/man3/gnutls_priority_init.3 man/man3/gnutls_priority_kx_list.3 man/man3/gnutls_priority_mac_list.3 @@ -500,21 +510,26 @@ man/man3/gnutls_priority_string_list.3 man/man3/gnutls_privkey_decrypt_data.3 man/man3/gnutls_privkey_deinit.3 man/man3/gnutls_privkey_export_dsa_raw.3 +man/man3/gnutls_privkey_export_dsa_raw2.3 man/man3/gnutls_privkey_export_ecc_raw.3 +man/man3/gnutls_privkey_export_ecc_raw2.3 man/man3/gnutls_privkey_export_openpgp.3 man/man3/gnutls_privkey_export_pkcs11.3 man/man3/gnutls_privkey_export_rsa_raw.3 +man/man3/gnutls_privkey_export_rsa_raw2.3 man/man3/gnutls_privkey_export_x509.3 man/man3/gnutls_privkey_generate.3 man/man3/gnutls_privkey_generate2.3 man/man3/gnutls_privkey_get_pk_algorithm.3 man/man3/gnutls_privkey_get_seed.3 +man/man3/gnutls_privkey_get_spki.3 man/man3/gnutls_privkey_get_type.3 man/man3/gnutls_privkey_import_dsa_raw.3 man/man3/gnutls_privkey_import_ecc_raw.3 man/man3/gnutls_privkey_import_ext.3 man/man3/gnutls_privkey_import_ext2.3 man/man3/gnutls_privkey_import_ext3.3 +man/man3/gnutls_privkey_import_ext4.3 man/man3/gnutls_privkey_import_openpgp.3 man/man3/gnutls_privkey_import_openpgp_raw.3 man/man3/gnutls_privkey_import_pkcs11.3 @@ -528,8 +543,11 @@ man/man3/gnutls_privkey_import_x509_raw.3 man/man3/gnutls_privkey_init.3 man/man3/gnutls_privkey_set_flags.3 man/man3/gnutls_privkey_set_pin_function.3 +man/man3/gnutls_privkey_set_spki.3 man/man3/gnutls_privkey_sign_data.3 +man/man3/gnutls_privkey_sign_data2.3 man/man3/gnutls_privkey_sign_hash.3 +man/man3/gnutls_privkey_sign_hash2.3 man/man3/gnutls_privkey_status.3 man/man3/gnutls_privkey_verify_params.3 man/man3/gnutls_privkey_verify_seed.3 @@ -557,14 +575,18 @@ man/man3/gnutls_pubkey_encrypt_data.3 man/man3/gnutls_pubkey_export.3 man/man3/gnutls_pubkey_export2.3 man/man3/gnutls_pubkey_export_dsa_raw.3 +man/man3/gnutls_pubkey_export_dsa_raw2.3 man/man3/gnutls_pubkey_export_ecc_raw.3 +man/man3/gnutls_pubkey_export_ecc_raw2.3 man/man3/gnutls_pubkey_export_ecc_x962.3 man/man3/gnutls_pubkey_export_rsa_raw.3 +man/man3/gnutls_pubkey_export_rsa_raw2.3 man/man3/gnutls_pubkey_get_key_id.3 man/man3/gnutls_pubkey_get_key_usage.3 man/man3/gnutls_pubkey_get_openpgp_key_id.3 man/man3/gnutls_pubkey_get_pk_algorithm.3 man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +man/man3/gnutls_pubkey_get_spki.3 man/man3/gnutls_pubkey_import.3 man/man3/gnutls_pubkey_import_dsa_raw.3 man/man3/gnutls_pubkey_import_ecc_raw.3 @@ -584,6 +606,7 @@ man/man3/gnutls_pubkey_init.3 man/man3/gnutls_pubkey_print.3 man/man3/gnutls_pubkey_set_key_usage.3 man/man3/gnutls_pubkey_set_pin_function.3 +man/man3/gnutls_pubkey_set_spki.3 man/man3/gnutls_pubkey_verify_data2.3 man/man3/gnutls_pubkey_verify_hash2.3 man/man3/gnutls_pubkey_verify_params.3 @@ -658,7 +681,9 @@ man/man3/gnutls_sign_get_name.3 man/man3/gnutls_sign_get_oid.3 man/man3/gnutls_sign_get_pk_algorithm.3 man/man3/gnutls_sign_is_secure.3 +man/man3/gnutls_sign_is_secure2.3 man/man3/gnutls_sign_list.3 +man/man3/gnutls_sign_supports_pk_algorithm.3 man/man3/gnutls_srp_allocate_client_credentials.3 man/man3/gnutls_srp_allocate_server_credentials.3 man/man3/gnutls_srp_base64_decode.3 @@ -813,6 +838,7 @@ man/man3/gnutls_x509_crq_get_pk_oid.3 man/man3/gnutls_x509_crq_get_private_key_usage_period.3 man/man3/gnutls_x509_crq_get_signature_algorithm.3 man/man3/gnutls_x509_crq_get_signature_oid.3 +man/man3/gnutls_x509_crq_get_spki.3 man/man3/gnutls_x509_crq_get_subject_alt_name.3 man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 man/man3/gnutls_x509_crq_get_tlsfeatures.3 @@ -833,6 +859,7 @@ man/man3/gnutls_x509_crq_set_key_rsa_raw.3 man/man3/gnutls_x509_crq_set_key_usage.3 man/man3/gnutls_x509_crq_set_private_key_usage_period.3 man/man3/gnutls_x509_crq_set_pubkey.3 +man/man3/gnutls_x509_crq_set_spki.3 man/man3/gnutls_x509_crq_set_subject_alt_name.3 man/man3/gnutls_x509_crq_set_subject_alt_othername.3 man/man3/gnutls_x509_crq_set_tlsfeatures.3 @@ -843,6 +870,7 @@ man/man3/gnutls_x509_crq_verify.3 man/man3/gnutls_x509_crt_check_email.3 man/man3/gnutls_x509_crt_check_hostname.3 man/man3/gnutls_x509_crt_check_hostname2.3 +man/man3/gnutls_x509_crt_check_ip.3 man/man3/gnutls_x509_crt_check_issuer.3 man/man3/gnutls_x509_crt_check_key_purpose.3 man/man3/gnutls_x509_crt_check_revocation.3 @@ -872,6 +900,7 @@ man/man3/gnutls_x509_crt_get_extension_data2.3 man/man3/gnutls_x509_crt_get_extension_info.3 man/man3/gnutls_x509_crt_get_extension_oid.3 man/man3/gnutls_x509_crt_get_fingerprint.3 +man/man3/gnutls_x509_crt_get_inhibit_anypolicy.3 man/man3/gnutls_x509_crt_get_issuer.3 man/man3/gnutls_x509_crt_get_issuer_alt_name.3 man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 @@ -901,6 +930,7 @@ man/man3/gnutls_x509_crt_get_serial.3 man/man3/gnutls_x509_crt_get_signature.3 man/man3/gnutls_x509_crt_get_signature_algorithm.3 man/man3/gnutls_x509_crt_get_signature_oid.3 +man/man3/gnutls_x509_crt_get_spki.3 man/man3/gnutls_x509_crt_get_subject.3 man/man3/gnutls_x509_crt_get_subject_alt_name.3 man/man3/gnutls_x509_crt_get_subject_alt_name2.3 @@ -933,6 +963,8 @@ man/man3/gnutls_x509_crt_set_dn.3 man/man3/gnutls_x509_crt_set_dn_by_oid.3 man/man3/gnutls_x509_crt_set_expiration_time.3 man/man3/gnutls_x509_crt_set_extension_by_oid.3 +man/man3/gnutls_x509_crt_set_flags.3 +man/man3/gnutls_x509_crt_set_inhibit_anypolicy.3 man/man3/gnutls_x509_crt_set_issuer_alt_name.3 man/man3/gnutls_x509_crt_set_issuer_alt_othername.3 man/man3/gnutls_x509_crt_set_issuer_dn.3 @@ -949,6 +981,7 @@ man/man3/gnutls_x509_crt_set_proxy.3 man/man3/gnutls_x509_crt_set_proxy_dn.3 man/man3/gnutls_x509_crt_set_pubkey.3 man/man3/gnutls_x509_crt_set_serial.3 +man/man3/gnutls_x509_crt_set_spki.3 man/man3/gnutls_x509_crt_set_subject_alt_name.3 man/man3/gnutls_x509_crt_set_subject_alt_othername.3 man/man3/gnutls_x509_crt_set_subject_alternative_name.3 @@ -976,6 +1009,7 @@ man/man3/gnutls_x509_ext_export_aia.3 man/man3/gnutls_x509_ext_export_authority_key_id.3 man/man3/gnutls_x509_ext_export_basic_constraints.3 man/man3/gnutls_x509_ext_export_crl_dist_points.3 +man/man3/gnutls_x509_ext_export_inhibit_anypolicy.3 man/man3/gnutls_x509_ext_export_key_purposes.3 man/man3/gnutls_x509_ext_export_key_usage.3 man/man3/gnutls_x509_ext_export_name_constraints.3 @@ -989,6 +1023,7 @@ man/man3/gnutls_x509_ext_import_aia.3 man/man3/gnutls_x509_ext_import_authority_key_id.3 man/man3/gnutls_x509_ext_import_basic_constraints.3 man/man3/gnutls_x509_ext_import_crl_dist_points.3 +man/man3/gnutls_x509_ext_import_inhibit_anypolicy.3 man/man3/gnutls_x509_ext_import_key_purposes.3 man/man3/gnutls_x509_ext_import_key_usage.3 man/man3/gnutls_x509_ext_import_name_constraints.3 @@ -1034,6 +1069,7 @@ man/man3/gnutls_x509_privkey_get_key_id.3 man/man3/gnutls_x509_privkey_get_pk_algorithm.3 man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 man/man3/gnutls_x509_privkey_get_seed.3 +man/man3/gnutls_x509_privkey_get_spki.3 man/man3/gnutls_x509_privkey_import.3 man/man3/gnutls_x509_privkey_import2.3 man/man3/gnutls_x509_privkey_import_dsa_raw.3 @@ -1046,6 +1082,7 @@ man/man3/gnutls_x509_privkey_init.3 man/man3/gnutls_x509_privkey_sec_param.3 man/man3/gnutls_x509_privkey_set_flags.3 man/man3/gnutls_x509_privkey_set_pin_function.3 +man/man3/gnutls_x509_privkey_set_spki.3 man/man3/gnutls_x509_privkey_sign_data.3 man/man3/gnutls_x509_privkey_sign_hash.3 man/man3/gnutls_x509_privkey_verify_params.3 @@ -1054,6 +1091,10 @@ man/man3/gnutls_x509_rdn_get.3 man/man3/gnutls_x509_rdn_get2.3 man/man3/gnutls_x509_rdn_get_by_oid.3 man/man3/gnutls_x509_rdn_get_oid.3 +man/man3/gnutls_x509_spki_deinit.3 +man/man3/gnutls_x509_spki_get_rsa_pss_params.3 +man/man3/gnutls_x509_spki_init.3 +man/man3/gnutls_x509_spki_set_rsa_pss_params.3 man/man3/gnutls_x509_tlsfeatures_add.3 man/man3/gnutls_x509_tlsfeatures_check_crt.3 man/man3/gnutls_x509_tlsfeatures_deinit.3 diff --git a/security/gnutls/distinfo b/security/gnutls/distinfo index d97e1df99f5..ff20a167404 100644 --- a/security/gnutls/distinfo +++ b/security/gnutls/distinfo @@ -1,14 +1,16 @@ -$NetBSD: distinfo,v 1.127 2017/08/31 10:18:12 wiz Exp $ +$NetBSD: distinfo,v 1.128 2017/09/06 13:41:26 wiz Exp $ -SHA1 (gnutls-3.5.15.tar.xz) = 9b7466434332b92dc3ca704b9211370370814fac -RMD160 (gnutls-3.5.15.tar.xz) = 29c45e4710b27d2f0c6e8d02692fb400b333b7ea -SHA512 (gnutls-3.5.15.tar.xz) = 046cf3adf6cc3d38fd431f2ff28ddabb65f3c13379516d105316a04c7128be89c5f7ed3df6a034fc06e9ab2e154c2cde2f5cbe8530a1e58cc4b4fb72e158134b -Size (gnutls-3.5.15.tar.xz) = 7238928 bytes -SHA1 (patch-ae) = 5e020483ac14ef6ccc45a53e351242ab16c860f1 -SHA1 (patch-lib_Makefile.in) = d0e292e632a91a9f19e39bd2c2d205a086ba5588 +SHA1 (gnutls-3.6.0.tar.xz) = 7526804877a555b0bd136dfaa8a2ade738018301 +RMD160 (gnutls-3.6.0.tar.xz) = e2346506096e63a5a622a18c72c4269302ec4003 +SHA512 (gnutls-3.6.0.tar.xz) = e5f36d7e8d64e8432098e30549c321745d3605eeb85aba2a04bfa92146ca771961f0e2f3682bcae36be5b6095acd25996104a4213ce7b3466d61332a5188dc03 +Size (gnutls-3.6.0.tar.xz) = 8024972 bytes +SHA1 (patch-fuzz_Makefile.in) = 8123ed5ac06c338a7ce0fb6da9533defaf93169f +SHA1 (patch-lib_Makefile.in) = 3320a7ffa6252d116037974b6de8f5d9cd3bc610 SHA1 (patch-lib_accelerated_x86_x86-common.c) = 7a46ef6892b3a06ff4c949a965073c720a2491a4 +SHA1 (patch-lib_atomic.h) = c59748108d6379fe09d2b5f7c2e31b2616ff40cb SHA1 (patch-src_libopts_autoopts_options.h) = 9202c55314fe8764ac82c95bbfabfa1b031e9ba4 SHA1 (patch-src_libopts_compat_compat.h) = 240fbfc0ba20af35e0634ba873fe9e34bfbcc921 SHA1 (patch-src_libopts_libopts.c) = ce5e7681def882e95ed5ab770564d1f999b97039 SHA1 (patch-src_libopts_makeshell.c) = e5b7d66caaec45e12ae5490d515fc9fc75de3d92 SHA1 (patch-src_libopts_proto.h) = 78f845bdcbac8de74953a3cee0b77fa9c5b05386 +SHA1 (patch-tests_suite_Makefile.in) = 69aac0ebae7fa8b755497d3ebe6145be118c6a52 diff --git a/security/gnutls/patches/patch-ae b/security/gnutls/patches/patch-ae deleted file mode 100644 index 8817965a378..00000000000 --- a/security/gnutls/patches/patch-ae +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ae,v 1.6 2015/06/01 21:50:22 spz Exp $ - -Fix build. - ---- guile/src/core.c.orig 2015-03-23 07:19:23.000000000 +0000 -+++ guile/src/core.c -@@ -28,7 +28,7 @@ - #include <gnutls/openpgp.h> - #include <libguile.h> - --#include <alloca.h> -+#include <stdlib.h> - - #include "enums.h" - #include "smobs.h" diff --git a/security/gnutls/patches/patch-fuzz_Makefile.in b/security/gnutls/patches/patch-fuzz_Makefile.in new file mode 100644 index 00000000000..5f4016ea8e3 --- /dev/null +++ b/security/gnutls/patches/patch-fuzz_Makefile.in @@ -0,0 +1,16 @@ +$NetBSD: patch-fuzz_Makefile.in,v 1.1 2017/09/06 13:41:26 wiz Exp $ + +Use autoconf variable for libdl. +https://gitlab.com/gnutls/gnutls/issues/270 + +--- fuzz/Makefile.in.orig 2017-09-06 12:15:06.271496815 +0000 ++++ fuzz/Makefile.in +@@ -1797,7 +1797,7 @@ gnutls_srp_client_fuzzer_SOURCES = gnutl + gnutls_srp_server_fuzzer_SOURCES = gnutls_srp_server_fuzzer.c main.c fuzzer.h mem.h srp.h + gnutls_set_trust_file_fuzzer_SOURCES = gnutls_set_trust_file_fuzzer.c main.c fuzzer.h + gnutls_x509_parser_fuzzer_SOURCES = gnutls_x509_parser_fuzzer.c main.c fuzzer.h +-gnutls_set_trust_file_fuzzer_LDADD = $(LDADD) -ldl ++gnutls_set_trust_file_fuzzer_LDADD = $(LDADD) $(LIBDL) + TESTS = $(FUZZERS) + LCOV_INFO = coverage.info + all: all-am diff --git a/security/gnutls/patches/patch-lib_Makefile.in b/security/gnutls/patches/patch-lib_Makefile.in index fab7f5d50ce..fac7af566a3 100644 --- a/security/gnutls/patches/patch-lib_Makefile.in +++ b/security/gnutls/patches/patch-lib_Makefile.in @@ -1,10 +1,10 @@ -$NetBSD: patch-lib_Makefile.in,v 1.7 2015/06/01 21:50:22 spz Exp $ +$NetBSD: patch-lib_Makefile.in,v 1.8 2017/09/06 13:41:26 wiz Exp $ Correct path to locale files. --- lib/Makefile.in.orig 2015-05-03 17:30:56.000000000 +0000 +++ lib/Makefile.in -@@ -361,7 +361,7 @@ am__v_lt_0 = --silent +@@ -386,7 +386,7 @@ am__v_lt_0 = --silent am__v_lt_1 = libgnutls_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ diff --git a/security/gnutls/patches/patch-lib_atomic.h b/security/gnutls/patches/patch-lib_atomic.h new file mode 100644 index 00000000000..0c29505c893 --- /dev/null +++ b/security/gnutls/patches/patch-lib_atomic.h @@ -0,0 +1,38 @@ +$NetBSD: patch-lib_atomic.h,v 1.1 2017/09/06 13:41:26 wiz Exp $ + +Fix lock arguments. +https://gitlab.com/gnutls/gnutls/commit/72d25d427078d3de5c25c3b5406b0313ffd813ab + +--- lib/atomic.h.orig 2017-07-31 06:22:37.000000000 +0000 ++++ lib/atomic.h +@@ -47,24 +47,24 @@ typedef struct gnutls_atomic_uint_st *gn + inline static unsigned gnutls_atomic_val(gnutls_atomic_uint_t x) + { + unsigned int t; +- gnutls_mutex_lock(x->lock); ++ gnutls_mutex_lock(&x->lock); + t = x->value; +- gnutls_mutex_unlock(x->lock); ++ gnutls_mutex_unlock(&x->lock); + return t; + } + + inline static void gnutls_atomic_increment(gnutls_atomic_uint_t x) + { +- gnutls_mutex_lock(x->lock); ++ gnutls_mutex_lock(&x->lock); + x->value++; +- gnutls_mutex_unlock(x->lock); ++ gnutls_mutex_unlock(&x->lock); + } + + inline static void gnutls_atomic_decrement(gnutls_atomic_uint_t x) + { +- gnutls_mutex_lock(x->lock); ++ gnutls_mutex_lock(&x->lock); + x->value--; +- gnutls_mutex_unlock(x->lock); ++ gnutls_mutex_unlock(&x->lock); + } + + inline static void gnutls_atomic_init(gnutls_atomic_uint_t x) diff --git a/security/gnutls/patches/patch-tests_suite_Makefile.in b/security/gnutls/patches/patch-tests_suite_Makefile.in new file mode 100644 index 00000000000..25c314567dd --- /dev/null +++ b/security/gnutls/patches/patch-tests_suite_Makefile.in @@ -0,0 +1,16 @@ +$NetBSD: patch-tests_suite_Makefile.in,v 1.1 2017/09/06 13:41:26 wiz Exp $ + +Use autoconf variable for libdl. +https://gitlab.com/gnutls/gnutls/issues/270 + +--- tests/suite/Makefile.in.orig 2017-09-06 12:15:07.888159011 +0000 ++++ tests/suite/Makefile.in +@@ -1710,7 +1710,7 @@ TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) LC_ + $(am__append_2) $(am__append_3) + @MACOSX_FALSE@@WINDOWS_FALSE@noinst_LTLIBRARIES = libecore.la + @MACOSX_FALSE@@WINDOWS_FALSE@mini_record_timing_LDADD = -lrt $(LDADD) +-@MACOSX_FALSE@@WINDOWS_FALSE@eagain_cli_LDADD = libecore.la -lrt -lm -ldl -lpthread $(LDADD) ++@MACOSX_FALSE@@WINDOWS_FALSE@eagain_cli_LDADD = libecore.la -lrt -lm $(LIBDL) -lpthread $(LDADD) + @MACOSX_FALSE@@WINDOWS_FALSE@nodist_eagain_cli_SOURCES = mini-eagain2.c + prime_check_CPPFLAGS = $(AM_CPPFLAGS) $(NETTLE_CFLAGS) + TEST_EXTENSIONS = .sh |