From 6f3452cf15b1c9f791edab8c77ffb856d5035bec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 15 Jan 2020 08:39:24 +0100 Subject: update to 2.15.0 move headers in /usr/include/cassandra enable Kerberos support --- cassandra-cpp-driver.spec | 20 +- compat_reports/2.14.1_to_2.15.0/compat_report.html | 827 +++++++++++++++++++++ libcassandra.xml | 4 +- 3 files changed, 844 insertions(+), 7 deletions(-) create mode 100644 compat_reports/2.14.1_to_2.15.0/compat_report.html diff --git a/cassandra-cpp-driver.spec b/cassandra-cpp-driver.spec index b91f20a..c2a3757 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-2019 Remi Collet +# Copyright (c) 2015-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit bb27c84bea51f84163d1a50e3e96c748a2cc583b +%global gh_commit c97dd437c3730421f006dc4f2e36b533e405d357 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner datastax %global gh_project cpp-driver @@ -17,7 +17,7 @@ Name: cassandra-cpp-driver Summary: DataStax C/C++ Driver for Apache Cassandra -Version: 2.14.1%{?prever:~%{prever}} +Version: 2.15.0%{?prever:~%{prever}} Release: 1%{?dist} License: ASL 2.0 Group: System Environment/Libraries @@ -30,6 +30,7 @@ BuildRequires: gcc-c++ BuildRequires: cmake >= 2.6.4 BuildRequires: libuv-devel >= 1:1.0 BuildRequires: openssl-devel +BuildRequires: krb5-devel BuildRequires: zlib-devel @@ -61,7 +62,11 @@ find examples -name .gitignore -exec rm {} \; -print %if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 export CXXFLAGS="$RPM_OPT_FLAGS -Wno-implicit-fallthrough" %endif -%cmake +%cmake \ + -DCASS_USE_KERBEROS:BOOL=ON \ + -DCASS_USE_OPENSSL:BOOL=ON \ + -DCASS_INSTALL_HEADER_IN_SUBDIR:BOOL=ON \ + . make %{_smp_mflags} @@ -86,11 +91,16 @@ make install DESTDIR="%{buildroot}" %doc *.md %doc examples %{_libdir}/%{libname}.so -%{_includedir}/cassandra.h +%{_includedir}/cassandra/ %{_libdir}/pkgconfig/cassandra.pc %changelog +* Wed Jan 15 2020 Remi Collet - 2.15.0-1 +- update to 2.15.0 +- move headers in /usr/include/cassandra +- enable Kerberos support + * Thu Dec 12 2019 Remi Collet - 2.14.1-1 - update to 2.14.1 diff --git a/compat_reports/2.14.1_to_2.15.0/compat_report.html b/compat_reports/2.14.1_to_2.15.0/compat_report.html new file mode 100644 index 0000000..2684388 --- /dev/null +++ b/compat_reports/2.14.1_to_2.15.0/compat_report.html @@ -0,0 +1,827 @@ + + + + + + + + + +libcassandra: 2.14.1 to 2.15.0 compatibility report + + + +

API compatibility report for the libcassandra library between 2.14.1 and 2.15.0 versions on x86_64

+ +
+
+

Test Info


+ + + + + + + +
Library Namelibcassandra
Version #12.14.1
Version #22.15.0
Archx86_64
GCC Version9
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types609 / 128
Compatibility100%
+

Problem Summary


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

Added Symbols  89 


