Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/cpl/tpm-tools/dist tpm-tools (1.3.9.1)



details:   https://anonhg.NetBSD.org/src/rev/b1842a997590
branches:  trunk
changeset: 447312:b1842a997590
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 07 15:37:41 2019 +0000

description:
tpm-tools (1.3.9.1)

    - Builds with openssl 1.1.0
    - Align code properly so gcc-6 does not complain
    - update symbol file.
    - drop 02-cflags-errors-unused.patch, -Werror is gone.
    - update 03-fix-bool-error-parseStringWithValues.patch, different fix
      upstream, does not look right.

tpm-tools (1.3.8.2)

  * Add patch 03 to fix FTBFS with gcc-5
  * Merge patch 04 to fix FTBFS with clang
    Thanks to Alexander <email address hidden> for the patch.
  * Bump Standards Version to 3.9.6

diffstat:

 crypto/external/cpl/tpm-tools/dist/.gitignore                   |    71 +
 crypto/external/cpl/tpm-tools/dist/Makefile.in                  |    13 +-
 crypto/external/cpl/tpm-tools/dist/aclocal.m4                   |     4 +-
 crypto/external/cpl/tpm-tools/dist/bootstrap.sh                 |    34 +
 crypto/external/cpl/tpm-tools/dist/cleanup.sh                   |    45 +
 crypto/external/cpl/tpm-tools/dist/config.h.in                  |     5 +-
 crypto/external/cpl/tpm-tools/dist/configure                    |  9091 +++++----
 crypto/external/cpl/tpm-tools/dist/configure.ac                 |   160 +
 crypto/external/cpl/tpm-tools/dist/dist/tpm-tools-nopkcs11.spec |    71 +
 crypto/external/cpl/tpm-tools/dist/include/Makefile.am          |     2 +-
 crypto/external/cpl/tpm-tools/dist/include/Makefile.in          |     9 +-
 crypto/external/cpl/tpm-tools/dist/include/tpm_utils.h          |     8 +
 crypto/external/cpl/tpm-tools/dist/lib/tpm_pkcs11.c             |    12 +-
 crypto/external/cpl/tpm-tools/dist/lib/tpm_tspi.c               |    38 +-
 crypto/external/cpl/tpm-tools/dist/lib/tpm_unseal.c             |    25 +-
 crypto/external/cpl/tpm-tools/dist/lib/tpm_utils.c              |    12 +-
 crypto/external/cpl/tpm-tools/dist/ltmain.sh                    |  4010 +--
 crypto/external/cpl/tpm-tools/dist/m4/Makefile.in               |     7 +-
 crypto/external/cpl/tpm-tools/dist/m4/codeset.m4                |    21 +
 crypto/external/cpl/tpm-tools/dist/m4/glibc2.m4                 |    30 +
 crypto/external/cpl/tpm-tools/dist/m4/glibc21.m4                |    30 +
 crypto/external/cpl/tpm-tools/dist/m4/intdiv0.m4                |    70 +
 crypto/external/cpl/tpm-tools/dist/m4/intmax.m4                 |    30 +
 crypto/external/cpl/tpm-tools/dist/m4/inttypes-h.m4             |    25 +
 crypto/external/cpl/tpm-tools/dist/m4/inttypes-pri.m4           |    30 +
 crypto/external/cpl/tpm-tools/dist/m4/inttypes_h.m4             |    26 +
 crypto/external/cpl/tpm-tools/dist/m4/lcmessage.m4              |    30 +
 crypto/external/cpl/tpm-tools/dist/m4/libtool.m4                |  2066 +-
 crypto/external/cpl/tpm-tools/dist/m4/lock.m4                   |   289 +
 crypto/external/cpl/tpm-tools/dist/m4/longdouble.m4             |    31 +
 crypto/external/cpl/tpm-tools/dist/m4/longlong.m4               |    23 +
 crypto/external/cpl/tpm-tools/dist/m4/ltoptions.m4              |    13 +-
 crypto/external/cpl/tpm-tools/dist/m4/ltversion.m4              |    12 +-
 crypto/external/cpl/tpm-tools/dist/m4/lt~obsolete.m4            |    12 +-
 crypto/external/cpl/tpm-tools/dist/m4/printf-posix.m4           |    44 +
 crypto/external/cpl/tpm-tools/dist/m4/signed.m4                 |    17 +
 crypto/external/cpl/tpm-tools/dist/m4/size_max.m4               |    60 +
 crypto/external/cpl/tpm-tools/dist/m4/stdint_h.m4               |    26 +
 crypto/external/cpl/tpm-tools/dist/m4/uintmax_t.m4              |    30 +
 crypto/external/cpl/tpm-tools/dist/m4/ulonglong.m4              |    23 +
 crypto/external/cpl/tpm-tools/dist/m4/visibility.m4             |    52 +
 crypto/external/cpl/tpm-tools/dist/m4/wchar_t.m4                |    20 +
 crypto/external/cpl/tpm-tools/dist/m4/wint_t.m4                 |    20 +
 crypto/external/cpl/tpm-tools/dist/m4/xsize.m4                  |    13 +
 crypto/external/cpl/tpm-tools/dist/man/Makefile.in              |     7 +-
 crypto/external/cpl/tpm-tools/dist/man/man1/Makefile.in         |     7 +-
 crypto/external/cpl/tpm-tools/dist/man/man3/Makefile.in         |     7 +-
 crypto/external/cpl/tpm-tools/dist/man/man8/Makefile.in         |     7 +-
 crypto/external/cpl/tpm-tools/dist/man/man8/tpm_nvdefine.pod    |   145 +
 crypto/external/cpl/tpm-tools/dist/man/man8/tpm_nvinfo.pod      |    49 +
 crypto/external/cpl/tpm-tools/dist/man/man8/tpm_nvread.pod      |    84 +
 crypto/external/cpl/tpm-tools/dist/man/man8/tpm_nvrelease.pod   |    65 +
 crypto/external/cpl/tpm-tools/dist/man/man8/tpm_nvwrite.pod     |    91 +
 crypto/external/cpl/tpm-tools/dist/po/Makevars.template         |    41 +
 crypto/external/cpl/tpm-tools/dist/po/tpm-tools.pot             |   584 +-
 crypto/external/cpl/tpm-tools/dist/po_/LINGUAS                  |    24 +
 crypto/external/cpl/tpm-tools/dist/po_/Makevars                 |    64 +
 crypto/external/cpl/tpm-tools/dist/po_/POTFILES.in              |    65 +
 crypto/external/cpl/tpm-tools/dist/po_/tpm-tools.pot            |  1000 +
 crypto/external/cpl/tpm-tools/dist/src/Makefile.in              |     7 +-
 crypto/external/cpl/tpm-tools/dist/src/cmds/Makefile.am         |     2 +-
 crypto/external/cpl/tpm-tools/dist/src/cmds/Makefile.in         |     9 +-
 crypto/external/cpl/tpm-tools/dist/src/cmds/tpm_sealdata.c      |     8 +-
 crypto/external/cpl/tpm-tools/dist/src/data_mgmt/data_common.h  |     1 +
 crypto/external/cpl/tpm-tools/dist/src/data_mgmt/data_protect.c |    16 +-
 crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/Makefile.am     |     2 +-
 crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/Makefile.in     |     9 +-
 crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/tpm_createek.c  |     2 +-
 crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/tpm_nvdefine.c  |   197 +-
 crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/tpm_nvwrite.c   |     2 +-
 crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/tpm_present.c   |     8 +-
 crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/tpm_version.c   |   124 +-
 72 files changed, 10914 insertions(+), 8373 deletions(-)

