summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/apache2/Makefile11
-rw-r--r--www/apache2/pkg-plist2
-rw-r--r--www/apache20/Makefile11
-rw-r--r--www/apache20/pkg-plist2
-rw-r--r--www/apache21/Makefile11
-rw-r--r--www/apache21/pkg-plist2
-rw-r--r--www/apache22/Makefile11
-rw-r--r--www/apache22/pkg-plist2
8 files changed, 52 insertions, 0 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index 73a3a7177247..13d780f63045 100644
--- a/www/apache2/Makefile
+++ b/www/apache2/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/apache2/pkg-plist b/www/apache2/pkg-plist
index 8a38ec239357..bba38ad66673 100644
--- a/www/apache2/pkg-plist
+++ b/www/apache2/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
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index 73a3a7177247..13d780f63045 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/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/apache20/pkg-plist b/www/apache20/pkg-plist
index 8a38ec239357..bba38ad66673 100644
--- a/www/apache20/pkg-plist
+++ b/www/apache20/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
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
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 73a3a7177247..13d780f63045 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/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/apache22/pkg-plist b/www/apache22/pkg-plist
index 8a38ec239357..bba38ad66673 100644
--- a/www/apache22/pkg-plist
+++ b/www/apache22/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