diff options
author | spz <spz@pkgsrc.org> | 2015-06-01 21:50:22 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2015-06-01 21:50:22 +0000 |
commit | d7c916fb7150a7ec9e4b7d25c8fa02c286dc8dc1 (patch) | |
tree | 047b52cd7a638021f4ce1d9263ded3e35b83685d | |
parent | 92ad46f74b3d5c2f468bce9bbd523da35efd4dbd (diff) | |
download | pkgsrc-d7c916fb7150a7ec9e4b7d25c8fa02c286dc8dc1.tar.gz |
update to gnutls 3.3.15
patch refresh grace of mkpatches
upstream notable changes list since the 3.2 to 3.3 branch point (excerpt
of the NEWS file):
* Version 3.3.15 (released 2015-05-03)
** libgnutls: gnutls_certificate_get_ours: will return the certificate even
if a callback was used to send it.
** libgnutls: Fix for MD5 downgrade in TLS 1.2 signatures. Reported by
Karthikeyan Bhargavan [GNUTLS-SA-2015-2].
** libgnutls: Check for invalid length in the X.509 version field. Without the check
certificates with invalid length would be detected as having an arbitrary
version. Reported by Hanno Böck.
** API and ABI modifications:
No changes since last version.
* Version 3.3.14 (released 2015-03-30)
** libgnutls: When retrieving OCTET STRINGS from PKCS #12 ContentInfo
structures use BER to decode them (requires libtasn1 4.3). That allows
to decode some more complex structures.
** libgnutls: When an end-certificate with no name is present and there
are CA name constraints, don't reject the certificate. This follows RFC5280
advice closely. Reported by Fotis Loukos.
** libgnutls: Fixed handling of supplemental data with types > 255.
Patch by Thierry Quemerais.
** libgnutls: Fixed double free in the parsing of CRL distribution points certificate
extension. Reported by Robert Święcki.
** libgnutls: Fixed a two-byte stack overflow in DTLS 0.9 protocol. That
protocol is not enabled by default (used by openconnect VPN).
** libgnutls: The maximum user data send size is set to be the same for
block and non-block ciphersuites. This addresses a regression with wine:
https://bugs.winehq.org/show_bug.cgi?id=37500
** libgnutls: When generating PKCS #11 keys, set CKA_ID, CKA_SIGN,
and CKA_DECRYPT when needed.
** libgnutls: Allow names with zero size to be set using
gnutls_server_name_set(). That will disable the Server Name Indication.
Resolves issue with wine: https://gitlab.com/gnutls/gnutls/issues/2
** API and ABI modifications:
No changes since last version.
* Version 3.3.13 (released 2015-02-25)
** libgnutls: Enable AESNI in GCM on x86
** libgnutls: Fixes in DTLS message handling
** libgnutls: Check certificate algorithm consistency, i.e.,
check whether the signatureAlgorithm field matches the signature
field inside TBSCertificate.
** gnutls-cli: Fixes in OCSP verification.
** API and ABI modifications:
No changes since last version.
* Version 3.3.12 (released 2015-01-17)
** libgnutls: When negotiating TLS use the lowest enabled version in
the client hello, rather than the lowest supported. In addition, do
not use SSL 3.0 as a version in the TLS record layer, unless SSL 3.0
is the only protocol supported. That addresses issues with servers that
immediately drop the connection when the encounter SSL 3.0 as the record
version number. See:
http://lists.gnutls.org/pipermail/gnutls-help/2014-November/003673.html
** libgnutls: Corrected encoding and decoding of ANSI X9.62 parameters.
** libgnutls: Handle zero length plaintext for VIA PadLock functions.
This solves a potential crash on AES encryption for small size plaintext.
Patch by Matthias-Christian Ott.
** libgnutls: In DTLS don't combine multiple packets which exceed MTU.
Reported by Andreas Schultz. https://savannah.gnu.org/support/?108715
** libgnutls: In DTLS decode all handshake packets present in a record
packet, in a single pass. Reported by Andreas Schultz.
https://savannah.gnu.org/support/?108712
** libgnutls: When importing a CA file with a PKCS #11 URL, simply
import the certificates, if the URL specifies objects, rather than
treating it as trust module.
** libgnutls: When importing a PKCS #11 URL and we know the type of
object we are importing, don't require the object type in the URL.
** libgnutls: fixed openpgp authentication when gnutls_certificate_set_retrieve_function2
was used by the server.
** guile: Fix compilation on MinGW. Previously only the static version of the
'guile-gnutls-v-2' library would be built, preventing dynamic loading from Guile.
** guile: Fix harmless warning during compilation of gnutls.scm
Initially reported at <https://bugzilla.redhat.com/show_bug.cgi?id=1177847>.
** certtool: --pubkey-info will also attempt to load a public key
from stdin.
** gnutls-cli: Added --starttls-proto option. That allows to specify a
protocol for starttls negotiation.
** API and ABI modifications:
No changes since last version.
* Version 3.3.11 (released 2014-12-11)
** libgnutls: Corrected regression introduced in 3.3.9 related to
session renegotiation. Reported by Dan Winship.
** libgnutls: Corrected parsing issue with OCSP responses.
** API and ABI modifications:
No changes since last version.
* Version 3.3.10 (released 2014-11-10)
** libgnutls: Refuse to import v1 or v2 certificates that contain
extensions.
** libgnutls: Fixes in usage of PKCS #11 token callback
** libgnutls: Fixed bug in gnutls_x509_trust_list_get_issuer() when used
with a PKCS #11 trust module and without the GNUTLS_TL_GET_COPY flag.
Reported by David Woodhouse.
** libgnutls: Removed superfluous random generator refresh on every call
of gnutls_deinit(). That reduces load and usage of /dev/urandom.
** libgnutls: Corrected issue in export of ECC parameters to X9.63 format.
Reported by Sean Burford [GNUTLS-SA-2014-5].
** libgnutls: When gnutls_global_init() is called for a second time, it
will check whether the /dev/urandom fd kept is still open and matches
the original one. That behavior works around issues with servers that
close all file descriptors.
** libgnutls: Corrected behavior with PKCS #11 objects that are marked
as CKA_ALWAYS_AUTHENTICATE.
** certtool: The default cipher for PKCS #12 structures is 3des-pkcs12.
That option is more compatible than AES or RC4.
** API and ABI modifications:
No changes since last version.
* Version 3.3.9 (released 2014-10-13)
** libgnutls: Fixes in the transparent import of PKCS #11 certificates.
Reported by Joseph Peruski.
** libgnutls: Fixed issue with unexpected non-fatal errors resetting the
handshake's hash buffer, in applications using the heartbeat extension
or DTLS. Reported by Joeri de Ruiter.
** libgnutls: When both a trust module and additional CAs are present
account the latter as well; reported by David Woodhouse.
** libgnutls: added GNUTLS_TL_GET_COPY flag for
gnutls_x509_trust_list_get_issuer(). That allows the function to be used
in a thread safe way when PKCS #11 trust modules are in use.
** libgnutls: fix issue in DTLS retransmission when session tickets
were in use; reported by Manuel Pégourié-Gonnard.
** libgnutls-dane: Do not require the CA on a ca match to be direct CA.
** libgnutls: Prevent abort() in library if getrusage() fails. Try to
detect instead which of RUSAGE_THREAD and RUSAGE_SELF would work.
** guile: new 'set-session-server-name!' procedure; see the manual for
details.
** certtool: The authority key identifier will be set in a certificate only
if the CA's subject key identifier is set.
** API and ABI modifications:
No changes since last version.
* Version 3.3.8 (released 2014-09-18)
** libgnutls: Updates in the name constraints checks. No name constraints
will be checked for intermediate certificates. As our support for name
constraints is limited to e-mail addresses in DNS names, it is pointless
to check them on intermediate certificates.
** libgnutls: Fixed issues in PKCS #11 object listing. Previously multiple
object listing would fail completely if a single object could not be exported.
** libgnutls: Improved the performance of PKCS #11 object listing/retrieving,
by retrieving them in large batches. Report and suggestion by David
Woodhouse.
** libgnutls: Fixed issue with certificates being sanitized by gnutls prior
to signature verification. That resulted to certain non-DER compliant modifications
of valid certificates, being corrected by libtasn1's parser and restructured as
the original. Issue found and reported by Antti Karjalainen and Matti Kamunen from
Codenomicon.
** libgnutls: Fixes in gnutls_x509_crt_set_dn() and friends to properly handle
strings with embedded spaces and escaped commas.
** libgnutls: when comparing a CA certificate with the trusted list compare
the name and key only instead of the whole certificate. That is to handle
cases where a CA certificate was superceded by a different one with the same
name and the same key.
** libgnutls: when verifying a certificate against a p11-kit trusted
module, use the attached extensions in the module to override the CA's
extensions (that requires p11-kit 0.20.7).
** libgnutls: In DTLS prevent sending zero-size fragments in certain cases
of MTU split. Reported by Manuel Pégourié-Gonnard.
** libgnutls: Added gnutls_x509_trust_list_verify_crt2() which allows
verifying using a hostname and a purpose (extended key usage). That
enhances PKCS #11 trust module verification, as it can now check the purpose
when this function is used.
** libgnutls: Corrected gnutls_x509_crl_verify() which would always report
a CRL signature as invalid. Reported by Armin Burgmeier.
** libgnutls: added option --disable-padlock to allow disabling the padlock
CPU acceleration.
** p11tool: when listing tokens, list their type as well.
** p11tool: when listing objects from a trust module print any attached
extensions on certificates.
** API and ABI modifications:
gnutls_x509_crq_get_extension_by_oid2: Added
gnutls_x509_crt_get_extension_by_oid2: Added
gnutls_x509_trust_list_verify_crt2: Added
gnutls_x509_ext_print: Added
gnutls_x509_ext_deinit: Added
gnutls_x509_othername_to_virtual: Added
gnutls_pkcs11_obj_get_exts: Added
* Version 3.3.7 (released 2014-08-24)
** libgnutls: Added function to export the public key of a PKCS #11
private key. Contributed by Wolfgang Meyer zu Bergsten.
** libgnutls: Explicitly set the exponent in PKCS #11 key generation.
That improves compatibility with certain PKCS #11 modules. Contributed by
Wolfgang Meyer zu Bergsten.
** libgnutls: When generating a PKCS #11 private key allow setting
the WRAP/UNWRAP flags. Contributed by Wolfgang Meyer zu Bergsten.
** libgnutls: gnutls_pkcs11_privkey_t will always hold an open session
to the key.
** libgnutls: bundle replacements of inet_pton and inet_aton if not
available.
** libgnutls: initialize parameters variable on PKCS #8 decryption.
** libgnutls: gnutls_pkcs12_verify_mac() will not fail in other than SHA1
algorithms.
** libgnutls: gnutls_x509_crt_check_hostname() will follow the RFC6125
requirement of checking the Common Name (CN) part of DN only if there is
a single CN present in the certificate.
** libgnutls: The environment variable GNUTLS_FORCE_FIPS_MODE can be used
to force the FIPS mode, when set to 1.
** libgnutls: In DTLS ignore only errors that relate to unexpected packets
and decryption failures.
** p11tool: Added --info parameter.
** certtool: Added --mark-wrap parameter.
** danetool: --check will attempt to retrieve the server's certificate
chain and verify against it.
** danetool/gnutls-cli-debug: Added --app-proto parameters which can
be used to enforce starttls (currently only SMTP and IMAP) on the connection.
** danetool: Added openssl linking exception, to allow linking
with libunbound.
** API and ABI modifications:
GNUTLS_PKCS11_OBJ_ATTR_MATCH: Added
gnutls_pkcs11_privkey_export_pubkey: Added
gnutls_pkcs11_obj_flags_get_str: Added
gnutls_pkcs11_obj_get_flags: Added
* Version 3.3.6 (released 2014-07-23)
** libgnutls: Use inet_ntop to print IP addresses when available
** libgnutls: gnutls_x509_crt_check_hostname and friends will also check
IP addresses, and match documented behavior. Reported by David Woodhouse.
** libgnutls: DSA key generation in FIPS140-2 mode doesn't allow 1024
bit parameters.
** libgnutls: fixed issue in gnutls_pkcs11_reinit() which prevented tokens
being usable after a reinitialization.
** libgnutls: fixed PKCS #11 private key operations after a fork.
** libgnutls: fixed PKCS #11 ECDSA key generation.
** libgnutls: The GNUTLS_CPUID_OVERRIDE environment variable can be used to
explicitly enable/disable the use of certain CPU capabilities. Note that CPU
detection cannot be overriden, i.e., VIA options cannot be enabled on an Intel
CPU. The currently available options are:
0x1: Disable all run-time detected optimizations
0x2: Enable AES-NI
0x4: Enable SSSE3
0x8: Enable PCLMUL
0x100000: Enable VIA padlock
0x200000: Enable VIA PHE
0x400000: Enable VIA PHE SHA512
** libdane: added dane_query_to_raw_tlsa(); patch by Simon Arlott.
** p11tool: use GNUTLS_SO_PIN to read the security officer's PIN if set.
** p11tool: ask for label when one isn't provided.
** p11tool: added --batch parameter to disable any interactivity.
** p11tool: will not implicitly enable so-login for certain types of
objects. That avoids issues with tokens that require different login
types.
** certtool/p11tool: Added the --curve parameter which allows to explicitly
specify the curve to use.
** API and ABI modifications:
gnutls_certificate_set_x509_trust_dir: Added
gnutls_x509_trust_list_add_trust_dir: Added
* Version 3.3.5 (released 2014-06-26)
** libgnutls: Added gnutls_record_recv_packet() and gnutls_packet_deinit().
These functions provide a variant of gnutls_record_recv() that avoids
the final memcpy of data.
** libgnutls: gnutls_x509_crl_iter_crt_serial() was added as a
faster variant of gnutls_x509_crl_get_crt_serial() when coping with
very large structures.
** libgnutls: When the decoding of a printable DN element fails, then treat
it as unknown and print its hex value rather than failing. That works around
an issue in a TURKTRST root certificate which improperly encodes the
X520countryName element.
** libgnutls: gnutls_x509_trust_list_add_trust_file() will return the number
of certificates present in a PKCS #11 token when loading it.
** libgnutls: Allow the post client hello callback to put the handshake on
hold, by returning GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED.
** certtool: option --to-p12 will now consider --load-ca-certificate
** certtol: Added option to specify the PKCS #12 friendly name on command
line.
** p11tool: Allow marking a certificate copied to a token as a CA.
** API and ABI modifications:
GNUTLS_PKCS11_OBJ_FLAG_MARK_CA: Added
gnutls_x509_crl_iter_deinit: Added
gnutls_x509_crl_iter_crt_serial: Added
gnutls_record_recv_packet: Added
gnutls_packet_deinit: Added
gnutls_packet_get: Added
* Version 3.3.4 (released 2014-05-31)
** libgnutls: Updated Andy Polyakov's assembly code. That prevents a
crash on certain CPUs.
** API and ABI modifications:
No changes since last version.
* Version 3.3.3 (released 2014-05-30)
** libgnutls: Eliminated memory corruption issue in Server Hello parsing.
Issue reported by Joonas Kuorilehto of Codenomicon.
** libgnutls: gnutls_global_set_mutex() was modified to operate with the
new initialization process.
** libgnutls: Increased the maximum certificate size buffer
in the PKCS #11 subsystem.
** libgnutls: Check the return code of getpwuid_r() instead of relying
on the result value. That avoids issue in certain systems, when using
tofu authentication and the home path cannot be determined. Issue reported
by Viktor Dukhovni.
** libgnutls-dane: Improved dane_verify_session_crt(), which now attempts to
create a full chain. This addresses points from https://savannah.gnu.org/support/index.php?108552
** gnutls-cli: --dane will only check the end certificate if PKIX validation
has been disabled.
** gnutls-cli: --benchmark-soft-ciphers has been removed. That option cannot
be emulated with the implicit initialization of gnutls.
** certtool: Allow multiple organizations and organizational unit names to
be specified in a template.
** certtool: Warn when invalid configuration options are set to a template.
** ocsptool: Include path in ocsp request. This resolves #108582
(https://savannah.gnu.org/support/?108582), reported by Matt McCutchen.
** API and ABI modifications:
gnutls_credentials_get: Added
* Version 3.3.2 (released 2014-05-06)
** libgnutls: Added the 'very weak' certificate verification profile
that corresponds to 64-bit security level.
** libgnutls: Corrected file descriptor leak on random generator
initialization.
** libgnutls: Corrected file descriptor leak on PSK password file
reading. Issue identified using the Codenomicon TLS test suite.
** libgnutls: Avoid deinitialization if initialization has failed.
** libgnutls: null-terminate othername alternative names.
** libgnutls: gnutls_x509_trust_list_get_issuer() will operate correctly
on a PKCS #11 trust list.
** libgnutls: Several small bug fixes identified using valgrind and
the Codenomicon TLS test suite.
** libgnutls-dane: Accept a certificate using DANE if there is at least one
entry that matches the certificate. Patch by simon [at] arlott.org.
** libgnutls-guile: Fixed compilation issue.
** certtool: Allow exporting a CRL on DER format.
** certtool: The ECDSA keys generated by default use the SECP256R1 curve
which is supported more widely than the previously used SECP224R1.
** API and ABI modifications:
GNUTLS_PROFILE_VERY_WEAK: Added
* Version 3.3.1 (released 2014-04-19)
** libgnutls: Enforce more strict checks to heartbeat messages
concerning padding and payload. Suggested by Peter Dettman.
** libgnutls: Allow decoding PKCS #8 files with ECC parameters
from openssl.
** libgnutls: Several small bug fixes found by coverity.
** libgnutls: The conditionally available self-test functions
were moved to self-test.h.
** libgnutls: Fixed issue with the check of incoming data when two
different recv and send pointers have been specified. Reported and
investigated by JMRecio.
** libgnutls: Fixed issue in the RSA-PSK key exchange, which would
result to illegal memory access if a server hint was provided. Reported
by André Klitzing.
** libgnutls: Fixed client memory leak in the PSK key exchange, if a
server hint was provided.
** libgnutls: Corrected the *get_*_othername_oid() functions.
** API and ABI modifications:
No changes since last version.
* Version 3.3.0 (released 2014-04-10)
** libgnutls: The initialization of the library was moved to a
constructor. That is, gnutls_global_init() is no longer required
unless linking with a static library or a system that does not
support library constructors.
** libgnutls: static libraries are not built by default.
** libgnutls: PKCS #11 initialization is delayed to first usage.
That avoids long delays in gnutls initialization due to broken PKCS #11
modules.
** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
on the first PKCS #11 API call after a fork.
** libgnutls: certificate verification profiles were introduced
that can be specified as flags to verification functions. They
are enumerations in gnutls_certificate_verification_profiles_t
and can be converted to flags for use in a verification function
using GNUTLS_PROFILE_TO_VFLAGS().
** libgnutls: Added the ability to read system-specific initial
keywords, if they are prefixed with '@'. That allows a compile-time
specified configuration file to be used to read pre-configured priority
strings from. That can be used to impose system specific policies.
** libgnutls: Increased the default security level of priority
strings (NORMAL and PFS strings require at minimum a 1008 DH prime),
and set a verification profile by default. The LEGACY keyword is
introduced to set the old defaults.
** libgnutls: Added support for the name constraints PKIX extension.
Currently only DNS names and e-mails are supported (no URIs, IPs
or DNs).
** libgnutls: Security parameter SEC_PARAM_NORMAL was renamed to
SEC_PARAM_MEDIUM to avoid confusion with the priority string NORMAL.
** libgnutls: Added new API in x509-ext.h to handle X.509 extensions.
This API handles the X.509 extensions in isolation, allowing to parse
similarly formatted extensions stored in other structures.
** libgnutls: When generating DSA keys the macro GNUTLS_SUBGROUP_TO_BITS
can be used to specify a particular subgroup as the number of bits in
gnutls_privkey_generate; e.g., GNUTLS_SUBGROUP_TO_BITS(2048, 256).
** libgnutls: DH parameter generation is now delegated to nettle.
That unfortunately has the side-effect that DH parameters longer than
3072 bits, cannot be generated (not without a nettle update).
** libgnutls: Separated nonce RNG from the main RNG. The nonce
random number generator is based on salsa20/12.
** libgnutls: The buffer alignment provided to crypto backend is
enforced to be 16-byte aligned, when compiled with cryptodev
support. That allows certain cryptodev drivers to operate more
efficiently.
** libgnutls: Return error when a public/private key pair that doesn't
match is set into a credentials structure.
** libgnutls: Depend on p11-kit 0.20.0 or later.
** libgnutls: The new padding (%NEW_PADDING) experimental TLS extension has
been removed. It was not approved by IETF.
** libgnutls: The experimental xssl library is removed from the gnutls
distribution.
** libgnutls: Reduced the number of gnulib modules used in the main library.
** libgnutls: Added priority string %DISABLE_WILDCARDS.
** libgnutls: Added the more extensible verification function
gnutls_certificate_verify_peers(), that allows checking, in addition
to a peer's DNS hostname, for the key purpose of the end certificate
(via PKIX extended key usage).
** certtool: Timestamps for serial numbers were increased to 8 bytes,
and in batch mode to 12 (appended with 4 random bytes).
** certtool: When no CRL number is provided (or value set to -1), then
a time-based number will be used, similarly to the serial generation
number in certificates.
** certtool: Print the SHA256 fingerprint of a certificate in addition
to SHA1.
** libgnutls: Added --enable-fips140-mode configuration option (unsupported).
That option enables (when running on FIPS140-enabled system):
o RSA, DSA and DH key generation as in FIPS-186-4 (using provable primes)
o The DRBG-CTR-AES256 deterministic random generator from SP800-90A.
o Self-tests on initialization on ciphers/MACs, public key algorithms
and the random generator.
o HMAC-SHA256 verification of the library on load.
o MD5 is included for TLS purposes but cannot be used by the high level
hashing functions.
o All ciphers except AES are disabled.
o All MACs and hashes except GCM and SHA are disabled (e.g., HMAC-MD5).
o All keys (temporal and long term) are zeroized after use.
o Security levels are adjusted to the FIPS140-2 recommendations (rather
than ECRYPT).
** API and ABI modifications:
GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS: Added
gnutls_certificate_verify_peers: Added
gnutls_privkey_generate: Added
gnutls_pkcs11_crt_is_known: Added
gnutls_fips140_mode_enabled: Added
gnutls_sec_param_to_symmetric_bits: Added
gnutls_pubkey_export_ecc_x962: Added (replaces gnutls_pubkey_get_pk_ecc_x962)
gnutls_pubkey_export_ecc_raw: Added (replaces gnutls_pubkey_get_pk_ecc_raw)
gnutls_pubkey_export_dsa_raw: Added (replaces gnutls_pubkey_get_pk_dsa_raw)
gnutls_pubkey_export_rsa_raw: Added (replaces gnutls_pubkey_get_pk_rsa_raw)
gnutls_pubkey_verify_params: Added
gnutls_privkey_export_ecc_raw: Added
gnutls_privkey_export_dsa_raw: Added
gnutls_privkey_export_rsa_raw: Added
gnutls_privkey_import_ecc_raw: Added
gnutls_privkey_import_dsa_raw: Added
gnutls_privkey_import_rsa_raw: Added
gnutls_privkey_verify_params: Added
gnutls_x509_crt_check_hostname2: Added
gnutls_openpgp_crt_check_hostname2: Added
gnutls_x509_name_constraints_init: Added
gnutls_x509_name_constraints_deinit: Added
gnutls_x509_crt_get_name_constraints: Added
gnutls_x509_name_constraints_add_permitted: Added
gnutls_x509_name_constraints_add_excluded: Added
gnutls_x509_crt_set_name_constraints: Added
gnutls_x509_name_constraints_get_permitted: Added
gnutls_x509_name_constraints_get_excluded: Added
gnutls_x509_name_constraints_check: Added
gnutls_x509_name_constraints_check_crt: Added
gnutls_x509_crl_get_extension_data2: Added
gnutls_x509_crt_get_extension_data2: Added
gnutls_x509_crq_get_extension_data2: Added
gnutls_subject_alt_names_init: Added
gnutls_subject_alt_names_deinit: Added
gnutls_subject_alt_names_get: Added
gnutls_subject_alt_names_set: Added
gnutls_x509_ext_import_subject_alt_names: Added
gnutls_x509_ext_export_subject_alt_names: Added
gnutls_x509_crl_dist_points_init: Added
gnutls_x509_crl_dist_points_deinit: Added
gnutls_x509_crl_dist_points_get: Added
gnutls_x509_crl_dist_points_set: Added
gnutls_x509_ext_import_crl_dist_points: Added
gnutls_x509_ext_export_crl_dist_points: Added
gnutls_x509_ext_import_name_constraints: Added
gnutls_x509_ext_export_name_constraints: Added
gnutls_x509_aia_init: Added
gnutls_x509_aia_deinit: Added
gnutls_x509_aia_get: Added
gnutls_x509_aia_set: Added
gnutls_x509_ext_import_aia: Added
gnutls_x509_ext_export_aia: Added
gnutls_x509_ext_import_subject_key_id: Added
gnutls_x509_ext_export_subject_key_id: Added
gnutls_x509_ext_export_authority_key_id: Added
gnutls_x509_ext_import_authority_key_id: Added
gnutls_x509_aki_init: Added
gnutls_x509_aki_get_id: Added
gnutls_x509_aki_get_cert_issuer: Added
gnutls_x509_aki_set_id: Added
gnutls_x509_aki_set_cert_issuer: Added
gnutls_x509_aki_deinit: Added
gnutls_x509_ext_import_private_key_usage_period: Added
gnutls_x509_ext_export_private_key_usage_period: Added
gnutls_x509_ext_import_basic_constraints: Added
gnutls_x509_ext_export_basic_constraints: Added
gnutls_x509_ext_import_key_usage: Added
gnutls_x509_ext_export_key_usage: Added
gnutls_x509_ext_import_proxy: Added
gnutls_x509_ext_export_proxy: Added
gnutls_x509_policies_init: Added
gnutls_x509_policies_deinit: Added
gnutls_x509_policies_get: Added
gnutls_x509_policies_set: Added
gnutls_x509_ext_import_policies: Added
gnutls_x509_ext_export_policies: Added
gnutls_x509_key_purpose_init: Added
gnutls_x509_key_purpose_deinit: Added
gnutls_x509_key_purpose_set: Added
gnutls_x509_key_purpose_get: Added
gnutls_x509_ext_import_key_purposes: Added
gnutls_x509_ext_export_key_purposes: Added
gnutls_digest_self_test: Added (conditionally)
gnutls_mac_self_test: Added (conditionally)
gnutls_pk_self_test: Added (conditionally)
gnutls_cipher_self_test: Added (conditionally)
gnutls_global_set_mem_functions: Deprecated
-rw-r--r-- | security/gnutls/Makefile | 6 | ||||
-rw-r--r-- | security/gnutls/PLIST | 131 | ||||
-rw-r--r-- | security/gnutls/buildlink3.mk | 6 | ||||
-rw-r--r-- | security/gnutls/distinfo | 29 | ||||
-rw-r--r-- | security/gnutls/patches/patch-ae | 4 | ||||
-rw-r--r-- | security/gnutls/patches/patch-gl_stdio.in.h | 4 | ||||
-rw-r--r-- | security/gnutls/patches/patch-lib_Makefile.in | 10 | ||||
-rw-r--r-- | security/gnutls/patches/patch-lib_nettle_rnd-common.c | 26 | ||||
-rw-r--r-- | security/gnutls/patches/patch-lib_nettle_rnd.c | 26 | ||||
-rw-r--r-- | security/gnutls/patches/patch-lib_system.h | 22 | ||||
-rw-r--r-- | security/gnutls/patches/patch-src_libopts_autoopts_options.h | 4 | ||||
-rw-r--r-- | security/gnutls/patches/patch-src_libopts_compat_compat.h | 4 | ||||
-rw-r--r-- | security/gnutls/patches/patch-src_libopts_makeshell.c | 4 | ||||
-rw-r--r-- | security/gnutls/patches/patch-src_libopts_proto.h | 4 | ||||
-rw-r--r-- | security/gnutls/patches/patch-tests_Makefile.in | 22 | ||||
-rw-r--r-- | security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in | 6 |
16 files changed, 186 insertions, 122 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 57310f4f2ce..c5532f2cd0d 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.152 2015/02/11 11:25:57 adam Exp $ +# $NetBSD: Makefile,v 1.153 2015/06/01 21:50:22 spz Exp $ -DISTNAME= gnutls-3.2.21 +DISTNAME= gnutls-3.3.15 CATEGORIES= security devel -MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/ +MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/ EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/security/gnutls/PLIST b/security/gnutls/PLIST index d8db3414bf3..0e7c86cb68a 100644 --- a/security/gnutls/PLIST +++ b/security/gnutls/PLIST @@ -1,6 +1,5 @@ -@comment $NetBSD: PLIST,v 1.51 2014/02/14 17:24:27 drochner Exp $ +@comment $NetBSD: PLIST,v 1.52 2015/06/01 21:50:22 spz Exp $ bin/certtool -bin/danetool bin/gnutls-cli bin/gnutls-cli-debug bin/gnutls-serv @@ -17,9 +16,10 @@ include/gnutls/ocsp.h include/gnutls/openpgp.h include/gnutls/pkcs11.h include/gnutls/pkcs12.h +include/gnutls/self-test.h include/gnutls/tpm.h +include/gnutls/x509-ext.h include/gnutls/x509.h -include/gnutls/xssl.h info/gnutls-client-server-use-case.png info/gnutls-guile.info info/gnutls-handshake-sequence.png @@ -32,7 +32,6 @@ info/gnutls-pgp.png info/gnutls-x509.png info/gnutls.info info/pkcs11-vision.png -lib/libgnutls-xssl.la lib/libgnutls.la lib/libgnutlsxx.la lib/pkgconfig/gnutls.pc @@ -113,6 +112,7 @@ man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 man/man3/gnutls_certificate_set_x509_system_trust.3 man/man3/gnutls_certificate_set_x509_trust.3 +man/man3/gnutls_certificate_set_x509_trust_dir.3 man/man3/gnutls_certificate_set_x509_trust_file.3 man/man3/gnutls_certificate_set_x509_trust_mem.3 man/man3/gnutls_certificate_type_get.3 @@ -121,6 +121,7 @@ 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 man/man3/gnutls_certificate_verify_peers3.3 man/man3/gnutls_check_version.3 @@ -139,6 +140,7 @@ man/man3/gnutls_cipher_get_name.3 man/man3/gnutls_cipher_get_tag_size.3 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 @@ -150,6 +152,7 @@ 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_db_check_entry.3 man/man3/gnutls_db_check_entry_time.3 @@ -180,6 +183,7 @@ 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_list.3 +man/man3/gnutls_digest_self_test.3 man/man3/gnutls_dtls_cookie_send.3 man/man3/gnutls_dtls_cookie_verify.3 man/man3/gnutls_dtls_get_data_mtu.3 @@ -197,6 +201,7 @@ 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_fingerprint.3 +man/man3/gnutls_fips140_mode_enabled.3 man/man3/gnutls_global_deinit.3 man/man3/gnutls_global_init.3 man/man3/gnutls_global_set_audit_log_function.3 @@ -251,6 +256,7 @@ man/man3/gnutls_mac_get_key_size.3 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_ocsp_req_add_cert.3 man/man3/gnutls_ocsp_req_add_cert_id.3 @@ -289,6 +295,7 @@ 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_openpgp_crt_check_hostname.3 +man/man3/gnutls_openpgp_crt_check_hostname2.3 man/man3/gnutls_openpgp_crt_deinit.3 man/man3/gnutls_openpgp_crt_export.3 man/man3/gnutls_openpgp_crt_export2.3 @@ -355,6 +362,8 @@ man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 man/man3/gnutls_openpgp_privkey_sign_hash.3 man/man3/gnutls_openpgp_send_cert.3 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_import_openpgp.3 man/man3/gnutls_pcert_import_openpgp_raw.3 @@ -371,11 +380,13 @@ 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_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_secret_key.3 man/man3/gnutls_pkcs11_copy_x509_crt.3 man/man3/gnutls_pkcs11_copy_x509_privkey.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 @@ -386,6 +397,9 @@ man/man3/gnutls_pkcs11_obj_export.3 man/man3/gnutls_pkcs11_obj_export2.3 man/man3/gnutls_pkcs11_obj_export3.3 man/man3/gnutls_pkcs11_obj_export_url.3 +man/man3/gnutls_pkcs11_obj_flags_get_str.3 +man/man3/gnutls_pkcs11_obj_get_exts.3 +man/man3/gnutls_pkcs11_obj_get_flags.3 man/man3/gnutls_pkcs11_obj_get_info.3 man/man3/gnutls_pkcs11_obj_get_type.3 man/man3/gnutls_pkcs11_obj_import_url.3 @@ -394,6 +408,7 @@ man/man3/gnutls_pkcs11_obj_list_import_url.3 man/man3/gnutls_pkcs11_obj_list_import_url2.3 man/man3/gnutls_pkcs11_obj_set_pin_function.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 @@ -470,14 +485,21 @@ man/man3/gnutls_priority_set_direct.3 man/man3/gnutls_priority_sign_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_rsa_raw.3 +man/man3/gnutls_privkey_generate.3 man/man3/gnutls_privkey_get_pk_algorithm.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_openpgp.3 man/man3/gnutls_privkey_import_openpgp_raw.3 man/man3/gnutls_privkey_import_pkcs11.3 man/man3/gnutls_privkey_import_pkcs11_url.3 +man/man3/gnutls_privkey_import_rsa_raw.3 man/man3/gnutls_privkey_import_tpm_raw.3 man/man3/gnutls_privkey_import_tpm_url.3 man/man3/gnutls_privkey_import_url.3 @@ -489,6 +511,7 @@ 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 @@ -512,14 +535,14 @@ man/man3/gnutls_pubkey_deinit.3 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_ecc_raw.3 +man/man3/gnutls_pubkey_export_ecc_x962.3 +man/man3/gnutls_pubkey_export_rsa_raw.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_pk_dsa_raw.3 -man/man3/gnutls_pubkey_get_pk_ecc_raw.3 -man/man3/gnutls_pubkey_get_pk_ecc_x962.3 -man/man3/gnutls_pubkey_get_pk_rsa_raw.3 man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 man/man3/gnutls_pubkey_get_verify_algorithm.3 man/man3/gnutls_pubkey_import.3 @@ -546,6 +569,7 @@ 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 man/man3/gnutls_range_split.3 man/man3/gnutls_record_can_use_length_hiding.3 @@ -558,6 +582,7 @@ man/man3/gnutls_record_get_discarded.3 man/man3/gnutls_record_get_max_size.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 @@ -581,6 +606,7 @@ 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 +man/man3/gnutls_sec_param_to_symmetric_bits.3 man/man3/gnutls_server_name_get.3 man/man3/gnutls_server_name_set.3 man/man3/gnutls_session_channel_binding.3 @@ -629,6 +655,7 @@ man/man3/gnutls_srp_set_client_credentials_function.3 man/man3/gnutls_srp_set_prime_bits.3 man/man3/gnutls_srp_set_server_credentials_file.3 man/man3/gnutls_srp_set_server_credentials_function.3 +man/man3/gnutls_srp_set_server_fake_salt_seed.3 man/man3/gnutls_srp_verifier.3 man/man3/gnutls_srtp_get_keys.3 man/man3/gnutls_srtp_get_mki.3 @@ -642,6 +669,10 @@ man/man3/gnutls_store_commitment.3 man/man3/gnutls_store_pubkey.3 man/man3/gnutls_strerror.3 man/man3/gnutls_strerror_name.3 +man/man3/gnutls_subject_alt_names_deinit.3 +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_tdb_deinit.3 man/man3/gnutls_tdb_init.3 @@ -669,8 +700,22 @@ man/man3/gnutls_transport_set_push_function.3 man/man3/gnutls_transport_set_vec_push_function.3 man/man3/gnutls_url_is_supported.3 man/man3/gnutls_verify_stored_pubkey.3 +man/man3/gnutls_x509_aia_deinit.3 +man/man3/gnutls_x509_aia_get.3 +man/man3/gnutls_x509_aia_init.3 +man/man3/gnutls_x509_aia_set.3 +man/man3/gnutls_x509_aki_deinit.3 +man/man3/gnutls_x509_aki_get_cert_issuer.3 +man/man3/gnutls_x509_aki_get_id.3 +man/man3/gnutls_x509_aki_init.3 +man/man3/gnutls_x509_aki_set_cert_issuer.3 +man/man3/gnutls_x509_aki_set_id.3 man/man3/gnutls_x509_crl_check_issuer.3 man/man3/gnutls_x509_crl_deinit.3 +man/man3/gnutls_x509_crl_dist_points_deinit.3 +man/man3/gnutls_x509_crl_dist_points_get.3 +man/man3/gnutls_x509_crl_dist_points_init.3 +man/man3/gnutls_x509_crl_dist_points_set.3 man/man3/gnutls_x509_crl_export.3 man/man3/gnutls_x509_crl_export2.3 man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 @@ -679,6 +724,7 @@ man/man3/gnutls_x509_crl_get_crt_count.3 man/man3/gnutls_x509_crl_get_crt_serial.3 man/man3/gnutls_x509_crl_get_dn_oid.3 man/man3/gnutls_x509_crl_get_extension_data.3 +man/man3/gnutls_x509_crl_get_extension_data2.3 man/man3/gnutls_x509_crl_get_extension_info.3 man/man3/gnutls_x509_crl_get_extension_oid.3 man/man3/gnutls_x509_crl_get_issuer_dn.3 @@ -693,6 +739,8 @@ man/man3/gnutls_x509_crl_get_this_update.3 man/man3/gnutls_x509_crl_get_version.3 man/man3/gnutls_x509_crl_import.3 man/man3/gnutls_x509_crl_init.3 +man/man3/gnutls_x509_crl_iter_crt_serial.3 +man/man3/gnutls_x509_crl_iter_deinit.3 man/man3/gnutls_x509_crl_list_import.3 man/man3/gnutls_x509_crl_list_import2.3 man/man3/gnutls_x509_crl_print.3 @@ -720,7 +768,9 @@ man/man3/gnutls_x509_crq_get_dn2.3 man/man3/gnutls_x509_crq_get_dn_by_oid.3 man/man3/gnutls_x509_crq_get_dn_oid.3 man/man3/gnutls_x509_crq_get_extension_by_oid.3 +man/man3/gnutls_x509_crq_get_extension_by_oid2.3 man/man3/gnutls_x509_crq_get_extension_data.3 +man/man3/gnutls_x509_crq_get_extension_data2.3 man/man3/gnutls_x509_crq_get_extension_info.3 man/man3/gnutls_x509_crq_get_key_id.3 man/man3/gnutls_x509_crq_get_key_purpose_oid.3 @@ -752,6 +802,7 @@ 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_hostname.3 +man/man3/gnutls_x509_crt_check_hostname2.3 man/man3/gnutls_x509_crt_check_issuer.3 man/man3/gnutls_x509_crt_check_revocation.3 man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 @@ -771,7 +822,9 @@ man/man3/gnutls_x509_crt_get_dn_by_oid.3 man/man3/gnutls_x509_crt_get_dn_oid.3 man/man3/gnutls_x509_crt_get_expiration_time.3 man/man3/gnutls_x509_crt_get_extension_by_oid.3 +man/man3/gnutls_x509_crt_get_extension_by_oid2.3 man/man3/gnutls_x509_crt_get_extension_data.3 +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 @@ -787,6 +840,7 @@ man/man3/gnutls_x509_crt_get_issuer_unique_id.3 man/man3/gnutls_x509_crt_get_key_id.3 man/man3/gnutls_x509_crt_get_key_purpose_oid.3 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_rsa_raw.3 @@ -830,11 +884,13 @@ 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_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_key.3 man/man3/gnutls_x509_crt_set_key_purpose_oid.3 man/man3/gnutls_x509_crt_set_key_usage.3 +man/man3/gnutls_x509_crt_set_name_constraints.3 man/man3/gnutls_x509_crt_set_pin_function.3 man/man3/gnutls_x509_crt_set_policy.3 man/man3/gnutls_x509_crt_set_private_key_usage_period.3 @@ -859,6 +915,49 @@ man/man3/gnutls_x509_dn_import.3 man/man3/gnutls_x509_dn_init.3 man/man3/gnutls_x509_dn_oid_known.3 man/man3/gnutls_x509_dn_oid_name.3 +man/man3/gnutls_x509_ext_deinit.3 +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_key_purposes.3 +man/man3/gnutls_x509_ext_export_key_usage.3 +man/man3/gnutls_x509_ext_export_name_constraints.3 +man/man3/gnutls_x509_ext_export_policies.3 +man/man3/gnutls_x509_ext_export_private_key_usage_period.3 +man/man3/gnutls_x509_ext_export_proxy.3 +man/man3/gnutls_x509_ext_export_subject_alt_names.3 +man/man3/gnutls_x509_ext_export_subject_key_id.3 +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_key_purposes.3 +man/man3/gnutls_x509_ext_import_key_usage.3 +man/man3/gnutls_x509_ext_import_name_constraints.3 +man/man3/gnutls_x509_ext_import_policies.3 +man/man3/gnutls_x509_ext_import_private_key_usage_period.3 +man/man3/gnutls_x509_ext_import_proxy.3 +man/man3/gnutls_x509_ext_import_subject_alt_names.3 +man/man3/gnutls_x509_ext_import_subject_key_id.3 +man/man3/gnutls_x509_ext_print.3 +man/man3/gnutls_x509_key_purpose_deinit.3 +man/man3/gnutls_x509_key_purpose_get.3 +man/man3/gnutls_x509_key_purpose_init.3 +man/man3/gnutls_x509_key_purpose_set.3 +man/man3/gnutls_x509_name_constraints_add_excluded.3 +man/man3/gnutls_x509_name_constraints_add_permitted.3 +man/man3/gnutls_x509_name_constraints_check.3 +man/man3/gnutls_x509_name_constraints_check_crt.3 +man/man3/gnutls_x509_name_constraints_deinit.3 +man/man3/gnutls_x509_name_constraints_get_excluded.3 +man/man3/gnutls_x509_name_constraints_get_permitted.3 +man/man3/gnutls_x509_name_constraints_init.3 +man/man3/gnutls_x509_othername_to_virtual.3 +man/man3/gnutls_x509_policies_deinit.3 +man/man3/gnutls_x509_policies_get.3 +man/man3/gnutls_x509_policies_init.3 +man/man3/gnutls_x509_policies_set.3 man/man3/gnutls_x509_policy_release.3 man/man3/gnutls_x509_privkey_cpy.3 man/man3/gnutls_x509_privkey_deinit.3 @@ -895,6 +994,7 @@ man/man3/gnutls_x509_trust_list_add_cas.3 man/man3/gnutls_x509_trust_list_add_crls.3 man/man3/gnutls_x509_trust_list_add_named_crt.3 man/man3/gnutls_x509_trust_list_add_system_trust.3 +man/man3/gnutls_x509_trust_list_add_trust_dir.3 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 @@ -904,19 +1004,8 @@ 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 man/man3/gnutls_x509_trust_list_verify_crt.3 +man/man3/gnutls_x509_trust_list_verify_crt2.3 man/man3/gnutls_x509_trust_list_verify_named_crt.3 -man/man3/xssl_client_init.3 -man/man3/xssl_cred_deinit.3 -man/man3/xssl_cred_init.3 -man/man3/xssl_deinit.3 -man/man3/xssl_flush.3 -man/man3/xssl_get_session.3 -man/man3/xssl_getdelim.3 -man/man3/xssl_printf.3 -man/man3/xssl_read.3 -man/man3/xssl_server_init.3 -man/man3/xssl_sinit.3 -man/man3/xssl_write.3 share/examples/gnutls/ex-alert.c share/examples/gnutls/ex-cert-select-pkcs11.c share/examples/gnutls/ex-cert-select.c @@ -926,8 +1015,6 @@ share/examples/gnutls/ex-client-psk.c share/examples/gnutls/ex-client-resume.c share/examples/gnutls/ex-client-srp.c share/examples/gnutls/ex-client-x509.c -share/examples/gnutls/ex-client-xssl1.c -share/examples/gnutls/ex-client-xssl2.c share/examples/gnutls/ex-crq.c share/examples/gnutls/ex-ocsp-client.c share/examples/gnutls/ex-pkcs11-list.c diff --git a/security/gnutls/buildlink3.mk b/security/gnutls/buildlink3.mk index f9aefce8180..78085428007 100644 --- a/security/gnutls/buildlink3.mk +++ b/security/gnutls/buildlink3.mk @@ -1,12 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.28 2012/07/02 18:53:02 drochner Exp $ +# $NetBSD: buildlink3.mk,v 1.29 2015/06/01 21:50:22 spz Exp $ BUILDLINK_TREE+= gnutls .if !defined(GNUTLS_BUILDLINK3_MK) GNUTLS_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.gnutls+= gnutls>=2.12.3 -BUILDLINK_ABI_DEPENDS.gnutls+= gnutls>=3.0.17 +BUILDLINK_API_DEPENDS.gnutls+= gnutls>=3.3.0 +BUILDLINK_ABI_DEPENDS.gnutls+= gnutls>=3.3.0 BUILDLINK_PKGSRCDIR.gnutls?= ../../security/gnutls .include "../../archivers/lzo/buildlink3.mk" diff --git a/security/gnutls/distinfo b/security/gnutls/distinfo index e4cbb22097b..21c5a90b357 100644 --- a/security/gnutls/distinfo +++ b/security/gnutls/distinfo @@ -1,16 +1,15 @@ -$NetBSD: distinfo,v 1.112 2015/02/11 11:25:57 adam Exp $ +$NetBSD: distinfo,v 1.113 2015/06/01 21:50:22 spz Exp $ -SHA1 (gnutls-3.2.21.tar.xz) = fa12e643ad21bcaf450d534f262c813d75843966 -RMD160 (gnutls-3.2.21.tar.xz) = 8d3b7817dcd28d3c4f1e3ad0d014ab7891daa7f9 -Size (gnutls-3.2.21.tar.xz) = 5162040 bytes -SHA1 (patch-ae) = b6402cc4a03f1b32792191518ed0c5596eb91c07 -SHA1 (patch-gl_stdio.in.h) = cad0685b77a1abb74ac578695ceb5c1c74479a87 -SHA1 (patch-lib_Makefile.in) = a75aa7bf9d493fae93b02d0ffdc82f538cc85737 -SHA1 (patch-lib_nettle_rnd.c) = bbce9bbb61d2be625585f6c8ed5bda95f3a80344 -SHA1 (patch-lib_system.h) = fb67be62f1e889a665a65ab151ced24fa1ab3e2e -SHA1 (patch-src_libopts_autoopts_options.h) = 60be5b43f23ba5978759c1e245781da7f9125071 -SHA1 (patch-src_libopts_compat_compat.h) = 2e0a1be460917b2d7a8f6bdac698dad405143013 -SHA1 (patch-src_libopts_makeshell.c) = c94e717027d078a081acd10eaec51a44dc4d42e1 -SHA1 (patch-src_libopts_proto.h) = 9749cc4bd080e1a8d800bde181143acb9c340ec8 -SHA1 (patch-tests_Makefile.in) = 0c2e37c632686301855cf6d0ed09583e797ae4e3 -SHA1 (patch-tests_openpgp-certs_Makefile.in) = 8d3a7e7e4fb063465e0fbdfae22a7bf579529b0c +SHA1 (gnutls-3.3.15.tar.xz) = d7f66b0aeaf48ff8621cc1913230635ef672f0a4 +RMD160 (gnutls-3.3.15.tar.xz) = 0c812034b3b8356c31d69074ec92382545eb808b +Size (gnutls-3.3.15.tar.xz) = 6286288 bytes +SHA1 (patch-ae) = 5e020483ac14ef6ccc45a53e351242ab16c860f1 +SHA1 (patch-gl_stdio.in.h) = 298cc0e27087f086e9d47c67f81c8d10f6a7a8f1 +SHA1 (patch-lib_Makefile.in) = d0e292e632a91a9f19e39bd2c2d205a086ba5588 +SHA1 (patch-lib_nettle_rnd-common.c) = e0feb509e0c37791560280d9eb36785edea51a25 +SHA1 (patch-src_libopts_autoopts_options.h) = 9202c55314fe8764ac82c95bbfabfa1b031e9ba4 +SHA1 (patch-src_libopts_compat_compat.h) = 240fbfc0ba20af35e0634ba873fe9e34bfbcc921 +SHA1 (patch-src_libopts_makeshell.c) = e5b7d66caaec45e12ae5490d515fc9fc75de3d92 +SHA1 (patch-src_libopts_proto.h) = 78f845bdcbac8de74953a3cee0b77fa9c5b05386 +SHA1 (patch-tests_Makefile.in) = 5a52b56d247f999f8c16a068291c5dfb2ec80f6c +SHA1 (patch-tests_openpgp-certs_Makefile.in) = 2e7074312e67d747bd0ecfa839187f8bf33f4f09 diff --git a/security/gnutls/patches/patch-ae b/security/gnutls/patches/patch-ae index 81668e4b8aa..8817965a378 100644 --- a/security/gnutls/patches/patch-ae +++ b/security/gnutls/patches/patch-ae @@ -1,8 +1,8 @@ -$NetBSD: patch-ae,v 1.5 2014/02/10 12:01:20 tron Exp $ +$NetBSD: patch-ae,v 1.6 2015/06/01 21:50:22 spz Exp $ Fix build. ---- guile/src/core.c.orig 2012-04-12 20:05:11.000000000 +0000 +--- 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> diff --git a/security/gnutls/patches/patch-gl_stdio.in.h b/security/gnutls/patches/patch-gl_stdio.in.h index b89d2261379..35fda4c3488 100644 --- a/security/gnutls/patches/patch-gl_stdio.in.h +++ b/security/gnutls/patches/patch-gl_stdio.in.h @@ -1,8 +1,8 @@ -$NetBSD: patch-gl_stdio.in.h,v 1.2 2014/12/05 12:25:42 khorben Exp $ +$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 2014-04-18 17:03:19.000000000 +0000 +--- 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 diff --git a/security/gnutls/patches/patch-lib_Makefile.in b/security/gnutls/patches/patch-lib_Makefile.in index 236f2139919..fab7f5d50ce 100644 --- a/security/gnutls/patches/patch-lib_Makefile.in +++ b/security/gnutls/patches/patch-lib_Makefile.in @@ -1,11 +1,11 @@ -$NetBSD: patch-lib_Makefile.in,v 1.6 2014/12/05 12:25:42 khorben Exp $ +$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 2014-10-13 03:56:59.000000000 +0000 +--- lib/Makefile.in.orig 2015-05-03 17:30:56.000000000 +0000 +++ lib/Makefile.in -@@ -367,7 +367,7 @@ am_libgnutls_la_OBJECTS = $(am__objects_ - libgnutls_la_OBJECTS = $(am_libgnutls_la_OBJECTS) +@@ -361,7 +361,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) \ - $(libgnutls_la_LDFLAGS) $(LDFLAGS) -o $@ @@ -13,7 +13,7 @@ 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 = \ -@@ -1454,7 +1454,7 @@ infodir = @infodir@ +@@ -1443,7 +1443,7 @@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ diff --git a/security/gnutls/patches/patch-lib_nettle_rnd-common.c b/security/gnutls/patches/patch-lib_nettle_rnd-common.c new file mode 100644 index 00000000000..e0669c733bb --- /dev/null +++ b/security/gnutls/patches/patch-lib_nettle_rnd-common.c @@ -0,0 +1,26 @@ +$NetBSD: patch-lib_nettle_rnd-common.c,v 1.1 2015/06/01 21:50:22 spz Exp $ + +http://lists.gnupg.org/pipermail/gnutls-devel/2013-November/006588.html + +--- lib/nettle/rnd-common.c.orig 2015-03-23 07:19:23.000000000 +0000 ++++ lib/nettle/rnd-common.c +@@ -61,8 +61,7 @@ void _rnd_get_event(struct event_st *e) + + #ifdef HAVE_GETRUSAGE + if (getrusage(ARG_RUSAGE, &e->rusage) < 0) { +- _gnutls_debug_log("getrusage failed: %s\n", +- strerror(errno)); ++ _gnutls_debug_log("getrusage failed\n"); + } + #endif + +@@ -153,8 +152,7 @@ static int _rnd_get_system_entropy_urand + if (res <= 0) { + if (res < 0) { + _gnutls_debug_log +- ("Failed to read /dev/urandom: %s\n", +- strerror(errno)); ++ ("Failed to read /dev/urandom\n"); + } else { + _gnutls_debug_log + ("Failed to read /dev/urandom: end of file\n"); diff --git a/security/gnutls/patches/patch-lib_nettle_rnd.c b/security/gnutls/patches/patch-lib_nettle_rnd.c deleted file mode 100644 index 5c75456bc7c..00000000000 --- a/security/gnutls/patches/patch-lib_nettle_rnd.c +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-lib_nettle_rnd.c,v 1.4 2014/12/05 12:43:24 khorben Exp $ - -http://lists.gnupg.org/pipermail/gnutls-devel/2013-November/006588.html - ---- lib/nettle/rnd.c.orig 2014-10-14 19:06:59.000000000 +0000 -+++ lib/nettle/rnd.c -@@ -101,8 +101,7 @@ static void _rnd_get_event(struct event_ - - #ifdef HAVE_GETRUSAGE - if (getrusage(ARG_RUSAGE, &e->rusage) < 0) { -- _gnutls_debug_log("getrusage failed: %s\n", -- strerror(errno)); -+ _gnutls_debug_log("getrusage failed\n"); - } - #endif - -@@ -266,8 +265,7 @@ static int do_device_source_urandom(int - if (res <= 0) { - if (res < 0) { - _gnutls_debug_log -- ("Failed to read /dev/urandom: %s\n", -- strerror(errno)); -+ ("Failed to read /dev/urandom\n"); - } else { - _gnutls_debug_log - ("Failed to read /dev/urandom: end of file\n"); diff --git a/security/gnutls/patches/patch-lib_system.h b/security/gnutls/patches/patch-lib_system.h deleted file mode 100644 index dd609e524c5..00000000000 --- a/security/gnutls/patches/patch-lib_system.h +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-lib_system.h,v 1.1 2014/12/31 16:05:07 rumko Exp $ - -At least on FreeBSD, arpa/inet.h does not contain IPV6 -related structs. - -See https://savannah.gnu.org/support/?108713 - ---- lib/system.h.orig 2014-12-30 11:12:37.607361021 +0000 -+++ lib/system.h -@@ -98,7 +98,12 @@ int _gnutls_ucs2_to_utf8(const void *dat - int gnutls_system_global_init(void); - void gnutls_system_global_deinit(void); - -+#if defined(HAVE_NETINET_IN_H) -+#include <netinet/in.h> -+#else - #include <arpa/inet.h> -+#endif -+ - #ifdef _WIN32 - # define inet_aton _gnutls_inet_aton - int inet_aton(const char *cp, struct in_addr *inp); diff --git a/security/gnutls/patches/patch-src_libopts_autoopts_options.h b/security/gnutls/patches/patch-src_libopts_autoopts_options.h index e18d9c4895e..b94b770a756 100644 --- a/security/gnutls/patches/patch-src_libopts_autoopts_options.h +++ b/security/gnutls/patches/patch-src_libopts_autoopts_options.h @@ -1,8 +1,8 @@ -$NetBSD: patch-src_libopts_autoopts_options.h,v 1.1 2013/10/25 09:03:12 jperkin Exp $ +$NetBSD: patch-src_libopts_autoopts_options.h,v 1.2 2015/06/01 21:50:22 spz Exp $ Workaround for older OSX. ---- src/libopts/autoopts/options.h.orig 2013-05-08 18:32:30.000000000 +0000 +--- src/libopts/autoopts/options.h.orig 2015-03-23 07:19:23.000000000 +0000 +++ src/libopts/autoopts/options.h @@ -62,7 +62,7 @@ # include <sysexits.h> diff --git a/security/gnutls/patches/patch-src_libopts_compat_compat.h b/security/gnutls/patches/patch-src_libopts_compat_compat.h index 5d7e85f96c0..e27209bacc6 100644 --- a/security/gnutls/patches/patch-src_libopts_compat_compat.h +++ b/security/gnutls/patches/patch-src_libopts_compat_compat.h @@ -1,8 +1,8 @@ -$NetBSD: patch-src_libopts_compat_compat.h,v 1.1 2013/10/25 09:03:12 jperkin Exp $ +$NetBSD: patch-src_libopts_compat_compat.h,v 1.2 2015/06/01 21:50:22 spz Exp $ Workaround for older OSX. ---- src/libopts/compat/compat.h.orig 2013-05-08 18:32:30.000000000 +0000 +--- src/libopts/compat/compat.h.orig 2015-03-23 07:19:23.000000000 +0000 +++ src/libopts/compat/compat.h @@ -182,7 +182,7 @@ # include <unistd.h> diff --git a/security/gnutls/patches/patch-src_libopts_makeshell.c b/security/gnutls/patches/patch-src_libopts_makeshell.c index 70948caf210..0ef61341e03 100644 --- a/security/gnutls/patches/patch-src_libopts_makeshell.c +++ b/security/gnutls/patches/patch-src_libopts_makeshell.c @@ -1,8 +1,8 @@ -$NetBSD: patch-src_libopts_makeshell.c,v 1.1 2014/08/30 12:45:11 adam Exp $ +$NetBSD: patch-src_libopts_makeshell.c,v 1.2 2015/06/01 21:50:22 spz Exp $ Avoid stdnoreturn.h. ---- src/libopts/makeshell.c.orig 2014-08-30 12:24:30.000000000 +0000 +--- src/libopts/makeshell.c.orig 2015-03-23 07:19:23.000000000 +0000 +++ src/libopts/makeshell.c @@ -68,7 +68,7 @@ static void open_out(char const * fname, char const * pname); diff --git a/security/gnutls/patches/patch-src_libopts_proto.h b/security/gnutls/patches/patch-src_libopts_proto.h index ff83b806232..cbd1eb32ecc 100644 --- a/security/gnutls/patches/patch-src_libopts_proto.h +++ b/security/gnutls/patches/patch-src_libopts_proto.h @@ -1,8 +1,8 @@ -$NetBSD: patch-src_libopts_proto.h,v 1.1 2014/08/30 12:45:11 adam Exp $ +$NetBSD: patch-src_libopts_proto.h,v 1.2 2015/06/01 21:50:22 spz Exp $ Avoid stdnoreturn.h. ---- src/libopts/proto.h.orig 2014-08-30 12:30:03.000000000 +0000 +--- src/libopts/proto.h.orig 2015-03-23 07:19:23.000000000 +0000 +++ src/libopts/proto.h @@ -98,16 +98,16 @@ load_opt_line(tOptions * opts, tOptState /* diff --git a/security/gnutls/patches/patch-tests_Makefile.in b/security/gnutls/patches/patch-tests_Makefile.in index 7efffb9448b..a2ad85c8aa7 100644 --- a/security/gnutls/patches/patch-tests_Makefile.in +++ b/security/gnutls/patches/patch-tests_Makefile.in @@ -1,16 +1,16 @@ -$NetBSD: patch-tests_Makefile.in,v 1.2 2014/12/05 12:25:42 khorben Exp $ +$NetBSD: patch-tests_Makefile.in,v 1.3 2015/06/01 21:50:22 spz 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 2014-10-13 03:57:02.000000000 +0000 +--- tests/Makefile.in.orig 2015-05-03 17:30:57.000000000 +0000 +++ tests/Makefile.in -@@ -2066,7 +2066,7 @@ top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - SUBDIRS = . rsa-md5-collision pkcs1-padding pkcs8-decode pkcs12-decode \ -- userid cert-tests key-id sha2 safe-renegotiation dsa scripts \ -+ userid cert-tests key-id sha2 safe-renegotiation scripts \ - ecdsa slow dtls srp $(am__append_1) $(am__append_2) - EXTRA_DIST = suppressions.valgrind eagain-common.h - AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) +@@ -1151,7 +1151,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 + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + am__relativize = \ diff --git a/security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in b/security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in index 17742ff6e41..56aa4faa8aa 100644 --- a/security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in +++ b/security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in @@ -1,11 +1,11 @@ -$NetBSD: patch-tests_openpgp-certs_Makefile.in,v 1.2 2014/12/05 12:25:42 khorben Exp $ +$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 2014-10-13 03:57:03.000000000 +0000 +--- tests/openpgp-certs/Makefile.in.orig 2015-05-03 17:30:57.000000000 +0000 +++ tests/openpgp-certs/Makefile.in -@@ -1423,7 +1423,7 @@ dist_check_SCRIPTS = testselfsigs testce +@@ -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?). |