Hello community, here is the log from the commit of package tpm2.0-tools for openSUSE:Factory checked in at 2017-03-12 20:02:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tpm2.0-tools (Old) and /work/SRC/openSUSE:Factory/.tpm2.0-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tpm2.0-tools" Sun Mar 12 20:02:38 2017 rev:3 rq:477412 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tpm2.0-tools/tpm2.0-tools.changes 2016-08-31 00:11:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tpm2.0-tools.new/tpm2.0-tools.changes 2017-03-12 20:02:40.848956948 +0100 @@ -1,0 +2,55 @@ +Mon Mar 6 16:23:15 UTC 2017 - meiss...@suse.com + +- buildrequire pkgconfig + +------------------------------------------------------------------- +Wed Mar 1 15:33:46 UTC 2017 - meiss...@suse.com + +- Updated to 1.1.0 / 016-11-04 (FATE#321509) + - Added + * travis ci support. + * Allow for unit tests to be enabled selectively. + * tpm2_rc_decode tool: Decode TPM_RC error codes. + * Android Make file + * tpm2_listpersistent: list all persistent objects + * test scripts for tpm2-tools + * tpm2_nvreadlock + * tpm2_getmanufec: retrieve EC from tpm manufacturer server. + * Copy 'common' and 'sample' code from the TPM2.0-TSS repo. + + - Modified + * tpm2_takeownership: update option -c to use lockout password to clear. + * tpm2_listpcrs: add options -L and -s, rewrite to increase performance. + * tpm2_quote: added -L option to support selection of multiple banks. + * tpm2_quote: add -q option to get qualifying data. + * configure: Use pkg-config to get info about libcurl and libcrypto. + * configure: Use pkg-config to locate SAPI and TCTI headers / libraries. + * tpm2_x: Add -X option to enable password input in Hex format. + * tpm2_nvdefine: Change -X option to -I. + * tpm2-nvwrite: fix for unable to write 1024B+ data. + * tpm2_getmanufec: Fix base64 encoding. + * tpm2_x: fixed a lot of TPM2B failures caused by wrong initialization. + * tpm2_getmanufec: let configure handle libs. + * tpm2_getmanufec: Convert from dos to unix format. + * build: Check for TSS2 library @ configure time. + * build: Detect required TSS2 and TCTI headers. + * build: Use libtool to build the common library + * build: Install all binaries into sbin. + * build: Build common sources into library. + * build: Move all source files to 'src'. + * Makefile.am: Move all build rules into single Makefile.am. + * everything: Use new TCTI headers and fixup API calls. + * everything: Update source to cope with sapi header cleanup. + * tpm2_activatecredential: Updated to support TCG compatible EK + * tpm2_getpubak: Updated to use TCG compatible EK + * tpm2_getpubek: fix ek creation to follow TCG EK profile spec. + + - Removed + * Windows related code + * depenedency on the TPM2.0-TSS repo source code + +- 1.0-alpha_0.zip: removed, use tpm2-0-tss directly. +- tpm2-install-binaries.patch: not needed anymore. +- fixes.patch: fixed random return build errors. + +------------------------------------------------------------------- Old: ---- 1.0-alpha_0.zip tpm2-install-binaries.patch v1.0.1.zip New: ---- fixes.patch v1.1.0.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tpm2.0-tools.spec ++++++ --- /var/tmp/diff_new_pack.LBMqjY/_old 2017-03-12 20:02:41.612848856 +0100 +++ /var/tmp/diff_new_pack.LBMqjY/_new 2017-03-12 20:02:41.616848291 +0100 @@ -1,7 +1,7 @@ # # spec file for package tpm2.0-tools # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,22 @@ Name: tpm2.0-tools -Version: 1.0.1 +Version: 1.1.0 Release: 0 Summary: Trusted Platform Module (TPM) 2.0 administration tools License: BSD-3-Clause Group: Productivity/Security -Url: http://trousers.sourceforge.net/ +Url: https://github.com/01org/tpm2.0-tools Source0: https://github.com/01org/tpm2.0-tools/archive/v%{version}.zip -# https://github.com/01org/TPM2.0-TSS ... -Source1: https://github.com/01org/TPM2.0-TSS/archive/1.0-alpha_0.zip -Patch0: tpm2-install-binaries.patch +Patch0: fixes.patch BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: gcc-c++ +BuildRequires: libcurl-devel +BuildRequires: libopenssl-devel BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: tpm2-0-tss-devel BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -45,19 +47,8 @@ %setup -q %patch0 -p1 -# embedded tss copy for now -unzip %{SOURCE1} -mv TPM2.0-TSS-1.0-alpha_0 tss - %build -cd tss bash ./bootstrap -CFLAGS="$RPM_OPT_FLAGS" ./configure -make %{?_smp_mflags} -cd .. -aclocal -autoconf -automake --add-missing %configure --disable-static make %{?_smp_mflags} ++++++ fixes.patch ++++++ Index: tpm2.0-tools-1.1.0/src/tpm2_listpcrs.cpp =================================================================== --- tpm2.0-tools-1.1.0.orig/src/tpm2_listpcrs.cpp +++ tpm2.0-tools-1.1.0/src/tpm2_listpcrs.cpp @@ -159,7 +159,7 @@ int readPcrValues() return 0; } -int preparePcrSelections_g(TPMI_ALG_HASH algId) +void preparePcrSelections_g(TPMI_ALG_HASH algId) { UINT32 pcrId = 0; Index: tpm2.0-tools-1.1.0/src/tpm2_rc_decode.c =================================================================== --- tpm2.0-tools-1.1.0.orig/src/tpm2_rc_decode.c +++ tpm2.0-tools-1.1.0/src/tpm2_rc_decode.c @@ -246,6 +246,7 @@ print_tpm_rc_tpm_error_code (TPM_RC rc) fprintf (stderr, "Unknown TPM_RC format\n"); return -1; } + return 0; } /* Top level function to dump human readable data about TPM_RCs. */