Accepting request 858088 from home:pmonrealgonzalez:branches:security:tls

Don't forward to Factory yet, the policy needs more testing

OBS-URL: https://build.opensuse.org/request/show/858088
OBS-URL: https://build.opensuse.org/package/show/security:tls/gnutls?expand=0&rev=44
This commit is contained in:
Pedro Monreal Gonzalez 2020-12-22 09:48:35 +00:00 committed by Git OBS Bridge
parent 2d2be530a7
commit aa9092da48
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 17 17:16:08 UTC 2020 - Pedro Monreal <pmonreal@suse.com>
- Require the crypto-policies package [bsc#1180051]
-------------------------------------------------------------------
Tue Nov 24 15:43:02 UTC 2020 - Vítězslav Čížek <vcizek@suse.com>

View File

@ -81,6 +81,7 @@ BuildRequires: libunbound-devel
%if %{with guile}
BuildRequires: guile-devel
%endif
Requires: crypto-policies
%description
The GnuTLS library provides a secure layer over a reliable transport
@ -184,7 +185,7 @@ export CXXFLAGS="%{optflags} -fPIE"
--disable-static \
--disable-rpath \
--disable-silent-rules \
--with-default-trust-store-dir=%{_localstatedir}/lib/ca-certificates/pem \
--with-default-trust-store-dir=%{_localstatedir}/lib/ca-certificates/pem \
--with-system-priority-file=%{_sysconfdir}/crypto-policies/back-ends/gnutls.config \
--with-default-priority-string="@SYSTEM" \
--with-sysroot=/%{?_sysroot} \
@ -197,7 +198,7 @@ export CXXFLAGS="%{optflags} -fPIE"
--disable-libdane \
%endif
--enable-fips140-mode \
%{nil}
%{nil}
echo "SYSTEM=NORMAL" >> tests/system.prio
@ -242,7 +243,7 @@ rm -rf %{buildroot}%{_datadir}/doc/gnutls
%check
%if ! 0%{?qemu_user_space_build}
#make %{?_smp_mflags} check || {
#make %%{?_smp_mflags} check || {
make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null || {
find -name test-suite.log -print -exec cat {} +
exit 1