aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap24-server
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-12-12 04:57:22 +0800
committerdelphij <delphij@FreeBSD.org>2007-12-12 04:57:22 +0800
commitf506b6ae3a9c956c52aa47bbf89e0bc9fe82d3f0 (patch)
treeef6d42418478fe76476153975ceefd7fc20bcc1a /net/openldap24-server
parentf81595e7a746e3ecfc29a50641db36c1219068a0 (diff)
downloadfreebsd-ports-gnome-f506b6ae3a9c956c52aa47bbf89e0bc9fe82d3f0.tar.gz
freebsd-ports-gnome-f506b6ae3a9c956c52aa47bbf89e0bc9fe82d3f0.tar.zst
freebsd-ports-gnome-f506b6ae3a9c956c52aa47bbf89e0bc9fe82d3f0.zip
Oops, previous patch was committed from a wrong tree. Here is
the correct fix.
Diffstat (limited to 'net/openldap24-server')
-rw-r--r--net/openldap24-server/Makefile2
-rw-r--r--net/openldap24-server/files/slapd.sh.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 7aebc7216a58..aa9427bc70b1 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -39,7 +39,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 0
-PORTREVISION_SERVER= 1
+PORTREVISION_SERVER= 2
.if !defined(CLIENT_ONLY)
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 dbedbf90aeb6..341fcaee28d9 100644
--- a/net/openldap24-server/files/slapd.sh.in
+++ b/net/openldap24-server/files/slapd.sh.in
@@ -43,8 +43,8 @@ start_precmd()
{
local slapd_ownername slapd_groupname
- case x"$slapd_owner" in
- x""|x[Nn][Oo][Nn][Ee]|x[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
+ case "$slapd_owner" in
+ ""|[Nn][Oo][Nn][Ee]|[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
;;
*)
chown "$slapd_owner" "%%LDAP_RUN_DIR%%"