aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-03-30 09:33:25 +0000
committerXin LI <delphij@FreeBSD.org>2012-03-30 09:33:25 +0000
commit25b94886b765c01bf7fb19a39b0b23dd4bce820e (patch)
treecbf70c1047ecdcae2b3271449c441f842a462015 /net
parente50c146e0be34eb965a69c68ea9227d83b76ee18 (diff)
downloadports-25b94886b765c01bf7fb19a39b0b23dd4bce820e.tar.gz
ports-25b94886b765c01bf7fb19a39b0b23dd4bce820e.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/openldap24-server/Makefile2
-rw-r--r--net/openldap24-server/files/slapd.sh.in1
2 files changed, 1 insertions, 2 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 2c0b2a94c3fd..61ba53ee80bf 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -45,7 +45,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 0
-PORTREVISION_SERVER= 1
+PORTREVISION_SERVER= 2
OPENLDAP_SHLIB_MAJOR= 8
OPTIONS= SASL "With (Cyrus) SASL2 support" off \
diff --git a/net/openldap24-server/files/slapd.sh.in b/net/openldap24-server/files/slapd.sh.in
index f9972bd4c9d3..76061fa441e1 100644
--- a/net/openldap24-server/files/slapd.sh.in
+++ b/net/openldap24-server/files/slapd.sh.in
@@ -60,7 +60,6 @@ if checkyesno slapd_cn_config; then
required_files="%%PREFIX%%/etc/openldap/slapd.d/cn=config.ldif"
DATABASEDIR=`grep olcDbDirectory %%PREFIX%%/etc/openldap/slapd.d/cn=config/olcDatabase=* | awk '{ print $2 }'`
else
- required_dirs="%%LDAP_RUN_DIR%%"
required_files="%%PREFIX%%/etc/openldap/slapd.conf"
DATABASEDIR=`awk '$1 == "directory" { print $2 }' "%%PREFIX%%/etc/openldap/slapd.conf" 2>&1 /dev/null`
fi