From d34e8168e294b932130c6fa2c2a9c98ec155af19c99e1af74b6d11b45a6fa8af Mon Sep 17 00:00:00 2001 From: Matthias Gerstner Date: Wed, 10 May 2017 11:58:47 +0000 Subject: [PATCH] - Major update to 2.0.0 - dropped fixes.patch, now part of the upstream version - a set of man pages have been added to the package - Upstream changes: * Tracked on the milestone: https://github.com/01org/tpm2.0-tools/milestone/2 * Reworked all the tools to support configurable TCTIs, based on build time configuration, one can specify the tcti via the --tcti (-T) option to all tools. * tpm2_getrandom interface made -s a positional argument. * Numerous bug fixes. OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-tools?expand=0&rev=15 --- fixes.patch | 25 ------------------------- tpm2.0-tools.changes | 14 ++++++++++++++ tpm2.0-tools.spec | 5 ++--- v1.1.0.zip | 3 --- v2.0.0.zip | 3 +++ 5 files changed, 19 insertions(+), 31 deletions(-) delete mode 100644 fixes.patch delete mode 100644 v1.1.0.zip create mode 100644 v2.0.0.zip diff --git a/fixes.patch b/fixes.patch deleted file mode 100644 index 5523412..0000000 --- a/fixes.patch +++ /dev/null @@ -1,25 +0,0 @@ -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. - */ diff --git a/tpm2.0-tools.changes b/tpm2.0-tools.changes index c309c91..b955d8f 100644 --- a/tpm2.0-tools.changes +++ b/tpm2.0-tools.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed May 10 11:52:40 UTC 2017 - matthias.gerstner@suse.com + +- Major update to 2.0.0 + - dropped fixes.patch, now part of the upstream version + - a set of man pages have been added to the package + - Upstream changes: + * Tracked on the milestone: https://github.com/01org/tpm2.0-tools/milestone/2 + * Reworked all the tools to support configurable TCTIs, based on build time + configuration, one can specify the tcti via the --tcti (-T) option to all + tools. + * tpm2_getrandom interface made -s a positional argument. + * Numerous bug fixes. + ------------------------------------------------------------------- Mon Mar 6 16:23:15 UTC 2017 - meissner@suse.com diff --git a/tpm2.0-tools.spec b/tpm2.0-tools.spec index 54269f9..0387ac9 100644 --- a/tpm2.0-tools.spec +++ b/tpm2.0-tools.spec @@ -17,14 +17,13 @@ Name: tpm2.0-tools -Version: 1.1.0 +Version: 2.0.0 Release: 0 Summary: Trusted Platform Module (TPM) 2.0 administration tools License: BSD-3-Clause Group: Productivity/Security Url: https://github.com/01org/tpm2.0-tools Source0: https://github.com/01org/tpm2.0-tools/archive/v%{version}.zip -Patch0: fixes.patch BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: gcc-c++ @@ -45,7 +44,6 @@ associated interfaces. %prep %setup -q -%patch0 -p1 %build bash ./bootstrap @@ -63,5 +61,6 @@ find %{buildroot} -type f -name "*.la" -delete -print %defattr(-,root,root) %doc README.md manual LICENSE /usr/sbin/tpm2_* +%{_mandir}/man8/tpm2_* %changelog diff --git a/v1.1.0.zip b/v1.1.0.zip deleted file mode 100644 index 60b02ba..0000000 --- a/v1.1.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8410472b4166035beba9eedc54c7f499666aee1d0258706eb0c9ddf7052e0dbb -size 251778 diff --git a/v2.0.0.zip b/v2.0.0.zip new file mode 100644 index 0000000..a1d4027 --- /dev/null +++ b/v2.0.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:677458f94a1d29662cb2d02401c086d381c3642c1288374b802975e6581c9231 +size 318022