summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-09-23 21:34:24 +0200
committerPacho Ramos <pacho@gentoo.org>2018-09-23 21:34:36 +0200
commit01caa8f12c0de2d8a50db3e9a2ca7bd3f465e213 (patch)
tree05d64913fc4a125466bfaa13688189ae0897c82f /sys-auth
parentdev-util/meson: 0.48.0 bump (diff)
downloadgentoo-01caa8f12c0de2d8a50db3e9a2ca7bd3f465e213.tar.gz
gentoo-01caa8f12c0de2d8a50db3e9a2ca7bd3f465e213.tar.bz2
gentoo-01caa8f12c0de2d8a50db3e9a2ca7bd3f465e213.zip
sys-auth/pambase: Commit forgotten patch
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pambase/files/pambase-20150213-gnome-keyring.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/sys-auth/pambase/files/pambase-20150213-gnome-keyring.patch b/sys-auth/pambase/files/pambase-20150213-gnome-keyring.patch
new file mode 100644
index 000000000000..57c204e44201
--- /dev/null
+++ b/sys-auth/pambase/files/pambase-20150213-gnome-keyring.patch
@@ -0,0 +1,48 @@
+diff -urN a/passwd.in b/passwd.in
+--- a/passwd.in 2015-02-14 06:57:45.000000000 +0300
++++ b/passwd.in 2018-04-02 12:33:08.304214918 +0300
+@@ -1,6 +1,7 @@
+-auth sufficient pam_rootok.so
+-auth include system-auth
++auth sufficient pam_rootok.so
++auth include system-auth
+
+-account include system-auth
++account include system-auth
+
+-password include system-auth
++password include system-auth
++-password optional pam_gnome_keyring.so UNIX_AUTHTOK
+diff -urN a/system-login.in b/system-login.in
+--- a/system-login.in 2015-02-14 06:57:45.000000000 +0300
++++ b/system-login.in 2018-04-02 12:33:01.272010095 +0300
+@@ -8,9 +8,6 @@
+ auth required pam_nologin.so DEBUG_NOLOGIN
+ #endif
+ auth include system-auth
+-#if HAVE_GNOME_KEYRING
+-auth optional pam_gnome_keyring.so
+-#endif
+
+ #if HAVE_ACCESS
+ account required pam_access.so DEBUG
+@@ -27,9 +24,6 @@
+ #endif
+
+ password include system-auth
+-#if HAVE_GNOME_KEYRING
+-password optional pam_gnome_keyring.so
+-#endif
+
+ #if HAVE_LOGINUID
+ session optional pam_loginuid.so
+@@ -51,9 +45,6 @@
+ # Note: modules that run in the user's context must come after this line.
+ session required pam_selinux.so multiple open
+ #endif
+-#if HAVE_GNOME_KEYRING
+-session optional pam_gnome_keyring.so auto_start
+-#endif
+ #if HAVE_MOTD
+ session optional pam_motd.so motd=/etc/motd
+ #endif