From bbb4d08c2d3e9856edea1dd01ab735af3659c1e2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Aug 2023 19:37:47 +0200 Subject: update to 2.16.2 --- cassandra-cpp-driver-openssl3.patch | 37 -- cassandra-cpp-driver.spec | 13 +- compat_reports/2.16.2_to_2.17.0/compat_report.html | 569 +++++++++++++++++++++ libcassandra.xml | 2 +- 4 files changed, 578 insertions(+), 43 deletions(-) delete mode 100644 cassandra-cpp-driver-openssl3.patch create mode 100644 compat_reports/2.16.2_to_2.17.0/compat_report.html diff --git a/cassandra-cpp-driver-openssl3.patch b/cassandra-cpp-driver-openssl3.patch deleted file mode 100644 index 7e26495..0000000 --- a/cassandra-cpp-driver-openssl3.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 71f2f6df263871bf56372160291f47e81856046c Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Wed, 10 Nov 2021 16:36:40 +0100 -Subject: [PATCH] drop deprecated call with OpenSSL 3.0 - ---- - src/ssl/ssl_openssl_impl.cpp | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/src/ssl/ssl_openssl_impl.cpp b/src/ssl/ssl_openssl_impl.cpp -index 3b1124378..90f8ba631 100644 ---- a/src/ssl/ssl_openssl_impl.cpp -+++ b/src/ssl/ssl_openssl_impl.cpp -@@ -91,7 +91,11 @@ static void ssl_log_errors(const char* context) { - const char* data; - int flags; - int err; -+#if (OPENSSL_VERSION_NUMBER >= 0x30000000L) -+ while ((err = ERR_get_error_all(NULL, NULL, NULL, &data, &flags)) != 0) { -+#else - while ((err = ERR_get_error_line_data(NULL, NULL, &data, &flags)) != 0) { -+#endif - char buf[256]; - ERR_error_string_n(err, buf, sizeof(buf)); - LOG_ERROR("%s: %s:%s", context, buf, (flags & ERR_TXT_STRING) ? data : ""); -@@ -104,7 +108,11 @@ static String ssl_error_string() { - int flags; - int err; - String error; -+#if (OPENSSL_VERSION_NUMBER >= 0x30000000L) -+ while ((err = ERR_get_error_all(NULL, NULL, NULL, &data, &flags)) != 0) { -+#else - while ((err = ERR_get_error_line_data(NULL, NULL, &data, &flags)) != 0) { -+#endif - char buf[256]; - ERR_error_string_n(err, buf, sizeof(buf)); - if (!error.empty()) error.push_back(','); diff --git a/cassandra-cpp-driver.spec b/cassandra-cpp-driver.spec index d640dda..99f3f4b 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-2021 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2015-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit 90df2c9ca1aa184a746445698533c71f7f34a2e1 +%global gh_commit f49a413409a5af3c60b73ac6d7d89a97cb368d46 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner datastax %global gh_project cpp-driver @@ -17,9 +17,9 @@ Name: cassandra-cpp-driver Summary: DataStax C/C++ Driver for Apache Cassandra -Version: 2.16.2%{?prever:~%{prever}} +Version: 2.17.0%{?prever:~%{prever}} Release: 1%{?dist} -License: ASL 2.0 +License: Apache-2.0 Group: System Environment/Libraries URL: http://datastax.github.io/cpp-driver/ @@ -104,6 +104,9 @@ make install DESTDIR="%{buildroot}" %changelog +* Fri Aug 18 2023 Remi Collet - 2.17.0-1 +- update to 2.16.2 + * Wed Dec 8 2021 Remi Collet - 2.16.2-1 - update to 2.16.2 diff --git a/compat_reports/2.16.2_to_2.17.0/compat_report.html b/compat_reports/2.16.2_to_2.17.0/compat_report.html new file mode 100644 index 0000000..ad3ad30 --- /dev/null +++ b/compat_reports/2.16.2_to_2.17.0/compat_report.html @@ -0,0 +1,569 @@ + + + + + + + + + +libcassandra: 2.16.2 to 2.17.0 compatibility report + + + +

API compatibility report for the libcassandra library between 2.16.2 and 2.17.0 versions on x86_64

+ +
+
+

Test Info


+ + + + + + + +
Library Namelibcassandra
Version #12.16.2
Version #22.17.0
Archx86_64
GCC Version12
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types700 / 145
Compatibility100%
+

Problem Summary


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

Added Symbols  1 


+cassandra.h, libcassandra.so.2.17.0
+cass_ssl_set_min_protocol_version ( CassSsl* ssl, CassSslTlsVersion min_version )
+
+to the top
+

Header Files  2 


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

Libraries  1 


+
+libcassandra.so.2.16.2
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibcassandra
Version #12.16.2
Version #22.17.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types700 / 145
Compatibility100%
+

Problem Summary


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

Added Symbols  1 


+cassandra.h
+cass_ssl_set_min_protocol_version ( CassSsl* ssl, CassSslTlsVersion min_version )
+
+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.16.2
+
+
to the top
+



+ +
+ + diff --git a/libcassandra.xml b/libcassandra.xml index c0a2472..2da6054 100644 --- a/libcassandra.xml +++ b/libcassandra.xml @@ -9,7 +9,7 @@ -2.16.2 +2.17.0 -- cgit