Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/TROUSERS]: src/crypto/external/cpl/tpm-tools/dist tpm-tools (1.3.9.1)
details: https://anonhg.NetBSD.org/src/rev/239bf669e2dc
branches: TROUSERS
changeset: 447323:239bf669e2dc
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.guess | 297 +-
crypto/external/cpl/tpm-tools/dist/config.h.in | 5 +-
crypto/external/cpl/tpm-tools/dist/config.sub | 142 +-
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/Makefile.am | 6 +-
crypto/external/cpl/tpm-tools/dist/lib/Makefile.in | 13 +-
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/Makefile.am | 2 +-
crypto/external/cpl/tpm-tools/dist/src/data_mgmt/Makefile.in | 9 +-
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_nvcommon.c | 4 +-
crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/tpm_nvdefine.c | 197 +-
crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/tpm_nvread.c | 1 +
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 +-
80 files changed, 11110 insertions(+), 8651 deletions(-)
diffs (truncated from 31247 to 300 lines):
diff -r fec1a14219a9 -r 239bf669e2dc 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 fec1a14219a9 -r 239bf669e2dc crypto/external/cpl/tpm-tools/dist/Makefile.in
--- a/crypto/external/cpl/tpm-tools/dist/Makefile.in Mon Jan 07 14:57:23 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 fec1a14219a9 -r 239bf669e2dc crypto/external/cpl/tpm-tools/dist/aclocal.m4
--- a/crypto/external/cpl/tpm-tools/dist/aclocal.m4 Mon Jan 07 14:57:23 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 fec1a14219a9 -r 239bf669e2dc 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 fec1a14219a9 -r 239bf669e2dc 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 fec1a14219a9 -r 239bf669e2dc crypto/external/cpl/tpm-tools/dist/config.guess
--- a/crypto/external/cpl/tpm-tools/dist/config.guess Mon Jan 07 14:57:23 2019 +0000
+++ b/crypto/external/cpl/tpm-tools/dist/config.guess Mon Jan 07 15:37:41 2019 +0000
@@ -1,10 +1,10 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-# 2011 Free Software Foundation, Inc.
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# Free Software Foundation, Inc.
-timestamp='2011-02-02'
+timestamp='2009-11-20'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -56,9 +56,8 @@
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
-Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -140,29 +139,6 @@
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
-case "${UNAME_SYSTEM}" in
-Linux|GNU/*)
- eval $set_cc_for_build
- cat <<-EOF > $dummy.c
- #include <features.h>
- #ifdef __UCLIBC__
- # ifdef __UCLIBC_CONFIG_VERSION__
- LIBC=uclibc __UCLIBC_CONFIG_VERSION__
- # else
- LIBC=uclibc
- # endif
- #else
- # ifdef __dietlibc__
- LIBC=dietlibc
- # else
- LIBC=gnu
- # endif
- #endif
Home |
Main Index |
Thread Index |
Old Index