From 2c92f508d6c7abcf02238d8fd2a5680c1432bdad Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 11 Mar 2021 06:58:47 +0100 Subject: update to 2.16.0 drop patch merged upstream --- 479.patch | 24 - cassandra-cpp-driver.spec | 16 +- compat_reports/2.15.3_to_2.16.0/compat_report.html | 571 +++++++++++++++++++++ libcassandra.xml | 2 +- 4 files changed, 580 insertions(+), 33 deletions(-) delete mode 100644 479.patch create mode 100644 compat_reports/2.15.3_to_2.16.0/compat_report.html diff --git a/479.patch b/479.patch deleted file mode 100644 index ddc11b1..0000000 --- a/479.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 464bdd6b70409a62ee47ff6c9d0ca09d3f90ed76 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Tue, 21 Jul 2020 08:33:48 +0200 -Subject: [PATCH] SSL_CTX_set_max_proto_version requires openssl 1.1 - ---- - src/ssl/ssl_openssl_impl.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/ssl/ssl_openssl_impl.cpp b/src/ssl/ssl_openssl_impl.cpp -index 29d26ef51..3b1124378 100644 ---- a/src/ssl/ssl_openssl_impl.cpp -+++ b/src/ssl/ssl_openssl_impl.cpp -@@ -539,8 +539,10 @@ OpenSslContext::OpenSslContext() - , trusted_store_(X509_STORE_new()) { - SSL_CTX_set_cert_store(ssl_ctx_, trusted_store_); - SSL_CTX_set_verify(ssl_ctx_, SSL_VERIFY_NONE, ssl_no_verify_callback); -+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) - // Limit to TLS 1.2 for now. TLS 1.3 has broken the handshake code. - SSL_CTX_set_max_proto_version(ssl_ctx_, TLS1_2_VERSION); -+#endif - #if DEBUG_SSL - SSL_CTX_set_info_callback(ssl_ctx_, ssl_info_callback); - #endif diff --git a/cassandra-cpp-driver.spec b/cassandra-cpp-driver.spec index c292754..462c593 100644 --- a/cassandra-cpp-driver.spec +++ b/cassandra-cpp-driver.spec @@ -1,13 +1,13 @@ # remirepo/fedora spec file for cassandra-cpp-driver # -# Copyright (c) 2015-2020 Remi Collet +# Copyright (c) 2015-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit ee2151664314f4efe3d7d00e49677445fe6c8830 +%global gh_commit 70812a0b5d21fb3e7f6c6e98a76f0a688d0c8a69 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner datastax %global gh_project cpp-driver @@ -17,16 +17,14 @@ Name: cassandra-cpp-driver Summary: DataStax C/C++ Driver for Apache Cassandra -Version: 2.15.3%{?prever:~%{prever}} -Release: 2%{?dist} +Version: 2.16.0%{?prever:~%{prever}} +Release: 1%{?dist} License: ASL 2.0 Group: System Environment/Libraries URL: http://datastax.github.io/cpp-driver/ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever:-%{prever}}-%{gh_short}.tar.gz -Patch0: https://patch-diff.githubusercontent.com/raw/datastax/cpp-driver/pull/479.patch - BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake >= 2.8.12 @@ -56,8 +54,6 @@ for %{name}. %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch0 -p1 - find examples -name .gitignore -exec rm {} \; -print @@ -108,6 +104,10 @@ make install DESTDIR="%{buildroot}" %changelog +* Thu Mar 11 2021 Remi Collet - 2.16.0-1 +- update to 2.16.0 +- drop patch merged upstream + * Wed Aug 19 2020 Remi Collet - 2.15.3-2 - fix cmake usage for F33 build diff --git a/compat_reports/2.15.3_to_2.16.0/compat_report.html b/compat_reports/2.15.3_to_2.16.0/compat_report.html new file mode 100644 index 0000000..e93a565 --- /dev/null +++ b/compat_reports/2.15.3_to_2.16.0/compat_report.html @@ -0,0 +1,571 @@ + + + + + + + + + +libcassandra: 2.15.3 to 2.16.0 compatibility report + + + +

API compatibility report for the libcassandra library between 2.15.3 and 2.16.0 versions on x86_64

+ +
+
+

Test Info


+ + + + + + + +
Library Namelibcassandra
Version #12.15.3
Version #22.16.0
Archx86_64
GCC Version10
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types698 / 144
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-2
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Added Symbols  2 


+cassandra.h, libcassandra.so.2.16.0
+cass_future_coordinator ( CassFuture* future )
+cass_statement_set_node ( CassStatement* statement, CassNode const* node )
+
+to the top
+

Header Files  2 


+
+cassandra.h
+dse.h
+
+
to the top
+

Libraries  1 


+
+libcassandra.so.2.15.2
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibcassandra
Version #12.15.3
Version #22.16.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types698 / 144
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-2
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low4
+ +

Added Symbols  2 


+cassandra.h
+cass_future_coordinator ( CassFuture* future )
+cass_statement_set_node ( CassStatement* statement, CassNode const* node )
+
+to the top
+ +

Problems with Constants, Low Severity  4 


+cassandra.h
+ +[+] CASS_VERSION_MINOR +
+ + + +[+] CASS_VERSION_PATCH +
+ + +
+dse.h
+ +[+] DSE_VERSION_MINOR +
+ + + +[+] DSE_VERSION_PATCH +
+ + +
+to the top
+

Header Files  2 


+
+cassandra.h
+dse.h
+
+
to the top
+

Libraries  1 


+
+libcassandra.so.2.15.2
+
+
to the top
+



+ +
+ + diff --git a/libcassandra.xml b/libcassandra.xml index c33c2e6..a03f134 100644 --- a/libcassandra.xml +++ b/libcassandra.xml @@ -9,7 +9,7 @@ -2.15.3 +2.16.0 -- cgit