[28665] in Source-Commits

home help back first fref pref prev next nref lref last post

pam-config commit: /etc/pam.d/gdm-password is a regular file now

daemon@ATHENA.MIT.EDU (Anders Kaseorg)
Wed Jun 29 23:27:19 2016

Date: Wed, 29 Jun 2016 23:27:14 -0400
From: Anders Kaseorg <andersk@mit.edu>
Message-Id: <201606300327.u5U3REhu013404@drugstore.mit.edu>
To: source-commits@mit.edu

https://github.com/mit-athena/pam-config/commit/bee45545f9ceac00a80f4c0e42ffef43cfc8c128
commit bee45545f9ceac00a80f4c0e42ffef43cfc8c128
Author: Anders Kaseorg <andersk@mit.edu>
Date:   Wed Jun 29 21:12:32 2016 -0400

    /etc/pam.d/gdm-password is a regular file now

 debian/changelog |    7 +++++++
 debian/rules     |    5 ++++-
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b553a95..ff1c408 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debathena-pam-config (1.24) unstable; urgency=medium
+
+  * Handle /etc/pam.d/gdm-password being a regular file in xenial.  (It
+    was previously a symlink to /etc/pam.d/gdm, which no longer exists.)
+
+ -- Anders Kaseorg <andersk@mit.edu>  Wed, 29 Jun 2016 21:10:56 -0400
+
 debathena-pam-config (1.23) unstable; urgency=low
 
   * Never enable libpam-krb524
diff --git a/debian/rules b/debian/rules
index 5e1dacc..760b792 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,10 @@ ifeq ($(pam_auth_update),)
     endif
 endif
 
-ifneq ($(wildcard /etc/pam.d/gdm3),)
+ifneq ($(realpath /etc/pam.d/gdm-password),)
+    PAM_GDM := $(realpath /etc/pam.d/gdm-password).debathena
+    DEB_TRANSFORM_SCRIPT_$(PAM_GDM) = debian/transform_gdm.debathena
+else ifneq ($(wildcard /etc/pam.d/gdm3),)
     PAM_GDM = /etc/pam.d/gdm3.debathena
     DEB_TRANSFORM_SCRIPT_$(PAM_GDM) = debian/transform_gdm.debathena
 else

home help back first fref pref prev next nref lref last post