diff --git a/package/base/apache/apache.conf b/package/base/apache/apache.conf index d0b7df7e9..eee3139ba 100644 --- a/package/base/apache/apache.conf +++ b/package/base/apache/apache.conf @@ -58,6 +58,9 @@ if [ $pkg = "apache" ] ; then [ "$ROCKCFG_PKG_APACHE_AUTH_DIGEST" == 1 ] && \ var_append extraconfopt " " "--enable-auth-digest" + pkginstalled openldap && var_append extraconfopt " " \ + "--enable-ldap --enable-auth-ldap --with-ldap=yes --with-ldap-lib=$root/$pkg_openldap_prefix/lib --with-ldap-include=$root/$pkg_openldap_prefix/include" + hook_add postmake 3 "install_init apache $confdir/apache.init" fi