[git] GPG-ERROR - branch, master, updated. libgpg-error-1.16-5-gd620005

by Daniel Kahn Gillmor cvs at cvs.gnupg.org
Wed Sep 24 15:15:21 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  d620005fd1a655d591fccb44639e22ea445e4554 (commit)
       via  efb2442458c8dd8d5af5a533dc09370b54f5f86f (commit)
      from  f227618e9e0d01e9dd1afbd91f9a509a532717eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d620005fd1a655d591fccb44639e22ea445e4554
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Tue Sep 23 18:34:32 2014 -0400

    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.)

diff --git a/NEWS b/NEWS
index 80975ad..e3c2097 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,9 @@
 Noteworthy changes in version 1.17 (unreleased) [C12/A12/R_]
 -----------------------------------------------
 
- * Add an errot source code for an TLS protocol library.
+ * New error source code for TLS protocol libraries.
+
+ * New configure option --enable-build-timestamp.
 
  * Interface changes relative to the 1.16 release:
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/configure.ac b/configure.ac
index b32b751..4652a2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -484,7 +484,17 @@ changequote([,])dnl
 BUILD_FILEVERSION="${BUILD_FILEVERSION}0,mym4_revision_dec"
 AC_SUBST(BUILD_FILEVERSION)
 
-BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`
+
+AC_ARG_ENABLE([build-timestamp],
+              AC_HELP_STRING([--enable-build-timestamp],
+                [set an explicit build timestamp for reproducibility.
+                 (default is the current time in ISO-8601 format)]),
+                [if test "$enableval" = "no"; then
+                    BUILD_TIMESTAMP="<none>"
+                 else
+                    BUILD_TIMESTAMP="$enableval"
+                 fi],
+        [BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`])
 AC_SUBST(BUILD_TIMESTAMP)
 AC_DEFINE_UNQUOTED(BUILD_TIMESTAMP, "$BUILD_TIMESTAMP",
                    [The time this package was configured for a build])

commit efb2442458c8dd8d5af5a533dc09370b54f5f86f
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Sep 18 16:00:34 2014 +0200

    Add new error source GPG_ERR_SOURCE_TLS.

diff --git a/NEWS b/NEWS
index 4f754a2..80975ad 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,12 @@
 Noteworthy changes in version 1.17 (unreleased) [C12/A12/R_]
 -----------------------------------------------
 
+ * Add an errot source code for an TLS protocol library.
+
+ * Interface changes relative to the 1.16 release:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ GPG_ERR_SOURCE_TLS           NEW.
+
 
 Noteworthy changes in version 1.16 (2014-09-18) [C12/A12/R2]
 -----------------------------------------------
diff --git a/src/err-sources.h.in b/src/err-sources.h.in
index 34c1817..9a06c8f 100644
--- a/src/err-sources.h.in
+++ b/src/err-sources.h.in
@@ -46,6 +46,8 @@
 14	GPG_ERR_SOURCE_G13		G13
 15	GPG_ERR_SOURCE_ASSUAN		Assuan
 
+17	GPG_ERR_SOURCE_TLS              TLS
+
 # 15 to 30 are free to be used.
 
 31	GPG_ERR_SOURCE_ANY		Any source

-----------------------------------------------------------------------

Summary of changes:
 NEWS                 |    8 ++++++++
 configure.ac         |   12 +++++++++++-
 src/err-sources.h.in |    2 ++
 3 files changed, 21 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list