diff --git a/0001-meson-Define-missing-HAVE_LIBAUDIT.patch b/0001-meson-Define-missing-HAVE_LIBAUDIT.patch new file mode 100644 index 0000000..12b32f6 --- /dev/null +++ b/0001-meson-Define-missing-HAVE_LIBAUDIT.patch @@ -0,0 +1,25 @@ +From ca61c480ed7ec714f3253c221df7676c341c65c5 Mon Sep 17 00:00:00 2001 +From: Joan Torres +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 + diff --git a/gdm.spec b/gdm.spec index 4ca02c0..d6f02a0 100644 --- a/gdm.spec +++ b/gdm.spec @@ -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