Blame SPECS/libtpms.spec

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