pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gnutls: update to 3.4.10



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Wed Mar 23 18:25:14 2016 +0200
Changeset:	9258ed3f430f9370491394af2359387379d823fa

Modified Files:
	gnutls/Makefile
	gnutls/PLIST
	gnutls/distinfo
	gnutls/patches/patch-lib_Makefile.in
Added Files:
	gnutls/patches/patch-tests_dsa_testdsa
	gnutls/patches/patch-tests_dtls_dtls-stress.c
	gnutls/patches/patch-tests_utils.h
Removed Files:
	gnutls/patches/patch-gl_stdio.in.h
	gnutls/patches/patch-src_gl_stdio.in.h
	gnutls/patches/patch-tests_Makefile.in
	gnutls/patches/patch-tests_openpgp-certs_Makefile.in

Log Message:
gnutls: update to 3.4.10

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9258ed3f430f9370491394af2359387379d823fa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnutls/Makefile                                    |  10 +-
 gnutls/PLIST                                       | 153 +++++++++++++++------
 gnutls/distinfo                                    |  18 +--
 gnutls/patches/patch-gl_stdio.in.h                 |  22 ---
 gnutls/patches/patch-lib_Makefile.in               |   8 +-
 gnutls/patches/patch-src_gl_stdio.in.h             |  22 ---
 gnutls/patches/patch-tests_Makefile.in             |  16 ---
 gnutls/patches/patch-tests_dsa_testdsa             |  16 +++
 gnutls/patches/patch-tests_dtls_dtls-stress.c      |  19 +++
 .../patches/patch-tests_openpgp-certs_Makefile.in  |  16 ---
 gnutls/patches/patch-tests_utils.h                 |  16 +++
 11 files changed, 186 insertions(+), 130 deletions(-)

diffs:
diff --git a/gnutls/Makefile b/gnutls/Makefile
index e0bc1a1..b9f185b 100644
--- a/gnutls/Makefile
+++ b/gnutls/Makefile
@@ -1,8 +1,8 @@
 # $NetBSD: Makefile,v 1.159 2016/02/26 09:41:05 jperkin Exp $
 
-DISTNAME=	gnutls-3.3.18
+DISTNAME=	gnutls-3.4.10
 CATEGORIES=	security devel
-MASTER_SITES=	ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/
+MASTER_SITES=	ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/
 EXTRACT_SUFX=	.tar.xz
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -14,6 +14,12 @@ USE_LANGUAGES=		c c++
 USE_LIBTOOL=		yes
 USE_PKGLOCALEDIR=	yes
 USE_TOOLS+=		gmake gsed perl pkg-config
+
+# for dsatest and openpgp test, not normal build
+USE_TOOLS+=		bash
+
+REPLACE_BASH+=		tests/scripts/common.sh
+
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--without-p11-kit
 # this library duplicates (and conflicts with) openssl
diff --git a/gnutls/PLIST b/gnutls/PLIST
index 0e7c86c..be52ba1 100644
--- a/gnutls/PLIST
+++ b/gnutls/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.52 2015/06/01 21:50:22 spz Exp $
+@comment $NetBSD$
 bin/certtool
 bin/gnutls-cli
 bin/gnutls-cli-debug
@@ -16,8 +16,11 @@ include/gnutls/ocsp.h
 include/gnutls/openpgp.h
 include/gnutls/pkcs11.h
 include/gnutls/pkcs12.h
+include/gnutls/pkcs7.h
 include/gnutls/self-test.h
+include/gnutls/system-keys.h
 include/gnutls/tpm.h
+include/gnutls/urls.h
 include/gnutls/x509-ext.h
 include/gnutls/x509.h
 info/gnutls-client-server-use-case.png
@@ -44,6 +47,10 @@ man/man1/p11tool.1
 man/man1/psktool.1
 man/man1/srptool.1
 man/man1/tpmtool.1
+man/man3/gnutls_aead_cipher_decrypt.3
+man/man3/gnutls_aead_cipher_deinit.3
+man/man3/gnutls_aead_cipher_encrypt.3
+man/man3/gnutls_aead_cipher_init.3
 man/man3/gnutls_alert_get.3
 man/man3/gnutls_alert_get_name.3
 man/man3/gnutls_alert_get_strname.3
@@ -61,11 +68,11 @@ 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_buffer_append_data.3
 man/man3/gnutls_bye.3
 man/man3/gnutls_certificate_activation_time_peers.3
 man/man3/gnutls_certificate_allocate_credentials.3
 man/man3/gnutls_certificate_client_get_request_status.3
-man/man3/gnutls_certificate_client_set_retrieve_function.3
 man/man3/gnutls_certificate_expiration_time_peers.3
 man/man3/gnutls_certificate_free_ca_names.3
 man/man3/gnutls_certificate_free_cas.3
@@ -74,13 +81,19 @@ man/man3/gnutls_certificate_free_crls.3
 man/man3/gnutls_certificate_free_keys.3
 man/man3/gnutls_certificate_get_crt_raw.3
 man/man3/gnutls_certificate_get_issuer.3
+man/man3/gnutls_certificate_get_openpgp_crt.3
+man/man3/gnutls_certificate_get_openpgp_key.3
 man/man3/gnutls_certificate_get_ours.3
 man/man3/gnutls_certificate_get_peers.3
 man/man3/gnutls_certificate_get_peers_subkey_id.3
+man/man3/gnutls_certificate_get_trust_list.3
+man/man3/gnutls_certificate_get_verify_flags.3
+man/man3/gnutls_certificate_get_x509_crt.3
+man/man3/gnutls_certificate_get_x509_key.3
 man/man3/gnutls_certificate_send_x509_rdn_sequence.3
 man/man3/gnutls_certificate_server_set_request.3
-man/man3/gnutls_certificate_server_set_retrieve_function.3
 man/man3/gnutls_certificate_set_dh_params.3
