commit:     ab27e1fbdd55b430b6e2b290d014a50493bbdfa2
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Nov  4 13:18:56 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov  4 20:15:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab27e1fb

gnome-base/gnome-keyring: fix pam plugin install location

Closes: https://bugs.gentoo.org/964367
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44472
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/gnome-keyring-48.0-fix-pam-install.patch | 22 ++++++++++++++++++++++
 .../gnome-keyring/gnome-keyring-48.0-r1.ebuild     |  3 +++
 2 files changed, 25 insertions(+)

diff --git 
a/gnome-base/gnome-keyring/files/gnome-keyring-48.0-fix-pam-install.patch 
b/gnome-base/gnome-keyring/files/gnome-keyring-48.0-fix-pam-install.patch
new file mode 100644
index 000000000000..ac1895d10a86
--- /dev/null
+++ b/gnome-base/gnome-keyring/files/gnome-keyring-48.0-fix-pam-install.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/964367
+
+From a2ca65d362e33a23ac8439bd3222cde90c4703a2 Mon Sep 17 00:00:00 2001
+From: Alfred Wingate <[email protected]>
+Date: Tue, 4 Nov 2025 13:48:11 +0200
+Subject: [PATCH] meson: install pam plugin to /lib64
+
+Signed-off-by: Alfred Wingate <[email protected]>
+--- a/pam/meson.build
++++ b/pam/meson.build
+@@ -33,7 +33,7 @@ libpam_gkr = shared_library('pam_gnome_keyring',
+   link_depends: pam_gkr_symbolmap,
+   include_directories: config_h_inc,
+   install: true,
+-  install_dir: get_option('libdir') / 'security',
++  install_dir: '/' / get_option('libdir') / 'security',
+ )
+ 
+ libpam_gkr_dep = declare_dependency(
+-- 
+2.51.2
+

diff --git a/gnome-base/gnome-keyring/gnome-keyring-48.0-r1.ebuild 
b/gnome-base/gnome-keyring/gnome-keyring-48.0-r1.ebuild
index 5f5f1972fd87..515172ce8fd0 100644
--- a/gnome-base/gnome-keyring/gnome-keyring-48.0-r1.ebuild
+++ b/gnome-base/gnome-keyring/gnome-keyring-48.0-r1.ebuild
@@ -51,6 +51,9 @@ PATCHES=(
        # bug #964549
        # https://gitlab.gnome.org/GNOME/gnome-keyring/-/merge_requests/101
        "${FILESDIR}/gnome-keyring-48.0-disable-libcap-ng-automagic.patch"
+
+       # bug #964367
+       "${FILESDIR}/gnome-keyring-48.0-fix-pam-install.patch"
 )
 
 pkg_setup() {

Reply via email to