aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gdm/0002-configure-Alpine-does-not-use-PAM.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gdm/0002-configure-Alpine-does-not-use-PAM.patch')
-rw-r--r--testing/gdm/0002-configure-Alpine-does-not-use-PAM.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/gdm/0002-configure-Alpine-does-not-use-PAM.patch b/testing/gdm/0002-configure-Alpine-does-not-use-PAM.patch
new file mode 100644
index 0000000000..c66b1e23f6
--- /dev/null
+++ b/testing/gdm/0002-configure-Alpine-does-not-use-PAM.patch
@@ -0,0 +1,42 @@
+From 7500e98c4794413f3e78c712147f5f35962d6c6d Mon Sep 17 00:00:00 2001
+From: William Pitcock <nenolod@dereferenced.org>
+Date: Tue, 6 Jun 2017 00:27:22 +0000
+Subject: [PATCH 2/3] configure: Alpine does not use PAM.
+
+---
+ Makefile.am | 1 -
+ configure.ac | 6 ------
+ 2 files changed, 7 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index d3c46c8f..aa527219 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -6,7 +6,6 @@ SUBDIRS = \
+ daemon \
+ libgdm \
+ utils \
+- pam_gdm \
+ po \
+ tests \
+ $(NULL)
+diff --git a/configure.ac b/configure.ac
+index e8434d78..602969bd 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -232,12 +232,6 @@ AM_CONDITIONAL(ENABLE_EXHERBO_PAM_CONFIG, test x$with_default_pam_config = xexhe
+ AM_CONDITIONAL(ENABLE_LFS_PAM_CONFIG, test x$with_default_pam_config = xlfs)
+ AM_CONDITIONAL(ENABLE_ARCH_PAM_CONFIG, test x$with_default_pam_config = xarch)
+
+-AC_CHECK_HEADERS([security/pam_modules.h security/pam_modutil.h security/pam_ext.h],
+- [have_pam=yes],
+- [if test "x$have_pam" = xyes ; then
+- AC_MSG_ERROR([PAM development files not found.])
+- fi])
+-
+ AC_ARG_ENABLE(console-helper,
+ AS_HELP_STRING([--enable-console-helper],
+ [Enable PAM console helper @<:@default=auto@:>@]),,
+--
+2.13.0
+