+man/man3/gnutls_certificate_set_flags.3
 man/man3/gnutls_certificate_set_key.3
 man/man3/gnutls_certificate_set_ocsp_status_request_file.3
 man/man3/gnutls_certificate_set_ocsp_status_request_function.3
@@ -95,7 +108,6 @@ man/man3/gnutls_certificate_set_params_function.3
 man/man3/gnutls_certificate_set_pin_function.3
 man/man3/gnutls_certificate_set_retrieve_function.3
 man/man3/gnutls_certificate_set_retrieve_function2.3
-man/man3/gnutls_certificate_set_rsa_export_params.3
 man/man3/gnutls_certificate_set_trust_list.3
 man/man3/gnutls_certificate_set_verify_flags.3
 man/man3/gnutls_certificate_set_verify_function.3
@@ -119,7 +131,6 @@ man/man3/gnutls_certificate_type_get.3
 man/man3/gnutls_certificate_type_get_id.3
 man/man3/gnutls_certificate_type_get_name.3
 man/man3/gnutls_certificate_type_list.3
-man/man3/gnutls_certificate_type_set_priority.3
 man/man3/gnutls_certificate_verification_status_print.3
 man/man3/gnutls_certificate_verify_peers.3
 man/man3/gnutls_certificate_verify_peers2.3
@@ -142,7 +153,6 @@ man/man3/gnutls_cipher_init.3
 man/man3/gnutls_cipher_list.3
 man/man3/gnutls_cipher_self_test.3
 man/man3/gnutls_cipher_set_iv.3
-man/man3/gnutls_cipher_set_priority.3
 man/man3/gnutls_cipher_suite_get_name.3
 man/man3/gnutls_cipher_suite_info.3
 man/man3/gnutls_cipher_tag.3
@@ -150,10 +160,13 @@ man/man3/gnutls_compression_get.3
 man/man3/gnutls_compression_get_id.3
 man/man3/gnutls_compression_get_name.3
 man/man3/gnutls_compression_list.3
-man/man3/gnutls_compression_set_priority.3
 man/man3/gnutls_credentials_clear.3
 man/man3/gnutls_credentials_get.3
 man/man3/gnutls_credentials_set.3
+man/man3/gnutls_crypto_register_aead_cipher.3
+man/man3/gnutls_crypto_register_cipher.3
+man/man3/gnutls_crypto_register_digest.3
+man/man3/gnutls_crypto_register_mac.3
 man/man3/gnutls_db_check_entry.3
 man/man3/gnutls_db_check_entry_time.3
 man/man3/gnutls_db_get_default_cache_expiration.3
@@ -178,10 +191,12 @@ man/man3/gnutls_dh_params_export_raw.3
 man/man3/gnutls_dh_params_generate2.3
 man/man3/gnutls_dh_params_import_pkcs3.3
 man/man3/gnutls_dh_params_import_raw.3
+man/man3/gnutls_dh_params_import_raw2.3
 man/man3/gnutls_dh_params_init.3
 man/man3/gnutls_dh_set_prime_bits.3
 man/man3/gnutls_digest_get_id.3
 man/man3/gnutls_digest_get_name.3
+man/man3/gnutls_digest_get_oid.3
 man/man3/gnutls_digest_list.3
 man/man3/gnutls_digest_self_test.3
 man/man3/gnutls_dtls_cookie_send.3
@@ -194,12 +209,17 @@ man/man3/gnutls_dtls_set_data_mtu.3
 man/man3/gnutls_dtls_set_mtu.3
 man/man3/gnutls_dtls_set_timeouts.3
 man/man3/gnutls_ecc_curve_get.3
+man/man3/gnutls_ecc_curve_get_id.3
 man/man3/gnutls_ecc_curve_get_name.3
+man/man3/gnutls_ecc_curve_get_oid.3
 man/man3/gnutls_ecc_curve_get_size.3
 man/man3/gnutls_ecc_curve_list.3
 man/man3/gnutls_error_is_fatal.3
 man/man3/gnutls_error_to_alert.3
 man/man3/gnutls_est_record_overhead_size.3
+man/man3/gnutls_ext_get_data.3
+man/man3/gnutls_ext_register.3
+man/man3/gnutls_ext_set_data.3
 man/man3/gnutls_fingerprint.3
 man/man3/gnutls_fips140_mode_enabled.3
 man/man3/gnutls_global_deinit.3
@@ -234,7 +254,9 @@ man/man3/gnutls_heartbeat_pong.3
 man/man3/gnutls_heartbeat_set_timeouts.3
 man/man3/gnutls_hex2bin.3
 man/man3/gnutls_hex_decode.3
+man/man3/gnutls_hex_decode2.3
 man/man3/gnutls_hex_encode.3
+man/man3/gnutls_hex_encode2.3
 man/man3/gnutls_hmac.3
 man/man3/gnutls_hmac_deinit.3
 man/man3/gnutls_hmac_fast.3
@@ -248,7 +270,6 @@ man/man3/gnutls_kx_get.3
 man/man3/gnutls_kx_get_id.3
 man/man3/gnutls_kx_get_name.3
 man/man3/gnutls_kx_list.3
-man/man3/gnutls_kx_set_priority.3
 man/man3/gnutls_load_file.3
 man/man3/gnutls_mac_get.3
 man/man3/gnutls_mac_get_id.3
@@ -257,7 +278,8 @@ man/man3/gnutls_mac_get_name.3
 man/man3/gnutls_mac_get_nonce_size.3
 man/man3/gnutls_mac_list.3
 man/man3/gnutls_mac_self_test.3
-man/man3/gnutls_mac_set_priority.3
+man/man3/gnutls_memcmp.3
+man/man3/gnutls_memset.3
 man/man3/gnutls_ocsp_req_add_cert.3
 man/man3/gnutls_ocsp_req_add_cert_id.3
 man/man3/gnutls_ocsp_req_deinit.3
@@ -280,6 +302,7 @@ man/man3/gnutls_ocsp_resp_get_extension.3
 man/man3/gnutls_ocsp_resp_get_nonce.3
 man/man3/gnutls_ocsp_resp_get_produced.3
 man/man3/gnutls_ocsp_resp_get_responder.3
+man/man3/gnutls_ocsp_resp_get_responder_raw_id.3
 man/man3/gnutls_ocsp_resp_get_response.3
 man/man3/gnutls_ocsp_resp_get_signature.3
 man/man3/gnutls_ocsp_resp_get_signature_algorithm.3
@@ -294,6 +317,11 @@ man/man3/gnutls_ocsp_resp_verify_direct.3
 man/man3/gnutls_ocsp_status_request_enable_client.3
 man/man3/gnutls_ocsp_status_request_get.3
 man/man3/gnutls_ocsp_status_request_is_checked.3
+man/man3/gnutls_oid_to_digest.3
+man/man3/gnutls_oid_to_ecc_curve.3
+man/man3/gnutls_oid_to_pk.3
+man/man3/gnutls_oid_to_sign.3
+man/man3/gnutls_openpgp_crt_check_email.3
 man/man3/gnutls_openpgp_crt_check_hostname.3
 man/man3/gnutls_openpgp_crt_check_hostname2.3
 man/man3/gnutls_openpgp_crt_deinit.3
@@ -365,32 +393,42 @@ man/man3/gnutls_openpgp_set_recv_key_function.3
 man/man3/gnutls_packet_deinit.3
 man/man3/gnutls_packet_get.3
 man/man3/gnutls_pcert_deinit.3
+man/man3/gnutls_pcert_export_openpgp.3
+man/man3/gnutls_pcert_export_x509.3
 man/man3/gnutls_pcert_import_openpgp.3
 man/man3/gnutls_pcert_import_openpgp_raw.3
 man/man3/gnutls_pcert_import_x509.3
+man/man3/gnutls_pcert_import_x509_list.3
 man/man3/gnutls_pcert_import_x509_raw.3
 man/man3/gnutls_pcert_list_import_x509_raw.3
 man/man3/gnutls_pem_base64_decode.3
-man/man3/gnutls_pem_base64_decode_alloc.3
+man/man3/gnutls_pem_base64_decode2.3
 man/man3/gnutls_pem_base64_encode.3
-man/man3/gnutls_pem_base64_encode_alloc.3
+man/man3/gnutls_pem_base64_encode2.3
 man/man3/gnutls_perror.3
 man/man3/gnutls_pk_algorithm_get_name.3
 man/man3/gnutls_pk_bits_to_sec_param.3
 man/man3/gnutls_pk_get_id.3
 man/man3/gnutls_pk_get_name.3
+man/man3/gnutls_pk_get_oid.3
 man/man3/gnutls_pk_list.3
 man/man3/gnutls_pk_self_test.3
 man/man3/gnutls_pk_to_sign.3
 man/man3/gnutls_pkcs11_add_provider.3
+man/man3/gnutls_pkcs11_copy_attached_extension.3
+man/man3/gnutls_pkcs11_copy_pubkey.3
 man/man3/gnutls_pkcs11_copy_secret_key.3
 man/man3/gnutls_pkcs11_copy_x509_crt.3
+man/man3/gnutls_pkcs11_copy_x509_crt2.3
 man/man3/gnutls_pkcs11_copy_x509_privkey.3
+man/man3/gnutls_pkcs11_copy_x509_privkey2.3
 man/man3/gnutls_pkcs11_crt_is_known.3
 man/man3/gnutls_pkcs11_deinit.3
 man/man3/gnutls_pkcs11_delete_url.3
 man/man3/gnutls_pkcs11_get_pin_function.3
 man/man3/gnutls_pkcs11_get_raw_issuer.3
+man/man3/gnutls_pkcs11_get_raw_issuer_by_dn.3
+man/man3/gnutls_pkcs11_get_raw_issuer_by_subject_key_id.3
 man/man3/gnutls_pkcs11_init.3
 man/man3/gnutls_pkcs11_obj_deinit.3
 man/man3/gnutls_pkcs11_obj_export.3
@@ -404,14 +442,17 @@ man/man3/gnutls_pkcs11_obj_get_info.3
 man/man3/gnutls_pkcs11_obj_get_type.3
 man/man3/gnutls_pkcs11_obj_import_url.3
 man/man3/gnutls_pkcs11_obj_init.3
-man/man3/gnutls_pkcs11_obj_list_import_url.3
-man/man3/gnutls_pkcs11_obj_list_import_url2.3
+man/man3/gnutls_pkcs11_obj_list_import_url3.3
+man/man3/gnutls_pkcs11_obj_list_import_url4.3
+man/man3/gnutls_pkcs11_obj_set_info.3
 man/man3/gnutls_pkcs11_obj_set_pin_function.3
+man/man3/gnutls_pkcs11_privkey_cpy.3
 man/man3/gnutls_pkcs11_privkey_deinit.3
 man/man3/gnutls_pkcs11_privkey_export_pubkey.3
 man/man3/gnutls_pkcs11_privkey_export_url.3
 man/man3/gnutls_pkcs11_privkey_generate.3
 man/man3/gnutls_pkcs11_privkey_generate2.3
+man/man3/gnutls_pkcs11_privkey_generate3.3
 man/man3/gnutls_pkcs11_privkey_get_info.3
 man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3
 man/man3/gnutls_pkcs11_privkey_import_url.3
@@ -431,6 +472,7 @@ man/man3/gnutls_pkcs11_token_set_pin.3
 man/man3/gnutls_pkcs11_type_get_name.3
 man/man3/gnutls_pkcs12_bag_decrypt.3
 man/man3/gnutls_pkcs12_bag_deinit.3
