pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/gnutls gnutls: Update to 3.6.11.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/ba1cd65881df
branches: trunk
changeset: 345210:ba1cd65881df
user: nia <nia%pkgsrc.org@localhost>
date: Fri Dec 06 14:00:08 2019 +0000
description:
gnutls: Update to 3.6.11.1
Not sure of 3.6.11.1's specific changes - possibly fixing an incorrectly
generated tarball?
These changes from apply:
* Version 3.6.11 (released 2019-12-01)
** libgnutls: Use KERN_ARND for the system random number generator on NetBSD.
This syscall provides an endless stream of random numbers from the kernel's
ChaCha20-based random number generator, without blocking or requiring an open file
descriptor.
** libgnutls: Corrected issue with TLS 1.2 session ticket handling as client
during resumption (#841).
** libgnutls: gnutls_base64_decode2() succeeds decoding the empty string to
the empty string. This is a behavioral change of the API but it conforms
to the RFC4648 expectations (#834).
** libgnutls: Fixed AES-CFB8 implementation, when input is shorter than
the block size. Fix backported from nettle.
** certtool: CRL distribution points will be set in CA certificates even when
non self-signed (#765).
** gnutls-cli/serv: added raw public-key handling capabilities (RFC7250).
Key material can be set via the --rawpkkeyfile and --rawpkfile flags.
** API and ABI modifications:
No changes since last version.
diffstat:
security/gnutls/Makefile | 6 +-
security/gnutls/distinfo | 21 ++++-----
security/gnutls/patches/patch-lib_Makefile.in | 15 ------
security/gnutls/patches/patch-src_libopts_autoopts_options.h | 6 +-
security/gnutls/patches/patch-src_libopts_compat_compat.h | 8 +-
security/gnutls/patches/patch-src_libopts_libopts.c | 6 +-
security/gnutls/patches/patch-src_libopts_makeshell.c | 26 ++++++------
security/gnutls/patches/patch-src_libopts_proto.h | 16 +++---
8 files changed, 44 insertions(+), 60 deletions(-)
diffs (221 lines):
diff -r 8f3cd4ccdb94 -r ba1cd65881df security/gnutls/Makefile
--- a/security/gnutls/Makefile Fri Dec 06 13:39:41 2019 +0000
+++ b/security/gnutls/Makefile Fri Dec 06 14:00:08 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.203 2019/10/04 17:25:53 nia Exp $
+# $NetBSD: Makefile,v 1.204 2019/12/06 14:00:08 nia Exp $
-DISTNAME= gnutls-3.6.10
+DISTNAME= gnutls-3.6.11.1
CATEGORIES= security devel
MASTER_SITES= https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/
EXTRACT_SUFX= .tar.xz
@@ -16,8 +16,8 @@
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
-USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake gsed perl pkg-config bash
+USE_TOOLS+= msgfmt msgmerge xgettext
GNU_CONFIGURE= yes
# this library duplicates (and conflicts with) openssl
CONFIGURE_ARGS+= --disable-openssl-compatibility
diff -r 8f3cd4ccdb94 -r ba1cd65881df security/gnutls/distinfo
--- a/security/gnutls/distinfo Fri Dec 06 13:39:41 2019 +0000
+++ b/security/gnutls/distinfo Fri Dec 06 14:00:08 2019 +0000
@@ -1,13 +1,12 @@
-$NetBSD: distinfo,v 1.140 2019/10/04 17:25:53 nia Exp $
+$NetBSD: distinfo,v 1.141 2019/12/06 14:00:08 nia Exp $
-SHA1 (gnutls-3.6.10.tar.xz) = c073c6b0c57506a592854471576321be80f809d4
-RMD160 (gnutls-3.6.10.tar.xz) = fe2df3aead55853711a0dbd80ef5dd648a4e09a7
-SHA512 (gnutls-3.6.10.tar.xz) = fe0481f9e4219e983b01b91e69ffd95819a4c0d0c09028509106d561967e9c5d900bc5e3a48140a34fa4467feda2a619085adf3fa8fdade96c8debf125e91ae8
-Size (gnutls-3.6.10.tar.xz) = 5795984 bytes
-SHA1 (patch-lib_Makefile.in) = c9a6bbe6238ccd9de41c708012e36b202d2a86e7
+SHA1 (gnutls-3.6.11.1.tar.xz) = 2205863fefa0e070cbf2a6961bfa90c854286287
+RMD160 (gnutls-3.6.11.1.tar.xz) = a5182c63cc9e79c929c8cc098f36d55fd70789c8
+SHA512 (gnutls-3.6.11.1.tar.xz) = 55fbbf0ebc824fbc91ccd08d1708452c5b1c12af75e332f29414540eb2f81337fa605a693ce9f34319a927e9d71177e6e7ffea5c6747792d341fb740f68c9489
+Size (gnutls-3.6.11.1.tar.xz) = 5902328 bytes
SHA1 (patch-lib_system_certs.c) = fba74b2834a36d66bddcd7d3405d0c91c1b14efc
-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-src_libopts_autoopts_options.h) = ebeeafc834bce3b6b3f938e360b089e165ee4f9e
+SHA1 (patch-src_libopts_compat_compat.h) = 6e88b5e73a56c296f356aa5ce7e6048e1bcff450
+SHA1 (patch-src_libopts_libopts.c) = 6e2453a886aa4be0a17dfbdb8a23ef9d7a0f62f8
+SHA1 (patch-src_libopts_makeshell.c) = 1b08ab63e6e382bd471699530e5d8bff075b3f24
+SHA1 (patch-src_libopts_proto.h) = 7601830e5ff45632ae337a387548f9ed5e591c4f
diff -r 8f3cd4ccdb94 -r ba1cd65881df security/gnutls/patches/patch-lib_Makefile.in
--- a/security/gnutls/patches/patch-lib_Makefile.in Fri Dec 06 13:39:41 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_Makefile.in,v 1.9 2018/07/06 16:15:28 prlw1 Exp $
-
-Correct path to locale files.
-
---- lib/Makefile.in.orig 2015-05-03 17:30:56.000000000 +0000
-+++ lib/Makefile.in
-@@ -1443,7 +1443,7 @@ infodir = @infodir@
- install_sh = @install_sh@
- libdir = @libdir@
- libexecdir = @libexecdir@
--localedir = $(datadir)/locale
-+localedir = @prefix@/share/locale
- localstatedir = @localstatedir@
- mandir = @mandir@
- mkdir_p = @mkdir_p@
diff -r 8f3cd4ccdb94 -r ba1cd65881df security/gnutls/patches/patch-src_libopts_autoopts_options.h
--- a/security/gnutls/patches/patch-src_libopts_autoopts_options.h Fri Dec 06 13:39:41 2019 +0000
+++ b/security/gnutls/patches/patch-src_libopts_autoopts_options.h Fri Dec 06 14:00:08 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_libopts_autoopts_options.h,v 1.2 2015/06/01 21:50:22 spz Exp $
+$NetBSD: patch-src_libopts_autoopts_options.h,v 1.3 2019/12/06 14:00:08 nia Exp $
Workaround for older OSX.
---- src/libopts/autoopts/options.h.orig 2015-03-23 07:19:23.000000000 +0000
+--- src/libopts/autoopts/options.h.orig 2019-12-01 21:25:38.000000000 +0000
+++ src/libopts/autoopts/options.h
@@ -62,7 +62,7 @@
# include <sysexits.h>
@@ -11,5 +11,5 @@
-# if defined(HAVE_STDBOOL_H)
+# if defined(HAVE_STDBOOL_H) || defined(__APPLE__)
# include <stdbool.h>
- # else
+ # elif ! defined(bool)
typedef enum { false = 0, true = 1 } _Bool;
diff -r 8f3cd4ccdb94 -r ba1cd65881df security/gnutls/patches/patch-src_libopts_compat_compat.h
--- a/security/gnutls/patches/patch-src_libopts_compat_compat.h Fri Dec 06 13:39:41 2019 +0000
+++ b/security/gnutls/patches/patch-src_libopts_compat_compat.h Fri Dec 06 14:00:08 2019 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-src_libopts_compat_compat.h,v 1.2 2015/06/01 21:50:22 spz Exp $
+$NetBSD: patch-src_libopts_compat_compat.h,v 1.3 2019/12/06 14:00:08 nia Exp $
Workaround for older OSX.
---- src/libopts/compat/compat.h.orig 2015-03-23 07:19:23.000000000 +0000
+--- src/libopts/compat/compat.h.orig 2019-12-01 21:25:38.000000000 +0000
+++ src/libopts/compat/compat.h
@@ -182,7 +182,7 @@
# include <unistd.h>
#endif
--#ifdef HAVE_STDBOOL_H
+-#if defined(HAVE_STDBOOL_H)
+#if defined(HAVE_STDBOOL_H) || defined(__APPLE__)
# include <stdbool.h>
- #else
+ #elif ! defined(bool)
typedef enum { false = 0, true = 1 } _Bool;
diff -r 8f3cd4ccdb94 -r ba1cd65881df security/gnutls/patches/patch-src_libopts_libopts.c
--- a/security/gnutls/patches/patch-src_libopts_libopts.c Fri Dec 06 13:39:41 2019 +0000
+++ b/security/gnutls/patches/patch-src_libopts_libopts.c Fri Dec 06 14:00:08 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-src_libopts_libopts.c,v 1.1 2015/06/08 13:44:57 joerg Exp $
+$NetBSD: patch-src_libopts_libopts.c,v 1.2 2019/12/06 14:00:08 nia Exp $
Workaround broken gettext.h conflicting with native implementation of
message contexts in NetBSD.
---- src/libopts/libopts.c.orig 2015-06-08 13:12:30.000000000 +0000
+--- src/libopts/libopts.c.orig 2019-12-01 21:25:38.000000000 +0000
+++ src/libopts/libopts.c
@@ -1,3 +1,7 @@
+#include <config.h>
@@ -12,4 +12,4 @@
+#endif
#define AUTOOPTS_INTERNAL 1
#include "autoopts/project.h"
- #define LOCAL static
+
diff -r 8f3cd4ccdb94 -r ba1cd65881df security/gnutls/patches/patch-src_libopts_makeshell.c
--- a/security/gnutls/patches/patch-src_libopts_makeshell.c Fri Dec 06 13:39:41 2019 +0000
+++ b/security/gnutls/patches/patch-src_libopts_makeshell.c Fri Dec 06 14:00:08 2019 +0000
@@ -1,33 +1,33 @@
-$NetBSD: patch-src_libopts_makeshell.c,v 1.2 2015/06/01 21:50:22 spz Exp $
+$NetBSD: patch-src_libopts_makeshell.c,v 1.3 2019/12/06 14:00:08 nia Exp $
Avoid stdnoreturn.h.
---- src/libopts/makeshell.c.orig 2015-03-23 07:19:23.000000000 +0000
+--- src/libopts/makeshell.c.orig 2019-12-01 21:25:38.000000000 +0000
+++ src/libopts/makeshell.c
-@@ -68,7 +68,7 @@ static void
- open_out(char const * fname, char const * pname);
- /* = = = END-STATIC-FORWARD = = = */
+@@ -35,7 +35,7 @@
+ #define UPPER(_c) (toupper(to_uchar(_c)))
+ #define LOWER(_c) (tolower(to_uchar(_c)))
--LOCAL noreturn void
-+LOCAL void
+-noreturn static void
++static void
option_exits(int exit_code)
{
if (print_exit)
-@@ -76,7 +76,7 @@ option_exits(int exit_code)
+@@ -43,7 +43,7 @@ option_exits(int exit_code)
exit(exit_code);
}
--LOCAL noreturn void
-+LOCAL void
+-noreturn static void
++static void
ao_bug(char const * msg)
{
fprintf(stderr, zao_bug_msg, msg);
-@@ -90,7 +90,7 @@ fserr_warn(char const * prog, char const
+@@ -57,7 +57,7 @@ fserr_warn(char const * prog, char const
op, fname);
}
--LOCAL noreturn void
-+LOCAL void
+-noreturn static void
++static void
fserr_exit(char const * prog, char const * op, char const * fname)
{
fserr_warn(prog, op, fname);
diff -r 8f3cd4ccdb94 -r ba1cd65881df security/gnutls/patches/patch-src_libopts_proto.h
--- a/security/gnutls/patches/patch-src_libopts_proto.h Fri Dec 06 13:39:41 2019 +0000
+++ b/security/gnutls/patches/patch-src_libopts_proto.h Fri Dec 06 14:00:08 2019 +0000
@@ -1,26 +1,26 @@
-$NetBSD: patch-src_libopts_proto.h,v 1.2 2015/06/01 21:50:22 spz Exp $
+$NetBSD: patch-src_libopts_proto.h,v 1.3 2019/12/06 14:00:08 nia Exp $
Avoid stdnoreturn.h.
---- src/libopts/proto.h.orig 2015-03-23 07:19:23.000000000 +0000
+--- src/libopts/proto.h.orig 2019-12-01 21:25:38.000000000 +0000
+++ src/libopts/proto.h
-@@ -98,16 +98,16 @@ load_opt_line(tOptions * opts, tOptState
+@@ -247,16 +247,16 @@ load_opt_line(tOptions * opts, tOptState
/*
- * Extracted from makeshell.c
+ * Static declarations from makeshell.c
*/
--static noreturn void
+-noreturn static void
+static void
option_exits(int exit_code);
--static noreturn void
+-noreturn static void
+static void
ao_bug(char const * msg);
static void
fserr_warn(char const * prog, char const * op, char const * fname);
--static noreturn void
+-noreturn static void
+static void
fserr_exit(char const * prog, char const * op, char const * fname);
- /*
+ static void
Home |
Main Index |
Thread Index |
Old Index