From 3081092a91a3828b2accbe313aac726274b2daa0 Mon Sep 17 00:00:00 2001 From: Pawel Date: Mon, 5 Oct 2020 06:50:06 -0700 Subject: [PATCH] Extending 'strongswan' test timeout. --- ...t-for-test-cases-with-multiple-read-.patch | 24 +++++++++++++ SPECS/strongswan/strongswan.spec | 35 ++++++++++--------- 2 files changed, 43 insertions(+), 16 deletions(-) create mode 100644 SPECS/strongswan/0001-Extending-timeout-for-test-cases-with-multiple-read-.patch diff --git a/SPECS/strongswan/0001-Extending-timeout-for-test-cases-with-multiple-read-.patch b/SPECS/strongswan/0001-Extending-timeout-for-test-cases-with-multiple-read-.patch new file mode 100644 index 00000000000..69049e5b8c6 --- /dev/null +++ b/SPECS/strongswan/0001-Extending-timeout-for-test-cases-with-multiple-read-.patch @@ -0,0 +1,24 @@ +From 7c38995d360d4abf2d919fd08428f5cb2c1b015e Mon Sep 17 00:00:00 2001 +From: Pawel +Date: Mon, 5 Oct 2020 06:34:43 -0700 +Subject: [PATCH] Extending timeout for test cases with multiple read/writes. + +--- + src/libstrongswan/tests/suites/test_settings.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libstrongswan/tests/suites/test_settings.c b/src/libstrongswan/tests/suites/test_settings.c +index e060960..df3b4ef 100644 +--- a/src/libstrongswan/tests/suites/test_settings.c ++++ b/src/libstrongswan/tests/suites/test_settings.c +@@ -1731,6 +1731,7 @@ Suite *settings_suite_create() + suite_add_tcase(s, tc); + + tc = tcase_create("valid/invalid data"); ++ tcase_set_timeout(tc, 10); + tcase_add_checked_fixture(tc, setup_base_config, teardown_config); + tcase_add_test(tc, test_valid); + tcase_add_test(tc, test_invalid); +-- +2.17.1 + diff --git a/SPECS/strongswan/strongswan.spec b/SPECS/strongswan/strongswan.spec index 82120bce889..a5b78a525c1 100644 --- a/SPECS/strongswan/strongswan.spec +++ b/SPECS/strongswan/strongswan.spec @@ -1,23 +1,24 @@ -Summary: The OpenSource IPsec-based VPN Solution -Name: strongswan -Version: 5.7.2 -Release: 2%{?dist} -License: GPLv2+ -URL: https://www.strongswan.org/ -Group: System Environment/Security +Summary: The OpenSource IPsec-based VPN Solution +Name: strongswan +Version: 5.7.2 +Release: 3%{?dist} +License: GPLv2+ +URL: https://www.strongswan.org/ +Group: System Environment/Security Vendor: Microsoft Corporation Distribution: Mariner -Source0: https://download.strongswan.org/%{name}-%{version}.tar.bz2 -BuildRequires: autoconf -BuildRequires: gmp-devel -Patch0: strongswan-fix-make-check.patch +Source0: https://download.strongswan.org/%{name}-%{version}.tar.bz2 + +BuildRequires: autoconf +BuildRequires: gmp-devel +Patch0: strongswan-fix-make-check.patch +Patch1: 0001-Extending-timeout-for-test-cases-with-multiple-read-.patch %description strongSwan is a complete IPsec implementation for Linux 2.6, 3.x, and 4.x kernels. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %configure @@ -51,9 +52,11 @@ rm -rf %{buildroot}/* %{_datadir}/strongswan/* %changelog -* Sat May 09 00:20:42 PST 2020 Nick Samson - 5.7.2-2 -- Added %%license line automatically - +* Mon Oct 05 2020 Pawel Winogrodzki 5.7.2-3 +- Adding a patch to extend the timeout for the ''valid/invalid data' test case. +- Switching to %%autosetup. +* Sat May 09 2020 Nick Samson 5.7.2-2 +- Added %%license line automatically * Wed Mar 18 2020 Henry Beberman 5.7.2-1 - Update to 5.7.2. Remove CVE patch fixed in 5.7.0. License verified. * Tue Sep 03 2019 Mateusz Malisz 5.6.3-4