|
|
353097 |
%global gitdate 20211126
|
|
|
353097 |
%global gitversion 1ff6fe1f43
|
|
|
353097 |
|
|
|
353097 |
Name: libtpms
|
|
|
353097 |
Version: 0.9.1
|
|
|
ce14ec |
Release: 1.%{gitdate}git%{gitversion}%{?dist}
|
|
|
353097 |
|
|
|
353097 |
Summary: Library providing Trusted Platform Module (TPM) functionality
|
|
|
353097 |
License: BSD
|
|
|
353097 |
Url: http://github.com/stefanberger/libtpms
|
|
|
353097 |
Source0: libtpms-%{gitdate}.tar.xz
|
|
|
353097 |
ExcludeArch: i686
|
|
|
ce14ec |
Patch0003: 0001-tpm2-When-writing-state-initialize-s_ContextSlotMask.patch
|
|
|
353097 |
|
|
|
353097 |
BuildRequires: openssl-devel
|
|
|
353097 |
BuildRequires: pkgconfig gawk sed
|
|
|
353097 |
BuildRequires: automake autoconf libtool bash coreutils gcc-c++
|
|
|
353097 |
BuildRequires: git
|
|
|
353097 |
BuildRequires: make
|
|
|
353097 |
|
|
|
353097 |
%description
|
|
|
353097 |
A library providing TPM functionality for VMs. Targeted for integration
|
|
|
353097 |
into Qemu.
|
|
|
353097 |
|
|
|
353097 |
%package devel
|
|
|
353097 |
Summary: Include files for libtpms
|
|
|
353097 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
353097 |
|
|
|
353097 |
%description devel
|
|
|
353097 |
Libtpms header files and documentation.
|
|
|
353097 |
|
|
|
353097 |
%prep
|
|
|
353097 |
%autosetup -S git -n %{name}-%{gitdate}
|
|
|
353097 |
%build
|
|
|
353097 |
NOCONFIGURE=1 sh autogen.sh
|
|
|
353097 |
%configure --disable-static --with-tpm2 --without-tpm1 --with-openssl
|
|
|
353097 |
%make_build
|
|
|
353097 |
|
|
|
353097 |
%check
|
|
|
353097 |
make check
|
|
|
353097 |
|
|
|
353097 |
%install
|
|
|
353097 |
%make_install
|
|
|
353097 |
find %{buildroot} -type f -name '*.la' | xargs rm -f -- || :
|
|
|
353097 |
|
|
|
353097 |
%ldconfig_scriptlets
|
|
|
353097 |
|
|
|
353097 |
%files
|
|
|
353097 |
%license LICENSE
|
|
|
353097 |
%doc README CHANGES
|
|
|
353097 |
%{_libdir}/lib*.so.*
|
|
|
353097 |
|
|
|
353097 |
%files devel
|
|
|
353097 |
%dir %{_includedir}/%{name}
|
|
|
353097 |
%{_includedir}/%{name}/*.h
|
|
|
353097 |
%{_libdir}/lib*.so
|
|
|
353097 |
%{_libdir}/pkgconfig/*.pc
|
|
|
353097 |
%{_mandir}/man3/*
|
|
|
353097 |
|
|
|
353097 |
%changelog
|
|
|
ce14ec |
* Thu Jul 28 2022 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.9.1-1.20211126git1ff6fe1f43
|
|
|
ce14ec |
- Backport s_ContextSlotMask initialization fix
|
|
|
ce14ec |
Resolves: rhbz#2111433
|
|
|
ce14ec |
|
|
|
353097 |
* Thu Dec 09 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.9.1-0.20211126git1ff6fe1f43
|
|
|
353097 |
- Rebase to 0.9.1 (sync with RHEL9)
|
|
|
353097 |
Resolves: rhbz#2029355
|
|
|
353097 |
|
|
|
353097 |
* Tue Aug 31 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.4-6.20201106git2452a24dab
|
|
|
353097 |
- Fix CVE-2021-3746 libtpms: out-of-bounds access via specially crafted TPM 2 command packets
|
|
|
353097 |
Resolves: rhbz#1999307
|
|
|
353097 |
|
|
|
353097 |
* Mon Jun 28 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.4-5.20201106git2452a24dab
|
|
|
353097 |
- Fix CVE-2021-3623: out-of-bounds access when trying to resume the state of the vTPM
|
|
|
353097 |
Fixes: rhbz#1976816
|
|
|
353097 |
|
|
|
353097 |
* Wed Mar 17 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.4-4.20201106git2452a24dab
|
|
|
353097 |
- tpm2: CryptSym: fix AES output IV
|
|
|
353097 |
Fixes: rhbz#1942904
|
|
|
353097 |
|
|
|
353097 |
* Fri Feb 19 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 0.7.4-3.20201106git2452a24dab
|
|
|
353097 |
- Add git as build dependency
|
|
|
353097 |
Related: rhbz#1858821
|
|
|
353097 |
|
|
|
353097 |
* Wed Feb 17 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.4-2.20201106git2452a24dab
|
|
|
353097 |
- tpm2: Return properly sized array for b parameter for NIST P521 (HLK) #180
|
|
|
353097 |
Fixes: rhbz#1858821
|
|
|
353097 |
|
|
|
353097 |
* Fri Nov 6 18:46:36 +04 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.4-1.20201106git2452a24dab
|
|
|
353097 |
- Follow stable-0.7.0 branch to v0.7.4 with security-related fixes.
|
|
|
353097 |
Fixes: rhbz#1893444
|
|
|
353097 |
|
|
|
353097 |
* Tue Aug 18 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.3-1.20200818git1d392d466a
|
|
|
353097 |
- Update to v0.7.3 stable, fixes rhbz#1868447
|
|
|
353097 |
- (includes "tpm2: fix PCRBelongsTCBGroup for PCClient")
|
|
|
353097 |
|
|
|
353097 |
* Thu May 28 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.2-1.20200527git7325acb477
|
|
|
353097 |
- Update to v0.7.2 stable snapshot, fixes rhbz#1809676
|
|
|
353097 |
- exclude i686 build
|
|
|
353097 |
- Following stable-0.7.0 branch for TPM 2 related fixes: RSA decryption,
|
|
|
353097 |
PSS salt length, symmetric decryption (padding)
|
|
|
353097 |
- Under certain circumstances an RSA decryption could cause a buffer overflow causing
|
|
|
353097 |
termination of the program (swtpm)
|
|
|
353097 |
- Following stable-0.7.0 branch for TPM 2 related fixes; v0.7.1 + gcc related patch
|
|
|
353097 |
- elliptic curve fixes
|
|
|
353097 |
- MANUFACTURER changed from "IBM " to "IBM"
|
|
|
353097 |
- gcc 10 related fix
|
|
|
353097 |
- Following stable-0.7.0 branch for TPM 1.2 related bugfix
|
|
|
353097 |
|
|
|
353097 |
* Fri Oct 18 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7.0-1.20191018gitdc116933b7
|
|
|
353097 |
- RHEL8.1.1 update
|
|
|
353097 |
- Update to v0.7.0 stable snapshot
|
|
|
353097 |
|
|
|
353097 |
* Tue Apr 16 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.6.1-0.20190121git9dc915572b.2
|
|
|
353097 |
- RHEL8.1 build
|
|
|
353097 |
|
|
|
353097 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.20190121git9dc915572b.1
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Mon Jan 21 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.6.1-0.20190121git9dc915572b
|
|
|
353097 |
- Libtpms was updated to rev. 150 of TPM 2.0 code
|
|
|
353097 |
- following branch stable-0.6.0
|
|
|
353097 |
|
|
|
353097 |
* Tue Dec 11 2018 Stefan Berger <stefanb@linux.ibm.com> - 0.6.0-0.20181211gitba56737b93
|
|
|
353097 |
- Following bugfixes in libtpms
|
|
|
353097 |
|
|
|
353097 |
* Wed Oct 31 2018 Stefan Berger <stefanb@linux.ibm.com> - 0.6.0-0.20181031git0466fcf6a4
|
|
|
353097 |
- Following improvements in libtpms
|
|
|
353097 |
|
|
|
353097 |
* Tue Sep 18 2018 Stefan Berger
|
|
|
353097 |
- Fixed changelog
|
|
|
353097 |
|
|
|
353097 |
* Mon Sep 17 2018 Stefan Berger
|
|
|
353097 |
- Build snapshot from git after libtpms fix.
|
|
|
353097 |
|
|
|
353097 |
* Fri Sep 14 2018 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.6.0-0.20180914git4111bd1bcf
|
|
|
353097 |
- Build snapshot from git, simplify spec
|
|
|
353097 |
|
|
|
353097 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-12
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-11
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-10
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-9
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-8
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-7
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-6
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-4
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Sat Aug 16 2014 Stefan Berger - 0.5.2-3
|
|
|
353097 |
- do not include libtpms.la in rpm
|
|
|
353097 |
|
|
|
353097 |
* Mon Jul 14 2014 Stefan Berger - 0.5.2-2
|
|
|
353097 |
- Added patches
|
|
|
353097 |
|
|
|
353097 |
* Mon Jun 30 2014 Stefan Berger - 0.5.2-1
|
|
|
353097 |
- Updated to version 0.5.2
|
|
|
353097 |
- coverity fixes
|
|
|
353097 |
- fixes for ARM64 using __aarch64__
|
|
|
353097 |
|
|
|
353097 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-20.1
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-19
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Mon Mar 25 2013 Stefan Berger - 0.5.1-18
|
|
|
353097 |
- Ran autoreconf for support of aarch64
|
|
|
353097 |
- Checking for __arm64__ in code
|
|
|
353097 |
|
|
|
353097 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-17
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-16
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Fri Feb 17 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5.1-15
|
|
|
353097 |
- Add dist tag as required by package guidelines
|
|
|
353097 |
|
|
|
353097 |
* Fri Jan 27 2012 Stefan Berger - 0.5.1-14
|
|
|
353097 |
- fix gcc-4.7 compilation problem
|
|
|
353097 |
|
|
|
353097 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-13
|
|
|
353097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
353097 |
|
|
|
353097 |
* Tue Dec 20 2011 Dan Horák <dan[at]danny.cz> - 0.5.1-12
|
|
|
353097 |
- fix build on secondary arches
|
|
|
353097 |
|
|
|
353097 |
* Wed Nov 2 2011 Stefan Berger - 0.5.1-11
|
|
|
353097 |
- added (lib)gmp as runtime dependency
|
|
|
353097 |
|
|
|
353097 |
* Sat Oct 8 2011 Stefan Berger - 0.5.1-10
|
|
|
353097 |
- internal fixes; callback fixes
|
|
|
353097 |
|
|
|
353097 |
* Tue Aug 30 2011 Stefan Berger - 0.5.1-9
|
|
|
353097 |
- new directory structure and build process
|
|
|
353097 |
|
|
|
353097 |
* Tue Jul 12 2011 Stefan Berger - 0.5.1-8
|
|
|
353097 |
- added pkgconfig as build dependency
|
|
|
353097 |
- enabling __powerpc__ build following Bz 728220
|
|
|
353097 |
|
|
|
353097 |
* Wed May 25 2011 Stefan Berger - 0.5.1-7
|
|
|
353097 |
- increasing NVRAM area space to have enough room for certificates
|
|
|
353097 |
|
|
|
353097 |
* Wed May 25 2011 Stefan Berger - 0.5.1-6
|
|
|
353097 |
- adding libtpms.pc pkg-config file
|
|
|
353097 |
|
|
|
353097 |
* Wed Apr 13 2011 Stefan Berger - 0.5.1-5
|
|
|
353097 |
- adding BuildRequires for nss-softokn-freebl-static
|
|
|
353097 |
- several libtpms-internal changes around state serialization and
|
|
|
353097 |
deserialization
|
|
|
353097 |
- fixes to libtpms makefile (makefile-libtpms)
|
|
|
353097 |
- adding build_type to generate a debug or production build
|
|
|
353097 |
- need nss-devel to have nss-config
|
|
|
353097 |
|
|
|
353097 |
* Tue Mar 08 2011 Stefan Berger - 0.5.1-4
|
|
|
353097 |
- small fixes to libtpms makefile
|
|
|
353097 |
|
|
|
353097 |
* Fri Feb 25 2011 Stefan Berger - 0.5.1-3
|
|
|
353097 |
- removing release from tar ball name
|
|
|
353097 |
- Use {?_smp_mflags} for make rather than hardcoding it
|
|
|
353097 |
- Fixing post and postun scripts; removing the scripts for devel package
|
|
|
353097 |
- Fixing usage of defattr
|
|
|
353097 |
- Adding version information into the changelog headers and spaces between the changelog entries
|
|
|
353097 |
- Adding LICENSE, README and CHANGELOG file into tar ball and main rpm
|
|
|
353097 |
- Removing clean section
|
|
|
353097 |
- removed command to clean the build root
|
|
|
353097 |
- adding library version to the libries required for building and during
|
|
|
353097 |
runtime
|
|
|
353097 |
- Extended Requires in devel package with {?_isa}
|
|
|
353097 |
|
|
|
353097 |
* Fri Feb 18 2011 Stefan Berger - 0.5.1-2
|
|
|
353097 |
- make rpmlint happy by replacing tabs with spaces
|
|
|
353097 |
- providing a valid URL for the tgz file
|
|
|
353097 |
- release is now 2 -> 0.5.1-2
|
|
|
353097 |
|
|
|
353097 |
* Mon Jan 17 2011 Stefan Berger - 0.5.1-1
|
|
|
353097 |
- Update version to 0.5.1
|
|
|
353097 |
|
|
|
353097 |
* Fri Jan 14 2011 Stefan Berger - 0.5.0-1
|
|
|
353097 |
- Changes following Fedora review comments
|
|
|
353097 |
|
|
|
353097 |
* Thu Dec 2 2010 Stefan Berger
|
|
|
353097 |
- Small tweaks after reading the FedoreCore packaging requirements
|
|
|
353097 |
|
|
|
353097 |
* Tue Nov 16 2010 Stefan Berger
|
|
|
353097 |
- Created initial version of rpm spec files
|
|
|
353097 |
- Version of library is now 0.5.0
|
|
|
353097 |
- Debuginfo rpm is built but empty -- seems to be a known problem
|
|
|
353097 |
Check https://bugzilla.redhat.com/show_bug.cgi?id=209316
|