12 Star 0 Fork 20

src-openEuler / tpm2-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tpm2-tools.spec 2.69 KB
一键复制 编辑 原始数据 按行查看 历史
cenhuilin 提交于 2024-05-10 15:32 . fix CVE-2024-29038 CVE-2024-29039
Name: tpm2-tools
Version: 5.0
Release: 5
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
Patch0: backport-Don-t-assume-end-of-argv-is-NULL.patch
Patch1: backport-CVE-2021-3565.patch
Patch2: backport-CVE-2024-29038.patch
Patch3: backport-CVE-2024-29039.patch
BuildRequires: gcc-c++ libtool autoconf-archive pkgconfig(cmocka) pkgconfig(libcurl) pkgconfig(openssl)
BuildRequires: pkgconfig(tss2-mu) pkgconfig(tss2-sys) pkgconfig(tss2-esys) pkgconfig(uuid) git libgcrypt
BuildRequires: libgcrypt-devel gdb
Requires: tpm2-tss >= 2.3.1
Requires: tpm2-tools-help = %{version}-%{release}
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
%autosetup -n %{name}-%{version} -p1 -Sgit
%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)
%license doc/LICENSE
%{_bindir}/*
%{_datadir}/bash-completion/completions/tpm2*
%{_datadir}/bash-completion/completions/tss2*
%files help
%doc README.md doc/CHANGELOG.md
%{_mandir}/*/*
%changelog
* Fri May 10 2024 cenhuilin <cenhuilin@kylinos.cn> - 5.0-5
- fix CVE-2024-29038 CVE-2024-29039
* Mon Aug 29 2022 fuanan <fuanan3@h-partners.com> - 5.0-4
- modify the changelog
* Mon Sep 27 2021 fuanan <fuanan3@huawei.com> - 5.0-3
- fix CVE-2021-3565
* Thu Apr 29 2021 Hugel<gengqihu1@huawei.com> - 5.0-2
- fix segmentation fault on tpm2
* Thu Apr 8 2021 Hugel<gengqihu1@huawei.com> - 5.0-1
- update to 5.0
* Sat Mar 20 2021 lirui<lirui130@huawei.com> - 3.1.1-9
- downgarde to 3.1.1
* Fri Mar 19 2021 Hugel<gengqihu1@huawei.com> - 5.0-1
- update to 5.0
* Tue May 12 2020 wanghongzhe<wanghongzhe@openeuler.org> - 3.1.1-8
- bugfix for tpm2-tss upgrade
* Thu Mar 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-7
- add BuildRequires: libgcrypt-devel gdb
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: add BuildRequires
* 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
1
https://gitee.com/src-openeuler/tpm2-tools.git
git@gitee.com:src-openeuler/tpm2-tools.git
src-openeuler
tpm2-tools
tpm2-tools
openEuler-20.03-LTS-SP1

搜索帮助