Accepting request 910800 from security
OBS-URL: https://build.opensuse.org/request/show/910800 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtpms?expand=0&rev=11
This commit is contained in:
commit
b978166866
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>
|
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
|
%define lname libtpms0
|
||||||
Name: libtpms
|
Name: libtpms
|
||||||
Version: 0.8.2
|
Version: 0.8.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library providing Trusted Platform Module (TPM) functionality
|
Summary: Library providing Trusted Platform Module (TPM) functionality
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://github.com/stefanberger/libtpms
|
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: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: mozilla-nspr-devel
|
BuildRequires: mozilla-nspr-devel
|
||||||
@ -56,26 +57,24 @@ Requires: mozilla-nspr-devel
|
|||||||
Libtpms header files and documentation.
|
Libtpms header files and documentation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libtpms-%{version}
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./bootstrap.sh
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
--with-tpm2 \
|
--with-tpm2 \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
|
||||||
make %{?_smp_mflags} check
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 0755 %{buildroot}%{_libdir}
|
|
||||||
install -d -m 0755 %{buildroot}%{_includedir}/libtpms
|
|
||||||
install -d -m 0755 %{buildroot}%{_mandir}/man3
|
|
||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build check
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -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}
|
%files -n %{lname}
|
||||||
%doc README CHANGES
|
%doc README CHANGES
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/%{name}.so.%{version}
|
%{_libdir}/%{name}.so.*
|
||||||
%{_libdir}/%{name}.so.0
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/%{name}.la
|
%{_includedir}/%{name}
|
||||||
%dir %{_includedir}/%{name}
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%attr(644, root, root) %{_libdir}/pkgconfig/*.pc
|
%{_mandir}/man3/*%{?ext_man}
|
||||||
%attr(644, root, root) %{_includedir}/%{name}/*.h
|
|
||||||
%attr(644, root, root) %{_mandir}/man3/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3c533017b4eee60d907409ee39ad6f1cd0380c2ceabf583f1749a73ea87e9d3e
|
|
||||||
size 1253915
|
|
Loading…
x
Reference in New Issue
Block a user