diffs (truncated from 30102 to 300 lines):

diff -r ed685def0f62 -r b1842a997590 crypto/external/cpl/tpm-tools/dist/.gitignore
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/cpl/tpm-tools/dist/.gitignore     Mon Jan 07 15:37:41 2019 +0000
@@ -0,0 +1,71 @@
+*~
+*.o
+*.lo
+Makefile
+Makefile.in
+*.3
+*.8
+ABOUT-NLS
+aclocal.m4
+autom4te.cache
+config.guess
+config.h.in
+config.rpath
+config.sub
+configure
+cscope.out
+depcomp
+install-sh
+ltmain.sh
+m4
+missing
+po
+
+config.h
+config.log
+config.status
+dist/tpm-tools.spec
+lib/.deps/
+lib/.libs/
+lib/libtpm_pkcs11.la
+lib/libtpm_tspi.la
+lib/libtpm_unseal.la
+lib/libtpm_utils.la
+libtool
+src/cmds/.deps/
+src/cmds/.libs/
+src/cmds/tpm_sealdata
+src/cmds/tpm_unsealdata
+src/data_mgmt/.deps/
+src/data_mgmt/tpmtoken_import
+src/data_mgmt/tpmtoken_init
+src/data_mgmt/tpmtoken_objects
+src/data_mgmt/tpmtoken_protect
+src/data_mgmt/tpmtoken_setpasswd
+src/tpm_mgmt/.deps/
+src/tpm_mgmt/tpm_changeownerauth
+src/tpm_mgmt/tpm_clear
+src/tpm_mgmt/tpm_createek
+src/tpm_mgmt/tpm_getpubek
+src/tpm_mgmt/tpm_nvdefine
+src/tpm_mgmt/tpm_nvinfo
+src/tpm_mgmt/tpm_nvread
+src/tpm_mgmt/tpm_nvrelease
+src/tpm_mgmt/tpm_nvwrite
+src/tpm_mgmt/tpm_reset
+src/tpm_mgmt/tpm_resetdalock
+src/tpm_mgmt/tpm_restrictpubek
+src/tpm_mgmt/tpm_restrictsrk
+src/tpm_mgmt/tpm_revokeek
+src/tpm_mgmt/tpm_selftest
+src/tpm_mgmt/tpm_setactive
+src/tpm_mgmt/tpm_setclearable
+src/tpm_mgmt/tpm_setenable
+src/tpm_mgmt/tpm_setoperatorauth
+src/tpm_mgmt/tpm_setownable
+src/tpm_mgmt/tpm_setpresence
+src/tpm_mgmt/tpm_startup
+src/tpm_mgmt/tpm_takeownership
+src/tpm_mgmt/tpm_version
+stamp-h1
+added
diff -r ed685def0f62 -r b1842a997590 crypto/external/cpl/tpm-tools/dist/Makefile.in
--- a/crypto/external/cpl/tpm-tools/dist/Makefile.in    Mon Jan 07 15:18:03 2019 +0000
+++ b/crypto/external/cpl/tpm-tools/dist/Makefile.in    Mon Jan 07 15:37:41 2019 +0000
@@ -71,7 +71,7 @@
        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
