2004-09-09 04:08:38 +00:00
|
|
|
--- /dev/null 2004-02-23 21:02:56.000000000 +0000
|
|
|
|
+++ cups-1.1.21rc1/conf/cups.system-auth 2004-06-03 15:14:55.795385144 +0100
|
2004-09-09 04:02:40 +00:00
|
|
|
@@ -0,0 +1,3 @@
|
|
|
|
+#%PAM-1.0
|
2005-09-30 12:20:31 +00:00
|
|
|
+auth include system-auth
|
|
|
|
+account include system-auth
|
2004-09-09 04:08:38 +00:00
|
|
|
--- cups-1.1.21rc1/conf/Makefile.system-auth 2004-02-26 16:51:59.000000000 +0000
|
|
|
|
+++ cups-1.1.21rc1/conf/Makefile 2004-06-03 15:32:52.108540894 +0100
|
2004-09-09 04:02:40 +00:00
|
|
|
@@ -67,7 +67,11 @@
|
|
|
|
done
|
|
|
|
-if test x$(PAMDIR) != x$(BUILDROOT); then \
|
|
|
|
$(INSTALL_DIR) $(PAMDIR); \
|
2004-09-09 04:08:38 +00:00
|
|
|
- $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups; \
|
2004-09-09 04:02:40 +00:00
|
|
|
+ if test -f /etc/pam.d/system-auth; then \
|
|
|
|
+ $(INSTALL_DATA) cups.system-auth $(PAMDIR)/cups ; \
|
|
|
|
+ else \
|
2004-09-09 04:08:38 +00:00
|
|
|
+ $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups; \
|
2004-09-09 04:02:40 +00:00
|
|
|
+ fi \
|
|
|
|
fi
|
|
|
|
|
|
|
|
|