Browse Source

pam: changed to disable cracklib support if it is not installed

user/amery/next/luajit
Christian Wiese 13 years ago
parent
commit
30f4ff5e9f
  1. 7
      base/pam/pam.conf

7
base/pam/pam.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../pam/pam.conf
# Copyright (C) 2006 - 2009 The OpenSDE Project
# Copyright (C) 2006 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -20,6 +20,11 @@
libdir="/${libdir##*/}"
includedir="$includedir/security"
# disable cracklib support if it is not installed
if ! pkginstalled -f cracklib; then
var_append extraconfopt ' ' "--disable-cracklib"
fi
# checking for prelude support
# pam is able to act as prelude sensor since version 0.79
if pkginstalled -f libprelude; then

Loading…
Cancel
Save