diff options
author | delphij <delphij@FreeBSD.org> | 2007-08-21 17:23:42 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-08-21 17:23:42 +0800 |
commit | f432e58087aa23fb5847438cc5048a8c4e817785 (patch) | |
tree | 4c323a5c1b724ac8e76cfc35be03967b9488fee3 /net/openldap24-server | |
parent | 7ca885e4d3497cb892afe451da1983aea6951b88 (diff) | |
download | freebsd-ports-gnome-f432e58087aa23fb5847438cc5048a8c4e817785.tar.gz freebsd-ports-gnome-f432e58087aa23fb5847438cc5048a8c4e817785.tar.zst freebsd-ports-gnome-f432e58087aa23fb5847438cc5048a8c4e817785.zip |
- Adjust DATABASEDIR's permission to 700 upon slapd start.
Diffstat (limited to 'net/openldap24-server')
-rw-r--r-- | net/openldap24-server/Makefile | 2 | ||||
-rw-r--r-- | net/openldap24-server/files/slapd.sh.in | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index 4311dfb13f80..7b4bfe914dd0 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= 1 -PORTREVISION_SERVER= 2 +PORTREVISION_SERVER= 3 .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 9bf2bf82401e..a9771a54f910 100644 --- a/net/openldap24-server/files/slapd.sh.in +++ b/net/openldap24-server/files/slapd.sh.in @@ -49,6 +49,7 @@ start_precmd() *) chown "$slapd_owner" "%%LDAP_RUN_DIR%%" chown -RL "$slapd_owner" "%%DATABASEDIR%%" + chmod 700 "%%DATABASEDIR%%" chown "$slapd_owner" "%%PREFIX%%/etc/openldap/slapd.conf" slapd_ownername="${slapd_owner%:*}" |