SHA256
1
0
forked from pool/tpm2.0-tools

- 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
This commit is contained in:
Matthias Gerstner 2017-05-10 11:58:47 +00:00 committed by Git OBS Bridge
parent 8007964900
commit d34e8168e2
5 changed files with 19 additions and 31 deletions

View File

@ -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.
*/

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8410472b4166035beba9eedc54c7f499666aee1d0258706eb0c9ddf7052e0dbb
size 251778

3
v2.0.0.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:677458f94a1d29662cb2d02401c086d381c3642c1288374b802975e6581c9231
size 318022