Post release updates.

--
Add new lock-obj-pub for powerpc64el-unknown-linux-gnu.

* src/syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h: New.
* src/Makefile.am (lock_obj_pub): Add.

--

Here is a arch-specific lock-obj header file for little-endian 64-bit
powerpc.

Debian-bug-id: 762322
Add new lock-obj-pub for sparc64-unknown-linux-gnu.

* src/syscfg/lock-obj-pub.sparc64-unknown-linux-gnu.h: New.
* src/Makefile.am (lock_obj_pub): Add.

--

Helmut Grohne writes:

Julien Cristau pointed out that sparc porter machines run 64bit kernels
and can execute 64bit executables. So here we go. I crossed
gen-posix-lock-obj for sparc64, verified that it is indeed a 64bit
executable and attach its output.

Debian-bug-id: 762322
Add new error source GPG_ERR_SOURCE_TLS.
Allow ./configure to explicitly set libgpg-error's build timestamp

* configure.ac: add --enable-build-timestamp

--

A group within Debian is working on making the archive rebuildable in
a reproducible way, so that the compiled binary outputs are
byte-for-byte identical when built for the same platform using the
same toolchain.  This is useful in providing auditability and
corroboration for users of the operating system.

libgpg-error is very close to reproducible except for embedding the
build timestamp in the generated binary.  This timestamp is set in
config.h during ./configure.

This patch allows an external build system to set this embedded
timestamp explicitly, which appears to make the package build
repeatably when ./configure is called with (for example)
--enable=build-timestamp=2014-09-23T01:02+0000

Debian-bug-id: 762397

(Minor reformatting and NEWS entry by wk.)
Add DCO policy statement.

--

Which is:

  We do not collect DCOs for libgpg-error.  As a supporting library
  for GnuPG, Libgcrypt, and GPGME a DCO for any of these projects is
  sufficient.
Add error codes for use by a TLS library.
Update error reference.

--
GNU calls little-endian powerpc64 powerpc64le, not powerpc64el

* src/Makefile.am (lock_obj_pub): fix powerpc64el to powerpc64le
* src/sysconfig/lock-obj-pub.powerpc64el-unknown-linux-gnu.h : move to
  src/sysconfig/lock-obj-pub.powerpc64le-unknown-linux-gnu.h

--

33e5504fbb5e5e2ff44023c0a22dfb668ff8b10f created lock-obj-pub for
little-endian powerpc64, but misnamed the patch file as powerpc64el
instead of powerpc64le.  Sorry for the earlier mistake, this should
correct it.

See commentary from Helmut Grohne at https://bugs.debian.org/762322#34

Debian-bug-id: 762322
Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending.

* src/visibility.c (gpgrt_pending, gpgrt_pending_unlocked): New.
* src/estream.c (_gpgrt_pending, _gpgrt_pending_unlocked): New.
(check_pending): new.
(check_pending_fbf, check_pending_nbf): New.
(es_func_mem_read, es_func_fd_read, es_func_w32_read)
(es_func_fp_read, es_fill): Take care of the special 0 value for SIZE.
build: Support SYSROOT based config script finding.

* src/gpg-error.m4: Add support for SYSROOT and set
gpg_config_script_warn.  Use AC_PATH_PROG instead of AC_PATH_TOOL
because the config script is not expected to be installed with a
prefix for its name.
w32: Make it build again.

* src/estream.c (es_func_w32_read): Fix var name.
Change gpgrt_pending{,_unlocked} to macros.

* src/gpg-error.h.in (gpgrt_pending): Change to a macro.
(gpgrt_pending_unlocked): Change to a macro.
(_gpgrt_pending, _gpgrt_pending_unlocked): New private functions.
* src/visibility.c, src/visibility.h: Change accordingly.
* src/gpg-error.vers, src/gpg-error.def.in: Ditto.
* src/estream.c (_gpgrt_pending_unlocked): Rename to
_gpgrt__pending_unlocked.
(_gpgrt_pending): Rename to _gpgrt__pending.
--

The function are supposed to be used with gprt_getc and thus we need
to avoid the function call overhead.  We may want to change them to
inline functions, though.

gpgrt_pending is changed to a macro with the idea that we eventually
can export the samestream flags and thus avoid the function call
overhead in the samethread case too.
Fix to help building native on Windows.

* configure.ac (FORCE_USE_SYSCFG): New am_conditional.
* src/Makefile.am: Use new conditional to decide whether to build the
native lock object header.
--

This should help to build using msys2 and mingw.

GnuPG-bug-id: 1717
Signed-off-by: Werner Koch <wk@gnupg.org>
doc: Add a man page for gpg-error-config.

* doc/gpgrt.texi: New.  Just a start for now.
* doc/gpl.texi, doc/lgpl.texi: New.  Take from Libgcrypt.
* doc/yat2m.c: New.  Take from GnuPG master.
* doc/Makefile.am: New.
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
* Makefile.am (SUBDIRS): Add doc/.
* build-aux/mdate-sh, build-aux/texinfo.tex: New.

Signed-off-by: Werner Koch <wk@gnupg.org>
po: Auto-update

--
Release 1.17.

* configure.ac: Set LT version to C13/A13/R0.
Merge tag 'tags/libgpg-error-1.17'

Yet another more error codes release

# gpg: Signature made 16 Oct 2014 00:17:05 AEDT using RSA key ID 4F25E3B6
# gpg: Can't check signature: public key not found
Update VS projects for 1.17 update.