-       $(top_srcdir)/configure.in
+       $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -149,7 +149,6 @@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
 DSYMUTIL = @DSYMUTIL@
 DUMPBIN = @DUMPBIN@
 ECHO = @ECHO@
@@ -182,7 +181,6 @@
 LTLIBINTL = @LTLIBINTL@
 LTLIBOBJS = @LTLIBOBJS@
 MAKEINFO = @MAKEINFO@
-MANIFEST_TOOL = @MANIFEST_TOOL@
 MKDIR = @MKDIR@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
@@ -200,7 +198,6 @@
 PACKAGE_NAME = @PACKAGE_NAME@
 PACKAGE_STRING = @PACKAGE_STRING@
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 POSUB = @POSUB@
@@ -218,7 +215,6 @@
 abs_srcdir = @abs_srcdir@
 abs_top_builddir = @abs_top_builddir@
 abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
 am__include = @am__include@
@@ -251,6 +247,7 @@
 libexecdir = @libexecdir@
 localedir = @localedir@
 localstatedir = @localstatedir@
+lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
@@ -295,9 +292,9 @@
              exit 1;; \
          esac; \
        done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ./Makefile'; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
        $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign ./Makefile
+         $(AUTOMAKE) --foreign Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
        @case '$?' in \
@@ -601,7 +598,7 @@
        *.zip*) \
          unzip $(distdir).zip ;;\
        esac
-       chmod -R a-w $(distdir); chmod a+w $(distdir)
+       chmod -R a-w $(distdir); chmod u+w $(distdir)
        mkdir $(distdir)/_build
        mkdir $(distdir)/_inst
        chmod a-w $(distdir)
