[packages/dbus] - rel 2, log longer commands
baggins
baggins at pld-linux.org
Tue May 13 02:38:54 CEST 2025
commit 8d8f37402aba18c35d507e97a072ebb63f059de3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue May 13 02:47:48 2025 +0200
- rel 2, log longer commands
dbus.spec | 4 +++-
log-commands.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/dbus.spec b/dbus.spec
index 3dbf970..7ee4ed4 100644
--- a/dbus.spec
+++ b/dbus.spec
@@ -15,7 +15,7 @@ Summary: D-BUS message bus
Summary(pl.UTF-8): Magistrala przesyłania komunikatów D-BUS
Name: dbus
Version: 1.14.10
-Release: 1
+Release: 2
License: AFL v2.1 or GPL v2+
Group: Libraries
Source0: https://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.xz
@@ -30,6 +30,7 @@ Patch1: %{name}-config.patch
Patch2: %{name}-no_fatal_checks.patch
Patch3: %{name}-allow-introspection.patch
Patch4: %{name}-autoconf-archive.patch
+Patch5: log-commands.patch
URL: https://www.freedesktop.org/Software/dbus
BuildRequires: audit-libs-devel
BuildRequires: autoconf >= 2.63
@@ -163,6 +164,7 @@ D-BUS wraz z sesją X11 użytkownika.
%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
+%patch -P5 -p1
%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' tools/GetAllMatchRules.py
diff --git a/log-commands.patch b/log-commands.patch
new file mode 100644
index 0000000..c4cc1af
--- /dev/null
+++ b/log-commands.patch
@@ -0,0 +1,11 @@
+--- dbus-1.14.10/bus/connection.c~ 2023-09-01 16:23:58.000000000 +0200
++++ dbus-1.14.10/bus/connection.c 2025-05-13 02:45:43.416664679 +0200
+@@ -40,7 +40,7 @@
+ #include <dbus/dbus-internals.h>
+
+ /* Trim executed commands to this length; we want to keep logs readable */
+-#define MAX_LOG_COMMAND_LEN 50
++#define MAX_LOG_COMMAND_LEN 250
+
+ static void bus_connection_remove_transactions (DBusConnection *connection);
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dbus.git/commitdiff/8d8f37402aba18c35d507e97a072ebb63f059de3
More information about the pld-cvs-commit
mailing list