public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Cossette <farchord@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kde-connect] rawhide: 26.04.3
Date: Fri, 03 Jul 2026 15:47:59 GMT	[thread overview]
Message-ID: <178309367945.1.9925219191006881817.rpms-kde-connect-2f6d4044eadc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/kde-connect
Branch : rawhide
Commit : 2f6d4044eadcc8d95946522e90c61b04807a7d65
Author : Steve Cossette <farchord@gmail.com>
Date   : 2026-07-03T11:47:50-04:00
Stats  : +71/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/kde-connect/c/2f6d4044eadcc8d95946522e90c61b04807a7d65?branch=rawhide

Log:
26.04.3

---
diff --git a/.gitignore b/.gitignore
index 82fe2e5..7b8a656 100644
--- a/.gitignore
+++ b/.gitignore
@@ -94,3 +94,4 @@
 /kdeconnect-kde-26.04.0.tar.xz
 /kdeconnect-kde-26.04.1.tar.xz
 /kdeconnect-kde-26.04.2.tar.xz
+/kdeconnect-kde-26.04.3.tar.xz

diff --git a/988.patch b/988.patch
new file mode 100644
index 0000000..69ef47e
--- /dev/null
+++ b/988.patch
@@ -0,0 +1,61 @@
+From ccef6f0bea8f09d4fca8f99a2b04223eecbe6f15 Mon Sep 17 00:00:00 2001
+From: Hadi Chokr <hadichokr@icloud.com>
+Date: Tue, 30 Jun 2026 13:32:01 +0200
+Subject: [PATCH] core: fix build against OpenSSL 4.0 (constified
+ X509_get_subject_name)
+
+---
+ core/sslhelper.cpp | 17 +++++++++++------
+ 1 file changed, 11 insertions(+), 6 deletions(-)
+
+diff --git a/core/sslhelper.cpp b/core/sslhelper.cpp
+index c3bb90452..34c6d3676 100644
+--- a/core/sslhelper.cpp
++++ b/core/sslhelper.cpp
+@@ -169,32 +169,37 @@ QSslCertificate generateSelfSignedCertificate(const QSslKey &qtPrivateKey, const
+     }
+ 
+     // Set the certificate subject and issuer (self-signed).
+-    auto name = X509_get_subject_name(x509.get());
++    auto name = std::unique_ptr<X509_NAME, decltype(&::X509_NAME_free)>(X509_NAME_new(), ::X509_NAME_free);
++    if (!name) {
++        qCWarning(KDECONNECT_CORE) << "Generate Self Signed Certificate failed to allocate name structure " << getSslError();
++        return QSslCertificate();
++    }
++
+     QByteArray commonNameBytes = commonName.toLatin1();
+     const unsigned char *commonNameCStr = reinterpret_cast<const unsigned char *>(commonNameBytes.data());
+-    if (!X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, commonNameCStr, -1, -1, 0)) { // Common Name
++    if (!X509_NAME_add_entry_by_txt(name.get(), "CN", MBSTRING_ASC, commonNameCStr, -1, -1, 0)) { // Common Name
+         qCWarning(KDECONNECT_CORE) << "Generate Self Signed Certificate failed to set common name to " << commonName << " " << getSslError();
+         return QSslCertificate();
+     }
+ 
+     const unsigned char *organizationCStr = reinterpret_cast<const unsigned char *>("KDE");
+-    if (!X509_NAME_add_entry_by_txt(name, "O", MBSTRING_ASC, organizationCStr, -1, -1, 0)) { // Organization
++    if (!X509_NAME_add_entry_by_txt(name.get(), "O", MBSTRING_ASC, organizationCStr, -1, -1, 0)) { // Organization
+         qCWarning(KDECONNECT_CORE) << "Generate Self Signed Certificate failed to set organization " << getSslError();
+         return QSslCertificate();
+     }
+ 
+     const unsigned char *organizationalUnitCStr = reinterpret_cast<const unsigned char *>("KDE Connect");
+-    if (!X509_NAME_add_entry_by_txt(name, "OU", MBSTRING_ASC, organizationalUnitCStr, -1, -1, 0)) { // Organizational Unit
++    if (!X509_NAME_add_entry_by_txt(name.get(), "OU", MBSTRING_ASC, organizationalUnitCStr, -1, -1, 0)) { // Organizational Unit
+         qCWarning(KDECONNECT_CORE) << "Generate Self Signed Certificate failed to set organizational unit " << getSslError();
+         return QSslCertificate();
+     }
+ 
+-    if (!X509_set_subject_name(x509.get(), name)) {
++    if (!X509_set_subject_name(x509.get(), name.get())) {
+         qCWarning(KDECONNECT_CORE) << "Generate Self Signed Certificate failed to set subject name" << getSslError();
+         return QSslCertificate();
+     }
+ 
+-    if (!X509_set_issuer_name(x509.get(), name)) {
++    if (!X509_set_issuer_name(x509.get(), name.get())) {
+         qCWarning(KDECONNECT_CORE) << "Generate Self Signed Certificate failed to set issuer name" << getSslError();
+         return QSslCertificate();
+     }
+-- 
+GitLab
+

diff --git a/kde-connect.spec b/kde-connect.spec
index 8b1b862..237d9e0 100644
--- a/kde-connect.spec
+++ b/kde-connect.spec
@@ -1,8 +1,8 @@
 %global base_name kdeconnect-kde
 
 Name:    kde-connect
-Version: 26.04.2
-Release: 2%{?dist}
+Version: 26.04.3
+Release: 1%{?dist}
 License: GPL-2.0-or-later
 Summary: KDE Connect client for communication with smartphones
 
@@ -14,6 +14,9 @@ Source0: https://download.kde.org/%{stable_kf6}/release-service/%{version}/src/%
 ExcludeArch: %{ix86}
 
 ## upstream patches
+# Fix build against OpenSSL 4.0
+# https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/988
+Patch0:         988.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  cmake
@@ -195,6 +198,9 @@ done
 
 
 %changelog
+* Tue Jun 30 2026 Steve Cossette <farchord@gmail.com> - 26.04.3-1
+- 26.04.3
+
 * Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 26.04.2-2
 - Rebuilt for openssl 4.0
 

diff --git a/sources b/sources
index a422392..e055edc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (kdeconnect-kde-26.04.2.tar.xz) = 0f6ddbe1afc1ea631724366ce1e1bf904771f040d25d9e4fee939d83b4819abe594cf9573f7928f42777281d2138110bbd2471304517088c03481a68984b1fb0
+SHA512 (kdeconnect-kde-26.04.3.tar.xz) = f8d575310e48b2daf6bd354a4731618e27c602903e4e7f1b4e9c07c28e7e6c701b3ff4bdc61fc6c7061f790f5996592cf89fe6c527c699fb4c24a800513fc42c

                 reply	other threads:[~2026-07-03 15:47 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=178309367945.1.9925219191006881817.rpms-kde-connect-2f6d4044eadc@fedoraproject.org \
    --to=farchord@gmail.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