diff options
-rw-r--r-- | libcouchbase-pr25.patch | 14 | ||||
-rw-r--r-- | libcouchbase.spec | 9 |
2 files changed, 22 insertions, 1 deletions
diff --git a/libcouchbase-pr25.patch b/libcouchbase-pr25.patch new file mode 100644 index 0000000..68cd2e2 --- /dev/null +++ b/libcouchbase-pr25.patch @@ -0,0 +1,14 @@ +diff --git a/src/ssl/ssl_common.c b/src/ssl/ssl_common.c +index 3a5327b..4b18d74 100644 +--- a/src/ssl/ssl_common.c ++++ b/src/ssl/ssl_common.c +@@ -156,7 +156,9 @@ iotssl_log_errors(lcbio_XSSL *xs) + if (ERR_GET_LIB(curerr) == ERR_LIB_SSL) { + switch (ERR_GET_REASON(curerr)) { + case SSL_R_CERTIFICATE_VERIFY_FAILED: ++#ifdef SSL_R_MISSING_VERIFY_MESSAGE + case SSL_R_MISSING_VERIFY_MESSAGE: ++#endif + xs->errcode = LCB_SSL_CANTVERIFY; + break; + diff --git a/libcouchbase.spec b/libcouchbase.spec index db6e3ce..218294b 100644 --- a/libcouchbase.spec +++ b/libcouchbase.spec @@ -17,7 +17,7 @@ %endif Name: libcouchbase -Version: 2.7.2 +Version: 2.7.3 Release: 1%{?dist} Summary: Couchbase client library Group: System Environment/Libraries @@ -25,6 +25,9 @@ License: ASL 2.0 URL: http://www.couchbase.com/communities/c/getting-started Source0: http://packages.couchbase.com/clients/c/%{name}-%{version}.tar.gz +# https://github.com/couchbase/libcouchbase/pull/25 +Patch0: %{name}-pr25.patch + BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: cyrus-sasl-devel @@ -74,6 +77,7 @@ a Couchbase Server. %prep %setup -q +%patch0 -p1 -b .pr25 %build @@ -123,6 +127,9 @@ make check %changelog +* Wed Mar 22 2017 Remi Collet <remi@remirepo.net> - 2.7.3-1 +- update to 2.7.3 + * Wed Feb 22 2017 Remi Collet <remi@remirepo.net> - 2.7.2-1 - update to 2.7.2 |