diff options
author | wiz <wiz@pkgsrc.org> | 2014-01-16 10:14:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-01-16 10:14:09 +0000 |
commit | 4ca1201d38f097915097f143f536cca526e4713f (patch) | |
tree | 056d876e385d9389b2cfd04895b4a3afbe4027b0 /security/gnutls/patches | |
parent | e9d72290e624d80b61f7074bef4dc6b51bb306d3 (diff) | |
download | pkgsrc-4ca1201d38f097915097f143f536cca526e4713f.tar.gz |
Update to 3.2.8.1.
Changes in 3.2.8.1:
Note, that I've realized that this release has issues with the
assembly files in win32 and macosx systems. In these systems
use gnutls 3.2.8.1.
3.2.8:
* Version 3.2.8 (released 2013-12-20)
** libgnutls: Updated code for AES-NI. That prevents an uninitialized
variable complaint from valgrind.
** libgnutls: Enforce a maximum size for DH primes.
** libgnutls: Added SSSE3 optimized SHA1, and SHA256, using Andy Polyakov's
code.
** libgnutls: Added SSSE3 optimized AES using Mike Hamburg's code.
** libgnutls: It only links to librt if the required functions are
not present in libc. This also prevents an indirect linking to libpthread.
** libgnutls: Fixed issue with gnulib strerror replacement by adding
the strerror gnulib module.
** libgnutls: The time provided in the TLS random values is only precise
on its first 3 bytes. That prevents leakage of the precise system
time (at least on the client side when only few connections are
done on a single server).
** certtool: The --verify option will use the system CAs if the
load-ca-certificate option is not provided.
** configure: Added option --with-default-blacklist-file to allow
specifying a certificate blacklist file.
** configure: Added --disable-non-suiteb-curves option. This option
restricts the supported curves to SuiteB curves.
** API and ABI modifications:
gnutls_record_check_corked: Added
Diffstat (limited to 'security/gnutls/patches')
-rw-r--r-- | security/gnutls/patches/patch-configure | 13 | ||||
-rw-r--r-- | security/gnutls/patches/patch-lib_nettle_egd.c | 62 | ||||
-rw-r--r-- | security/gnutls/patches/patch-tests_Makefile.in | 16 | ||||
-rw-r--r-- | security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in | 16 |
4 files changed, 32 insertions, 75 deletions
diff --git a/security/gnutls/patches/patch-configure b/security/gnutls/patches/patch-configure deleted file mode 100644 index c0ebbdd0aee..00000000000 --- a/security/gnutls/patches/patch-configure +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-configure,v 1.1 2013/11/29 22:55:29 wiz Exp $ - ---- configure.orig 2013-11-29 17:00:05.000000000 +0000 -+++ configure -@@ -48402,7 +48402,7 @@ $as_echo "#define NO_OPTIONAL_OPT_ARGS 1 - - fi # end of AC_DEFUN of LIBOPTS_CHECK - --if test "$NEED_LIBOPTS_DIR" == "true";then -+if test "$NEED_LIBOPTS_DIR" = "true";then - for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do - nam=`echo $i|sed 's/.bak//g'` - if test -f $i;then diff --git a/security/gnutls/patches/patch-lib_nettle_egd.c b/security/gnutls/patches/patch-lib_nettle_egd.c deleted file mode 100644 index e914de92fdb..00000000000 --- a/security/gnutls/patches/patch-lib_nettle_egd.c +++ /dev/null @@ -1,62 +0,0 @@ -$NetBSD: patch-lib_nettle_egd.c,v 1.2 2013/11/29 22:55:29 wiz Exp $ - -http://lists.gnupg.org/pipermail/gnutls-devel/2013-November/006588.html - ---- lib/nettle/egd.c.orig 2013-11-10 17:59:14.000000000 +0000 -+++ lib/nettle/egd.c -@@ -155,12 +155,10 @@ int _rndegd_connect_socket(void) - - fd = socket(LOCAL_SOCKET_TYPE, SOCK_STREAM, 0); - if (fd == -1) { -- _gnutls_debug_log("can't create unix domain socket: %s\n", -- strerror(errno)); -+ _gnutls_debug_log("can't create unix domain socket\n"); - return -1; - } else if (connect(fd, (struct sockaddr *) &addr, addr_len) == -1) { -- _gnutls_debug_log("can't connect to EGD socket `%s': %s\n", -- name, strerror(errno)); -+ _gnutls_debug_log("can't connect to EGD socket `%s'\n", name); - close(fd); - fd = -1; - } -@@ -202,13 +200,11 @@ int _rndegd_read(int *fd, void *_output, - buffer[1] = nbytes; - - if (do_write(*fd, buffer, 2) == -1) -- _gnutls_debug_log("can't write to the EGD: %s\n", -- strerror(errno)); -+ _gnutls_debug_log("can't write to the EGD\n"); - - n = do_read(*fd, buffer, 1); - if (n == -1) { -- _gnutls_debug_log("read error on EGD: %s\n", -- strerror(errno)); -+ _gnutls_debug_log("read error on EGD\n"); - do_restart = 1; - goto restart; - } -@@ -217,8 +213,7 @@ int _rndegd_read(int *fd, void *_output, - if (n) { - n = do_read(*fd, buffer, n); - if (n == -1) { -- _gnutls_debug_log("read error on EGD: %s\n", -- strerror(errno)); -+ _gnutls_debug_log("read error on EGD\n"); - do_restart = 1; - goto restart; - } -@@ -240,12 +235,10 @@ int _rndegd_read(int *fd, void *_output, - buffer[0] = 2; /* blocking */ - buffer[1] = nbytes; - if (do_write(*fd, buffer, 2) == -1) -- _gnutls_debug_log("can't write to the EGD: %s\n", -- strerror(errno)); -+ _gnutls_debug_log("can't write to the EGD\n"); - n = do_read(*fd, buffer, nbytes); - if (n == -1) { -- _gnutls_debug_log("read error on EGD: %s\n", -- strerror(errno)); -+ _gnutls_debug_log("read error on EGD\n"); - do_restart = 1; - goto restart; - } diff --git a/security/gnutls/patches/patch-tests_Makefile.in b/security/gnutls/patches/patch-tests_Makefile.in new file mode 100644 index 00000000000..a6c29809c0c --- /dev/null +++ b/security/gnutls/patches/patch-tests_Makefile.in @@ -0,0 +1,16 @@ +$NetBSD: patch-tests_Makefile.in,v 1.1 2014/01/16 10:14:09 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 2013-12-20 18:30:47.000000000 +0000 ++++ tests/Makefile.in +@@ -2063,7 +2063,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) diff --git a/security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in b/security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in new file mode 100644 index 00000000000..3081a7270af --- /dev/null +++ b/security/gnutls/patches/patch-tests_openpgp-certs_Makefile.in @@ -0,0 +1,16 @@ +$NetBSD: patch-tests_openpgp-certs_Makefile.in,v 1.1 2014/01/16 10:14:09 wiz 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-01-16 09:45:13.000000000 +0000 ++++ tests/openpgp-certs/Makefile.in +@@ -1417,7 +1417,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)" \ |