From fba5cad8201a7cb2525d9c819b41668a9a155c65 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 21 Apr 2009 22:16:17 +0000 Subject: [PATCH] * etc/pam.d/Makefile.am: Distribute all pam.d files, even if ACCT_TOOLS_SETUID is not enabled. --- ChangeLog | 5 +++++ etc/pam.d/Makefile.am | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e081c4c..177ba7bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-21 Nicolas François + + * etc/pam.d/Makefile.am: Distribute all pam.d files, even if + ACCT_TOOLS_SETUID is not enabled. + 2009-04-21 Nicolas François * lib/shadowmem.c: Added spw_free(). diff --git a/etc/pam.d/Makefile.am b/etc/pam.d/Makefile.am index 293c1e50..d967eb95 100644 --- a/etc/pam.d/Makefile.am +++ b/etc/pam.d/Makefile.am @@ -9,8 +9,7 @@ pamd_files = \ passwd \ su -if ACCT_TOOLS_SETUID -pamd_files += \ +pamd_acct_tools_files = \ chage \ chgpasswd \ chpasswd \ @@ -21,11 +20,13 @@ pamd_files += \ useradd \ userdel \ usermod -endif if USE_PAM pamddir = $(sysconfdir)/pam.d pamd_DATA = $(pamd_files) +if ACCT_TOOLS_SETUID +pamd_DATA += $(pamd_acct_tools_files) +endif endif -EXTRA_DIST = $(pamd_files) +EXTRA_DIST = $(pamd_files) $(pamd_acct_tools_files)