Build with TPM2 support
Related: #2033220 Signed-off-by: Daiki Ueno <dueno@redhat.com> Co-authored-by: Alexander Sosedkin <asosedkin@redhat.com>
This commit is contained in:
parent
4030e24b19
commit
778c959c06
14
gnutls.spec
14
gnutls.spec
@ -1,5 +1,5 @@
|
|||||||
Version: 3.7.3
|
Version: 3.7.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Patch1: gnutls-3.6.7-no-now-guile.patch
|
Patch1: gnutls-3.6.7-no-now-guile.patch
|
||||||
Patch2: gnutls-3.2.7-rpath.patch
|
Patch2: gnutls-3.2.7-rpath.patch
|
||||||
Patch3: gnutls-3.7.2-enable-intel-cet.patch
|
Patch3: gnutls-3.7.2-enable-intel-cet.patch
|
||||||
@ -14,6 +14,7 @@ Patch4: gnutls-3.7.2-no-explicit-init.patch
|
|||||||
%bcond_without fips
|
%bcond_without fips
|
||||||
%endif
|
%endif
|
||||||
%bcond_with tpm12
|
%bcond_with tpm12
|
||||||
|
%bcond_without tpm2
|
||||||
%bcond_with gost
|
%bcond_with gost
|
||||||
|
|
||||||
Summary: A TLS protocol implementation
|
Summary: A TLS protocol implementation
|
||||||
@ -29,6 +30,9 @@ BuildRequires: nettle-devel >= 3.5.1
|
|||||||
%if %{with tpm12}
|
%if %{with tpm12}
|
||||||
BuildRequires: trousers-devel >= 0.3.11.2
|
BuildRequires: trousers-devel >= 0.3.11.2
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with tpm2}
|
||||||
|
BuildRequires: tpm2-tss-devel >= 3.0.3
|
||||||
|
%endif
|
||||||
BuildRequires: libidn2-devel
|
BuildRequires: libidn2-devel
|
||||||
BuildRequires: libunistring-devel
|
BuildRequires: libunistring-devel
|
||||||
BuildRequires: net-tools, datefudge, softhsm, gcc, gcc-c++
|
BuildRequires: net-tools, datefudge, softhsm, gcc, gcc-c++
|
||||||
@ -199,6 +203,11 @@ export GUILD
|
|||||||
--with-trousers-lib=%{_libdir}/libtspi.so.1 \
|
--with-trousers-lib=%{_libdir}/libtspi.so.1 \
|
||||||
%else
|
%else
|
||||||
--without-tpm \
|
--without-tpm \
|
||||||
|
%endif
|
||||||
|
%if %{with tpm2}
|
||||||
|
--with-tpm2 \
|
||||||
|
%else
|
||||||
|
--without-tpm2 \
|
||||||
%endif
|
%endif
|
||||||
--htmldir=%{_docdir}/manual \
|
--htmldir=%{_docdir}/manual \
|
||||||
%if %{with guile}
|
%if %{with guile}
|
||||||
@ -300,6 +309,9 @@ make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 2 2022 Daiki Ueno <dueno@redhat.com> - 3.7.3-2
|
||||||
|
- Build with TPM2 support, patch from Alexander Sosedkin (#2033220)
|
||||||
|
|
||||||
* Tue Jan 18 2022 Daiki Ueno <dueno@redhat.com> - 3.7.3-1
|
* Tue Jan 18 2022 Daiki Ueno <dueno@redhat.com> - 3.7.3-1
|
||||||
- Update to gnutls 3.7.3 (#2033220)
|
- Update to gnutls 3.7.3 (#2033220)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user