|
|
a5f4ba |
Name: tpm2-tools
|
|
|
00bba1 |
Version: 3.0.1
|
|
|
00bba1 |
Release: 1%{?dist}
|
|
|
a5f4ba |
Summary: A TPM2.0 testing tool build upon TPM2.0-TSS
|
|
|
a5f4ba |
|
|
|
a5f4ba |
License: BSD
|
|
|
00bba1 |
URL: https://github.com/01org/tpm2-tools
|
|
|
00bba1 |
Source0: https://github.com/01org/tpm2-tools/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
00bba1 |
|
|
|
00bba1 |
# work around lack of pandoc in RHEL7
|
|
|
00bba1 |
Patch0: add-man-pages.patch
|
|
|
00bba1 |
# Deal with RHEL rpmbuilds not being from git
|
|
|
00bba1 |
Patch1: autoconf-fixup.patch
|
|
|
00bba1 |
# Upstream commit ab1a2d468c4b2ac09a0ac651563653f36a73215f
|
|
|
00bba1 |
Patch2: 0001-tpm2_nvwrite-fix-buffer-overflow.patch
|
|
|
00bba1 |
# Submitted upstream: https://github.com/intel/tpm2-tools/pull/725
|
|
|
00bba1 |
Patch3: max-nv-buffer.patch
|
|
|
00bba1 |
|
|
|
a5f4ba |
BuildRequires: gcc-c++
|
|
|
a5f4ba |
BuildRequires: libtool
|
|
|
00bba1 |
BuildRequires: autoconf-archive
|
|
|
00bba1 |
BuildRequires: pkgconfig(cmocka)
|
|
|
a5f4ba |
BuildRequires: pkgconfig(libcurl)
|
|
|
a5f4ba |
BuildRequires: pkgconfig(openssl)
|
|
|
a5f4ba |
# tpm2-tss-devel provides sapi/tcti-device/tcti-socket
|
|
|
a5f4ba |
BuildRequires: pkgconfig(sapi)
|
|
|
a5f4ba |
BuildRequires: pkgconfig(tcti-device)
|
|
|
a5f4ba |
BuildRequires: pkgconfig(tcti-socket)
|
|
|
00bba1 |
BuildRequires: pkgconfig(tcti-tabrmd)
|
|
|
a5f4ba |
|
|
|
a5f4ba |
# this package does not support big endian arch so far,
|
|
|
a5f4ba |
# and has been verified only on Intel platforms.
|
|
|
a5f4ba |
ExclusiveArch: %{ix86} x86_64
|
|
|
a5f4ba |
|
|
|
a5f4ba |
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
|
|
|
00bba1 |
Requires: tpm2-tss%{?_isa} >= 1.3.0-1%{?dist}
|
|
|
00bba1 |
|
|
|
00bba1 |
# tpm2-tools project changed the install path for binaries and man page section
|
|
|
00bba1 |
Obsoletes: tpm2-tools <= 2.1.0-2
|
|
|
a5f4ba |
|
|
|
a5f4ba |
%description
|
|
|
a5f4ba |
tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
|
|
|
a5f4ba |
|
|
|
a5f4ba |
%prep
|
|
|
00bba1 |
%autosetup -p1 -n %{name}-%{version}
|
|
|
a5f4ba |
./bootstrap
|
|
|
a5f4ba |
|
|
|
a5f4ba |
%build
|
|
|
a5f4ba |
%configure --prefix=/usr --disable-static --disable-silent-rules
|
|
|
a5f4ba |
%make_build
|
|
|
a5f4ba |
|
|
|
a5f4ba |
%install
|
|
|
a5f4ba |
%make_install
|
|
|
a5f4ba |
|
|
|
a5f4ba |
%files
|
|
|
00bba1 |
%doc README.md CHANGELOG.md
|
|
|
a5f4ba |
%license LICENSE
|
|
|
00bba1 |
%{_bindir}/tpm2_*
|
|
|
00bba1 |
%{_mandir}/man1/tpm2_*.1.gz
|
|
|
a5f4ba |
|
|
|
a5f4ba |
%changelog
|
|
|
00bba1 |
* Wed Dec 13 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 3.0.1-1
|
|
|
00bba1 |
- Rebase to 3.0.1 release
|
|
|
00bba1 |
resolves: rhbz#1463100
|
|
|
00bba1 |
|
|
|
00bba1 |
* Wed Oct 18 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-2
|
|
|
00bba1 |
- Fix potential memory leak
|
|
|
00bba1 |
resolves: rhbz#1463100
|
|
|
00bba1 |
|
|
|
00bba1 |
* Wed Aug 30 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-1
|
|
|
00bba1 |
- Rebase to 2.1.0 release
|
|
|
00bba1 |
resolves: rhbz#1463100
|
|
|
00bba1 |
|
|
|
a5f4ba |
* Mon May 15 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.1.0-7
|
|
|
a5f4ba |
- decide pcrs to read based off data returned from TPM2_GetCapability
|
|
|
a5f4ba |
resolves: rhbz#1449276
|
|
|
a5f4ba |
|
|
|
a5f4ba |
* Wed Apr 19 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.1.0-6
|
|
|
a5f4ba |
- check for null ptrs in RetrieveEndorsementCredentials
|
|
|
a5f4ba |
|
|
|
a5f4ba |
* Tue Apr 04 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 1.1.0-5
|
|
|
a5f4ba |
- Remove epel dependencies
|
|
|
a5f4ba |
- Change tpm2-tss dependency to not be tied to 1 version
|
|
|
a5f4ba |
- Fix resource leak in InitSysContext
|
|
|
a5f4ba |
- Clean up HashEKPublicKey
|
|
|
a5f4ba |
- Add needed null checks to tpm2_getmanufec
|
|
|
a5f4ba |
- clean up resource leak in tpm2_getmanufec
|
|
|
a5f4ba |
- use strdup to get server address in tpm2_getmanufec
|
|
|
a5f4ba |
- change preparePcrSelections_g to void
|
|
|
a5f4ba |
- return on success in print_rc_tpm_error_code
|
|
|
a5f4ba |
- Update release version
|
|
|
a5f4ba |
resolves: rhbz#1275029 - Add tpm2.0-tools package
|
|
|
a5f4ba |
|
|
|
a5f4ba |
* Fri Jan 20 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-4
|
|
|
a5f4ba |
- Dependency check failed for Requires again, here to fix this
|
|
|
a5f4ba |
- Update release version and changelog
|
|
|
a5f4ba |
|
|
|
a5f4ba |
* Thu Jan 19 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-3
|
|
|
a5f4ba |
- Change spec file permission to 644 to avoid rpmlint complain
|
|
|
a5f4ba |
- Update Requires to fix dependency check error reported in Bodhi
|
|
|
a5f4ba |
- Remove tpm2-tss-devel version in BuildRequires comment
|
|
|
a5f4ba |
- Update release version and changelog
|
|
|
a5f4ba |
|
|
|
a5f4ba |
* Wed Dec 21 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-2
|
|
|
a5f4ba |
- Remove pkg_version to avoid dupliate use of version
|
|
|
a5f4ba |
- Remove redundant BuildRequires for autoconf/automake/pkgconfig
|
|
|
a5f4ba |
- Add comments for BuildRequires of sapi/tcti-device/tcti-socket
|
|
|
a5f4ba |
- Use ExclusiveArch instead of ExcludeArch
|
|
|
a5f4ba |
- Requires tpm2-tss version updated to 1.0-2
|
|
|
a5f4ba |
- Updated release version and changelog
|
|
|
a5f4ba |
|
|
|
a5f4ba |
* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
|
|
|
a5f4ba |
- Initial version of the package
|