Accepting request 840322 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Disable tests fail_ca_* that fail since OpenSSL update to 1.1.1h. * Upstream report: https://github.com/notroj/neon/issues/38 - Add neon-0.31.2-CA-tests.patch - Disable fail_nul_* tests broken with OpenSSL configured to reject certificates created with a SHA1. - Add neon-0.31.2-sha1-tests.patch OBS-URL: https://build.opensuse.org/request/show/840322 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=61
This commit is contained in:
parent
54565d3660
commit
bf7aa0a124
17
neon-0.31.2-CA-tests.patch
Normal file
17
neon-0.31.2-CA-tests.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Index: neon-0.31.2/test/ssl.c
|
||||
===================================================================
|
||||
--- neon-0.31.2.orig/test/ssl.c
|
||||
+++ neon-0.31.2/test/ssl.c
|
||||
@@ -1928,9 +1928,11 @@ ne_test tests[] = {
|
||||
T(fail_bad_urialtname),
|
||||
T(fail_wildcard),
|
||||
T(fail_wildcard_ip),
|
||||
+#if 0
|
||||
+ /* Tests that fail since the OpenSSL update to 1.1.1h */
|
||||
T(fail_ca_notyetvalid),
|
||||
T(fail_ca_expired),
|
||||
-
|
||||
+#endif
|
||||
T(nulcn_identity),
|
||||
#if 0
|
||||
/* These certs were created with a SHA#1 digest so are rejected by GnuTLS. */
|
14
neon-0.31.2-sha1-tests.patch
Normal file
14
neon-0.31.2-sha1-tests.patch
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
The fail_nul_* tests are broken with OpenSSL configured to reject SHA-1 digests.
|
||||
|
||||
--- neon-0.31.2/test/ssl.c.lesstests
|
||||
+++ neon-0.31.2/test/ssl.c
|
||||
@@ -1932,7 +1932,7 @@
|
||||
T(fail_ca_expired),
|
||||
|
||||
T(nulcn_identity),
|
||||
-#ifndef HAVE_GNUTLS
|
||||
+#if 0
|
||||
/* These certs were created with a SHA#1 digest so are rejected by GnuTLS. */
|
||||
T(fail_nul_cn),
|
||||
T(fail_nul_san),
|
14
neon.changes
14
neon.changes
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 8 17:46:22 UTC 2020 - Pedro Monreal Gonzalez <pmonreal@suse.com>
|
||||
|
||||
- Disable tests fail_ca_* that fail since OpenSSL update to 1.1.1h.
|
||||
* Upstream report: https://github.com/notroj/neon/issues/38
|
||||
- Add neon-0.31.2-CA-tests.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 8 11:02:56 UTC 2020 - Pedro Monreal Gonzalez <pmonreal@suse.com>
|
||||
|
||||
- Disable fail_nul_* tests broken with OpenSSL configured to reject
|
||||
certificates created with a SHA1.
|
||||
- Add neon-0.31.2-sha1-tests.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 21 20:39:12 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
@ -24,12 +24,14 @@ License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/Other
|
||||
URL: https://notroj.github.io/neon/
|
||||
Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz
|
||||
Source2: %{name}.keyring
|
||||
Source2: neon.keyring
|
||||
Source3: baselibs.conf
|
||||
Source10: replace_manpage_with_links.sh
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
||||
Patch0: %{name}-0.28.4-bloat.patch
|
||||
Patch0: neon-0.28.4-bloat.patch
|
||||
Patch1: fix_timeout_tests_for_ppc64le.patch
|
||||
Patch2: neon-0.31.2-sha1-tests.patch
|
||||
Patch3: neon-0.31.2-CA-tests.patch
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libproxy-devel
|
||||
@ -72,6 +74,8 @@ neon is an HTTP and WebDAV client library with a C interface.
|
||||
%ifarch ppc64le ppc64
|
||||
%patch1
|
||||
%endif
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
rm -f aclocal.m4 ltmain.sh
|
||||
@ -93,6 +97,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
find %{buildroot}%{_mandir} -type f -exec bash %{S:10} {} \;
|
||||
|
||||
%check
|
||||
export TEST_QUIET=0
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%post -n libneon27 -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user