+man/man3/gnutls_pkcs12_bag_enc_info.3
 man/man3/gnutls_pkcs12_bag_encrypt.3
 man/man3/gnutls_pkcs12_bag_get_count.3
 man/man3/gnutls_pkcs12_bag_get_data.3
@@ -443,33 +485,53 @@ man/man3/gnutls_pkcs12_bag_set_crt.3
 man/man3/gnutls_pkcs12_bag_set_data.3
 man/man3/gnutls_pkcs12_bag_set_friendly_name.3
 man/man3/gnutls_pkcs12_bag_set_key_id.3
+man/man3/gnutls_pkcs12_bag_set_privkey.3
 man/man3/gnutls_pkcs12_deinit.3
 man/man3/gnutls_pkcs12_export.3
 man/man3/gnutls_pkcs12_export2.3
 man/man3/gnutls_pkcs12_generate_mac.3
+man/man3/gnutls_pkcs12_generate_mac2.3
 man/man3/gnutls_pkcs12_get_bag.3
 man/man3/gnutls_pkcs12_import.3
 man/man3/gnutls_pkcs12_init.3
+man/man3/gnutls_pkcs12_mac_info.3
 man/man3/gnutls_pkcs12_set_bag.3
 man/man3/gnutls_pkcs12_simple_parse.3
 man/man3/gnutls_pkcs12_verify_mac.3
+man/man3/gnutls_pkcs7_add_attr.3
+man/man3/gnutls_pkcs7_attrs_deinit.3
 man/man3/gnutls_pkcs7_deinit.3
 man/man3/gnutls_pkcs7_delete_crl.3
 man/man3/gnutls_pkcs7_delete_crt.3
 man/man3/gnutls_pkcs7_export.3
 man/man3/gnutls_pkcs7_export2.3
+man/man3/gnutls_pkcs7_get_attr.3
 man/man3/gnutls_pkcs7_get_crl_count.3
 man/man3/gnutls_pkcs7_get_crl_raw.3
+man/man3/gnutls_pkcs7_get_crl_raw2.3
 man/man3/gnutls_pkcs7_get_crt_count.3
 man/man3/gnutls_pkcs7_get_crt_raw.3
+man/man3/gnutls_pkcs7_get_crt_raw2.3
+man/man3/gnutls_pkcs7_get_embedded_data.3
+man/man3/gnutls_pkcs7_get_signature_count.3
+man/man3/gnutls_pkcs7_get_signature_info.3
 man/man3/gnutls_pkcs7_import.3
 man/man3/gnutls_pkcs7_init.3
+man/man3/gnutls_pkcs7_print.3
 man/man3/gnutls_pkcs7_set_crl.3
 man/man3/gnutls_pkcs7_set_crl_raw.3
 man/man3/gnutls_pkcs7_set_crt.3
 man/man3/gnutls_pkcs7_set_crt_raw.3
+man/man3/gnutls_pkcs7_sign.3
+man/man3/gnutls_pkcs7_signature_info_deinit.3
+man/man3/gnutls_pkcs7_verify.3
+man/man3/gnutls_pkcs7_verify_direct.3
+man/man3/gnutls_pkcs8_info.3
+man/man3/gnutls_pkcs_schema_get_name.3
+man/man3/gnutls_pkcs_schema_get_oid.3
 man/man3/gnutls_prf.3
 man/man3/gnutls_prf_raw.3
+man/man3/gnutls_prf_rfc5705.3
 man/man3/gnutls_priority_certificate_type_list.3
 man/man3/gnutls_priority_cipher_list.3
 man/man3/gnutls_priority_compression_list.3
@@ -483,11 +545,15 @@ man/man3/gnutls_priority_protocol_list.3
 man/man3/gnutls_priority_set.3
 man/man3/gnutls_priority_set_direct.3
 man/man3/gnutls_priority_sign_list.3
+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_ecc_raw.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_x509.3
 man/man3/gnutls_privkey_generate.3
 man/man3/gnutls_privkey_get_pk_algorithm.3
 man/man3/gnutls_privkey_get_type.3
@@ -495,6 +561,7 @@ 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_openpgp.3
 man/man3/gnutls_privkey_import_openpgp_raw.3
 man/man3/gnutls_privkey_import_pkcs11.3
@@ -509,14 +576,12 @@ man/man3/gnutls_privkey_init.3
 man/man3/gnutls_privkey_set_pin_function.3
 man/man3/gnutls_privkey_sign_data.3
 man/man3/gnutls_privkey_sign_hash.3
-man/man3/gnutls_privkey_sign_raw_data.3
 man/man3/gnutls_privkey_status.3
 man/man3/gnutls_privkey_verify_params.3
 man/man3/gnutls_protocol_get_id.3
 man/man3/gnutls_protocol_get_name.3
 man/man3/gnutls_protocol_get_version.3
 man/man3/gnutls_protocol_list.3
-man/man3/gnutls_protocol_set_priority.3
 man/man3/gnutls_psk_allocate_client_credentials.3
 man/man3/gnutls_psk_allocate_server_credentials.3
 man/man3/gnutls_psk_client_get_hint.3
@@ -544,7 +609,6 @@ 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_verify_algorithm.3
 man/man3/gnutls_pubkey_import.3
 man/man3/gnutls_pubkey_import_dsa_raw.3
 man/man3/gnutls_pubkey_import_ecc_raw.3
@@ -552,7 +616,6 @@ man/man3/gnutls_pubkey_import_ecc_x962.3
 man/man3/gnutls_pubkey_import_openpgp.3
 man/man3/gnutls_pubkey_import_openpgp_raw.3
 man/man3/gnutls_pubkey_import_pkcs11.3
