[git] NTBTLS - branch, master, updated. 8d98665dc2a1d7876f9841d4788c4ea4c710270b

by Werner Koch cvs at cvs.gnupg.org
Tue Feb 21 20:21:51 CET 2017


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 "Not Too Bad TLS".

The branch, master has been updated
       via  8d98665dc2a1d7876f9841d4788c4ea4c710270b (commit)
       via  50ad7a2206bac7682195e8285af96e0d790891b3 (commit)
      from  d7a441e28bd0962030d4bb00f626f56d46315a78 (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 8d98665dc2a1d7876f9841d4788c4ea4c710270b
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Feb 21 20:17:58 2017 +0100

    Post release updates.
    
    --

diff --git a/NEWS b/NEWS
index ac70e1c..4786e9a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+Noteworthy changes in version 0.1.1 (unreleased) [C0/A0/R_]
+------------------------------------------------
+
+
 Noteworthy changes in version 0.1.0 (2017-02-21) [C0/A0/R0]
 ------------------------------------------------
 
diff --git a/configure.ac b/configure.ac
index 7fe9e1c..9edb53f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@
 
 # Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.61)
-min_automake_version="1.11"
+min_automake_version="1.14"
 
 # To build a release you need to create a tag with the version number
 # (git tag -s gnupg-2.n.m) and run "./autogen.sh --force".  Please
@@ -27,7 +27,7 @@ min_automake_version="1.11"
 m4_define([mym4_package],[ntbtls])
 m4_define([mym4_major], [0])
 m4_define([mym4_minor], [1])
-m4_define([mym4_micro], [0])
+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
@@ -78,8 +78,6 @@ VERSION=$PACKAGE_VERSION
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_SRCDIR([src/ntbtls.h.in])
 AC_CONFIG_HEADER([config.h])
-# Note: For automake 1.13 add the option
-#          serial-tests
 AM_INIT_AUTOMAKE([serial-tests dist-bzip2 no-dist-gzip])
 AC_CANONICAL_HOST
 AC_GNU_SOURCE

commit 50ad7a2206bac7682195e8285af96e0d790891b3
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Feb 21 19:55:58 2017 +0100

    Release 0.1.0
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/Makefile.am b/Makefile.am
index eb0692c..21fa90b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,7 +19,6 @@
 ## Process this file with automake to produce Makefile.in
 
 ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = dist-bzip2
 DISTCHECK_CONFIGURE_FLAGS =
 
 # (A suitable gitlog-to-changelog script can be found in GnuPG master.)
@@ -33,6 +32,22 @@ EXTRA_DIST = autogen.sh autogen.rc README.GIT VERSION 	               \
 
 DISTCLEANFILES =
 
+dist-hook: gen-ChangeLog
+
+distcheck-hook:
+	set -e; ( \
+	pref="#+macro: ntbtls_" ;\
+	reldate="$$(date -u +%Y-%m-%d)" ;\
+        echo "$${pref}ver  $(PACKAGE_VERSION)"  ;\
+        echo "$${pref}date $${reldate}" ;\
+        list='$(DIST_ARCHIVES)'; for i in $$list; do \
+	  case "$$i" in *.tar.bz2) \
+            echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
+	    echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
+	    echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
+	  esac;\
+	done ) | tee $(distdir).swdb
+
 
 .PHONY: gen-ChangeLog
 gen-ChangeLog:
diff --git a/NEWS b/NEWS
index f760120..ac70e1c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Noteworthy changes in version 0.1.0 (unreleased) [C0/A0/R0]
+Noteworthy changes in version 0.1.0 (2017-02-21) [C0/A0/R0]
 ------------------------------------------------
 
  * Initial experimental release with only the client code.
diff --git a/README b/README
index 9c4f706..45fd7be 100644
--- a/README
+++ b/README
@@ -2,5 +2,10 @@
                  Not Too Bad Transport Layer Security
                             Version 0.1
 
+  WARNING: Although this library is based on PolarSSL code it is
+  pretty young and NOT WELL TESTED.  There are lot of things missing
+  and we release it only to get pratical experience with its use.
+  More releases can be expected in the near future.
+
 See the file AUTHORS for copying conditions.  See HACKING for
 internals.
diff --git a/configure.ac b/configure.ac
index cfd8905..7fe9e1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,7 +80,7 @@ AC_CONFIG_SRCDIR([src/ntbtls.h.in])
 AC_CONFIG_HEADER([config.h])
 # Note: For automake 1.13 add the option
 #          serial-tests
-AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
+AM_INIT_AUTOMAKE([serial-tests dist-bzip2 no-dist-gzip])
 AC_CANONICAL_HOST
 AC_GNU_SOURCE
 
diff --git a/src/ntbtls.h.in b/src/ntbtls.h.in
index 6262cfb..899e8b2 100644
--- a/src/ntbtls.h.in
+++ b/src/ntbtls.h.in
@@ -1,5 +1,5 @@
 /* ntbtls.h -  Not Too Bad TLS                                  -*- c -*-
- * Copyright (C) 2014, 2017 g10 Code GmbH
+ * Copyright (C) 2014-2017 g10 Code GmbH
  *
  * This file is part of NTBTLS
  *
@@ -32,15 +32,21 @@ extern "C" {
 #endif
 #endif
 
-/* The version of this header should match the one of the library. It
-   should not be used by a program because ntbtls_check_version()
-   should return the same version.  The purpose of this macro is to
-   let autoconf (using the AM_PATH_NTBTLS macro) check that this
-   header matches the installed library.  */
+/*
+ * The version of this header file.
+ *
+ * A program should better the fucntion ntbtls_check_version() which
+ * will return the actual version of the library.  The sole purpose of
+ * this macro is to let autoconf (using the AM_PATH_NTBTLS macro)
+ * check that this header matches the installed library.
+ */
 #define NTBTLS_VERSION "@VERSION@"
 
-/* The version number of this header.  It may be used to handle minor
-   API incompatibilities.  */
+/*
+ * The version number of this header.
+ *
+ * It may be used to handle minor API incompatibilities.
+*/
 #define NTBTLS_VERSION_NUMBER @VERSION_NUMBER@
 
 
@@ -54,12 +60,14 @@ extern "C" {
 struct _ntbtls_context_s;
 typedef struct _ntbtls_context_s *ntbtls_t;
 
+
 /*
- * The type of the verification callback.  This must be registered
- * prior to the handshake and will be called by ntbltls when a peer's
- * certificate needs to be verified.  OPAQUE is the vale set when the
- * callback has been set.  TLS is the respective TLS context.
- * VERIFY_FLAGS are not yet defined flags.
+ * The type of the verification callback.
+ *
+ * This must be registered prior to the handshake and will be called
+ * by ntbltls when a peer's certificate needs to be verified.  OPAQUE
+ * is the vale set when the callback has been set.  TLS is the
+ * respective TLS context.  VERIFY_FLAGS are not yet defined flags.
  */
 typedef gpg_error_t (*ntbtls_verify_cb_t) (void *opaque,
                                            ntbtls_t tls,

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

Summary of changes:
 Makefile.am     | 17 ++++++++++++++++-
 NEWS            |  6 +++++-
 README          |  5 +++++
 configure.ac    |  8 +++-----
 src/ntbtls.h.in | 34 +++++++++++++++++++++-------------
 5 files changed, 50 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
Not Too Bad TLS
http://git.gnupg.org




More information about the Gnupg-commits mailing list