aboutsummaryrefslogtreecommitdiff
path: root/net/openldap24-server
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2008-06-18 18:59:44 +0000
committerXin LI <delphij@FreeBSD.org>2008-06-18 18:59:44 +0000
commitd7595e0cc6d13450a04344e0931031c5cbaf6ef7 (patch)
treeb8eb8a16536cd9b26da13960275e527abae54237 /net/openldap24-server
parent9826d488fc40452f11cb6511f2aad89f83682f11 (diff)
downloadports-d7595e0cc6d13450a04344e0931031c5cbaf6ef7.tar.gz
ports-d7595e0cc6d13450a04344e0931031c5cbaf6ef7.zip
Notes
Diffstat (limited to 'net/openldap24-server')
-rw-r--r--net/openldap24-server/Makefile8
-rw-r--r--net/openldap24-server/pkg-plist4
2 files changed, 12 insertions, 0 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 521fc508d6f5..4190c122be15 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -48,6 +48,7 @@ OPTIONS= SASL "With (Cyrus) SASL2 support" off \
PERL "With Perl backend" off \
RELAY "With Relay backend" off \
SHELL "With Shell backend (disables threading)" off \
+ SOCK "With Sock backend" off \
ODBC "With SQL backend" off \
RLOOKUPS "With reverse lookups of client hostnames" off \
SLP "With SLPv2 (RFC 2608) support" off \
@@ -352,6 +353,13 @@ PLIST_SUB+= BACK_SHELL="@comment "
WANT_OPENLDAP_THREADS= yes
.endif
+.if defined(WITH_SOCK)
+CONFIGURE_ARGS+= --enable-sock=${BACKEND_ENABLE}
+PLIST_SUB+= BACK_SOCK=${BACKEND_PLIST}
+.else
+PLIST_SUB+= BACK_SOCK="@comment "
+.endif
+
.if defined(WITH_PERL)
USE_PERL5= yes
CONFIGURE_ARGS+= --enable-perl=${BACKEND_ENABLE}
diff --git a/net/openldap24-server/pkg-plist b/net/openldap24-server/pkg-plist
index d9b24b2bbf6b..b3264d559a7c 100644
--- a/net/openldap24-server/pkg-plist
+++ b/net/openldap24-server/pkg-plist
@@ -60,6 +60,10 @@ etc/openldap/DB_CONFIG.example
%%BACK_SHELL%%libexec/openldap/back_shell-2.4.so.2
%%BACK_SHELL%%libexec/openldap/back_shell.la
%%BACK_SHELL%%libexec/openldap/back_shell.so
+%%BACK_SOCK%%libexec/openldap/back_sock-2.4.so
+%%BACK_SOCK%%libexec/openldap/back_sock-2.4.so.2
+%%BACK_SOCK%%libexec/openldap/back_sock.la
+%%BACK_SOCK%%libexec/openldap/back_sock.so
%%BACK_SQL%%libexec/openldap/back_sql-2.4.so
%%BACK_SQL%%libexec/openldap/back_sql-2.4.so.2
%%BACK_SQL%%libexec/openldap/back_sql.la