ports/154137: [PATCH] security/gnutls-devel: update to 2.11.5

Fumiyuki Shimizu 清水文行 fumifumi at abacustech.jp
Wed Jan 19 10:50:08 UTC 2011


>Number:         154137
>Category:       ports
>Synopsis:       [PATCH] security/gnutls-devel: update to 2.11.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 19 10:50:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Fumiyuki Shimizu
>Release:        FreeBSD 7.3-RELEASE-p4 i386
>Organization:
Abacus Technologies, Inc.
>Environment:
System: FreeBSD 7.3-RELEASE-p4 #1: Tue Dec 14 00:12:01 JST 2010
>Description:
- Update to 2.11.5

Hello,

I have cerated this, but this is actually blocked by ports/149361 and
database of portaudit. I have sent an e-mail to ask to update the
value of gnutls-devel version from 0 to 2.9.2 regarding gnutls-devel
on vid:856a6f84-8b30-11de-8062-00e0815b8da8.

Thank you,

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- gnutls-devel-2.11.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/gnutls-devel/Makefile /usr/ports/security/gnutls-devel-2.11.5/Makefile
--- /usr/ports/security/gnutls-devel/Makefile	2010-12-04 16:33:25.000000000 +0900
+++ /usr/ports/security/gnutls-devel-2.11.5/Makefile	2011-01-19 18:45:35.000000000 +0900
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	gnutls
-PORTVERSION=	2.11.0
-PORTREVISION=	1
+PORTVERSION=	2.11.5
+#PORTREVISION=	0
 CATEGORIES=	security net
 MASTER_SITES=	http://alpha.gnu.org/gnu/gnutls/ \
 		ftp://ftp.gnutls.org/pub/gnutls/devel/
@@ -17,7 +17,8 @@
 COMMENT=	GNU Transport Layer Security library
 
 LIB_DEPENDS=	gcrypt.17:${PORTSDIR}/security/libgcrypt \
-		gpg-error.0:${PORTSDIR}/security/libgpg-error
+		gpg-error.0:${PORTSDIR}/security/libgpg-error \
+		nettle.3:${PORTSDIR}/security/nettle
 
 CONFLICTS=	gnutls-[0-9]*
 
diff -ruN --exclude=CVS /usr/ports/security/gnutls-devel/Makefile.man /usr/ports/security/gnutls-devel-2.11.5/Makefile.man
--- /usr/ports/security/gnutls-devel/Makefile.man	2010-07-24 18:55:18.000000000 +0900
+++ /usr/ports/security/gnutls-devel-2.11.5/Makefile.man	2011-01-19 19:19:59.000000000 +0900
@@ -5,9 +5,10 @@
 
 MAN1=	\
 	certtool.1 \
-	gnutls-cli.1 \
 	gnutls-cli-debug.1 \
+	gnutls-cli.1 \
 	gnutls-serv.1 \
+	p11tool.1 \
 	psktool.1 \
 	srptool.1
 
@@ -54,6 +55,7 @@
 	gnutls_certificate_set_openpgp_keyring_file.3 \
 	gnutls_certificate_set_openpgp_keyring_mem.3 \
 	gnutls_certificate_set_params_function.3 \
+	gnutls_certificate_set_retrieve_function.3 \
 	gnutls_certificate_set_rsa_export_params.3 \
 	gnutls_certificate_set_verify_flags.3 \
 	gnutls_certificate_set_verify_function.3 \
@@ -78,8 +80,10 @@
 	gnutls_certificate_verify_peers2.3 \
 	gnutls_check_version.3 \
 	gnutls_cipher_decrypt.3 \
+	gnutls_cipher_decrypt2.3 \
 	gnutls_cipher_deinit.3 \
 	gnutls_cipher_encrypt.3 \
+	gnutls_cipher_encrypt2.3 \
 	gnutls_cipher_get.3 \
 	gnutls_cipher_get_block_size.3 \
 	gnutls_cipher_get_id.3 \
@@ -141,6 +145,7 @@
 	gnutls_global_set_log_function.3 \
 	gnutls_global_set_log_level.3 \
 	gnutls_global_set_mem_functions.3 \