diff -r ed685def0f62 -r b1842a997590 crypto/external/cpl/tpm-tools/dist/aclocal.m4
--- a/crypto/external/cpl/tpm-tools/dist/aclocal.m4     Mon Jan 07 15:18:03 2019 +0000
+++ b/crypto/external/cpl/tpm-tools/dist/aclocal.m4     Mon Jan 07 15:37:41 2019 +0000
@@ -13,8 +13,8 @@
 
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
-[m4_warning([this file was generated for autoconf 2.68.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
+[m4_warning([this file was generated for autoconf 2.63.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
diff -r ed685def0f62 -r b1842a997590 crypto/external/cpl/tpm-tools/dist/bootstrap.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/cpl/tpm-tools/dist/bootstrap.sh   Mon Jan 07 15:37:41 2019 +0000
@@ -0,0 +1,34 @@
+#! /bin/sh
+#
+#      The Initial Developer of the Original Code is International
+#      Business Machines Corporation. Portions created by IBM
+#      Corporation are Copyright (C) 2005 International Business
+#      Machines Corporation. All Rights Reserved.
+#
+#      This program is free software; you can redistribute it and/or modify
+#      it under the terms of the Common Public License as published by
+#      IBM Corporation; either version 1 of the License, or (at your option)
+#      any later version.
+#
+#      This program is distributed in the hope that it will be useful,
+#      but WITHOUT ANY WARRANTY; without even the implied warranty of
+#      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#      Common Public License for more details.
+#
+#      You should have received a copy of the Common Public License
+#      along with this program; if not, a copy can be viewed at
+#      http://www.opensource.org/licenses/cpl1.0.php.
+#
+# bootstrap.sh
+#
+
+set -x
+
+#
+# gettextize support
+mkdir -p po
+mkdir -p m4
+cp -R po_/* po/
+touch po/Makefile.in.in
+touch m4/Makefile.am
+autoreconf -fv --install
diff -r ed685def0f62 -r b1842a997590 crypto/external/cpl/tpm-tools/dist/cleanup.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/cpl/tpm-tools/dist/cleanup.sh     Mon Jan 07 15:37:41 2019 +0000
@@ -0,0 +1,45 @@
+#! /bin/sh
+#
+#       The Initial Developer of the Original Code is International
+#       Business Machines Corporation. Portions created by IBM
+#       Corporation are Copyright (C) 2005 International Business
+#       Machines Corporation. All Rights Reserved.
+#
+#       This program is free software; you can redistribute it and/or modify
+#       it under the terms of the Common Public License as published by
+#       IBM Corporation; either version 1 of the License, or (at your option)
+#       any later version.
+#
+#       This program is distributed in the hope that it will be useful,
+#       but WITHOUT ANY WARRANTY; without even the implied warranty of
+#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#       Common Public License for more details.
+#
+#       You should have received a copy of the Common Public License
+#       along with this program; if not, a copy can be viewed at
+#       http://www.opensource.org/licenses/cpl1.0.php.
+#
+# cleanup.sh
+
+set -x
+if [ -f Makefile ] ; then
+       make -k clean
+fi
+rm ABOUT-NLS
+rm config.rpath
+rm mkinstalldirs
+rm -rf m4/
+rm -rf po/
+rm aclocal.m4
+rm -rf autom4te.cache
+rm compile
+rm config.*
+rm configure
+rm depcomp
+rm install-sh
+rm ltmain.sh
+rm missing
+rm libtool
+find . -name Makefile -exec rm {} \;
+find . -name Makefile.in -exec rm {} \;
+find . -depth -name .deps -exec  rm -rf {} \;
diff -r ed685def0f62 -r b1842a997590 crypto/external/cpl/tpm-tools/dist/config.h.in
--- a/crypto/external/cpl/tpm-tools/dist/config.h.in    Mon Jan 07 15:18:03 2019 +0000
+++ b/crypto/external/cpl/tpm-tools/dist/config.h.in    Mon Jan 07 15:37:41 2019 +0000
@@ -1,4 +1,4 @@
-/* config.h.in.  Generated from configure.in by autoheader.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
 
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
@@ -74,9 +74,6 @@
 /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME
 
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
diff -r ed685def0f62 -r b1842a997590 crypto/external/cpl/tpm-tools/dist/configure
--- a/crypto/external/cpl/tpm-tools/dist/configure      Mon Jan 07 15:18:03 2019 +0000
+++ b/crypto/external/cpl/tpm-tools/dist/configure      Mon Jan 07 15:37:41 2019 +0000
@@ -1,24 +1,20 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for tpm-tools 1.3.7.
+# Generated by GNU Autoconf 2.63 for tpm-tools 1.3.9.
 #
 # Report bugs to <trousers-tech%lists.sf.net@localhost>.
 #
-#
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
+## --------------------- ##
+## M4sh Initialization.  ##
+## --------------------- ##
 
 # Be more Bourne compatible
 DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh



Home | Main Index | Thread Index | Old Index