aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-02-25 15:32:06 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-02-25 15:32:16 +0000
commit5cfbd9cb03b028e2a9263753d8350173fa4cb08d (patch)
treef54f47385f95e9bd266afa5d816cb9abbcad4d53
parent44a3b50ef049cb7db6bd4f140eceb151e4bcb868 (diff)
downloadaports-5cfbd9cb03b028e2a9263753d8350173fa4cb08d.tar.bz2
aports-5cfbd9cb03b028e2a9263753d8350173fa4cb08d.tar.xz
main/openldap: fix default config
-rw-r--r--main/openldap/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index 1113338909..6941c18267 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/