aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap22
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-02 01:06:10 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-09-02 01:06:10 +0800
commitc9bbac912c5cbd2ccafc3f5ba29012e73dde7d3d (patch)
tree019ce1aa2acfcc4406a6dc976a2be9964757d944 /net/openldap22
parent510d737e579ed9f3badee07052efed7f98d71a93 (diff)
downloadfreebsd-ports-gnome-c9bbac912c5cbd2ccafc3f5ba29012e73dde7d3d.tar.gz
freebsd-ports-gnome-c9bbac912c5cbd2ccafc3f5ba29012e73dde7d3d.tar.zst
freebsd-ports-gnome-c9bbac912c5cbd2ccafc3f5ba29012e73dde7d3d.zip
Fix IPv4
PR: 42152 Submitted by: hetzels@westbend.net
Diffstat (limited to 'net/openldap22')
-rw-r--r--net/openldap22/files/slapd.sh20
1 files changed, 18 insertions, 2 deletions
diff --git a/net/openldap22/files/slapd.sh b/net/openldap22/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap22/files/slapd.sh
+++ b/net/openldap22/files/slapd.sh
@@ -2,14 +2,30 @@
#
# $FreeBSD$
-slapd=@@PREFIX@@/libexec/slapd
+slapd_program=@@PREFIX@@/libexec/slapd
+
+# Uncommnet one of the following:
+#
+# IPv4 Only
+#slapd_args='-h "ldap://0.0.0.0";'
+#
+# IPv6 and IPv4
+#slapd_ags='-h "ldap://[::] ldap://0.0.0.0";'
+#
+# IPv6 Only
+#slapd_args='-h "ldap://[::];'
+#
+#
+slapd_args=
+
pidfile=/var/run/slapd.pid
case "$1" in
start)
if [ -x $slapd ]; then
echo -n ' slapd'
- $slapd
+ ${slapd_program} ${slapd_args}
+
fi
;;
stop)