[git] GnuPG - branch, master, updated. gnupg-2.1.7-51-g9d07f69

by Werner Koch cvs at cvs.gnupg.org
Tue Aug 25 21:14:32 CEST 2015


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 "The GNU Privacy Guard".

The branch, master has been updated
       via  9d07f6930aaa40dce92104e8c99241713d92eed2 (commit)
      from  51b9b8fba4ee326013c2cc911c70cde4c5f81fc7 (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 9d07f6930aaa40dce92104e8c99241713d92eed2
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Aug 25 21:08:27 2015 +0200

    Add configure option --enable-build-timestamp.
    
    * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default.
    --
    
    This is based on
    libgpg-error commit d620005fd1a655d591fccb44639e22ea445e4554
    but changed to be disabled by default.  Check there for some
    background.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/configure.ac b/configure.ac
index 1d0ae65..680d0b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1636,7 +1636,16 @@ BUILD_FILEVERSION=`echo "${BUILD_VERSION}" | tr . ,`
 AC_SUBST(BUILD_VERSION)
 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" = "yes"; then
+        BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`
+      else
+        BUILD_TIMESTAMP="$enableval"
+      fi],
+     [BUILD_TIMESTAMP="<none>"])
 AC_SUBST(BUILD_TIMESTAMP)
 AC_DEFINE_UNQUOTED(BUILD_TIMESTAMP, "$BUILD_TIMESTAMP",
                    [The time this package was configured for a build])

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

Summary of changes:
 configure.ac | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list