Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame^] | 1 | From f7bba53adf8a26f900442a05bb98326747c392b4 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Tue, 3 Dec 2019 00:24:27 +0100 |
| 4 | Subject: [PATCH] Ensure pam-file installation |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | All the detection magic does not work for us |
| 10 | |
| 11 | Upstream-Status: Inappropriate [OE-specific] |
| 12 | |
| 13 | Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com> |
| 14 | --- |
| 15 | data/Makefile.am | 12 +----------- |
| 16 | 1 file changed, 1 insertion(+), 11 deletions(-) |
| 17 | |
| 18 | diff --git a/data/Makefile.am b/data/Makefile.am |
| 19 | index 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 | -- |
| 47 | 2.21.0 |
| 48 | |