Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpg2 for openSUSE:Factory checked in 
at 2025-07-01 11:33:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpg2 (Old)
 and      /work/SRC/openSUSE:Factory/.gpg2.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gpg2"

Tue Jul  1 11:33:17 2025 rev:188 rq:1289186 version:2.5.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/gpg2/gpg2.changes        2025-06-24 
20:46:21.233351942 +0200
+++ /work/SRC/openSUSE:Factory/.gpg2.new.7067/gpg2.changes      2025-07-01 
11:33:37.968013764 +0200
@@ -1,0 +2,6 @@
+Sun Jun 29 07:56:45 UTC 2025 - Andreas Stieger <[email protected]>
+
+- fix build of qgpgme >= 2.0.0 [T7083] boo#1244605
+  add gnupg-2.5.8-re-add-revocation-reason.patch
+
+-------------------------------------------------------------------

New:
----
  gnupg-2.5.8-re-add-revocation-reason.patch

----------(New B)----------
  New:- fix build of qgpgme >= 2.0.0 [T7083] boo#1244605
  add gnupg-2.5.8-re-add-revocation-reason.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gpg2.spec ++++++
--- /var/tmp/diff_new_pack.VHdWGQ/_old  2025-07-01 11:33:39.028057688 +0200
+++ /var/tmp/diff_new_pack.VHdWGQ/_new  2025-07-01 11:33:39.028057688 +0200
@@ -47,6 +47,8 @@
 Patch12:        gnupg-revert-rfc4880bis.patch
 #PATCH-FIX-OPENSUSE Do not pull revision info from GIT when autoconf is run
 Patch13:        gnupg-nobetasuffix.patch
+# PATCH-FIX-UPSTREAM gnupg-2.5.8-re-add-revocation-reason.patch -- 
https://dev.gnupg.org/T7083
+Patch14:        gnupg-2.5.8-re-add-revocation-reason.patch
 
 BuildRequires:  expect
 BuildRequires:  fdupes

++++++ gnupg-2.5.8-re-add-revocation-reason.patch ++++++
From: Werner Koch <[email protected]>
Date: Mon, 23 Jun 2025 10:16:15 +0000 (+0200)
Subject: gpg: Re-add the revocation reason to the sigclass in a "rev" record.
X-Git-Url: 
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff_plain;h=e6592f2f4601eb2e7e72ba785a64a9351d87c5d3;hp=63f64a3d8d4fbf20cdea27ae5bf792484cc93aca

gpg: Re-add the revocation reason to the sigclass in a "rev" record.

* g10/import.c (get_revocation_reason): Fix setting of r_reason.
--

Note that gpgme has not yet support for parsing the revocation reason.
Due to the split of gpgme it was not tested with gpgmeqt which has its
own parser in its regression tests which kicked it when building
debian packages.

GnuPG-bug-id: 7083
Fixes-commit: 3f825b044b2f1db8773f27a96034c925177fe9f0
---

diff --git a/g10/import.c b/g10/import.c
index 5dad290ca..5985d177b 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -3411,6 +3411,7 @@ get_revocation_reason (PKT_signature *sig, char 
**r_reason,
   size_t reason_n;
   const byte *reason_p;
   int reason_code = 0;
+  const char *reason_string;
   char *freeme;
 
   if (r_reason)
@@ -3427,9 +3428,11 @@ get_revocation_reason (PKT_signature *sig, char 
**r_reason,
     {
       reason_code = *reason_p;
       reason_n--; reason_p++;
-      revocation_reason_code_to_str (reason_code, &freeme);
-      if (r_reason)
+      reason_string = revocation_reason_code_to_str (reason_code, &freeme);
+      if (r_reason && freeme)
         *r_reason = freeme;
+      else if (r_reason && reason_string)
+        *r_reason = xstrdup (reason_string);
       else
         xfree (freeme);
 

Reply via email to