+	gnutls_global_set_mutex.3 \
 	gnutls_handshake.3 \
 	gnutls_handshake_get_last_in.3 \
 	gnutls_handshake_get_last_out.3 \
@@ -234,6 +239,7 @@
 	gnutls_openpgp_keyring_get_crt_count.3 \
 	gnutls_openpgp_keyring_import.3 \
 	gnutls_openpgp_keyring_init.3 \
+	gnutls_openpgp_privkey_decrypt_data.3 \
 	gnutls_openpgp_privkey_deinit.3 \
 	gnutls_openpgp_privkey_export.3 \
 	gnutls_openpgp_privkey_export_dsa_raw.3 \
@@ -255,6 +261,7 @@
 	gnutls_openpgp_privkey_get_subkey_revoked_status.3 \
 	gnutls_openpgp_privkey_import.3 \
 	gnutls_openpgp_privkey_init.3 \
+	gnutls_openpgp_privkey_sec_param.3 \
 	gnutls_openpgp_privkey_set_preferred_key_id.3 \
 	gnutls_openpgp_privkey_sign_hash.3 \
 	gnutls_openpgp_send_cert.3 \
@@ -265,9 +272,42 @@
 	gnutls_pem_base64_encode_alloc.3 \
 	gnutls_perror.3 \
 	gnutls_pk_algorithm_get_name.3 \
+	gnutls_pk_bits_to_sec_param.3 \
 	gnutls_pk_get_id.3 \
 	gnutls_pk_get_name.3 \
 	gnutls_pk_list.3 \
+	gnutls_pkcs11_add_provider.3 \
+	gnutls_pkcs11_copy_secret_key.3 \
+	gnutls_pkcs11_copy_x509_crt.3 \
+	gnutls_pkcs11_copy_x509_privkey.3 \
+	gnutls_pkcs11_deinit.3 \
+	gnutls_pkcs11_delete_url.3 \
+	gnutls_pkcs11_init.3 \
+	gnutls_pkcs11_obj_deinit.3 \
+	gnutls_pkcs11_obj_export.3 \
+	gnutls_pkcs11_obj_export_url.3 \
+	gnutls_pkcs11_obj_get_info.3 \
+	gnutls_pkcs11_obj_get_type.3 \
+	gnutls_pkcs11_obj_import_url.3 \
+	gnutls_pkcs11_obj_init.3 \
+	gnutls_pkcs11_obj_list_import_url.3 \
+	gnutls_pkcs11_privkey_decrypt_data.3 \
+	gnutls_pkcs11_privkey_deinit.3 \
+	gnutls_pkcs11_privkey_export_url.3 \
+	gnutls_pkcs11_privkey_get_info.3 \
+	gnutls_pkcs11_privkey_get_pk_algorithm.3 \
+	gnutls_pkcs11_privkey_import_url.3 \
+	gnutls_pkcs11_privkey_init.3 \
+	gnutls_pkcs11_privkey_sign_data.3 \
+	gnutls_pkcs11_privkey_sign_hash.3 \
+	gnutls_pkcs11_set_pin_function.3 \
+	gnutls_pkcs11_set_token_function.3 \
+	gnutls_pkcs11_token_get_flags.3 \
+	gnutls_pkcs11_token_get_info.3 \
+	gnutls_pkcs11_token_get_mechanism.3 \
+	gnutls_pkcs11_token_get_url.3 \
+	gnutls_pkcs11_token_init.3 \
+	gnutls_pkcs11_token_set_pin.3 \
 	gnutls_pkcs12_bag_decrypt.3 \
 	gnutls_pkcs12_bag_deinit.3 \
 	gnutls_pkcs12_bag_encrypt.3 \
@@ -310,6 +350,16 @@
 	gnutls_priority_init.3 \
 	gnutls_priority_set.3 \
 	gnutls_priority_set_direct.3 \
+	gnutls_privkey_decrypt_data.3 \
+	gnutls_privkey_deinit.3 \
+	gnutls_privkey_get_pk_algorithm.3 \
+	gnutls_privkey_get_type.3 \
+	gnutls_privkey_import_openpgp.3 \
+	gnutls_privkey_import_pkcs11.3 \
+	gnutls_privkey_import_x509.3 \
+	gnutls_privkey_init.3 \
+	gnutls_privkey_sign_data.3 \
+	gnutls_privkey_sign_hash.3 \
 	gnutls_protocol_get_id.3 \
 	gnutls_protocol_get_name.3 \
 	gnutls_protocol_get_version.3 \
@@ -330,6 +380,25 @@
 	gnutls_psk_set_server_credentials_hint.3 \
 	gnutls_psk_set_server_dh_params.3 \
 	gnutls_psk_set_server_params_function.3 \
+	gnutls_pubkey_deinit.3 \
+	gnutls_pubkey_export.3 \
+	gnutls_pubkey_get_key_id.3 \
+	gnutls_pubkey_get_key_usage.3 \
+	gnutls_pubkey_get_pk_algorithm.3 \
+	gnutls_pubkey_get_pk_dsa_raw.3 \
+	gnutls_pubkey_get_pk_rsa_raw.3 \
+	gnutls_pubkey_get_preferred_hash_algorithm.3 \
+	gnutls_pubkey_get_verify_algorithm.3 \
+	gnutls_pubkey_import.3 \
+	gnutls_pubkey_import_dsa_raw.3 \
+	gnutls_pubkey_import_openpgp.3 \
+	gnutls_pubkey_import_pkcs11.3 \
+	gnutls_pubkey_import_pkcs11_url.3 \
+	gnutls_pubkey_import_rsa_raw.3 \
+	gnutls_pubkey_import_x509.3 \
+	gnutls_pubkey_init.3 \
+	gnutls_pubkey_set_key_usage.3 \
+	gnutls_pubkey_verify_hash.3 \
 	gnutls_record_check_pending.3 \
 	gnutls_record_disable_padding.3 \
 	gnutls_record_get_direction.3 \
@@ -339,6 +408,7 @@
 	gnutls_record_set_max_size.3 \
 	gnutls_register_md5_handler.3 \
 	gnutls_rehandshake.3 \
+	gnutls_rnd.3 \
 	gnutls_rsa_export_get_modulus_bits.3 \
 	gnutls_rsa_export_get_pubkey.3 \
 	gnutls_rsa_params_cpy.3 \
@@ -350,8 +420,11 @@
 	gnutls_rsa_params_import_raw.3 \
 	gnutls_rsa_params_init.3 \
 	gnutls_safe_renegotiation_status.3 \
+	gnutls_sec_param_get_name.3 \
+	gnutls_sec_param_to_pk_bits.3 \
 	gnutls_server_name_get.3 \
 	gnutls_server_name_set.3 \
+	gnutls_session_channel_binding.3 \
 	gnutls_session_enable_compatibility_mode.3 \
 	gnutls_session_get_client_random.3 \
 	gnutls_session_get_data.3 \
@@ -397,12 +470,14 @@
 	gnutls_transport_get_ptr.3 \
 	gnutls_transport_get_ptr2.3 \
 	gnutls_transport_set_errno.3 \
+	gnutls_transport_set_errno_function.3 \
 	gnutls_transport_set_global_errno.3 \
 	gnutls_transport_set_lowat.3 \
 	gnutls_transport_set_ptr.3 \
 	gnutls_transport_set_ptr2.3 \
 	gnutls_transport_set_pull_function.3 \
 	gnutls_transport_set_push_function.3 \
+	gnutls_transport_set_push_function2.3 \
 	gnutls_x509_crl_check_issuer.3 \
 	gnutls_x509_crl_deinit.3 \
 	gnutls_x509_crl_export.3 \
@@ -424,6 +499,7 @@
 	gnutls_x509_crl_import.3 \
 	gnutls_x509_crl_init.3 \
 	gnutls_x509_crl_print.3 \
+	gnutls_x509_crl_privkey_sign.3 \
 	gnutls_x509_crl_set_authority_key_id.3 \
 	gnutls_x509_crl_set_crt.3 \
 	gnutls_x509_crl_set_crt_serial.3 \
