Accepting request 910606 from home:gmbr3:Active
- Update to version 0.8.4: * Reset too large size indicators in TPM2B to avoid access beyond buffer * Restore original value in buffer if unmarshalled one was illegal OBS-URL: https://build.opensuse.org/request/show/910606 OBS-URL: https://build.opensuse.org/package/show/security/libtpms?expand=0&rev=27
This commit is contained in:
parent
3b46b43aa0
commit
83310af55f
3
libtpms-0.8.4.tar.gz
Normal file
3
libtpms-0.8.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5f8b0ed59d52fe22e7245a0d5909e33a72b4d2dac47ee877ea9ff3c307b2ed19
|
||||
size 1255255
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 7 15:00:32 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Update to version 0.8.4:
|
||||
* Reset too large size indicators in TPM2B to avoid access
|
||||
beyond buffer
|
||||
* Restore original value in buffer if unmarshalled one was
|
||||
illegal
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 07:18:37 UTC 2021 - Gary Ching-Pang Lin <glin@suse.com>
|
||||
|
||||
|
34
libtpms.spec
34
libtpms.spec
@ -18,15 +18,16 @@
|
||||
|
||||
%define lname libtpms0
|
||||
Name: libtpms
|
||||
Version: 0.8.2
|
||||
Version: 0.8.4
|
||||
Release: 0
|
||||
Summary: Library providing Trusted Platform Module (TPM) functionality
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/stefanberger/libtpms
|
||||
Source0: https://github.com/stefanberger/libtpms/archive/v%{version}.tar.gz
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: mozilla-nspr-devel
|
||||
@ -56,26 +57,24 @@ Requires: mozilla-nspr-devel
|
||||
Libtpms header files and documentation.
|
||||
|
||||
%prep
|
||||
%setup -q -n libtpms-%{version}
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
./bootstrap.sh
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--with-tpm2 \
|
||||
--with-openssl \
|
||||
--disable-static
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
%make_build
|
||||
|
||||
%install
|
||||
install -d -m 0755 %{buildroot}%{_libdir}
|
||||
install -d -m 0755 %{buildroot}%{_includedir}/libtpms
|
||||
install -d -m 0755 %{buildroot}%{_mandir}/man3
|
||||
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
@ -83,15 +82,12 @@ install -d -m 0755 %{buildroot}%{_mandir}/man3
|
||||
%files -n %{lname}
|
||||
%doc README CHANGES
|
||||
%license LICENSE
|
||||
%{_libdir}/%{name}.so.%{version}
|
||||
%{_libdir}/%{name}.so.0
|
||||
%{_libdir}/%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/%{name}.la
|
||||
%dir %{_includedir}/%{name}
|
||||
%attr(644, root, root) %{_libdir}/pkgconfig/*.pc
|
||||
%attr(644, root, root) %{_includedir}/%{name}/*.h
|
||||
%attr(644, root, root) %{_mandir}/man3/*
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_mandir}/man3/*%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c533017b4eee60d907409ee39ad6f1cd0380c2ceabf583f1749a73ea87e9d3e
|
||||
size 1253915
|
Loading…
Reference in New Issue
Block a user