-man/man3/gnutls_pubkey_import_pkcs11_url.3
 man/man3/gnutls_pubkey_import_privkey.3
 man/man3/gnutls_pubkey_import_rsa_raw.3
 man/man3/gnutls_pubkey_import_tpm_raw.3
@@ -565,9 +628,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_verify_data.3
 man/man3/gnutls_pubkey_verify_data2.3
-man/man3/gnutls_pubkey_verify_hash.3
 man/man3/gnutls_pubkey_verify_hash2.3
 man/man3/gnutls_pubkey_verify_params.3
 man/man3/gnutls_random_art.3
@@ -577,32 +638,25 @@ man/man3/gnutls_record_check_corked.3
 man/man3/gnutls_record_check_pending.3
 man/man3/gnutls_record_cork.3
 man/man3/gnutls_record_disable_padding.3
+man/man3/gnutls_record_discard_queued.3
 man/man3/gnutls_record_get_direction.3
 man/man3/gnutls_record_get_discarded.3
 man/man3/gnutls_record_get_max_size.3
+man/man3/gnutls_record_get_state.3
 man/man3/gnutls_record_overhead_size.3
 man/man3/gnutls_record_recv.3
 man/man3/gnutls_record_recv_packet.3
 man/man3/gnutls_record_recv_seq.3
 man/man3/gnutls_record_send.3
 man/man3/gnutls_record_send_range.3
-man/man3/gnutls_record_set_max_empty_records.3
 man/man3/gnutls_record_set_max_size.3
+man/man3/gnutls_record_set_state.3
 man/man3/gnutls_record_set_timeout.3
 man/man3/gnutls_record_uncork.3
+man/man3/gnutls_register_custom_url.3
 man/man3/gnutls_rehandshake.3
 man/man3/gnutls_rnd.3
 man/man3/gnutls_rnd_refresh.3
-man/man3/gnutls_rsa_export_get_modulus_bits.3
-man/man3/gnutls_rsa_export_get_pubkey.3
-man/man3/gnutls_rsa_params_cpy.3
-man/man3/gnutls_rsa_params_deinit.3
-man/man3/gnutls_rsa_params_export_pkcs1.3
-man/man3/gnutls_rsa_params_export_raw.3
-man/man3/gnutls_rsa_params_generate2.3
-man/man3/gnutls_rsa_params_import_pkcs1.3
-man/man3/gnutls_rsa_params_import_raw.3
-man/man3/gnutls_rsa_params_init.3
 man/man3/gnutls_safe_renegotiation_status.3
 man/man3/gnutls_sec_param_get_name.3
 man/man3/gnutls_sec_param_to_pk_bits.3
@@ -611,6 +665,8 @@ man/man3/gnutls_server_name_get.3
 man/man3/gnutls_server_name_set.3
 man/man3/gnutls_session_channel_binding.3
 man/man3/gnutls_session_enable_compatibility_mode.3
+man/man3/gnutls_session_etm_status.3
+man/man3/gnutls_session_ext_master_secret_status.3
 man/man3/gnutls_session_force_valid.3
 man/man3/gnutls_session_get_data.3
 man/man3/gnutls_session_get_data2.3
@@ -619,34 +675,36 @@ man/man3/gnutls_session_get_id.3
 man/man3/gnutls_session_get_id2.3
 man/man3/gnutls_session_get_ptr.3
 man/man3/gnutls_session_get_random.3
+man/man3/gnutls_session_get_verify_cert_status.3
 man/man3/gnutls_session_is_resumed.3
 man/man3/gnutls_session_resumption_requested.3
 man/man3/gnutls_session_set_data.3
 man/man3/gnutls_session_set_id.3
 man/man3/gnutls_session_set_premaster.3
 man/man3/gnutls_session_set_ptr.3
+man/man3/gnutls_session_set_verify_cert.3
+man/man3/gnutls_session_set_verify_cert2.3
+man/man3/gnutls_session_set_verify_function.3
 man/man3/gnutls_session_ticket_enable_client.3
 man/man3/gnutls_session_ticket_enable_server.3
 man/man3/gnutls_session_ticket_key_generate.3
-man/man3/gnutls_set_default_export_priority.3
 man/man3/gnutls_set_default_priority.3
 man/man3/gnutls_sign_algorithm_get.3
 man/man3/gnutls_sign_algorithm_get_client.3
 man/man3/gnutls_sign_algorithm_get_requested.3
-man/man3/gnutls_sign_callback_get.3
-man/man3/gnutls_sign_callback_set.3
 man/man3/gnutls_sign_get_hash_algorithm.3
 man/man3/gnutls_sign_get_id.3
 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_list.3
 man/man3/gnutls_srp_allocate_client_credentials.3
 man/man3/gnutls_srp_allocate_server_credentials.3
 man/man3/gnutls_srp_base64_decode.3
-man/man3/gnutls_srp_base64_decode_alloc.3
+man/man3/gnutls_srp_base64_decode2.3
 man/man3/gnutls_srp_base64_encode.3
-man/man3/gnutls_srp_base64_encode_alloc.3
+man/man3/gnutls_srp_base64_encode2.3
 man/man3/gnutls_srp_free_client_credentials.3
 man/man3/gnutls_srp_free_server_credentials.3
 man/man3/gnutls_srp_server_get_username.3
@@ -674,6 +732,14 @@ man/man3/gnutls_subject_alt_names_get.3
 man/man3/gnutls_subject_alt_names_init.3
 man/man3/gnutls_subject_alt_names_set.3
 man/man3/gnutls_supplemental_get_name.3
