Hello community, here is the log from the commit of package neon for openSUSE:Factory checked in at 2019-08-27 15:20:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/neon (Old) and /work/SRC/openSUSE:Factory/.neon.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "neon" Tue Aug 27 15:20:31 2019 rev:50 rq:724491 version:0.30.2 Changes: -------- --- /work/SRC/openSUSE:Factory/neon/neon.changes 2018-10-11 11:36:54.119439970 +0200 +++ /work/SRC/openSUSE:Factory/.neon.new.7948/neon.changes 2019-08-27 15:20:34.556865336 +0200 @@ -1,0 +2,24 @@ +Mon Aug 19 07:29:30 UTC 2019 - Ludwig Nussel <[email protected]> + +- fix testsuite fail due to expired nulcerts (neon-0.30.2-nulcert.patch) + +------------------------------------------------------------------- +Fri Oct 19 13:32:40 UTC 2018 - Ismail Dönmez <[email protected]> + +- BuildRequires libopenssl-1_1-devel >= 1.1.1 becase build fails with + 1.1.0 + +------------------------------------------------------------------- +Fri Oct 19 13:29:39 UTC 2018 - Jan Engelhardt <[email protected]> + +- Remove pointless --with-pic (because of --disable-static) + +------------------------------------------------------------------- +Thu Oct 18 13:53:33 UTC 2018 - Jason Sikes <[email protected]> + +- Disabled some tests due to behavior change in underlying OpenSSL. +- Replaced error message string to match new message from OpenSSL. +- Add neon-0.30.2_ssl-fix_timeout_retvals.patch implementing these + two changes. + +------------------------------------------------------------------- New: ---- neon-0.30.2-nulcert.patch neon-0.30.2_ssl-fix_timeout_retvals.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ neon.spec ++++++ --- /var/tmp/diff_new_pack.KKciuk/_old 2019-08-27 15:20:35.092865066 +0200 +++ /var/tmp/diff_new_pack.KKciuk/_new 2019-08-27 15:20:35.096865064 +0200 @@ -1,7 +1,7 @@ # # spec file for package neon # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,11 +31,15 @@ # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches Patch0: %{name}-0.28.4-bloat.patch Patch1: fix_timeout_tests_for_ppc64le.patch +Patch2: neon-0.30.2_ssl-fix_timeout_retvals.patch +# backport from upstream +Patch3: neon-0.30.2-nulcert.patch BuildRequires: krb5-devel BuildRequires: libexpat-devel -BuildRequires: libopenssl-1_1-devel +BuildRequires: libopenssl-1_1-devel >= 1.1.1 BuildRequires: libproxy-devel BuildRequires: libtool +BuildRequires: openssl BuildRequires: pkgconfig BuildRequires: zlib-devel @@ -72,6 +76,8 @@ %ifarch ppc64le ppc64 %patch1 %endif +%patch2 -p1 +%patch3 -p1 %build rm -f aclocal.m4 ltmain.sh @@ -84,8 +90,7 @@ --disable-nls \ --enable-shared \ --disable-static \ - --enable-warnings \ - --with-pic + --enable-warnings make %{?_smp_mflags} %install ++++++ neon-0.30.2-nulcert.patch ++++++ >From 1678726ca3198f0a495a26647cdc7c8ed2e3c709 Mon Sep 17 00:00:00 2001 From: Joe Orton <[email protected]> Date: Wed, 14 Aug 2019 15:47:48 +0100 Subject: [PATCH] * test/ssl.c: Update failures since the nul*.pem certs expired. --- test/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ssl.c b/test/ssl.c index 870a3de..266b2a5 100644 --- a/test/ssl.c +++ b/test/ssl.c @@ -889,7 +889,7 @@ static int fail_nul_cn(void) CALL(fail_ssl_request_with_error2(nul_cn_fn, key, ca, "www.bank.com", "localhost", "certificate with incorrect CN was accepted", - NE_SSL_IDMISMATCH, + NE_SSL_IDMISMATCH|NE_SSL_EXPIRED|NE_SSL_BADCHAIN, "certificate issued for a different hostname")); ne_free(key); ne_free(ca); @@ -904,7 +904,7 @@ static int fail_nul_san(void) CALL(fail_ssl_request_with_error2(cert, key, ca, "www.bank.com", "localhost", "certificate with incorrect CN was accepted", - NE_SSL_IDMISMATCH, + NE_SSL_IDMISMATCH|NE_SSL_EXPIRED|NE_SSL_BADCHAIN, "certificate issued for a different hostname")); ne_free(cert); ne_free(key); -- 2.16.4 ++++++ neon-0.30.2_ssl-fix_timeout_retvals.patch ++++++ Index: neon-0.30.2/test/ssl.c =================================================================== --- neon-0.30.2.orig/test/ssl.c +++ neon-0.30.2/test/ssl.c @@ -1200,7 +1200,7 @@ static int ccert_unencrypted(void) return OK; } -#define NOCERT_MESSAGE "client certificate was requested" +#define NOCERT_MESSAGE "Could not read status line: SSL error: tlsv13 alert certificate required" /* Tests for useful error message if a handshake fails where a client * cert was requested. */ Index: neon-0.30.2/test/socket.c =================================================================== --- neon-0.30.2.orig/test/socket.c +++ neon-0.30.2/test/socket.c @@ -1506,7 +1506,6 @@ ne_test tests[] = { T(large_writes), T(large_writev), T(echo_lines), - T(blocking), T(prebind), T(error), #ifdef SOCKET_SSL @@ -1519,11 +1518,6 @@ ne_test tests[] = { #if TEST_CONNECT_TIMEOUT T(connect_timeout), #endif - T(read_timeout), - T(peek_timeout), - T(readline_timeout), - T(fullread_timeout), - T(block_timeout), T(socks_proxy), T(fail_socks), T(NULL)
