]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: report per email
authorThorsten Kukuk <kukuk@thkukuk.de>
Tue, 4 Jan 2005 11:41:46 +0000 (11:41 +0000)
committerThorsten Kukuk <kukuk@thkukuk.de>
Tue, 4 Jan 2005 11:41:46 +0000 (11:41 +0000)
Purpose of commit: bugfix

Commit summary:
---------------

Don't abort, if cracklib dictionaries were not found, but tell the
user that pam_cracklib will not be built.

CHANGELOG
configure
configure.in

index 48029a8824a081ae9989ae99c3abc233e61f3e21..873fa13efab87367a56c1fa8e3287846bd75111b 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -63,7 +63,9 @@ BerliOS Bugs are marked with (BerliOS #XXXX).
 0.79: please submit patches for this section with actual code/doc
       patches!
 * pam_unix: don't log user unknown failure when he can be properly
-  authenticated by another module
+  authenticated by another module (t8m)
+* configure: don't abort if no cracklib dictinaries were found, but
+  warn user that pam_cracklib will not be built.
 
 0.78: Do Nov 18 14:48:36 CET 2004
 
index 99b231abac6ec12aa6b446c80784f912423c5e06..656874541b20bdd045cf61b7ef6543c6fc994412 100755 (executable)
--- a/configure
+++ b/configure
@@ -6011,9 +6011,8 @@ for d in $DICT_DIR_CANDIDATES ; do
       done
 done
 if test -z "$CRACKLIB_DICTPATH" ; then
-      { { echo "$as_me:$LINENO: error: none found" >&5
-echo "$as_me: error: none found" >&2;}
-   { (exit 1); exit 1; }; }
+      { echo "$as_me:$LINENO: WARNING: none found - pam_cracklib will not be built" >&5
+echo "$as_me: WARNING: none found - pam_cracklib will not be built" >&2;}
 else
       echo "$as_me:$LINENO: result: $CRACKLIB_DICTPATH" >&5
 echo "${ECHO_T}$CRACKLIB_DICTPATH" >&6
index 50ce85df0e9069f151220f1e625c629d3e0b2787..40f74b518d7e57761ac62d58e0217c4487d76579 100644 (file)
@@ -278,7 +278,7 @@ for d in $DICT_DIR_CANDIDATES ; do
       done
 done
 if test -z "$CRACKLIB_DICTPATH" ; then
-      AC_MSG_ERROR(none found)
+      AC_MSG_WARN([none found - pam_cracklib will not be built])
 else
       AC_MSG_RESULT($CRACKLIB_DICTPATH)
 fi