From 0956c91b128a6c151d423a9735b1b89c8a45c0c2 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 24 Jul 2018 16:13:42 +0200 Subject: [PATCH] Fix build tests. --- stunnel.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stunnel.spec b/stunnel.spec index 7834969..38632ff 100644 --- a/stunnel.spec +++ b/stunnel.spec @@ -34,6 +34,8 @@ Buildrequires: tcp_wrappers-devel %endif BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2html +# build test requirements +BuildRequires: /usr/bin/nc, /usr/bin/lsof, /usr/bin/ps BuildRequires: systemd %{?systemd_requires} @@ -52,6 +54,9 @@ conjunction with imapd to create a TLS secure IMAP server. # Fix the configure script output for FIPS mode sed -i '/yes).*result: no/,+1{s/result: no/result: yes/;s/as_echo "no"/as_echo "yes"/}' configure +# Fix a testcase with system-ciphers support +sed -i '/client = yes/a \\ ciphers = PSK' tests/recipes/014_PSK_secrets + %build #autoreconf -v CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS