openldap: use make_dirs.

Closes #55292
This commit is contained in:
JkktBkkt 2025-05-10 18:31:20 +03:00 committed by classabbyamp
parent 7c6d7a2dd0
commit 062493e953
2 changed files with 2 additions and 2 deletions

View file

@ -2,6 +2,5 @@
case "$ACTION" in
post)
chown ldap:ldap etc/openldap/slapd.conf
chown -R ldap:ldap var/lib/openldap
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'openldap'
pkgname=openldap
version=2.6.9
revision=1
revision=2
build_style=gnu-configure
configure_args="--prefix=/usr
--libexecdir=/usr/libexec
@ -26,6 +26,7 @@ checksum=2cb7dc73e9c8340dff0d99357fbaa578abf30cc6619f0521972c555681e6b2ff
system_accounts="ldap"
ldap_homedir="/var/lib/openldap"
make_dirs="/var/lib/openldap 0750 ldap ldap"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"