Hello community,
here is the log from the commit of package libassuan for openSUSE:Factory checked in at 2017-12-13 11:57:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libassuan (Old)
and /work/SRC/openSUSE:Factory/.libassuan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libassuan"
Wed Dec 13 11:57:06 2017 rev:44 rq:555904 version:2.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/libassuan/libassuan.changes 2017-12-08 21:47:35.846529042 +0100
+++ /work/SRC/openSUSE:Factory/.libassuan.new/libassuan.changes 2017-12-13 11:57:12.552036096 +0100
@@ -1,0 +2,7 @@
+Mon Dec 11 10:34:38 UTC 2017 - astieger@suse.com
+
+- libassuan 2.5.1:
+ * New function to change the system hooks for the socket
+ interface (assuan_sock_set_system_hooks)
+
+-------------------------------------------------------------------
Old:
----
libassuan-2.4.5.tar.bz2
libassuan-2.4.5.tar.bz2.sig
New:
----
libassuan-2.5.1.tar.bz2
libassuan-2.5.1.tar.bz2.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libassuan.spec ++++++
--- /var/tmp/diff_new_pack.KNI6Nk/_old 2017-12-13 11:57:13.252002305 +0100
+++ /var/tmp/diff_new_pack.KNI6Nk/_new 2017-12-13 11:57:13.256002113 +0100
@@ -17,7 +17,7 @@
Name: libassuan
-Version: 2.4.5
+Version: 2.5.1
Release: 0
Summary: IPC library used by GnuPG version 2
License: GPL-3.0+ and LGPL-2.1+
++++++ libassuan-2.4.5.tar.bz2 -> libassuan-2.5.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/AUTHORS new/libassuan-2.5.1/AUTHORS
--- old/libassuan-2.4.5/AUTHORS 2016-07-14 10:03:48.000000000 +0200
+++ new/libassuan-2.5.1/AUTHORS 2017-12-07 14:05:59.000000000 +0100
@@ -55,7 +55,7 @@
Copyright (C) 1992-2013 Free Software Foundation, Inc.
Copyright (C) 1994 X Consortium
Copyright (C) 2000 Werner Koch (dd9jn)
- Copyright (C) 2001-2016 g10 Code GmbH
+ Copyright (C) 2001-2017 g10 Code GmbH
Copyright (C) 2004 Simon Josefsson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/ChangeLog new/libassuan-2.5.1/ChangeLog
--- old/libassuan-2.4.5/ChangeLog 2017-12-01 15:35:36.000000000 +0100
+++ new/libassuan-2.5.1/ChangeLog 2017-12-07 15:56:45.000000000 +0100
@@ -1,3 +1,34 @@
+2017-12-07 Werner Koch
+
+ Release 2.5.1.
+ + commit 8fc922c45b66d4e4d1c6c55de617cfeef2c01357
+
+
+ Fix regression in ASSUAN_SYSTEM_NPTH_IMPL.
+ + commit d38817fd0e24acfd295bd7f81b77254afd0cc6d5
+ * src/assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): A void fucntion can't
+ assign.
+
+ Release 2.5.0.
+ + commit ec92ef4ee3df1fdca7db19f691f64a2f96dcfc71
+
+
+2017-12-07 NIIBE Yutaka
+ wk@gnupg.org
+
+ Allow change of system hooks for assuan_sock_...
+ + commit 90dc81682b13a7cf716a8a26b891051cbd4b0caf
+ * src/assuan-socket.c (assuan_sock_set_system_hooks): New.
+ * src/assuan.h.in (assuan_sock_set_system_hooks): New prototype.
+ * src/libassuan.def: Add new function.
+ * src/libassuan.vers: Add new function.
+
+2017-12-06 NIIBE Yutaka
+
+ Use wrapped __assuan_usleep for _assuan_npth_usleep.
+ + commit a627350eed5dc32bac41195462f27dee1987b0f5
+ * src/assuan.h.in (_assuan_npth_usleep): Wrap __assuan_usleep.
+
2017-12-01 Werner Koch
Release 2.4.5.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/NEWS new/libassuan-2.5.1/NEWS
--- old/libassuan-2.4.5/NEWS 2017-12-01 15:27:25.000000000 +0100
+++ new/libassuan-2.5.1/NEWS 2017-12-07 15:53:37.000000000 +0100
@@ -1,3 +1,22 @@
+Noteworthy changes in version 2.5.1 (2017-12-07) [C8/A8/R1]
+------------------------------------------------
+
+ * Fix c+p error in the previous usleep fix.
+
+
+Noteworthy changes in version 2.5.0 (2017-12-07) [C8/A8/R0]
+------------------------------------------------
+
+ * New function to change the system hooks for the socket
+ interface. [#3378]
+
+ * Fix the use of the internal usleep in the nPth implementation.
+
+ * Interface changes relative to the 2.4.0 release:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ assuan_sock_set_system_hooks NEW.
+
+
Noteworthy changes in version 2.4.5 (2017-12-01) [C7/A7/R5]
------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/README new/libassuan-2.5.1/README
--- old/libassuan-2.4.5/README 2017-11-16 09:30:53.000000000 +0100
+++ new/libassuan-2.5.1/README 2017-12-07 14:05:16.000000000 +0100
@@ -2,7 +2,7 @@
===========
Copyright (C) 2001-2013 Free Software Foundation, Inc.
- Copyright (C) 2001-2016 g10 Code GmbH
+ Copyright (C) 2001-2017 g10 Code GmbH
This is a general purpose IPC library which is for example used
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/VERSION new/libassuan-2.5.1/VERSION
--- old/libassuan-2.4.5/VERSION 2017-12-01 15:33:09.000000000 +0100
+++ new/libassuan-2.5.1/VERSION 2017-12-07 15:55:49.000000000 +0100
@@ -1 +1 @@
-2.4.5
+2.5.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/configure new/libassuan-2.5.1/configure
--- old/libassuan-2.4.5/configure 2017-12-01 15:33:09.000000000 +0100
+++ new/libassuan-2.5.1/configure 2017-12-07 15:55:50.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libassuan 2.4.5.
+# Generated by GNU Autoconf 2.69 for libassuan 2.5.1.
#
# Report bugs to https://bugs.gnupg.org.
#
@@ -590,8 +590,8 @@
# Identity of this package.
PACKAGE_NAME='libassuan'
PACKAGE_TARNAME='libassuan'
-PACKAGE_VERSION='2.4.5'
-PACKAGE_STRING='libassuan 2.4.5'
+PACKAGE_VERSION='2.5.1'
+PACKAGE_STRING='libassuan 2.5.1'
PACKAGE_BUGREPORT='https://bugs.gnupg.org'
PACKAGE_URL=''
@@ -1351,7 +1351,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libassuan 2.4.5 to adapt to many kinds of systems.
+\`configure' configures libassuan 2.5.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1421,7 +1421,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libassuan 2.4.5:";;
+ short | recursive ) echo "Configuration of libassuan 2.5.1:";;
esac
cat <<\_ACEOF
@@ -1538,7 +1538,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libassuan configure 2.4.5
+libassuan configure 2.5.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2118,7 +2118,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libassuan $as_me 2.4.5, which was
+It was created by libassuan $as_me 2.5.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2473,9 +2473,9 @@
# (Interfaces added: AGE++)
# (Interfaces removed/changed: AGE=0)
#
-LIBASSUAN_LT_CURRENT=7
-LIBASSUAN_LT_AGE=7
-LIBASSUAN_LT_REVISION=5
+LIBASSUAN_LT_CURRENT=8
+LIBASSUAN_LT_AGE=8
+LIBASSUAN_LT_REVISION=1
# If the API is changed in an incompatible way: increment the next counter.
LIBASSUAN_CONFIG_API_VERSION=2
@@ -3003,7 +3003,7 @@
# Define the identity of the package.
PACKAGE='libassuan'
- VERSION='2.4.5'
+ VERSION='2.5.1'
cat >>confdefs.h <<_ACEOF
@@ -4775,7 +4775,7 @@
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF
-VERSION_NUMBER=0x020405
+VERSION_NUMBER=0x020501
@@ -13555,7 +13555,7 @@
#
# Provide information about the build.
#
-BUILD_REVISION="a70eaa8"
+BUILD_REVISION="8fc922c"
cat >>confdefs.h <<_ACEOF
@@ -13564,7 +13564,7 @@
BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'`
-BUILD_FILEVERSION="${BUILD_FILEVERSION}42766"
+BUILD_FILEVERSION="${BUILD_FILEVERSION}36809"
# Check whether --enable-build-timestamp was given.
@@ -15363,7 +15363,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libassuan $as_me 2.4.5, which was
+This file was extended by libassuan $as_me 2.5.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15429,7 +15429,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libassuan config.status 2.4.5
+libassuan config.status 2.5.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@@ -17424,6 +17424,6 @@
echo "
Libassuan v${VERSION} has been configured as follows:
- Revision: a70eaa8 (42766)
+ Revision: 8fc922c (36809)
Platform: $host
"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/configure.ac new/libassuan-2.5.1/configure.ac
--- old/libassuan-2.4.5/configure.ac 2017-12-01 15:13:12.000000000 +0100
+++ new/libassuan-2.5.1/configure.ac 2017-12-07 15:53:45.000000000 +0100
@@ -32,8 +32,8 @@
# for the LT versions.
m4_define([mym4_package],[libassuan])
m4_define([mym4_major], [2])
-m4_define([mym4_minor], [4])
-m4_define([mym4_micro], [5])
+m4_define([mym4_minor], [5])
+m4_define([mym4_micro], [1])
# To start a new development series, i.e a new major or minor number
# you need to mark an arbitrary commit before the first beta release
@@ -61,9 +61,9 @@
# (Interfaces added: AGE++)
# (Interfaces removed/changed: AGE=0)
#
-LIBASSUAN_LT_CURRENT=7
-LIBASSUAN_LT_AGE=7
-LIBASSUAN_LT_REVISION=5
+LIBASSUAN_LT_CURRENT=8
+LIBASSUAN_LT_AGE=8
+LIBASSUAN_LT_REVISION=1
# If the API is changed in an incompatible way: increment the next counter.
LIBASSUAN_CONFIG_API_VERSION=2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/doc/assuan.info new/libassuan-2.5.1/doc/assuan.info
--- old/libassuan-2.4.5/doc/assuan.info 2017-12-01 15:34:55.000000000 +0100
+++ new/libassuan-2.5.1/doc/assuan.info 2017-12-07 15:56:33.000000000 +0100
@@ -7,8 +7,8 @@
This file documents the use and the internals of Assuan.
- This is Edition 2.4.5, last updated 27 November 2015, of 'The
-'Developing with Assuan' Manual', for Version 2.4.5.
+ This is Edition 2.5.1, last updated 7 December 2017, of 'The
+'Developing with Assuan' Manual', for Version 2.5.1.
Published by the Free Software Foundation
51 Franklin Street, Fifth Floor
@@ -857,6 +857,14 @@
Set the default system hooks to use. There is currently no way to
reset to the default system hooks.
+ -- Function: void assuan_sock_set_system_hooks
+ (assuan_system_hooks_t SYSTEM_HOOKS)
+ The socket subsystem uses an internal context which uses the
+ default system hooks. This function allows to change these system
+ hooks. The function is not thread-safe and only useful if a
+ certain order of assuan and assuan socket initializations are
+ required.
+
-- Function: void assuan_ctx_set_system_hooks (assuan_context_t CTX,
assuan_system_hooks_t SYSTEM_HOOKS)
Set the system hooks for context CTX. There is currently no way to
@@ -3147,7 +3155,7 @@
* assuan_close_output_fd: Utilities. (line 100)
* assuan_command_parse_fd: Utilities. (line 57)
* assuan_context_t: Data Types. (line 9)
-* assuan_ctx_set_system_hooks: Contexts. (line 213)
+* assuan_ctx_set_system_hooks: Contexts. (line 222)
* assuan_end_confidential: Contexts. (line 117)
* assuan_fdopen: Data Types. (line 21)
* assuan_fd_t: Data Types. (line 16)
@@ -3229,6 +3237,7 @@
* assuan_sock_new: Socket wrappers. (line 23)
* assuan_sock_set_flag: Socket wrappers. (line 114)
* assuan_sock_set_sockaddr_un: Socket wrappers. (line 62)
+* assuan_sock_set_system_hooks: Contexts. (line 213)
* assuan_transact: Client code. (line 72)
* assuan_write_line: Reading and Writing. (line 23)
* assuan_write_status: Utilities. (line 10)
@@ -3247,38 +3256,38 @@
Tag Table:
-Node: Top908
-Node: Introduction1974
-Node: Assuan4229
-Node: Implementation5273
-Node: Server responses6452
-Node: Client requests8742
-Node: Error codes11780
-Node: Preparation12119
-Node: Header12694
-Node: Building sources13480
-Node: Automake15379
-Node: Multi Threading16527
-Node: Generalities17486
-Node: Data Types17890
-Node: Initializing the library18998
-Ref: function assuan_set_gpg_err_source21694
-Node: Default Log Handler24013
-Node: Contexts25779
-Ref: function assuan_new26359
-Node: Reading and Writing36549
-Node: Client code40024
-Ref: function assuan_sendfd45021
-Ref: function assuan_receivefd45612
-Node: Server code45987
-Node: External I/O Loop58112
-Node: External I/O Loop Client59937
-Node: External I/O Loop Server63022
-Node: Utilities67606
-Ref: Utilities-Footnote-175707
-Node: Socket wrappers75771
-Node: Library Copying82752
-Node: Copying110864
-Node: Index148378
+Node: Top907
+Node: Introduction1973
+Node: Assuan4228
+Node: Implementation5272
+Node: Server responses6451
+Node: Client requests8741
+Node: Error codes11779
+Node: Preparation12118
+Node: Header12693
+Node: Building sources13479
+Node: Automake15378
+Node: Multi Threading16526
+Node: Generalities17485
+Node: Data Types17889
+Node: Initializing the library18997
+Ref: function assuan_set_gpg_err_source21693
+Node: Default Log Handler24012
+Node: Contexts25778
+Ref: function assuan_new26358
+Node: Reading and Writing36930
+Node: Client code40405
+Ref: function assuan_sendfd45402
+Ref: function assuan_receivefd45993
+Node: Server code46368
+Node: External I/O Loop58493
+Node: External I/O Loop Client60318
+Node: External I/O Loop Server63403
+Node: Utilities67987
+Ref: Utilities-Footnote-176088
+Node: Socket wrappers76152
+Node: Library Copying83133
+Node: Copying111245
+Node: Index148759
End Tag Table
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/doc/assuan.texi new/libassuan-2.5.1/doc/assuan.texi
--- old/libassuan-2.4.5/doc/assuan.texi 2015-11-27 11:36:47.000000000 +0100
+++ new/libassuan-2.5.1/doc/assuan.texi 2017-12-07 13:23:45.000000000 +0100
@@ -994,11 +994,19 @@
reset to the default system hooks.
@end deftypefun
+@deftypefun void assuan_sock_set_system_hooks (@w{assuan_system_hooks_t @var{system_hooks}})
+The socket subsystem uses an internal context which uses the default
+system hooks. This function allows to change these system hooks. The
+function is not thread-safe and only useful if a certain order of
+assuan and assuan socket initializations are required.
+@end deftypefun
+
@deftypefun void assuan_ctx_set_system_hooks (@w{assuan_context_t @var{ctx}}, @w{assuan_system_hooks_t @var{system_hooks}})
Set the system hooks for context @var{ctx}. There is currently no way
to reset to the default system hooks, create a new context for that.
@end deftypefun
+
The following system hook collections are defined by the library for
your convenience:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/doc/stamp-vti new/libassuan-2.5.1/doc/stamp-vti
--- old/libassuan-2.4.5/doc/stamp-vti 2017-12-01 15:34:04.000000000 +0100
+++ new/libassuan-2.5.1/doc/stamp-vti 2017-12-07 15:56:32.000000000 +0100
@@ -1,4 +1,4 @@
-@set UPDATED 27 November 2015
-@set UPDATED-MONTH November 2015
-@set EDITION 2.4.5
-@set VERSION 2.4.5
+@set UPDATED 7 December 2017
+@set UPDATED-MONTH December 2017
+@set EDITION 2.5.1
+@set VERSION 2.5.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/doc/version.texi new/libassuan-2.5.1/doc/version.texi
--- old/libassuan-2.4.5/doc/version.texi 2017-12-01 15:34:04.000000000 +0100
+++ new/libassuan-2.5.1/doc/version.texi 2017-12-07 15:56:32.000000000 +0100
@@ -1,4 +1,4 @@
-@set UPDATED 27 November 2015
-@set UPDATED-MONTH November 2015
-@set EDITION 2.4.5
-@set VERSION 2.4.5
+@set UPDATED 7 December 2017
+@set UPDATED-MONTH December 2017
+@set EDITION 2.5.1
+@set VERSION 2.5.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/src/Makefile.in new/libassuan-2.5.1/src/Makefile.in
--- old/libassuan-2.4.5/src/Makefile.in 2017-12-01 15:33:08.000000000 +0100
+++ new/libassuan-2.5.1/src/Makefile.in 2017-12-07 15:55:49.000000000 +0100
@@ -110,8 +110,8 @@
subdir = src
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(srcdir)/libassuan-config.in $(srcdir)/versioninfo.rc.in \
- isascii.c funopen.c stpcpy.c putc_unlocked.c memrchr.c \
- setenv.c $(top_srcdir)/build-aux/depcomp
+ setenv.c funopen.c isascii.c stpcpy.c putc_unlocked.c \
+ memrchr.c $(top_srcdir)/build-aux/depcomp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
$(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/libtool.m4 \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/src/assuan-socket.c new/libassuan-2.5.1/src/assuan-socket.c
--- old/libassuan-2.4.5/src/assuan-socket.c 2017-11-15 16:36:40.000000000 +0100
+++ new/libassuan-2.5.1/src/assuan-socket.c 2017-12-07 13:28:05.000000000 +0100
@@ -1495,3 +1495,10 @@
{
return _assuan_sock_check_nonce (sock_ctx, fd, nonce);
}
+
+void
+assuan_sock_set_system_hooks (assuan_system_hooks_t system_hooks)
+{
+ if (sock_ctx)
+ _assuan_system_hooks_copy (&sock_ctx->system, system_hooks);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/src/assuan.h.in new/libassuan-2.5.1/src/assuan.h.in
--- old/libassuan-2.4.5/src/assuan.h.in 2017-12-01 13:26:15.000000000 +0100
+++ new/libassuan-2.5.1/src/assuan.h.in 2017-12-07 15:06:40.000000000 +0100
@@ -1,6 +1,6 @@
/* assuan.h - Definitions for the Assuan IPC library -*- c -*-
* Copyright (C) 2001-2013 Free Software Foundation, Inc.
- * Copyright (C) 2001-2015 g10 Code GmbH
+ * Copyright (C) 2001-2017 g10 Code GmbH
*
* This file is part of Assuan.
*
@@ -490,15 +490,20 @@
int assuan_sock_get_nonce (struct sockaddr *addr, int addrlen,
assuan_sock_nonce_t *nonce);
int assuan_sock_check_nonce (assuan_fd_t fd, assuan_sock_nonce_t *nonce);
+void assuan_sock_set_system_hooks (assuan_system_hooks_t system_hooks);
-/* Set the default or per context system callbacks. This is
- irreversible. */
+/* Set the default system callbacks. This is irreversible. */
void assuan_set_system_hooks (assuan_system_hooks_t system_hooks);
+/* Set the per context system callbacks. This is irreversible. */
void assuan_ctx_set_system_hooks (assuan_context_t ctx,
assuan_system_hooks_t system_hooks);
+/* Change the system hooks for the socket interface.
+ * This is not thread-safe. */
+void assuan_sock_set_system_hooks (assuan_system_hooks_t system_hooks);
+
void __assuan_usleep (assuan_context_t ctx, unsigned int usec);
int __assuan_pipe (assuan_context_t ctx, assuan_fd_t fd[2], int inherit_idx);
int __assuan_close (assuan_context_t ctx, assuan_fd_t fd);
@@ -546,7 +551,9 @@
#define ASSUAN_SYSTEM_NPTH_IMPL \
static void _assuan_npth_usleep (assuan_context_t ctx, unsigned int usec) \
- { (void) ctx; npth_usleep (usec); } \
+ { npth_unprotect(); \
+ __assuan_usleep (ctx, usec); \
+ npth_protect(); } \
static ssize_t _assuan_npth_read (assuan_context_t ctx, assuan_fd_t fd, \
void *buffer, size_t size) \
{ ssize_t res; (void) ctx; npth_unprotect(); \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/src/libassuan.def new/libassuan-2.5.1/src/libassuan.def
--- old/libassuan-2.4.5/src/libassuan.def 2017-11-15 16:52:56.000000000 +0100
+++ new/libassuan-2.5.1/src/libassuan.def 2017-12-07 13:25:22.000000000 +0100
@@ -115,6 +115,7 @@
assuan_sock_set_flag @94
assuan_sock_get_flag @95
assuan_sock_connect_byname @96
+ assuan_sock_set_system_hooks @97
; END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/src/libassuan.vers new/libassuan-2.5.1/src/libassuan.vers
--- old/libassuan-2.4.5/src/libassuan.vers 2017-11-15 16:53:25.000000000 +0100
+++ new/libassuan-2.5.1/src/libassuan.vers 2017-12-07 13:25:43.000000000 +0100
@@ -106,6 +106,7 @@
assuan_sock_set_flag;
assuan_sock_get_flag;
assuan_sock_connect_byname;
+ assuan_sock_set_system_hooks;
__assuan_close;
__assuan_pipe;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/src/sysutils.c new/libassuan-2.5.1/src/sysutils.c
--- old/libassuan-2.4.5/src/sysutils.c 2017-11-15 18:41:41.000000000 +0100
+++ new/libassuan-2.5.1/src/sysutils.c 2017-12-07 14:06:29.000000000 +0100
@@ -47,7 +47,7 @@
"\n\n"
"This is Libassuan " PACKAGE_VERSION " - The GnuPG IPC Library\n"
"Copyright 2001-2013 Free Software Foundation, Inc.\n"
- "Copyright 2001-2014 g10 Code GmbH\n"
+ "Copyright 2001-2017 g10 Code GmbH\n"
"\n"
"SPDX-License-Identifier: LGPL-2.1+\n"
"(" BUILD_REVISION " " BUILD_TIMESTAMP ")\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.5/src/versioninfo.rc.in new/libassuan-2.5.1/src/versioninfo.rc.in
--- old/libassuan-2.4.5/src/versioninfo.rc.in 2017-11-15 16:59:05.000000000 +0100
+++ new/libassuan-2.5.1/src/versioninfo.rc.in 2017-12-07 14:06:13.000000000 +0100
@@ -40,7 +40,7 @@
VALUE "FileDescription", "Assuan - GnuPG IPC\0"
VALUE "FileVersion", "@LIBASSUAN_LT_CURRENT@.@LIBASSUAN_LT_AGE@.@LIBASSUAN_LT_REVISION@.@BUILD_REVISION@\0"
VALUE "InternalName", "libassuan\0"
- VALUE "LegalCopyright", "Copyright © 2001-2015 g10 Code GmbH\0"
+ VALUE "LegalCopyright", "Copyright © 2001-2017 g10 Code GmbH\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "libassuan.dll\0"
VALUE "PrivateBuild", "\0"