From ca509a6fcc22d7057cdf286c1cb62a751886264c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 7 Jan 2025 16:06:50 +0100 Subject: update to 2.8.0 re-license spec file to CECILL-2.1 update to 2.8.0 re-license spec file to CECILL-2.1 --- compat_reports/2.6.1_to_2.8.0/compat_report.html | 512 +++++++++++++++++++++++ librdkafka-build.patch | 27 -- librdkafka.spec | 19 +- librdkafka.xml | 2 +- 4 files changed, 522 insertions(+), 38 deletions(-) create mode 100644 compat_reports/2.6.1_to_2.8.0/compat_report.html delete mode 100644 librdkafka-build.patch diff --git a/compat_reports/2.6.1_to_2.8.0/compat_report.html b/compat_reports/2.6.1_to_2.8.0/compat_report.html new file mode 100644 index 0000000..75dabdc --- /dev/null +++ b/compat_reports/2.6.1_to_2.8.0/compat_report.html @@ -0,0 +1,512 @@ + + + + + + + + + +librdkafka: 2.6.1 to 2.8.0 compatibility report + + + +

API compatibility report for the librdkafka library between 2.6.1 and 2.8.0 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibrdkafka
Version #12.6.1
Version #22.8.0
Archx86_64
GCC Version14
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types457 / 174
Compatibility100%
+

Problem Summary


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

Added Symbols  3 


+rdkafka.h, librdkafka.so.1
+rd_kafka_consumer_group_metadata_generation_id ( rd_kafka_consumer_group_metadata_t const* group_metadata )
+rd_kafka_consumer_group_metadata_group_id ( rd_kafka_consumer_group_metadata_t const* group_metadata )
+rd_kafka_consumer_group_metadata_group_instance_id ( rd_kafka_consumer_group_metadata_t const* group_metadata )
+
+to the top
+

Header Files  1 


+
+rdkafka.h
+
+
to the top
+

Libraries  1 


+
+librdkafka.so.1
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibrdkafka
Version #12.6.1
Version #22.8.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types457 / 174
Compatibility100%
+

Problem Summary


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

Added Symbols  3 


+rdkafka.h
+rd_kafka_consumer_group_metadata_generation_id ( rd_kafka_consumer_group_metadata_t const* group_metadata )
+rd_kafka_consumer_group_metadata_group_id ( rd_kafka_consumer_group_metadata_t const* group_metadata )
+rd_kafka_consumer_group_metadata_group_instance_id ( rd_kafka_consumer_group_metadata_t const* group_metadata )
+
+to the top
+ +

Problems with Constants, Low Severity  1 


+rdkafka.h
+ +[+] RD_KAFKA_VERSION +
+ + +
+to the top
+

Header Files  1 


+
+rdkafka.h
+
+
to the top
+

Libraries  1 


+
+librdkafka.so.1
+
+
to the top
+



+ +
+ + diff --git a/librdkafka-build.patch b/librdkafka-build.patch deleted file mode 100644 index 0bae5b6..0000000 --- a/librdkafka-build.patch +++ /dev/null @@ -1,27 +0,0 @@ -From e6839033360f46f001f4121e815a643468dfc079 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Thu, 21 Nov 2024 09:02:57 +0100 -Subject: [PATCH] use OPENSSL_NO_ENGINE from OpenSSL config - ---- - src/rdkafka_conf.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/rdkafka_conf.h b/src/rdkafka_conf.h -index 5c41513043..5d9f3ff843 100644 ---- a/src/rdkafka_conf.h -+++ b/src/rdkafka_conf.h -@@ -35,9 +35,13 @@ - - #if WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 && \ - !defined(OPENSSL_IS_BORINGSSL) -+#ifdef OPENSSL_NO_ENGINE -+#include -+#else - #define WITH_SSL_ENGINE 1 - /* Deprecated in OpenSSL 3 */ - #include -+#endif - #endif /* WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 */ - - /** diff --git a/librdkafka.spec b/librdkafka.spec index b6f899a..a84d89b 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -1,8 +1,8 @@ # remirepo/fedora spec file for librdkafka # -# Copyright (c) 2015-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2015-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -13,7 +13,7 @@ %bcond_without move_to_opt %global libname librdkafka -%global gh_commit cb8c19c43011b66c4b08b25e5150455a247e1ff3 +%global gh_commit b4c608570f796c18ff2211a7af876046d264d392 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner edenhill %global gh_project %{libname} @@ -24,7 +24,7 @@ %global __arch_install_post /bin/true %endif -%global upstream_version 2.6.1 +%global upstream_version 2.8.0 #global upstream_prever RC4 Name: %{?vendeur:%{vendeur}-}%{libname} @@ -41,9 +41,6 @@ License: BSD-2-Clause AND BSD-3-Clause AND MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz -# use OPENSSL_NO_ENGINE from OpenSSL config -Patch0: %{libname}-build.patch - BuildRequires: gcc-c++ BuildRequires: libstdc++-devel BuildRequires: openssl-devel @@ -90,8 +87,6 @@ developing applications that use %{name}. %prep %setup -qn %{gh_project}-%{gh_commit} -%patch -P0 -p1 - mkdir rpmdocs cp -pr examples rpmdocs/examples @@ -148,6 +143,10 @@ rm -r %{buildroot}%{_datadir}/doc/%{libname} %changelog +* Tue Jan 7 2025 Remi Collet - 2.8.0-1 +- update to 2.8.0 +- re-license spec file to CECILL-2.1 + * Thu Nov 21 2024 Remi Collet - 2.6.1-1 - update to 2.6.1 - fix build with OPENSSL_NO_ENGINE (EL-10) using patch from diff --git a/librdkafka.xml b/librdkafka.xml index 43e7dd0..2e3c684 100644 --- a/librdkafka.xml +++ b/librdkafka.xml @@ -9,7 +9,7 @@ -2.6.1 +2.8.0 -- cgit