public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Hirotaka Wakabayashi <hiwkby@yahoo.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qpid-proton] rawhide: Update to 0.41.1.
Date: Wed, 11 Nov 2026 08:09:32 GMT	[thread overview]
Message-ID: <179438457273.1.8937631398823044017.rpms-qpid-proton-4adb2024ab9f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/qpid-proton
Branch : rawhide
Commit : 4adb2024ab9f5493a7d4879c573f016143271a6e
Author : Hirotaka Wakabayashi <hiwkby@yahoo.com>
Date   : 2026-11-11T07:35:16+00:00
Stats  : +38/-137 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/qpid-proton/c/4adb2024ab9f5493a7d4879c573f016143271a6e?branch=rawhide

Log:
Update to 0.41.1.

---
diff --git a/proton.patch b/proton.patch
index 9793735..167887d 100644
--- a/proton.patch
+++ b/proton.patch
@@ -1,8 +1,8 @@
-diff -rc qpid-proton-0.40.0.orig/CMakeLists.txt qpid-proton-0.40.0/CMakeLists.txt
-*** qpid-proton-0.40.0.orig/CMakeLists.txt	Fri Nov 29 12:08:10 2024
---- qpid-proton-0.40.0/CMakeLists.txt	Fri Nov 29 12:08:31 2024
+diff -rc qpid-proton-0.41.1/CMakeLists.txt qpid-proton-0.41.1.new/CMakeLists.txt
+*** qpid-proton-0.41.1/CMakeLists.txt	Fri Oct  9 16:22:28 2026
+--- qpid-proton-0.41.1.new/CMakeLists.txt	Wed Nov 11 03:39:14 2026
 ***************
-*** 42,48 ****
+*** 43,49 ****
   if (NOT DEFINED Python_FIND_FRAMEWORK)
     set(Python_FIND_FRAMEWORK "LAST")
   endif ()
@@ -10,42 +10,17 @@ diff -rc qpid-proton-0.40.0.orig/CMakeLists.txt qpid-proton-0.40.0/CMakeLists.tx
           REQUIRED COMPONENTS Interpreter
           OPTIONAL_COMPONENTS Development)
   
---- 42,48 ----
+--- 43,49 ----
   if (NOT DEFINED Python_FIND_FRAMEWORK)
     set(Python_FIND_FRAMEWORK "LAST")
   endif ()
