blob: 6362d5ee6a6d173c80affcb46fbe3a51b317dcbb [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001From f7bba53adf8a26f900442a05bb98326747c392b4 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Tue, 3 Dec 2019 00:24:27 +0100
4Subject: [PATCH] Ensure pam-file installation
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9All the detection magic does not work for us
10
11Upstream-Status: Inappropriate [OE-specific]
12
13Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
14---
15 data/Makefile.am | 12 +-----------
16 1 file changed, 1 insertion(+), 11 deletions(-)
17
18diff --git a/data/Makefile.am b/data/Makefile.am
19index bda9160..dbc3ea3 100644
20--- a/data/Makefile.am
21+++ b/data/Makefile.am
22@@ -296,22 +296,12 @@ endif
23 chown root:root $(DESTDIR)$(logdir) || : ; \
24 fi
25
26- system=`uname`; \
27- if test -f /usr/include/security/pam_appl.h; then \
28- if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
29 $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
30 chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
31- fi; \
32- if test $$system = Linux; then \
33 for pamfile in $(pam_files); do \
34 bn=$$(basename $$pamfile .pam); \
35 $(INSTALL_DATA) $(srcdir)/$$pamfile $(DESTDIR)$(PAM_PREFIX)/pam.d/$$bn; \
36- done; \
37- fi; \
38- if test $$system = SunOS; then \
39- echo "Please add PAM authentication for gdm, gdm-autologin and gdm-welcome in $(PAM_PREFIX)/pam.conf!"; \
40- fi; \
41- fi
42+ done;
43
44 if test '!' -d $(DESTDIR)$(xauthdir); then \
45 $(mkinstalldirs) $(DESTDIR)$(xauthdir); \
46--
472.21.0
48