+cassandra.h, libcassandra.so.2.15.0
+cass_cluster_set_application_name ( CassCluster* cluster, char const* application_name )
+cass_cluster_set_application_name_n ( CassCluster* cluster, char const* application_name, size_t application_name_length )
+cass_cluster_set_application_version ( CassCluster* cluster, char const* application_version )
+cass_cluster_set_application_version_n ( CassCluster* cluster, char const* application_version, size_t application_version_length )
+cass_cluster_set_client_id ( CassCluster* cluster, CassUuid client_id )
+cass_cluster_set_monitor_reporting_interval ( CassCluster* cluster, unsigned int interval_secs )
+cass_session_get_client_id ( CassSession* session )
+
+dse.h, libcassandra.so.2.15.0
+cass_batch_set_execute_as ( CassBatch* batch, char const* name )
+cass_batch_set_execute_as_n ( CassBatch* batch, char const* name, size_t name_length )
+cass_cluster_set_dse_gssapi_authenticator ( CassCluster* cluster, char const* service, char const* principal )
+cass_cluster_set_dse_gssapi_authenticator_n ( CassCluster* cluster, char const* service, size_t service_length, char const* principal, size_t principal_length )
+cass_cluster_set_dse_gssapi_authenticator_proxy ( CassCluster* cluster, char const* service, char const* principal, char const* authorization_id )
+cass_cluster_set_dse_gssapi_authenticator_proxy_n ( CassCluster* cluster, char const* service, size_t service_length, char const* principal, size_t principal_length, char const* authorization_id, size_t authorization_id_length )
+cass_cluster_set_dse_plaintext_authenticator ( CassCluster* cluster, char const* username, char const* password )
+cass_cluster_set_dse_plaintext_authenticator_n ( CassCluster* cluster, char const* username, size_t username_length, char const* password, size_t password_length )
+cass_cluster_set_dse_plaintext_authenticator_proxy ( CassCluster* cluster, char const* username, char const* password, char const* authorization_id )
+cass_cluster_set_dse_plaintext_authenticator_proxy_n ( CassCluster* cluster, char const* username, size_t username_length, char const* password, size_t password_length, char const* authorization_id, size_t authorization_id_length )
+cass_collection_append_dse_date_range ( CassCollection* collection, DseDateRange const* range )
+cass_collection_append_dse_line_string ( CassCollection* collection, DseLineString const* line_string )
+cass_collection_append_dse_point ( CassCollection* collection, cass_double_t x, cass_double_t y )
+cass_collection_append_dse_polygon ( CassCollection* collection, DsePolygon const* polygon )
+cass_statement_bind_dse_date_range ( CassStatement* statement, size_t index, DseDateRange const* range )
+cass_statement_bind_dse_date_range_by_name ( CassStatement* statement, char const* name, DseDateRange const* range )
+cass_statement_bind_dse_date_range_by_name_n ( CassStatement* statement, char const* name, size_t name_length, DseDateRange const* range )
+cass_statement_bind_dse_line_string ( CassStatement* statement, size_t index, DseLineString const* line_string )
+cass_statement_bind_dse_line_string_by_name ( CassStatement* statement, char const* name, DseLineString const* line_string )
+cass_statement_bind_dse_line_string_by_name_n ( CassStatement* statement, char const* name, size_t name_length, DseLineString const* line_string )
+cass_statement_bind_dse_point ( CassStatement* statement, size_t index, cass_double_t x, cass_double_t y )
+cass_statement_bind_dse_point_by_name ( CassStatement* statement, char const* name, cass_double_t x, cass_double_t y )
+cass_statement_bind_dse_point_by_name_n ( CassStatement* statement, char const* name, size_t name_length, cass_double_t x, cass_double_t y )
+cass_statement_bind_dse_polygon ( CassStatement* statement, size_t index, DsePolygon const* polygon )
+cass_statement_bind_dse_polygon_by_name ( CassStatement* statement, char const* name, DsePolygon const* polygon )
+cass_statement_bind_dse_polygon_by_name_n ( CassStatement* statement, char const* name, size_t name_length, DsePolygon const* polygon )
+cass_statement_set_execute_as ( CassStatement* statement, char const* name )
+cass_statement_set_execute_as_n ( CassStatement* statement, char const* name, size_t name_length )
+cass_tuple_set_dse_date_range ( CassTuple* tuple, size_t index, DseDateRange const* range )
+cass_tuple_set_dse_line_string ( CassTuple* tuple, size_t index, DseLineString const* line_string )
+cass_tuple_set_dse_point ( CassTuple* tuple, size_t index, cass_double_t x, cass_double_t y )
+cass_tuple_set_dse_polygon ( CassTuple* tuple, size_t index, DsePolygon const* polygon )
+cass_user_type_set_dse_date_range ( CassUserType* user_type, size_t index, DseDateRange const* range )
+cass_user_type_set_dse_date_range_by_name ( CassUserType* user_type, char const* name, DseDateRange const* range )
+cass_user_type_set_dse_date_range_by_name_n ( CassUserType* user_type, char const* name, size_t name_length, DseDateRange const* range )
+cass_user_type_set_dse_line_string ( CassUserType* user_type, size_t index, DseLineString const* line_string )
+cass_user_type_set_dse_line_string_by_name ( CassUserType* user_type, char const* name, DseLineString const* line_string )
+cass_user_type_set_dse_line_string_by_name_n ( CassUserType* user_type, char const* name, size_t name_length, DseLineString const* line_string )
+cass_user_type_set_dse_point ( CassUserType* user_type, size_t index, cass_double_t x, cass_double_t y )
+cass_user_type_set_dse_point_by_name ( CassUserType* user_type, char const* name, cass_double_t x, cass_double_t y )
+cass_user_type_set_dse_point_by_name_n ( CassUserType* user_type, char const* name, size_t name_length, cass_double_t x, cass_double_t y )
+cass_user_type_set_dse_polygon ( CassUserType* user_type, size_t index, DsePolygon const* polygon )
+cass_user_type_set_dse_polygon_by_name ( CassUserType* user_type, char const* name, DsePolygon const* polygon )
+cass_user_type_set_dse_polygon_by_name_n ( CassUserType* user_type, char const* name, size_t name_length, DsePolygon const* polygon )
+cass_value_get_dse_date_range ( CassValue const* value, DseDateRange* range )
+cass_value_get_dse_point ( CassValue const* value, cass_double_t* x, cass_double_t* y )
+dse_date_range_bound_init ( DseDateRangePrecision precision, cass_int64_t time_ms )
+dse_date_range_bound_is_unbounded ( DseDateRangeBound bound )
+dse_date_range_bound_unbounded ( )
+dse_date_range_init ( DseDateRange* range, DseDateRangeBound lower_bound, DseDateRangeBound upper_bound )
+dse_date_range_init_single_date ( DseDateRange* range, DseDateRangeBound date )
+dse_gssapi_authenticator_set_lock_callbacks ( DseGssapiAuthenticatorLockCallback lock_callback, DseGssapiAuthenticatorUnlockCallback unlock_callback, void* data )
+dse_line_string_add_point ( DseLineString* line_string, cass_double_t x, cass_double_t y )
+dse_line_string_finish ( DseLineString* line_string )
+dse_line_string_free ( DseLineString* line_string )
+dse_line_string_iterator_free ( DseLineStringIterator* iterator )
+dse_line_string_iterator_new ( )
+dse_line_string_iterator_next_point ( DseLineStringIterator* iterator, cass_double_t* x, cass_double_t* y )
+dse_line_string_iterator_num_points ( DseLineStringIterator const* iterator )
+dse_line_string_iterator_reset ( DseLineStringIterator* iterator, CassValue const* value )
+dse_line_string_iterator_reset_with_wkt ( DseLineStringIterator* iterator, char const* wkt )
+dse_line_string_iterator_reset_with_wkt_n ( DseLineStringIterator* iterator, char const* wkt, size_t wkt_length )
+dse_line_string_new ( )
+dse_line_string_reserve ( DseLineString* line_string, cass_uint32_t num_points )
+dse_line_string_reset ( DseLineString* line_string )
+dse_point_from_wkt ( char const* wkt, cass_double_t* x, cass_double_t* y )
+dse_point_from_wkt_n ( char const* wkt, size_t wkt_length, cass_double_t* x, cass_double_t* y )
+dse_polygon_add_point ( DsePolygon* polygon, cass_double_t x, cass_double_t y )
+dse_polygon_finish ( DsePolygon* polygon )
+dse_polygon_free ( DsePolygon* polygon )
+dse_polygon_iterator_free ( DsePolygonIterator* iterator )
+dse_polygon_iterator_new ( )
+dse_polygon_iterator_next_num_points ( DsePolygonIterator* iterator, cass_uint32_t* num_points )
+dse_polygon_iterator_next_point ( DsePolygonIterator* iterator, cass_double_t* x, cass_double_t* y )
+dse_polygon_iterator_num_rings ( DsePolygonIterator const* iterator )
+dse_polygon_iterator_reset ( DsePolygonIterator* iterator, CassValue const* value )
+dse_polygon_iterator_reset_with_wkt ( DsePolygonIterator* iterator, char const* wkt )
+dse_polygon_iterator_reset_with_wkt_n ( DsePolygonIterator* iterator, char const* wkt, size_t wkt_length )
+dse_polygon_new ( )
+dse_polygon_reserve ( DsePolygon* polygon, cass_uint32_t num_rings, cass_uint32_t total_num_points )
+dse_polygon_reset ( DsePolygon* polygon )
+dse_polygon_start_ring ( DsePolygon* polygon )
+
+to the top
+

