summaryrefslogtreecommitdiff
path: root/debian/patches-applied/065_pam_unix_cracklib_disable
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-applied/065_pam_unix_cracklib_disable')
-rw-r--r--debian/patches-applied/065_pam_unix_cracklib_disable18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches-applied/065_pam_unix_cracklib_disable b/debian/patches-applied/065_pam_unix_cracklib_disable
new file mode 100644
index 00000000..26aa0023
--- /dev/null
+++ b/debian/patches-applied/065_pam_unix_cracklib_disable
@@ -0,0 +1,18 @@
+Index: pam/Linux-PAM/modules/pam_unix/Makefile.am
+===================================================================
+--- pam.orig/Linux-PAM/modules/pam_unix/Makefile.am
++++ pam/Linux-PAM/modules/pam_unix/Makefile.am
+@@ -21,12 +21,9 @@
+ if HAVE_LIBSELINUX
+ AM_CFLAGS += -D"WITH_SELINUX"
+ endif
+-if HAVE_LIBCRACK
+- AM_CFLAGS += -D"USE_CRACKLIB"
+-endif
+
+ pam_unix_la_LDFLAGS = -no-undefined -avoid-version -module \
+- @LIBCRACK@ @LIBNSL@ -L$(top_builddir)/libpam -lpam \
++ @LIBNSL@ -L$(top_builddir)/libpam -lpam \
+ @LIBCRYPT@ @LIBSELINUX@
+ if HAVE_VERSIONING
+ pam_unix_la_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map