summaryrefslogtreecommitdiff
path: root/www/apache21
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-06-12 09:35:21 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-06-12 09:35:21 +0000
commit279955e178e3f429936234109f4e35f912f521c8 (patch)
tree6c38b10ad0e6e0eefa08b10cacbc738704b9da00 /www/apache21
parent- 15 minutes of google tell me that vorbisgain have no homepage (diff)
Add a new knob WITH_LDAP that brings mod_auth_ldap and mod_ldap.
Submitted by: Jean-Baptiste Quenot <jb.quenot@caraldi.com> Requested by: Moti Levy <moti@flncs.com>, Milan Andric <mandric@eecs.berkeley.edu>,
Notes
Notes: svn path=/head/; revision=82856
Diffstat (limited to '')
-rw-r--r--www/apache21/Makefile11
-rw-r--r--www/apache21/pkg-plist2
2 files changed, 13 insertions, 0 deletions
diff --git a/www/apache21/Makefile b/www/apache21/Makefile
index 73a3a7177247..13d780f63045 100644
--- a/www/apache21/Makefile
+++ b/www/apache21/Makefile
@@ -74,6 +74,17 @@ PLIST_SUB+= SUEXEC=""
PLIST_SUB+= SUEXEC="@comment "
.endif
+.if defined(WITH_LDAP)
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
+CONFIGURE_ARGS+= --with-ldap \
+ --enable-ldap --enable-auth-ldap \
+ --with-ldap-lib="${LOCALBASE}/lib" \
+ --with-ldap-include="${LOCALBASE}/include"
+PLIST_SUB+= LDAP=""
+.else
+PLIST_SUB+= LDAP="@comment "
+.endif
+
.if ${WITH_MPM} != "prefork"
PKGNAMESUFFIX= -${WITH_MPM}
WITH_THREADS= yes
diff --git a/www/apache21/pkg-plist b/www/apache21/pkg-plist
index 8a38ec239357..bba38ad66673 100644
--- a/www/apache21/pkg-plist
+++ b/www/apache21/pkg-plist
@@ -147,6 +147,7 @@ libexec/apache2/mod_auth.so
libexec/apache2/mod_auth_anon.so
libexec/apache2/mod_auth_dbm.so
libexec/apache2/mod_auth_digest.so
+%%LDAP%%libexec/apache2/mod_auth_ldap.so
libexec/apache2/mod_autoindex.so
%%EXPERIMENTAL%%libexec/apache2/mod_bucketeer.so
%%THREADS%%libexec/apache2/mod_cache.so
@@ -169,6 +170,7 @@ libexec/apache2/mod_headers.so
libexec/apache2/mod_imap.so
libexec/apache2/mod_include.so
libexec/apache2/mod_info.so
+%%LDAP%%libexec/apache2/mod_ldap.so
libexec/apache2/mod_log_config.so
%%THREADS%%libexec/apache2/mod_mem_cache.so
libexec/apache2/mod_mime.so