@@ -452,12 +528,14 @@
 	gnutls_x509_crq_get_key_rsa_raw.3 \
 	gnutls_x509_crq_get_key_usage.3 \
 	gnutls_x509_crq_get_pk_algorithm.3 \
+	gnutls_x509_crq_get_preferred_hash_algorithm.3 \
 	gnutls_x509_crq_get_subject_alt_name.3 \
 	gnutls_x509_crq_get_subject_alt_othername_oid.3 \
 	gnutls_x509_crq_get_version.3 \
 	gnutls_x509_crq_import.3 \
 	gnutls_x509_crq_init.3 \
 	gnutls_x509_crq_print.3 \
+	gnutls_x509_crq_privkey_sign.3 \
 	gnutls_x509_crq_set_attribute_by_oid.3 \
 	gnutls_x509_crq_set_basic_constraints.3 \
 	gnutls_x509_crq_set_challenge_password.3 \
@@ -466,6 +544,7 @@
 	gnutls_x509_crq_set_key_purpose_oid.3 \
 	gnutls_x509_crq_set_key_rsa_raw.3 \
 	gnutls_x509_crq_set_key_usage.3 \
+	gnutls_x509_crq_set_pubkey.3 \
 	gnutls_x509_crq_set_subject_alt_name.3 \
 	gnutls_x509_crq_set_version.3 \
 	gnutls_x509_crq_sign.3 \
@@ -497,12 +576,14 @@
 	gnutls_x509_crt_get_issuer_dn.3 \
 	gnutls_x509_crt_get_issuer_dn_by_oid.3 \
 	gnutls_x509_crt_get_issuer_dn_oid.3 \
+	gnutls_x509_crt_get_issuer_unique_id.3 \
 	gnutls_x509_crt_get_key_id.3 \
 	gnutls_x509_crt_get_key_purpose_oid.3 \
 	gnutls_x509_crt_get_key_usage.3 \
 	gnutls_x509_crt_get_pk_algorithm.3 \
 	gnutls_x509_crt_get_pk_dsa_raw.3 \
 	gnutls_x509_crt_get_pk_rsa_raw.3 \
+	gnutls_x509_crt_get_preferred_hash_algorithm.3 \
 	gnutls_x509_crt_get_proxy.3 \
 	gnutls_x509_crt_get_raw_dn.3 \
 	gnutls_x509_crt_get_raw_issuer_dn.3 \
@@ -514,13 +595,18 @@
 	gnutls_x509_crt_get_subject_alt_name2.3 \
 	gnutls_x509_crt_get_subject_alt_othername_oid.3 \
 	gnutls_x509_crt_get_subject_key_id.3 \
+	gnutls_x509_crt_get_subject_unique_id.3 \
 	gnutls_x509_crt_get_verify_algorithm.3 \
 	gnutls_x509_crt_get_version.3 \
 	gnutls_x509_crt_import.3 \
+	gnutls_x509_crt_import_pkcs11.3 \
+	gnutls_x509_crt_import_pkcs11_url.3 \
 	gnutls_x509_crt_init.3 \
 	gnutls_x509_crt_list_import.3 \
+	gnutls_x509_crt_list_import_pkcs11.3 \
 	gnutls_x509_crt_list_verify.3 \
 	gnutls_x509_crt_print.3 \
+	gnutls_x509_crt_privkey_sign.3 \
 	gnutls_x509_crt_set_activation_time.3 \
 	gnutls_x509_crt_set_authority_key_id.3 \
 	gnutls_x509_crt_set_basic_constraints.3 \
@@ -538,6 +624,7 @@
 	gnutls_x509_crt_set_key_usage.3 \
 	gnutls_x509_crt_set_proxy.3 \
 	gnutls_x509_crt_set_proxy_dn.3 \
+	gnutls_x509_crt_set_pubkey.3 \
 	gnutls_x509_crt_set_serial.3 \
 	gnutls_x509_crt_set_subject_alt_name.3 \
 	gnutls_x509_crt_set_subject_alternative_name.3 \
@@ -560,6 +647,7 @@
 	gnutls_x509_privkey_export_dsa_raw.3 \
 	gnutls_x509_privkey_export_pkcs8.3 \
 	gnutls_x509_privkey_export_rsa_raw.3 \
