[git] GCRYPT - branch, master, updated. libgcrypt-1.5.0-89-g6782b2d

by Werner Koch cvs at cvs.gnupg.org
Thu Mar 7 14:35:45 CET 2013


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 crypto library".

The branch, master has been updated
       via  6782b2d7817c449fb2cf122cacd792b594f89d7c (commit)
       via  c620099e4ab2f35e0196b395a805bb655c984ac2 (commit)
      from  70dcac663de06b012417015c175973d64e6980df (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 6782b2d7817c449fb2cf122cacd792b594f89d7c
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Mar 7 14:15:12 2013 +0100

    Add Christian to the list of authors.
    
    --

diff --git a/AUTHORS b/AUTHORS
index a2c36da..b1bad22 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -112,6 +112,7 @@ DCO:2012-04-20:Rafaël Carré <funman at videolan.org>
 DCO:2012-11-14:Jussi Kivilinna <jussi.kivilinna at mbnet.fi>
 DCO:2012-12-05:Werner Koch <wk at gnupg.org>
 DCO:2012-12-14:Dmitry Kasatkin <dmitry.kasatkin at intel.com>
+DCO:2013-02-26:Christian Aistleitner <christian at quelltextlich.at>
 
 
 More credits

commit c620099e4ab2f35e0196b395a805bb655c984ac2
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Mar 7 14:13:33 2013 +0100

    Pretty print the configure feedback.
    
    * acinclude.m4 (GNUPG_MSG_PRINT): Remove.
    (GCRY_MSG_SHOW, GCRY_MSG_WRAP): New.
    * configure.ac: Use new macros for the feedback.

diff --git a/acinclude.m4 b/acinclude.m4
index e69291a..fdb2d17 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1,6 +1,7 @@
 dnl macros to configure Libgcrypt
 dnl Copyright (C) 1998, 1999, 2000, 2001, 2002,
 dnl               2003 Free Software Foundation, Inc.
+dnl Copyright (C) 2013 g10 Code GmbH
 dnl
 dnl This file is part of Libgcrypt.
 dnl
@@ -18,13 +19,43 @@ dnl You should have received a copy of the GNU Lesser General Public
 dnl License along with this program; if not, write to the Free Software
 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
-dnl GNUPG_MSG_PRINT(STRING)
-dnl print a message
+dnl GCRY_MSG_SHOW(PREFIX,STRING)
+dnl Print a message with a prefix.
 dnl
-define([GNUPG_MSG_PRINT],
-  [ echo $ac_n "$1"" $ac_c" 1>&AS_MESSAGE_FD([])
+define([GCRY_MSG_SHOW],
+  [
+     echo "        $1 $2" 1>&AS_MESSAGE_FD([])
+  ])
+
+dnl GCRY_MSG_WRAP(PREFIX, ALGOLIST)
+dnl Print a nicely formatted list of algorithms
+dnl with an approriate line wrap.
+dnl
+define([GCRY_MSG_WRAP],
+  [
+    tmp="        $1"
+    tmpi="abc"
+    if test "${#tmpi}" -ne 3 >/dev/null 2>&1 ; then
+      dnl Without a POSIX shell, we don't botter to wrap it
+      echo "$tmp $2" 1>&AS_MESSAGE_FD([])
+    else
+      tmpi=`echo "$tmp"| sed 's/./ /g'`
+      echo $2 EOF | tr ' ' '\n' | \
+        while read word; do
+          if test "${#tmp}" -gt 70 ; then
+            echo "$tmp" 1>&AS_MESSAGE_FD([])
+            tmp="$tmpi"
+          fi
+          if test "$word" = "EOF" ; then
+            echo "$tmp" 1>&AS_MESSAGE_FD([])
+          else
+            tmp="$tmp $word"
+          fi
+        done
+    fi
   ])
 
+
 dnl GNUPG_CHECK_TYPEDEF(TYPE, HAVE_NAME)
 dnl Check whether a typedef exists and create a #define $2 if it exists
 dnl
diff --git a/configure.ac b/configure.ac
index 1f057f7..7afd83d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1380,21 +1380,21 @@ detection_module="${GCRYPT_HWF_MODULES%.lo}"
 test -n "$detection_module" || detection_module="none"
 
 # Give some feedback
-echo "
-        Libgcrypt v${VERSION} has been configured as follows:
-
-        Platform:                  $PRINTABLE_OS_NAME ($host)
-        Hardware detection module: $detection_module
-        Enabled cipher algorithms: $enabled_ciphers
-        Enabled digest algorithms: $enabled_digests
-        Enabled pubkey algorithms: $enabled_pubkey_ciphers
-        Random number generator:   $random
-        Using linux capabilities:  $use_capabilities
-        Try using Padlock crypto:  $padlocksupport
-        Try using AES-NI crypto:   $aesnisupport
-        Try using DRNG (RDRAND):   $drngsupport
-        Try using Intel AVX:       $avxsupport
-"
+GCRY_MSG_SHOW([],[])
+GCRY_MSG_SHOW([Libgcrypt],[v${VERSION} has been configured as follows:])
+GCRY_MSG_SHOW([],[])
+GCRY_MSG_SHOW([Platform:                 ],[$PRINTABLE_OS_NAME ($host)])
+GCRY_MSG_SHOW([Hardware detection module:],[$detection_module])
+GCRY_MSG_WRAP([Enabled cipher algorithms:],[$enabled_ciphers])
+GCRY_MSG_WRAP([Enabled digest algorithms:],[$enabled_digests])
+GCRY_MSG_WRAP([Enabled pubkey algorithms:],[$enabled_pubkey_ciphers])
+GCRY_MSG_SHOW([Random number generator:  ],[$random])
+GCRY_MSG_SHOW([Using linux capabilities: ],[$use_capabilities])
+GCRY_MSG_SHOW([Try using Padlock crypto: ],[$padlocksupport])
+GCRY_MSG_SHOW([Try using AES-NI crypto:  ],[$aesnisupport])
+GCRY_MSG_SHOW([Try using DRNG (RDRAND):  ],[$drngsupport])
+GCRY_MSG_SHOW([Try using Intel AVX:      ],[$avxsupport])
+GCRY_MSG_SHOW([],[])
 
 if test "$print_egd_notice" = "yes"; then
 cat <<G10EOF

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

Summary of changes:
 AUTHORS      |    1 +
 acinclude.m4 |   39 +++++++++++++++++++++++++++++++++++----
 configure.ac |   30 +++++++++++++++---------------
 3 files changed, 51 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list