diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-28 12:51:08 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-28 12:51:08 +0000 |
commit | d90d7b94c09bda503e13bca12bb41b8de10580bc (patch) | |
tree | e9778dfd76653c2bf7218cb642a93c523eea21d6 /net/openldap22-server/pkg-plist | |
parent | c55a2fd4cb2ed0f1be53553955a161db4002332a (diff) |
Notes
Diffstat (limited to 'net/openldap22-server/pkg-plist')
-rw-r--r-- | net/openldap22-server/pkg-plist | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/net/openldap22-server/pkg-plist b/net/openldap22-server/pkg-plist index 1665eb495c1b..d283b88ee117 100644 --- a/net/openldap22-server/pkg-plist +++ b/net/openldap22-server/pkg-plist @@ -1,6 +1,6 @@ @comment $FreeBSD$ -@unexec %D/etc/rc.d/slapd.sh stop 2>/dev/null || true -@unexec %D/etc/rc.d/slurpd.sh stop 2>/dev/null || true +@unexec %%RC_DIR%%/slapd%%RC_SUFX%% stop 2>/dev/null || true +@unexec %%RC_DIR%%/slurpd%%RC_SUFX%% stop 2>/dev/null || true etc/openldap/schema/README @unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi etc/openldap/schema/corba.schema.default @@ -31,8 +31,6 @@ etc/openldap/slapd.conf.default @exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf @unexec rmdir %D/etc/openldap/schema 2>/dev/null || true @unexec rmdir %D/etc/openldap 2>/dev/null || true -etc/rc.d/slapd.sh -etc/rc.d/slurpd.sh %%SLAPI%%lib/libslapi.a %%SLAPI%%lib/libslapi.so %%SLAPI%%lib/libslapi.so.2 @@ -42,6 +40,12 @@ sbin/slapadd sbin/slapcat sbin/slapindex sbin/slappasswd +@exec mkdir -p %%LOCALSTATEDIR%%/openldap-slurp @unexec rmdir %%LOCALSTATEDIR%%/openldap-slurp 2>/dev/null || true +@exec mkdir -p %%LOCALSTATEDIR%%/openldap-data @unexec rmdir %%LOCALSTATEDIR%%/openldap-data 2>/dev/null || true +@exec mkdir -p %%LDAP_RUN_DIR%% @unexec rmdir %%LDAP_RUN_DIR%% 2>/dev/null || true +@cwd %%RC_DIR%% +slapd%%RC_SUFX%% +slurpd%%RC_SUFX%% |