aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-06-18 14:45:03 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-06-18 14:45:13 +0000
commit70f3df0f04ad73ce09410d7d88ede6bd1081d6ff (patch)
tree87a8754103ae6b892bc177c26d1eca4b7e1957e9 /main/openldap/APKBUILD
parentad31fdffc032e207270c6d28dbf7f54709f438b5 (diff)
downloadaports-70f3df0f04ad73ce09410d7d88ede6bd1081d6ff.tar.bz2
aports-70f3df0f04ad73ce09410d7d88ede6bd1081d6ff.tar.xz
main/openldap: fix slapd path and data dir ownership
Diffstat (limited to 'main/openldap/APKBUILD')
-rw-r--r--main/openldap/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index dfa569a38a..888d33b0d7 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openldap
pkgver=2.4.31
-pkgrel=1
+pkgrel=2
pkgdesc="LDAP Server"
url="http://www.openldap.org/"
arch="all"
@@ -85,6 +85,7 @@ package() {
mv "$pkgdir"/usr/lib/slapd "$pkgdir"/usr/sbin/ || reteurn 1
chgrp ldap "$pkgdir"/etc/openldap/slapd.conf
chmod g+r "$pkgdir"/etc/openldap/slapd.conf
+ chown -R ldap.ldap /var/lib/openldap/openldap-data
install -Dm755 ../slapd.initd "$pkgdir"/etc/init.d/slapd
install -Dm755 ../slapd.confd "$pkgdir"/etc/conf.d/slapd
install -Dm755 ../slurpd.initd "$pkgdir"/etc/init.d/slurpd