+man/man3/gnutls_supplemental_recv.3
+man/man3/gnutls_supplemental_register.3
+man/man3/gnutls_supplemental_send.3
+man/man3/gnutls_system_key_add_x509.3
+man/man3/gnutls_system_key_delete.3
+man/man3/gnutls_system_key_iter_deinit.3
+man/man3/gnutls_system_key_iter_get_info.3
+man/man3/gnutls_system_recv_timeout.3
 man/man3/gnutls_tdb_deinit.3
 man/man3/gnutls_tdb_init.3
 man/man3/gnutls_tdb_set_store_commitment_func.3
@@ -778,6 +844,7 @@ man/man3/gnutls_x509_crq_get_key_rsa_raw.3
 man/man3/gnutls_x509_crq_get_key_usage.3
 man/man3/gnutls_x509_crq_get_pk_algorithm.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_subject_alt_name.3
 man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3
 man/man3/gnutls_x509_crq_get_version.3
@@ -801,6 +868,7 @@ man/man3/gnutls_x509_crq_set_version.3
 man/man3/gnutls_x509_crq_sign.3
 man/man3/gnutls_x509_crq_sign2.3
 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_issuer.3
@@ -843,6 +911,7 @@ man/man3/gnutls_x509_crt_get_key_usage.3
 man/man3/gnutls_x509_crt_get_name_constraints.3
 man/man3/gnutls_x509_crt_get_pk_algorithm.3
 man/man3/gnutls_x509_crt_get_pk_dsa_raw.3
+man/man3/gnutls_x509_crt_get_pk_ecc_raw.3
 man/man3/gnutls_x509_crt_get_pk_rsa_raw.3
 man/man3/gnutls_x509_crt_get_policy.3
 man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3
@@ -859,11 +928,10 @@ man/man3/gnutls_x509_crt_get_subject_alt_name2.3
 man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3
 man/man3/gnutls_x509_crt_get_subject_key_id.3
 man/man3/gnutls_x509_crt_get_subject_unique_id.3
-man/man3/gnutls_x509_crt_get_verify_algorithm.3
 man/man3/gnutls_x509_crt_get_version.3
 man/man3/gnutls_x509_crt_import.3
 man/man3/gnutls_x509_crt_import_pkcs11.3
-man/man3/gnutls_x509_crt_import_pkcs11_url.3
+man/man3/gnutls_x509_crt_import_url.3
 man/man3/gnutls_x509_crt_init.3
 man/man3/gnutls_x509_crt_list_import.3
 man/man3/gnutls_x509_crt_list_import2.3
@@ -887,6 +955,7 @@ man/man3/gnutls_x509_crt_set_extension_by_oid.3
 man/man3/gnutls_x509_crt_set_issuer_alt_name.3
 man/man3/gnutls_x509_crt_set_issuer_dn.3
 man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3
+man/man3/gnutls_x509_crt_set_issuer_unique_id.3
 man/man3/gnutls_x509_crt_set_key.3
 man/man3/gnutls_x509_crt_set_key_purpose_oid.3
 man/man3/gnutls_x509_crt_set_key_usage.3
@@ -901,16 +970,17 @@ man/man3/gnutls_x509_crt_set_serial.3
 man/man3/gnutls_x509_crt_set_subject_alt_name.3
 man/man3/gnutls_x509_crt_set_subject_alternative_name.3
 man/man3/gnutls_x509_crt_set_subject_key_id.3
+man/man3/gnutls_x509_crt_set_subject_unique_id.3
 man/man3/gnutls_x509_crt_set_version.3
 man/man3/gnutls_x509_crt_sign.3
 man/man3/gnutls_x509_crt_sign2.3
 man/man3/gnutls_x509_crt_verify.3
-man/man3/gnutls_x509_crt_verify_data.3
-man/man3/gnutls_x509_crt_verify_hash.3
+man/man3/gnutls_x509_crt_verify_data2.3
 man/man3/gnutls_x509_dn_deinit.3
 man/man3/gnutls_x509_dn_export.3
 man/man3/gnutls_x509_dn_export2.3
 man/man3/gnutls_x509_dn_get_rdn_ava.3
+man/man3/gnutls_x509_dn_get_str.3
 man/man3/gnutls_x509_dn_import.3
 man/man3/gnutls_x509_dn_init.3
 man/man3/gnutls_x509_dn_oid_known.3
@@ -984,6 +1054,7 @@ man/man3/gnutls_x509_privkey_import_rsa_raw.3
 man/man3/gnutls_x509_privkey_import_rsa_raw2.3
 man/man3/gnutls_x509_privkey_init.3
 man/man3/gnutls_x509_privkey_sec_param.3
+man/man3/gnutls_x509_privkey_set_pin_function.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
@@ -999,7 +1070,11 @@ man/man3/gnutls_x509_trust_list_add_trust_file.3
 man/man3/gnutls_x509_trust_list_add_trust_mem.3
 man/man3/gnutls_x509_trust_list_deinit.3
 man/man3/gnutls_x509_trust_list_get_issuer.3
+man/man3/gnutls_x509_trust_list_get_issuer_by_dn.3
+man/man3/gnutls_x509_trust_list_get_issuer_by_subject_key_id.3
 man/man3/gnutls_x509_trust_list_init.3
+man/man3/gnutls_x509_trust_list_iter_deinit.3
+man/man3/gnutls_x509_trust_list_iter_get_ca.3
 man/man3/gnutls_x509_trust_list_remove_cas.3
 man/man3/gnutls_x509_trust_list_remove_trust_file.3
 man/man3/gnutls_x509_trust_list_remove_trust_mem.3
diff --git a/gnutls/distinfo b/gnutls/distinfo
index e0305d5..ea6cf19 100644
--- a/gnutls/distinfo
+++ b/gnutls/distinfo
@@ -1,18 +1,18 @@
 $NetBSD: distinfo,v 1.118 2015/11/04 01:17:45 agc Exp $
 