Header Files  1 


+
+cassandra.h
+
+
to the top
+

Libraries  1 


+
+libcassandra.so.2.14.1
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibcassandra
Version #12.14.1
Version #22.15.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types609 / 128
Compatibility100%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-89
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low2
Other Changes
in Constants
-6
+ +

Added Symbols  89 


+cassandra.h
+cass_cluster_set_application_name ( CassCluster* cluster, char const* application_name )
+cass_cluster_set_application_name_n ( CassCluster* cluster, char const* application_name, size_t application_name_length )
+cass_cluster_set_application_version ( CassCluster* cluster, char const* application_version )
+cass_cluster_set_application_version_n ( CassCluster* cluster, char const* application_version, size_t application_version_length )
+cass_cluster_set_client_id ( CassCluster* cluster, CassUuid client_id )
+cass_cluster_set_monitor_reporting_interval ( CassCluster* cluster, unsigned int interval_secs )
+cass_session_get_client_id ( CassSession* session )
+
+dse.h
+cass_batch_set_execute_as ( CassBatch* batch, char const* name )
+cass_batch_set_execute_as_n ( CassBatch* batch, char const* name, size_t name_length )
+cass_cluster_set_dse_gssapi_authenticator ( CassCluster* cluster, char const* service, char const* principal )
+cass_cluster_set_dse_gssapi_authenticator_n ( CassCluster* cluster, char const* service, size_t service_length, char const* principal, size_t principal_length )
+cass_cluster_set_dse_gssapi_authenticator_proxy ( CassCluster* cluster, char const* service, char const* principal, char const* authorization_id )
+cass_cluster_set_dse_gssapi_authenticator_proxy_n ( CassCluster* cluster, char const* service, size_t service_length, char const* principal, size_t principal_length, char const* authorization_id, size_t authorization_id_length )
+cass_cluster_set_dse_plaintext_authenticator ( CassCluster* cluster, char const* username, char const* password )
+cass_cluster_set_dse_plaintext_authenticator_n ( CassCluster* cluster, char const* username, size_t username_length, char const* password, size_t password_length )
+cass_cluster_set_dse_plaintext_authenticator_proxy ( CassCluster* cluster, char const* username, char const* password, char const* authorization_id )
+cass_cluster_set_dse_plaintext_authenticator_proxy_n ( CassCluster* cluster, char const* username, size_t username_length, char const* password, size_t password_length, char const* authorization_id, size_t authorization_id_length )
+cass_collection_append_dse_date_range ( CassCollection* collection, DseDateRange const* range )
+cass_collection_append_dse_line_string ( CassCollection* collection, DseLineString const* line_string )
+cass_collection_append_dse_point ( CassCollection* collection, cass_double_t x, cass_double_t y )
+cass_collection_append_dse_polygon ( CassCollection* collection, DsePolygon const* polygon )
+cass_statement_bind_dse_date_range ( CassStatement* statement, size_t index, DseDateRange const* range )
+cass_statement_bind_dse_date_range_by_name ( CassStatement* statement, char const* name, DseDateRange const* range )
+cass_statement_bind_dse_date_range_by_name_n ( CassStatement* statement, char const* name, size_t name_length, DseDateRange const* range )
+cass_statement_bind_dse_line_string ( CassStatement* statement, size_t index, DseLineString const* line_string )
+cass_statement_bind_dse_line_string_by_name ( CassStatement* statement, char const* name, DseLineString const* line_string )
+cass_statement_bind_dse_line_string_by_name_n ( CassStatement* statement, char const* name, size_t name_length, DseLineString const* line_string )
+cass_statement_bind_dse_point ( CassStatement* statement, size_t index, cass_double_t x, cass_double_t y )
+cass_statement_bind_dse_point_by_name ( CassStatement* statement, char const* name, cass_double_t x, cass_double_t y )
+cass_statement_bind_dse_point_by_name_n ( CassStatement* statement, char const* name, size_t name_length, cass_double_t x, cass_double_t y )
+cass_statement_bind_dse_polygon ( CassStatement* statement, size_t index, DsePolygon const* polygon )
+cass_statement_bind_dse_polygon_by_name ( CassStatement* statement, char const* name, DsePolygon const* polygon )
+cass_statement_bind_dse_polygon_by_name_n ( CassStatement* statement, char const* name, size_t name_length, DsePolygon const* polygon )
+cass_statement_set_execute_as ( CassStatement* statement, char const* name )
+cass_statement_set_execute_as_n ( CassStatement* statement, char const* name, size_t name_length )
+cass_tuple_set_dse_date_range ( CassTuple* tuple, size_t index, DseDateRange const* range )
+cass_tuple_set_dse_line_string ( CassTuple* tuple, size_t index, DseLineString const* line_string )
+cass_tuple_set_dse_point ( CassTuple* tuple, size_t index, cass_double_t x, cass_double_t y )
+cass_tuple_set_dse_polygon ( CassTuple* tuple, size_t index, DsePolygon const* polygon )
+cass_user_type_set_dse_date_range ( CassUserType* user_type, size_t index, DseDateRange const* range )
+cass_user_type_set_dse_date_range_by_name ( CassUserType* user_type, char const* name, DseDateRange const* range )
+cass_user_type_set_dse_date_range_by_name_n ( CassUserType* user_type, char const* name, size_t name_length, DseDateRange const* range )
+cass_user_type_set_dse_line_string ( CassUserType* user_type, size_t index, DseLineString const* line_string )
+cass_user_type_set_dse_line_string_by_name ( CassUserType* user_type, char const* name, DseLineString const* line_string )
+cass_user_type_set_dse_line_string_by_name_n ( CassUserType* user_type, char const* name, size_t name_length, DseLineString const* line_string )
+cass_user_type_set_dse_point ( CassUserType* user_type, size_t index, cass_double_t x, cass_double_t y )
+cass_user_type_set_dse_point_by_name ( CassUserType* user_type, char const* name, cass_double_t x, cass_double_t y )
+cass_user_type_set_dse_point_by_name_n ( CassUserType* user_type, char const* name, size_t name_length, cass_double_t x, cass_double_t y )
+cass_user_type_set_dse_polygon ( CassUserType* user_type, size_t index, DsePolygon const* polygon )
+cass_user_type_set_dse_polygon_by_name ( CassUserType* user_type, char const* name, DsePolygon const* polygon )
+cass_user_type_set_dse_polygon_by_name_n ( CassUserType* user_type, char const* name, size_t name_length, DsePolygon const* polygon )
+cass_value_get_dse_date_range ( CassValue const* value, DseDateRange* range )
+cass_value_get_dse_point ( CassValue const* value, cass_double_t* x, cass_double_t* y )
+dse_date_range_bound_init ( DseDateRangePrecision precision, cass_int64_t time_ms )
+dse_date_range_bound_is_unbounded ( DseDateRangeBound bound )
+dse_date_range_bound_unbounded ( )
+dse_date_range_init ( DseDateRange* range, DseDateRangeBound lower_bound, DseDateRangeBound upper_bound )
+dse_date_range_init_single_date ( DseDateRange* range, DseDateRangeBound date )
+dse_gssapi_authenticator_set_lock_callbacks ( DseGssapiAuthenticatorLockCallback lock_callback, DseGssapiAuthenticatorUnlockCallback unlock_callback, void* data )
+dse_line_string_add_point ( DseLineString* line_string, cass_double_t x, cass_double_t y )
+dse_line_string_finish ( DseLineString* line_string )
+dse_line_string_free ( DseLineString* line_string )
+dse_line_string_iterator_free ( DseLineStringIterator* iterator )
+dse_line_string_iterator_new ( )
+dse_line_string_iterator_next_point ( DseLineStringIterator* iterator, cass_double_t* x, cass_double_t* y )
+dse_line_string_iterator_num_points ( DseLineStringIterator const* iterator )
+dse_line_string_iterator_reset ( DseLineStringIterator* iterator, CassValue const* value )
+dse_line_string_iterator_reset_with_wkt ( DseLineStringIterator* iterator, char const* wkt )
+dse_line_string_iterator_reset_with_wkt_n ( DseLineStringIterator* iterator, char const* wkt, size_t wkt_length )
+dse_line_string_new ( )
+dse_line_string_reserve ( DseLineString* line_string, cass_uint32_t num_points )
+dse_line_string_reset ( DseLineString* line_string )
+dse_point_from_wkt ( char const* wkt, cass_double_t* x, cass_double_t* y )
+dse_point_from_wkt_n ( char const* wkt, size_t wkt_length, cass_double_t* x, cass_double_t* y )
+dse_polygon_add_point ( DsePolygon* polygon, cass_double_t x, cass_double_t y )
+dse_polygon_finish ( DsePolygon* polygon )
+dse_polygon_free ( DsePolygon* polygon )
+dse_polygon_iterator_free ( DsePolygonIterator* iterator )
+dse_polygon_iterator_new ( )
+dse_polygon_iterator_next_num_points ( DsePolygonIterator* iterator, cass_uint32_t* num_points )
+dse_polygon_iterator_next_point ( DsePolygonIterator* iterator, cass_double_t* x, cass_double_t* y )
+dse_polygon_iterator_num_rings ( DsePolygonIterator const* iterator )
+dse_polygon_iterator_reset ( DsePolygonIterator* iterator, CassValue const* value )
+dse_polygon_iterator_reset_with_wkt ( DsePolygonIterator* iterator, char const* wkt )
+dse_polygon_iterator_reset_with_wkt_n ( DsePolygonIterator* iterator, char const* wkt, size_t wkt_length )
+dse_polygon_new ( )
+dse_polygon_reserve ( DsePolygon* polygon, cass_uint32_t num_rings, cass_uint32_t total_num_points )
+dse_polygon_reset ( DsePolygon* polygon )
+dse_polygon_start_ring ( DsePolygon* polygon )
+
+to the top
+ +

Problems with Constants, Low Severity  2 


+cassandra.h
+ +[+] CASS_VERSION_MINOR +
+ + + +[+] CASS_VERSION_PATCH +
+ + +
+to the top
+ +

Other Changes in Constants  6 


+dse.h
+ +[+] DSE_DEPRECATED +
+ + + +[+] DSE_EXPORT +
+ + + +[+] DSE_VERSION_MAJOR +
+ + + +[+] DSE_VERSION_MINOR +
+ + + +[+] DSE_VERSION_PATCH +
+ + + +[+] DSE_VERSION_SUFFIX +
+ + +
+to the top
+

Header Files  1 


+
+cassandra.h
+
+
to the top
+

Libraries  1 


+
+libcassandra.so.2.14.1
+
+
to the top
+



+ +
+ + diff --git a/libcassandra.xml b/libcassandra.xml index 4b74fad..8abf111 100644 --- a/libcassandra.xml +++ b/libcassandra.xml @@ -9,13 +9,13 @@ -2.14.1 +2.15.0 -/usr/include/cassandra.h +/usr/include/cassandra -- cgit