meson: Define missing HAVE_LIBAUDIT

Resolves: RHEL-89936
This commit is contained in:
Joan Torres 2025-05-07 10:44:10 +02:00
parent ba27b1edda
commit e2bae6ed4e
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From ca61c480ed7ec714f3253c221df7676c341c65c5 Mon Sep 17 00:00:00 2001
From: Joan Torres <joantolo@redhat.com>
Date: Wed, 7 May 2025 10:40:47 +0200
Subject: [PATCH] meson: Define missing HAVE_LIBAUDIT
This allows using libaudit to use audit logs.
---
meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson.build b/meson.build
index 64b986285..867cb4e26 100644
--- a/meson.build
+++ b/meson.build
@@ -210,6 +210,7 @@ conf.set_quoted('GDM_PID_FILE', gdm_pid_file)
conf.set_quoted('GNOME_SETTINGS_DAEMON_DIR', gnome_settings_daemon_dir)
conf.set_quoted('LANG_CONFIG_FILE', lang_config_file)
conf.set('HAVE_ADT', have_adt)
+conf.set('HAVE_LIBAUDIT', libaudit_dep.found())
conf.set('HAVE_UTMP_H', have_utmp_header)
conf.set('HAVE_UTMPX_H', have_utmpx_header)
conf.set('HAVE_POSIX_GETPWNAM_R', have_posix_getpwnam_r)
--
2.49.0

View File

@ -60,6 +60,8 @@ Patch110001: 0001-display-Add-new-FAILING-state.patch
Patch110002: 0002-manager-Quit-plymouth-at-first-sign-of-failure.patch
Patch110003: 0003-manager-Quit-plymouth-synchronously.patch
Patch120001: 0001-meson-Define-missing-HAVE_LIBAUDIT.patch
# Non-upstreamable workarounds
Patch66610001: 0001-data-reap-gdm-sessions-on-shutdown.patch
@ -364,6 +366,10 @@ dconf update || :
%{_libdir}/pkgconfig/gdm-pam-extensions.pc
%changelog
* Wed May 07 2025 Joan Torres - 40.1-29
- Define missing HAVE_LIBAUDIT
Resolves: RHEL-89936
* Fri Mar 07 2025 Tomas Pelka - 40.1-28
- Use systemd sysusers config to create user and group
Resolves: RHEL-82643