summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/openldap/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index 111333890..6941c1826 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openldap
pkgver=2.4.24
-pkgrel=1
+pkgrel=2
pkgdesc="LDAP Server"
url="http://www.openldap.org/"
arch="all"
@@ -63,6 +63,9 @@ package() {
install -d "$pkgdir"/var/run/openldap
sed -i -e 's:/var/lib/openldap/run:/var/run/openldap:g' \
+ -e 's:back_bdb.la:back_bdb.so:' \
+ -e 's:back_hdb.la:back_hdb.so:' \
+ -e 's:back_ldap.la:back_ldap.so:' \
"$pkgdir"/etc/openldap/slapd.conf
mv "$pkgdir"/usr/lib/slapd "$pkgdir"/usr/sbin/