From d09acbfec3b7808313177aad3e4e58bc5796a5cd Mon Sep 17 00:00:00 2001 From: fake Date: Tue, 25 Apr 2006 20:10:40 +0000 Subject: [PATCH] fake: apache: enable ldap support if openldap is installed [2006042119363223550] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7559 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/apache/apache.conf | 3 +++ 1 file changed, 3 insertions(+) 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