+	gnutls_x509_privkey_export_rsa_raw2.3 \
 	gnutls_x509_privkey_fix.3 \
 	gnutls_x509_privkey_generate.3 \
 	gnutls_x509_privkey_get_key_id.3 \
@@ -568,87 +656,13 @@
 	gnutls_x509_privkey_import_dsa_raw.3 \
 	gnutls_x509_privkey_import_pkcs8.3 \
 	gnutls_x509_privkey_import_rsa_raw.3 \
+	gnutls_x509_privkey_import_rsa_raw2.3 \
 	gnutls_x509_privkey_init.3 \
+	gnutls_x509_privkey_sec_param.3 \
 	gnutls_x509_privkey_sign_data.3 \
+	gnutls_x509_privkey_sign_data2.3 \
 	gnutls_x509_privkey_sign_hash.3 \
 	gnutls_x509_privkey_verify_data.3 \
 	gnutls_x509_rdn_get.3 \
 	gnutls_x509_rdn_get_by_oid.3 \
-	gnutls_x509_rdn_get_oid.3 \
-	gnutls_certificate_set_retrieve_function.3 \
-	gnutls_global_set_mutex.3 \
-	gnutls_openpgp_privkey_decrypt_data.3 \
-	gnutls_pk_bits_to_sec_param.3 \
-	gnutls_pkcs11_add_provider.3 \
-	gnutls_pkcs11_copy_x509_crt.3 \
-	gnutls_pkcs11_copy_x509_privkey.3 \
-	gnutls_pkcs11_deinit.3 \
-	gnutls_pkcs11_delete_url.3 \
-	gnutls_pkcs11_init.3 \
-	gnutls_pkcs11_obj_deinit.3 \
-	gnutls_pkcs11_obj_export.3 \
-	gnutls_pkcs11_obj_export_url.3 \
-	gnutls_pkcs11_obj_get_info.3 \
-	gnutls_pkcs11_obj_get_type.3 \
-	gnutls_pkcs11_obj_import_url.3 \
-	gnutls_pkcs11_obj_init.3 \
-	gnutls_pkcs11_obj_list_import_url.3 \
-	gnutls_pkcs11_privkey_decrypt_data.3 \
-	gnutls_pkcs11_privkey_deinit.3 \
-	gnutls_pkcs11_privkey_export_url.3 \
-	gnutls_pkcs11_privkey_get_info.3 \
-	gnutls_pkcs11_privkey_get_pk_algorithm.3 \
-	gnutls_pkcs11_privkey_import_url.3 \
-	gnutls_pkcs11_privkey_init.3 \
-	gnutls_pkcs11_privkey_sign_data.3 \
-	gnutls_pkcs11_privkey_sign_hash.3 \
-	gnutls_pkcs11_set_pin_function.3 \
-	gnutls_pkcs11_set_token_function.3 \
-	gnutls_pkcs11_token_get_flags.3 \
-	gnutls_pkcs11_token_get_info.3 \
-	gnutls_pkcs11_token_get_url.3 \
-	gnutls_privkey_decrypt_data.3 \
-	gnutls_privkey_deinit.3 \
-	gnutls_privkey_get_pk_algorithm.3 \
-	gnutls_privkey_get_type.3 \
-	gnutls_privkey_import_openpgp.3 \
-	gnutls_privkey_import_pkcs11.3 \
-	gnutls_privkey_import_x509.3 \
-	gnutls_privkey_init.3 \
-	gnutls_privkey_sign_data.3 \
-	gnutls_privkey_sign_hash.3 \
-	gnutls_pubkey_deinit.3 \
-	gnutls_pubkey_export.3 \
-	gnutls_pubkey_get_key_id.3 \
-	gnutls_pubkey_get_key_usage.3 \
-	gnutls_pubkey_get_pk_algorithm.3 \
-	gnutls_pubkey_get_pk_dsa_raw.3 \
-	gnutls_pubkey_get_pk_rsa_raw.3 \
-	gnutls_pubkey_get_preferred_hash_algorithm.3 \
-	gnutls_pubkey_get_verify_algorithm.3 \
-	gnutls_pubkey_import.3 \
-	gnutls_pubkey_import_dsa_raw.3 \
-	gnutls_pubkey_import_openpgp.3 \
-	gnutls_pubkey_import_pkcs11.3 \
-	gnutls_pubkey_import_pkcs11_url.3 \
-	gnutls_pubkey_import_rsa_raw.3 \
-	gnutls_pubkey_import_x509.3 \
-	gnutls_pubkey_init.3 \
-	gnutls_pubkey_set_key_usage.3 \
-	gnutls_pubkey_verify_hash.3 \
-	gnutls_rnd.3 \
-	gnutls_sec_param_get_name.3 \
-	gnutls_sec_param_to_pk_bits.3 \
-	gnutls_x509_crl_privkey_sign.3 \
-	gnutls_x509_crq_get_preferred_hash_algorithm.3 \
-	gnutls_x509_crq_privkey_sign.3 \
-	gnutls_x509_crq_set_pubkey.3 \
-	gnutls_x509_crt_get_preferred_hash_algorithm.3 \
-	gnutls_x509_crt_import_pkcs11.3 \
-	gnutls_x509_crt_import_pkcs11_url.3 \
-	gnutls_x509_crt_list_import_pkcs11.3 \
-	gnutls_x509_crt_privkey_sign.3 \
-	gnutls_x509_crt_set_pubkey.3 \
-	gnutls_x509_privkey_export_rsa_raw2.3 \
-	gnutls_x509_privkey_import_rsa_raw2.3 \
-	gnutls_x509_privkey_sign_data2.3
+	gnutls_x509_rdn_get_oid.3
diff -ruN --exclude=CVS /usr/ports/security/gnutls-devel/distinfo /usr/ports/security/gnutls-devel-2.11.5/distinfo
--- /usr/ports/security/gnutls-devel/distinfo	2010-07-24 18:55:18.000000000 +0900
+++ /usr/ports/security/gnutls-devel-2.11.5/distinfo	2011-01-19 18:35:56.000000000 +0900
@@ -1,3 +1,2 @@
-MD5 (gnutls-2.11.0.tar.bz2) = 5150a6fa2ed83c5329ef0f20c63d49b7
-SHA256 (gnutls-2.11.0.tar.bz2) = 0298fb1b6ce30df46044d78cd719aa92b50c3537d83a82819aef4efb587997f5
-SIZE (gnutls-2.11.0.tar.bz2) = 6692201
+SHA256 (gnutls-2.11.5.tar.bz2) = 8f904019f35a6be15da9cedf4bb98fa9a8606dc1a54d724dbd2eba0467d7c244
+SIZE (gnutls-2.11.5.tar.bz2) = 7009401
diff -ruN --exclude=CVS /usr/ports/security/gnutls-devel/pkg-plist /usr/ports/security/gnutls-devel-2.11.5/pkg-plist
--- /usr/ports/security/gnutls-devel/pkg-plist	2010-07-24 18:55:19.000000000 +0900
+++ /usr/ports/security/gnutls-devel-2.11.5/pkg-plist	2011-01-19 19:11:11.000000000 +0900
@@ -3,6 +3,7 @@
 bin/gnutls-cli
 bin/gnutls-cli-debug
 bin/gnutls-serv
+bin/p11tool
 bin/psktool
 bin/srptool
 info/gnutls-certificate-user-use-case.png
@@ -36,15 +37,15 @@
 lib/libgnutls-extra.a
 lib/libgnutls-extra.la
 lib/libgnutls-extra.so
-lib/libgnutls-extra.so.43
+lib/libgnutls-extra.so.44
 lib/libgnutls-openssl.a
 lib/libgnutls-openssl.la
 lib/libgnutls-openssl.so
-lib/libgnutls-openssl.so.43
+lib/libgnutls-openssl.so.44
 lib/libgnutls.a
 lib/libgnutls.la
 lib/libgnutls.so
-lib/libgnutls.so.43
+lib/libgnutls.so.44
 libdata/pkgconfig/gnutls-extra.pc
 libdata/pkgconfig/gnutls.pc
 %%EXAMPLESDIR%%/ex-alert.c
--- gnutls-devel-2.11.5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list