diff options
author | delphij <delphij@FreeBSD.org> | 2007-12-12 04:56:10 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-12-12 04:56:10 +0800 |
commit | f81595e7a746e3ecfc29a50641db36c1219068a0 (patch) | |
tree | e0b0ac0a0fcac8c87ad64fdae140519af22be33d /net | |
parent | 408474bb20ee30c26a4848b9484d50b0f7497eb5 (diff) | |
download | freebsd-ports-graphics-f81595e7a746e3ecfc29a50641db36c1219068a0.tar.gz freebsd-ports-graphics-f81595e7a746e3ecfc29a50641db36c1219068a0.tar.zst freebsd-ports-graphics-f81595e7a746e3ecfc29a50641db36c1219068a0.zip |
Correct slapd_owner case matching.
PR: ports/117229
Reported by: Tetsuya Uemura <t_uemura at macome.co.jp>
Diffstat (limited to 'net')
-rw-r--r-- | net/openldap23-server/Makefile | 2 | ||||
-rw-r--r-- | net/openldap23-server/files/slapd.sh.in | 2 | ||||
-rw-r--r-- | net/openldap24-server/Makefile | 2 | ||||
-rw-r--r-- | net/openldap24-server/files/slapd.sh.in | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile index 2443d4da6f6..f9dc3c35015 100644 --- a/net/openldap23-server/Makefile +++ b/net/openldap23-server/Makefile @@ -39,7 +39,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER} .endif PORTREVISION_CLIENT= 0 -PORTREVISION_SERVER= 0 +PORTREVISION_SERVER= 1 .if !defined(CLIENT_ONLY) OPTIONS= SASL "With (Cyrus) SASL2 support" off \ diff --git a/net/openldap23-server/files/slapd.sh.in b/net/openldap23-server/files/slapd.sh.in index a9771a54f91..341fcaee28d 100644 --- a/net/openldap23-server/files/slapd.sh.in +++ b/net/openldap23-server/files/slapd.sh.in @@ -43,7 +43,7 @@ start_precmd() { local slapd_ownername slapd_groupname - case x"$slapd_owner" in + case "$slapd_owner" in ""|[Nn][Oo][Nn][Ee]|[Dd][Ee][Ff][Aa][Uu][Ll][Tt]) ;; *) diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index a0771682312..7aebc7216a5 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= 0 +PORTREVISION_SERVER= 1 .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 a9771a54f91..dbedbf90aeb 100644 --- a/net/openldap24-server/files/slapd.sh.in +++ b/net/openldap24-server/files/slapd.sh.in @@ -44,7 +44,7 @@ start_precmd() local slapd_ownername slapd_groupname case x"$slapd_owner" in - ""|[Nn][Oo][Nn][Ee]|[Dd][Ee][Ff][Aa][Uu][Ll][Tt]) + x""|x[Nn][Oo][Nn][Ee]|x[Dd][Ee][Ff][Aa][Uu][Ll][Tt]) ;; *) chown "$slapd_owner" "%%LDAP_RUN_DIR%%" |