summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 17:06:10 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 17:06:10 +0000
commit8bf5c468d8ce6c741bc6b2b95469ae0f5ff92ab5 (patch)
treee9eac3d5ad940c4be7545f85fdf7eab30f3dd005 /net
parentUpdate to 0.19pl4 (diff)
Fix IPv4
PR: 42152 Submitted by: hetzels@westbend.net
Notes
Notes: svn path=/head/; revision=65430
Diffstat (limited to 'net')
-rw-r--r--net/openldap2/files/slapd.sh20
-rw-r--r--net/openldap20-server/files/slapd.sh20
-rw-r--r--net/openldap20/files/slapd.sh20
-rw-r--r--net/openldap21-server/files/slapd.sh20
-rw-r--r--net/openldap21/files/slapd.sh20
-rw-r--r--net/openldap22-server/files/slapd.sh20
-rw-r--r--net/openldap22/files/slapd.sh20
-rw-r--r--net/openldap23-server/files/slapd.sh20
-rw-r--r--net/openldap24-server/files/slapd.sh20
9 files changed, 162 insertions, 18 deletions
diff --git a/net/openldap2/files/slapd.sh b/net/openldap2/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap2/files/slapd.sh
+++ b/net/openldap2/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)
diff --git a/net/openldap20-server/files/slapd.sh b/net/openldap20-server/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap20-server/files/slapd.sh
+++ b/net/openldap20-server/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)
diff --git a/net/openldap20/files/slapd.sh b/net/openldap20/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap20/files/slapd.sh
+++ b/net/openldap20/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)
diff --git a/net/openldap21-server/files/slapd.sh b/net/openldap21-server/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap21-server/files/slapd.sh
+++ b/net/openldap21-server/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)
diff --git a/net/openldap21/files/slapd.sh b/net/openldap21/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap21/files/slapd.sh
+++ b/net/openldap21/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)
diff --git a/net/openldap22-server/files/slapd.sh b/net/openldap22-server/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap22-server/files/slapd.sh
+++ b/net/openldap22-server/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)
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)
diff --git a/net/openldap23-server/files/slapd.sh b/net/openldap23-server/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap23-server/files/slapd.sh
+++ b/net/openldap23-server/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)
diff --git a/net/openldap24-server/files/slapd.sh b/net/openldap24-server/files/slapd.sh
index 1704074b7968..062febc1dda7 100644
--- a/net/openldap24-server/files/slapd.sh
+++ b/net/openldap24-server/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)