Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package certmonger for openSUSE:Factory checked in at 2024-06-28 15:46:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/certmonger (Old)
and /work/SRC/openSUSE:Factory/.certmonger.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "certmonger"
Fri Jun 28 15:46:41 2024 rev:9 rq:1183223 version:0.79.19
Changes:
--------
--- /work/SRC/openSUSE:Factory/certmonger/certmonger.changes 2024-04-17 14:45:19.285937346 +0200
+++ /work/SRC/openSUSE:Factory/.certmonger.new.18349/certmonger.changes 2024-06-28 15:47:29.794989931 +0200
@@ -1,0 +2,8 @@
+Fri May 31 19:08:09 UTC 2024 - Martin Jambor
+
+- Add certmonger-c99-01.patch and certmonger-c99-02.patch in order to
+ make the package buildable with GCC 14. Patches originally by
+ Florian Weimer and from
+ https://pagure.io/certmonger/pull-request/265 [boo#1221683]
+
+-------------------------------------------------------------------
New:
----
certmonger-c99-01.patch
certmonger-c99-02.patch
BETA DEBUG BEGIN:
New:
- Add certmonger-c99-01.patch and certmonger-c99-02.patch in order to
make the package buildable with GCC 14. Patches originally by
New:
- Add certmonger-c99-01.patch and certmonger-c99-02.patch in order to
make the package buildable with GCC 14. Patches originally by
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ certmonger.spec ++++++
--- /var/tmp/diff_new_pack.7lwlux/_old 2024-06-28 15:47:33.187114026 +0200
+++ /var/tmp/diff_new_pack.7lwlux/_new 2024-06-28 15:47:33.191114172 +0200
@@ -26,6 +26,8 @@
URL: https://pagure.io/certmonger/
Source0: https://pagure.io/certmonger/archive/%{version}/certmonger-%{version}.tar.gz
Patch0001: 0001-Update-tests-to-be-compatible-with-OpenSSL-3.2.patch
+Patch0002: certmonger-c99-01.patch
+Patch0003: certmonger-c99-02.patch
BuildRequires: autoconf
BuildRequires: automake
@@ -67,8 +69,8 @@
Requires: dbus-1
Requires(post): dbus-1
-Requires(preun):dbus-1
-Requires(preun):sed
+Requires(preun): dbus-1
+Requires(preun): sed
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
++++++ certmonger-c99-01.patch ++++++
From b7fc1ae316db0d1c8f86e68d3fcb9b79f8d028d4 Mon Sep 17 00:00:00 2001
From: Florian Weimer
Date: Dec 22 2023 09:55:21 +0000
Subject: Adjust parameter type for util_EVP_PKEY_id
The function pointer needs to match the prototype for i2d_PublicKey
and i2d_PrivateKey, otherwise a compilation error may result.
---
diff --git a/src/util-o.c b/src/util-o.c
index c05872c..7feecb9 100644
--- a/src/util-o.c
+++ b/src/util-o.c
@@ -551,7 +551,7 @@ util_NETSCAPE_SPKI_set_sig_alg(NETSCAPE_SPKI *spki, const X509_ALGOR *sig_alg)
static EVP_PKEY *
util_EVP_PKEY_dup(EVP_PKEY *pkey,
- int (*i2d)(EVP_PKEY *, unsigned char **),
+ int (*i2d)(const EVP_PKEY *, unsigned char **),
EVP_PKEY *(*d2i)(int, EVP_PKEY **, const unsigned char **, long))
{
EVP_PKEY *k;
++++++ certmonger-c99-02.patch ++++++
From a144529ce829ae6bed8607743c065c529ee5bf87 Mon Sep 17 00:00:00 2001
From: Florian Weimer
Date: Dec 22 2023 09:54:38 +0000
Subject: Fix type error in cm_tdbusm_get_vn
This fixes an out-of-bounds stack write on 32-bit architectures
because dbus_message_iter_get_basic tries to write 64-bit integer
into a 32-bit pointer variable.
---
diff --git a/src/tdbusm.c b/src/tdbusm.c
index 5e33411..8f2383d 100644
--- a/src/tdbusm.c
+++ b/src/tdbusm.c
@@ -223,7 +223,7 @@ cm_tdbusm_get_vn(DBusMessage *msg, void *parent, long *n)
{
DBusError err;
DBusMessageIter iter, sub_iter;
- int64_t *i64;
+ int64_t i64;
dbus_error_init(&err);