-! find_package(Python 3.13
+! find_package(Python 3.15
           REQUIRED COMPONENTS Interpreter
           OPTIONAL_COMPONENTS Development)
-
-diff -c qpid-proton-0.40.0/cpp/src/ssl_options.cpp.orig qpid-proton-0.40.0/cpp/src/ssl_options.cpp
-*** qpid-proton-0.40.0/cpp/src/ssl_options.cpp.orig	Fri Jan 24 08:53:42 2025
---- qpid-proton-0.40.0/cpp/src/ssl_options.cpp	Fri Jan 24 08:53:03 2025
-***************
-*** 22,28 ****
-  #include "ssl_options_impl.hpp"
-  
-  // https://stackoverflow.com/questions/31657499/how-to-detect-stdlib-libc-in-the-preprocessor
-! #include <ciso646>
-  
-  #include "proton/ssl.hpp"
-  #include "proton/error.hpp"
---- 22,32 ----
-  #include "ssl_options_impl.hpp"
   
-  // https://stackoverflow.com/questions/31657499/how-to-detect-stdlib-libc-in-the-preprocessor
-! #if (__cplusplus >= 201103L)
-! #  include <version>
-! #else
-! #  include <ciso646>
-! #endif
-  
-  #include "proton/ssl.hpp"
-  #include "proton/error.hpp"
-
-diff -rc qpid-proton-0.40.0.orig/python/CMakeLists.txt qpid-proton-0.40.0/python/CMakeLists.txt
-*** qpid-proton-0.40.0.orig/python/CMakeLists.txt	Fri Nov 29 12:08:10 2024
---- qpid-proton-0.40.0/python/CMakeLists.txt	Fri Nov 29 12:09:04 2024
+diff -rc qpid-proton-0.41.1/python/CMakeLists.txt qpid-proton-0.41.1.new/python/CMakeLists.txt
+*** qpid-proton-0.41.1/python/CMakeLists.txt	Fri Oct  9 16:22:28 2026
+--- qpid-proton-0.41.1.new/python/CMakeLists.txt	Wed Nov 11 03:39:51 2026
 ***************
 *** 74,80 ****
           COMMAND ${PN_ENV_SCRIPT} --
@@ -63,103 +38,27 @@ diff -rc qpid-proton-0.40.0.orig/python/CMakeLists.txt qpid-proton-0.40.0/python
       add_dependencies(docs docs-py)
       install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/docs/"
               DESTINATION "${PROTON_SHARE}/docs/api-py"
-
-diff -rc qpid-proton-0.40.0/c/src/ssl/openssl.c qpid-proton-0.40.0.new/c/src/ssl/openssl.c
-*** qpid-proton-0.40.0/c/src/ssl/openssl.c	Wed Nov 20 17:19:36 2024
---- qpid-proton-0.40.0.new/c/src/ssl/openssl.c	Fri Aug  7 07:36:26 2026
-***************
-*** 339,345 ****
-        GENERAL_NAME *name = sk_GENERAL_NAME_value( sans, i );
-        if (name->type == GEN_DNS) {
-          ASN1_STRING *asn1 = name->d.dNSName;
-!         if (asn1 && asn1->data && asn1->length) {
-            unsigned char *str;
-            int len = ASN1_STRING_to_UTF8( &str, asn1 );
-            if (len >= 0) {
---- 339,345 ----
-        GENERAL_NAME *name = sk_GENERAL_NAME_value( sans, i );
-        if (name->type == GEN_DNS) {
-          ASN1_STRING *asn1 = name->d.dNSName;
-!         if (asn1 && ASN1_STRING_get0_data(asn1) && ASN1_STRING_length(asn1) > 0){
-            unsigned char *str;
-            int len = ASN1_STRING_to_UTF8( &str, asn1 );
-            if (len >= 0) {
+diff -rc qpid-proton-0.41.1/python/proton/_events.py qpid-proton-0.41.1.new/python/proton/_events.py
+*** qpid-proton-0.41.1/python/proton/_events.py	Fri Oct  9 16:22:28 2026
+--- qpid-proton-0.41.1.new/python/proton/_events.py	Wed Nov 11 05:38:57 2026
 ***************
-*** 354,364 ****
-    }
-  
-    /* if no general names match, try the CommonName from the subject */
-!   X509_NAME *name = X509_get_subject_name(cert);
-    int i = -1;
-    while (!matched && (i = X509_NAME_get_index_by_NID(name, NID_commonName, i)) >= 0) {
-!     X509_NAME_ENTRY *ne = X509_NAME_get_entry(name, i);
-!     ASN1_STRING *name_asn1 = X509_NAME_ENTRY_get_data(ne);
-      if (name_asn1) {
-        unsigned char *str;
-        int len = ASN1_STRING_to_UTF8( &str, name_asn1);
---- 354,364 ----
-    }
-  
-    /* if no general names match, try the CommonName from the subject */
-!   const X509_NAME *name = X509_get_subject_name(cert);
-    int i = -1;
-    while (!matched && (i = X509_NAME_get_index_by_NID(name, NID_commonName, i)) >= 0) {
-!     const X509_NAME_ENTRY *ne = X509_NAME_get_entry(name, i);
-!     const ASN1_STRING *name_asn1 = X509_NAME_ENTRY_get_data(ne);
-      if (name_asn1) {
-        unsigned char *str;
-        int len = ASN1_STRING_to_UTF8( &str, name_asn1);
-***************
-*** 1558,1564 ****
-    if (!ssl->subject) {
-      X509 *cert = get_peer_certificate(ssl);
-      if (!cert) return NULL;
-!     X509_NAME *subject = X509_get_subject_name(cert);
-      if (!subject) return NULL;
-  
-      BIO *out = BIO_new(BIO_s_mem());
---- 1558,1564 ----
-    if (!ssl->subject) {
-      X509 *cert = get_peer_certificate(ssl);
-      if (!cert) return NULL;
-!     const X509_NAME *subject = X509_get_subject_name(cert);
-      if (!subject) return NULL;
-  
-      BIO *out = BIO_new(BIO_s_mem());
-***************
-*** 1677,1693 ****
-    X509 *cert = get_peer_certificate(ssl);
-    if (!cert) return NULL;
-  
-!   X509_NAME *subject_name = X509_get_subject_name(cert);
-  
-    // TODO (gmurthy) - A server side cert subject field can have more than one common name like this - Subject: CN=www.domain1.com, CN=www.domain2.com, see https://bugzilla.mozilla.org/show_bug.cgi?id=380656
-    // For now, we will only return the first common name if there is more than one common name in the cert
-    int index = X509_NAME_get_index_by_NID(subject_name, openssl_field, -1);
-  
-    if (index > -1) {
-!     X509_NAME_ENTRY *ne = X509_NAME_get_entry(subject_name, index);
-      if(ne) {
-!       ASN1_STRING *name_asn1 = X509_NAME_ENTRY_get_data(ne);
-!       return (char *) name_asn1->data;
-      }
-    }
-  
---- 1677,1693 ----
-    X509 *cert = get_peer_certificate(ssl);
-    if (!cert) return NULL;
-  
-!   const X509_NAME *subject_name = X509_get_subject_name(cert);
-  
-    // TODO (gmurthy) - A server side cert subject field can have more than one common name like this - Subject: CN=www.domain1.com, CN=www.domain2.com, see https://bugzilla.mozilla.org/show_bug.cgi?id=380656
-    // For now, we will only return the first common name if there is more than one common name in the cert
-    int index = X509_NAME_get_index_by_NID(subject_name, openssl_field, -1);
-  
-    if (index > -1) {
-!     const X509_NAME_ENTRY *ne = X509_NAME_get_entry(subject_name, index);
-      if(ne) {
-!       const ASN1_STRING *name_asn1 = X509_NAME_ENTRY_get_data(ne);
-!       return (const char *)ASN1_STRING_get0_data(name_asn1);
-      }
-    }
-  
+*** 117,123 ****
+              self._lock.release()
+  
+      def __repr__(self):
+!         return "EventType(name=%s, number=%d)" % (self.name, self.number)
+  
+      def __str__(self):
+          return self.name
+--- 117,127 ----
+              self._lock.release()
+  
+      def __repr__(self):
+!         try:
+!             num = int(self.number)
+!             return "EventType(name=%s, number=%d)" % (self.name, num)
+!         except TypeError:
+!             return "EventType(name=%s, number=%s)" % (self.name, self.number)
+  
+      def __str__(self):
+          return self.name

diff --git a/qpid-proton.spec b/qpid-proton.spec
index 1da6c20..c56ff8a 100644
--- a/qpid-proton.spec
+++ b/qpid-proton.spec
@@ -9,8 +9,8 @@
 %global _cmake_generator "Unix Makefiles"
 
 Name:           qpid-proton
-Version:        0.40.0
-Release:        20%{?dist}
+Version:        0.41.1
+Release:        1%{?dist}
 Summary:        A high performance, lightweight messaging library
 # Automatically converted from old format: ASL 2.0 - review is highly recommended.
 License:        Apache-2.0
@@ -143,7 +143,6 @@ Obsoletes: qpid-proton-c-devel-docs
 %license %{proton_licensedir}/LICENSE.txt
 %doc %{proton_datadir}/docs/api-c
 %doc %{proton_datadir}/examples/README.md
-%doc %{proton_datadir}/examples/c/ssl-certs
 %doc %{proton_datadir}/examples/c/*.c
 %doc %{proton_datadir}/examples/c/*.h
 %doc %{proton_datadir}/examples/c/README.dox
@@ -166,7 +165,6 @@ Obsoletes: qpid-proton-cpp-devel-docs
 %doc %{proton_datadir}/examples/cpp/*.hpp
 %doc %{proton_datadir}/examples/cpp/README.dox
 %doc %{proton_datadir}/examples/cpp/CMakeLists.txt
-%doc %{proton_datadir}/examples/cpp/ssl-certs
 %doc %{proton_datadir}/examples/cpp/tutorial.dox
 
 
@@ -314,6 +312,10 @@ rm -f  %{buildroot}%{proton_datadir}/CMakeLists.txt
 %check
 
 %changelog
+* Wed Nov 11 2026 Hirotaka Wakabayashi <hiwkby@yahoo.com> - 0.41.1-1
+- Update to 0.41.1
+- Update proton.patch for python/proton/_events.py
+
 * Thu Aug 27 2026 Hirotaka Wakabayashi <hiwkby@yahoo.com> - 0.40.0-20
 - Fix EPEL build by yselkowitz.
 

                 reply	other threads:[~2026-11-11  8:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179438457273.1.8937631398823044017.rpms-qpid-proton-4adb2024ab9f@fedoraproject.org \
    --to=hiwkby@yahoo.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox