[Linux-ha-dev] [patch] cib: install pam file in the same manner as
the hbmgmtd version
Simon Horman
horms at verge.net.au
Tue Dec 25 19:45:22 MST 2007
Install pam file in the same manner as the hbmgmtd version.
Andrew, is this change ok with you?
Cc: Andrew Beekhof <beekhof at gmail.com>
Signed-off-by: Simon Horman <horms at verge.net.au>
Index: heartbeat/crm/cib/Makefile.am
===================================================================
--- heartbeat.orig/crm/cib/Makefile.am 2007-12-25 12:16:51.000000000 +0900
+++ heartbeat/crm/cib/Makefile.am 2007-12-25 12:22:05.000000000 +0900
@@ -68,7 +68,13 @@ cibmon_LDADD = $(COMMONLIBS)
clean-generic:
rm -f *.log *.debug *.xml *~
+pamdir = $(sysconfdir)/pam.d
+pam_DATA = cib.pam
+
install-exec-local:
-# cp -f $(top_srcdir)/crm/cib/cib.pam $(DESTDIR)/etc/pam.d/cib
+# mv $(DESTDIR)$(pamdir)/$(pam_DATA) $(DESTDIR)$(pamdir)/
+# if [ -f /etc/SuSE-release ]; then \
+# sed -i 's/pam_unix/&2/' $(DESTDIR)$(pamdir)/cib; \
+# fi
uninstall-local:
More information about the Linux-HA-Dev
mailing list