-SHA1 (gnutls-3.3.18.tar.xz) = c47b43e5b7c60133cac8de18ce7a6494e21b539a
-RMD160 (gnutls-3.3.18.tar.xz) = 76ccb9fb302284ac1ad4966bf76a8c6d9249c2ab
-SHA512 (gnutls-3.3.18.tar.xz) = e7c972458ad0af401121c705ebe86aafa46c02743d963b1b67ca09192c746a9193c73d28501b6c046435259b40ac0f8d201860cd6cf6240a7783b6c01b64286c
-Size (gnutls-3.3.18.tar.xz) = 6275948 bytes
+SHA1 (gnutls-3.4.10.tar.xz) = faf74e01f2d19b68c8ae07ddb13c86cc630ea339
+RMD160 (gnutls-3.4.10.tar.xz) = d7848072ca79409bcb7217609c9ad6cfe9e7bba6
+SHA512 (gnutls-3.4.10.tar.xz) = e5cd60240ebbcac9d8f7c28fdbf023a499e3c58a352a43c24d075b248a0a903161b1745641bf263519293c0014424cc23dbb67274c8934aaf273a523ad0a2925
+Size (gnutls-3.4.10.tar.xz) = 6645892 bytes
 SHA1 (patch-ae) = 5e020483ac14ef6ccc45a53e351242ab16c860f1
-SHA1 (patch-gl_stdio.in.h) = 298cc0e27087f086e9d47c67f81c8d10f6a7a8f1
-SHA1 (patch-lib_Makefile.in) = d0e292e632a91a9f19e39bd2c2d205a086ba5588
+SHA1 (patch-lib_Makefile.in) = 490f155fe30f63c9ecf82c4c4db7fd8c96ddad78
 SHA1 (patch-lib_nettle_rnd-common.c) = e0feb509e0c37791560280d9eb36785edea51a25
-SHA1 (patch-src_gl_stdio.in.h) = fbea411c3a7b71dd2daa3a5963324a2f8daad212
 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_Makefile.in) = a6505d834ac660ef6343c0ecdbff9f4aca324954
