2019-09-30 11:18:39 -04:00
|
|
|
Name: tpm2-tools
|
2023-07-18 11:49:00 +08:00
|
|
|
Version: 5.5
|
2024-06-21 14:11:54 +08:00
|
|
|
Release: 3
|
2019-09-30 11:18:39 -04:00
|
|
|
Summary: A TPM2.0 testing tool based on TPM2.0-TSS
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://github.com/tpm2-software/tpm2-tools
|
|
|
|
|
Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
2024-05-02 10:26:37 +08:00
|
|
|
Patch0: backport-CVE-2024-29038.patch
|
|
|
|
|
Patch1: backport-CVE-2024-29039.patch
|
2024-06-21 14:11:54 +08:00
|
|
|
Patch2: revert-sm2-sign-and-verifysignature.patch
|
2021-04-30 09:34:46 +08:00
|
|
|
|
2019-09-30 11:18:39 -04:00
|
|
|
BuildRequires: gcc-c++ libtool autoconf-archive pkgconfig(cmocka) pkgconfig(libcurl) pkgconfig(openssl)
|
2021-07-30 23:38:30 +08:00
|
|
|
BuildRequires: pkgconfig(tss2-mu) pkgconfig(tss2-sys) pkgconfig(tss2-esys) pkgconfig(uuid) libgcrypt
|
2021-07-26 15:44:48 +08:00
|
|
|
BuildRequires: libgcrypt-devel
|
2020-08-06 14:03:12 +08:00
|
|
|
Requires: tpm2-tss >= 2.3.1
|
2021-04-30 09:34:46 +08:00
|
|
|
Requires: tpm2-tools-help = %{version}-%{release}
|
2019-09-30 11:18:39 -04:00
|
|
|
Obsoletes: tpm2-tools <= 2.1.1-2
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The package contains the code for the TPM (Trusted Platform Module) 2.0
|
|
|
|
|
tools based on tpm2-tss.
|
|
|
|
|
|
|
|
|
|
The tpm2-tools projects aims to deliver both low-level and aggregate
|
|
|
|
|
command line tools that provide access to a tpm2.0 compatible device.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-07-30 23:38:30 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-09-30 11:18:39 -04:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --prefix=/usr --disable-static --disable-silent-rules
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2022-12-20 20:28:48 +08:00
|
|
|
%license docs/LICENSE
|
2019-09-30 11:18:39 -04:00
|
|
|
%{_bindir}/*
|
2020-08-06 14:03:12 +08:00
|
|
|
%{_datadir}/bash-completion/completions/tpm2*
|
2021-01-25 18:36:29 +08:00
|
|
|
%{_datadir}/bash-completion/completions/tss2*
|
2019-09-30 11:18:39 -04:00
|
|
|
|
|
|
|
|
%files help
|
2022-12-20 20:28:48 +08:00
|
|
|
%doc docs/README.md docs/CHANGELOG.md
|
2019-09-30 11:18:39 -04:00
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-06-21 14:11:54 +08:00
|
|
|
* Fri Jun 21 2024 bianxiuning <bianxiuning@kylinos.cn> - 5.5-3
|
|
|
|
|
- revert sm2 sign and verifysignature
|
|
|
|
|
|
2024-05-02 10:26:37 +08:00
|
|
|
* Thu May 02 2024 cenhuilin <cenhuilin@kylinos.cn> - 5.5-2
|
|
|
|
|
- fix CVE-2024-29038 CVE-2024-29039
|
|
|
|
|
|
2023-07-18 11:49:00 +08:00
|
|
|
* Tue Jul 18 2023 jinlun <jinlun@huawei.com> - 5.5-1
|
|
|
|
|
- update to 5.5
|
|
|
|
|
|
2022-12-20 20:28:48 +08:00
|
|
|
* Tue Dec 20 2022 wangyunjia <yunjia.wang@huawei.com> - 5.4-1
|
|
|
|
|
- update to 5.4
|
|
|
|
|
|
2021-09-27 10:52:00 +08:00
|
|
|
* Mon Sep 27 2021 fuanan <fuanan3@huawei.com> - 5.0-5
|
|
|
|
|
- fix CVE-2021-3565
|
|
|
|
|
|
2021-07-30 23:38:30 +08:00
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 5.0-4
|
|
|
|
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2021-07-26 15:44:48 +08:00
|
|
|
* Mon Jul 26 2021 fuanan <fuanan3@huawei.com> - 5.0-3
|
|
|
|
|
- Remove redundant gdb from BuildRequires
|
|
|
|
|
|
2021-04-30 09:34:46 +08:00
|
|
|
* Fri Apr 30 2021 Hugel <gengqihu1@huawei.com> - 5.0-2
|
|
|
|
|
- fix segmentation fault on tpm2
|
|
|
|
|
|
2021-01-25 18:36:29 +08:00
|
|
|
* Mon Jan 25 2021 panxiaohe <panxiaohe@huawei.com> - 5.0-1
|
|
|
|
|
- update to 5.0
|
|
|
|
|
|
2020-08-06 14:03:12 +08:00
|
|
|
* Thu Aug 6 2020 zhangxingliang <zhangxingliang3@huawei.com> - 4.1.3-1
|
|
|
|
|
- update to 4.1.3
|
|
|
|
|
|
2020-03-19 20:07:14 +08:00
|
|
|
* Thu Mar 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-7
|
|
|
|
|
- add BuildRequires: libgcrypt-devel gdb
|
|
|
|
|
|
2020-01-22 12:33:57 +08:00
|
|
|
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-6
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: add BuildRequires
|
|
|
|
|
|
2019-09-30 11:18:39 -04:00
|
|
|
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-5
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: revise spec file with new rules
|
|
|
|
|
|
|
|
|
|
* Wed Aug 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-4
|
|
|
|
|
- Package init
|