sys-auth/pambase: Commit forgotten patch
authorPacho Ramos <pacho@gentoo.org>
Sun, 23 Sep 2018 19:34:24 +0000 (21:34 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 23 Sep 2018 19:34:36 +0000 (21:34 +0200)
Package-Manager: Portage-2.3.49, Repoman-2.3.11

sys-auth/pambase/files/pambase-20150213-gnome-keyring.patch [new file with mode: 0644]

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 (file)
index 0000000..57c204e
--- /dev/null
@@ -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