-SHA1 (patch-tests_openpgp-certs_Makefile.in) = 2e7074312e67d747bd0ecfa839187f8bf33f4f09
+SHA1 (patch-tests_dsa_testdsa) = 89d0fa935b14a4d4335a693090d149babce18340
+SHA1 (patch-tests_dtls_dtls-stress.c) = 49157822d8f4928d98a757157f13c913dcbed730
+SHA1 (patch-tests_openpgp-certs_testcerts) = cbf28fcc944133e2e40b754ca6d68f7a96789917
+SHA1 (patch-tests_utils.h) = 74e138fc7f13bc2e38341da0f73c73a686faa9f7
diff --git a/gnutls/patches/patch-gl_stdio.in.h b/gnutls/patches/patch-gl_stdio.in.h
deleted file mode 100644
index 35fda4c..0000000
--- a/gnutls/patches/patch-gl_stdio.in.h
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-gl_stdio.in.h,v 1.3 2015/06/01 21:50:22 spz Exp $
-
-Avoid conflict between gets() and std::gets()
-
---- gl/stdio.in.h.orig	2015-03-23 20:57:21.000000000 +0000
-+++ gl/stdio.in.h
-@@ -714,6 +714,7 @@ _GL_WARN_ON_USE (getline, "getline is un
- # endif
- #endif
- 
-+#if !(defined __cplusplus)
- /* It is very rare that the developer ever has full control of stdin,
-    so any use of gets warrants an unconditional warning; besides, C11
-    removed it.  */
-@@ -721,6 +722,7 @@ _GL_WARN_ON_USE (getline, "getline is un
- #if HAVE_RAW_DECL_GETS
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
- #endif
-+#endif
- 
- 
- #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
diff --git a/gnutls/patches/patch-lib_Makefile.in b/gnutls/patches/patch-lib_Makefile.in
index fab7f5d..88720c4 100644
--- a/gnutls/patches/patch-lib_Makefile.in
+++ b/gnutls/patches/patch-lib_Makefile.in
@@ -2,9 +2,9 @@ $NetBSD: patch-lib_Makefile.in,v 1.7 2015/06/01 21:50:22 spz Exp $
 
 Correct path to locale files.
 
---- lib/Makefile.in.orig	2015-05-03 17:30:56.000000000 +0000
+--- lib/Makefile.in.orig	2016-03-03 07:52:17.000000000 +0000
 +++ lib/Makefile.in
-@@ -361,7 +361,7 @@ am__v_lt_0 = --silent
+@@ -381,7 +381,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) \
@@ -13,12 +13,12 @@ Correct path to locale files.
  @ENABLE_CXX_TRUE@libgnutlsxx_la_DEPENDENCIES = libgnutls.la
  am__libgnutlsxx_la_SOURCES_DIST = gnutlsxx.cpp
  @ENABLE_CXX_TRUE@am_libgnutlsxx_la_OBJECTS =  \
-@@ -1443,7 +1443,7 @@ infodir = @infodir@
+@@ -1472,7 +1472,7 @@ infodir = @infodir@
  install_sh = @install_sh@
  libdir = @libdir@
  libexecdir = @libexecdir@
 -localedir = $(datadir)/locale
-+localedir = @prefix@/share/locale
++localedir = $(prefix)/share/locale
  localstatedir = @localstatedir@
  mandir = @mandir@
  mkdir_p = @mkdir_p@
diff --git a/gnutls/patches/patch-src_gl_stdio.in.h b/gnutls/patches/patch-src_gl_stdio.in.h
deleted file mode 100644
index ac259aa..0000000
--- a/gnutls/patches/patch-src_gl_stdio.in.h
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-src_gl_stdio.in.h,v 1.1 2015/06/04 09:43:53 jperkin Exp $
-
-Avoid conflict between gets() and std::gets()
-
---- src/gl/stdio.in.h.orig	2015-03-23 20:57:21.000000000 +0000
-+++ src/gl/stdio.in.h
-@@ -714,6 +714,7 @@ _GL_WARN_ON_USE (getline, "getline is un
- # endif
- #endif
- 
-+#if !defined(__cplusplus)
- /* It is very rare that the developer ever has full control of stdin,
-    so any use of gets warrants an unconditional warning; besides, C11
-    removed it.  */
-@@ -721,6 +722,7 @@ _GL_WARN_ON_USE (getline, "getline is un
- #if HAVE_RAW_DECL_GETS
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
- #endif
-+#endif
- 
- 
- #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
diff --git a/gnutls/patches/patch-tests_Makefile.in b/gnutls/patches/patch-tests_Makefile.in
deleted file mode 100644
index a54630f..0000000
--- a/gnutls/patches/patch-tests_Makefile.in
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-tests_Makefile.in,v 1.5 2015/08/14 11:48:55 wiz Exp $
-
-Disable dsa test. Hangs on NetBSD-6.99.28/amd64 in gnutls-3.8.2.1.
-Please retest during updates.
-
---- tests/Makefile.in.orig	2015-08-09 19:26:53.000000000 +0000
-+++ tests/Makefile.in
-@@ -1160,7 +1160,7 @@ TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) 
- 	$(TEST_LOG_FLAGS)
- DIST_SUBDIRS = . rsa-md5-collision pkcs1-padding pkcs8-decode \
- 	pkcs12-decode userid cert-tests key-tests sha2 \
--	safe-renegotiation dsa scripts ecdsa slow dtls srp \
-+	safe-renegotiation scripts ecdsa slow dtls srp \
- 	openpgp-certs suite
- am__DIST_COMMON = $(srcdir)/Makefile.in \
- 	$(top_srcdir)/build-aux/depcomp \
diff --git a/gnutls/patches/patch-tests_dsa_testdsa b/gnutls/patches/patch-tests_dsa_testdsa
new file mode 100644
index 0000000..1ecf50b
--- /dev/null
+++ b/gnutls/patches/patch-tests_dsa_testdsa
@@ -0,0 +1,16 @@
+$NetBSD$
+
+This is needed because of the use of RANDOM (possibly more)
+in common.sh
+
+--- tests/dsa/testdsa.orig	2015-07-21 09:42:08.000000000 +0000
++++ tests/dsa/testdsa
+@@ -35,7 +35,7 @@ if test "${WINDIR}" != ""; then
+ 	exit 77
+ fi 
+ 
+-. "${srcdir}/../scripts/common.sh"
++bash "${srcdir}/../scripts/common.sh"
+ 
+ PORT="${PORT:-$RPORT}"
+ 
diff --git a/gnutls/patches/patch-tests_dtls_dtls-stress.c b/gnutls/patches/patch-tests_dtls_dtls-stress.c
new file mode 100644
index 0000000..416f409
--- /dev/null
+++ b/gnutls/patches/patch-tests_dtls_dtls-stress.c
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Running 'make test':
+undefined reference to `rpl_strerror'
+
+https://gitlab.com/gnutls/gnutls/issues/81
+
+--- tests/dtls/dtls-stress.c.orig	2015-01-19 17:38:09.000000000 +0000
++++ tests/dtls/dtls-stress.c
+@@ -346,8 +346,7 @@ static void _process_error_or_timeout(in
+ 
+ static void rperror(const char *name)
+ {
+-	fprintf(stdout, "%i %s| %s: %s\n", run_id, role_name, name,
+-		strerror(errno));
++	fprintf(stdout, "%i %s| %s\n", run_id, role_name, name);
+ }
+ 
+ // }}}
diff --git a/gnutls/patches/patch-tests_openpgp-certs_Makefile.in b/gnutls/patches/patch-tests_openpgp-certs_Makefile.in
deleted file mode 100644
index 56aa4fa..0000000
--- a/gnutls/patches/patch-tests_openpgp-certs_Makefile.in
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-tests_openpgp-certs_Makefile.in,v 1.3 2015/06/01 21:50:22 spz Exp $
-
-Disable testcerts test. Hangs on NetBSD-6.99.28/amd64 with gnutls-3.8.2.1.
-Please retest during updates.
-
---- tests/openpgp-certs/Makefile.in.orig	2015-05-03 17:30:57.000000000 +0000
-+++ tests/openpgp-certs/Makefile.in
-@@ -1413,7 +1413,7 @@ dist_check_SCRIPTS = testselfsigs testce
- 
- # The selftest is disabled until we can make it work under Wine and
- # under Debian buildds (problem with 127.0.0.2?).
--@ENABLE_OPENPGP_TRUE@TESTS = testselfsigs $(am__append_1)
-+@ENABLE_OPENPGP_TRUE@TESTS = testselfsigs # $(am__append_1)
- TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \
- 	LC_ALL="C"						\
- 	top_builddir="$(top_builddir)"				\
diff --git a/gnutls/patches/patch-tests_utils.h b/gnutls/patches/patch-tests_utils.h
new file mode 100644
index 0000000..046f058
--- /dev/null
+++ b/gnutls/patches/patch-tests_utils.h
@@ -0,0 +1,16 @@
+$NetBSD$
+
+SIGTERM and kill are defined in signal.h which is not included.
+This problem occurs on NetBSD-7.99 with clang, running 'make test'
+https://gitlab.com/gnutls/gnutls/issues/80
+
+--- tests/utils.h.orig	2016-02-27 21:26:39.000000000 +0000
++++ tests/utils.h
+@@ -25,6 +25,7 @@
+ 
+ #include <string.h>
+ #include <stdarg.h>
++#include <signal.h>
+ #include <gnutls/gnutls.h>
+ #include <gnutls/pkcs11.h>
+ 


Home | Main Index | Thread Index | Old Index