summaryrefslogtreecommitdiffstats
path: root/main/openldap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-08 08:12:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-08 08:12:31 +0000
commitd1bcb85216be9c61a714ff7fb33d780fa6944a72 (patch)
tree197839194aaec34cf476fe8d0fc4c6da1cbcd477 /main/openldap
parent98ea64220948bc5bd6d4c2e855c8637c21fae3b4 (diff)
downloadaports-d1bcb85216be9c61a714ff7fb33d780fa6944a72.tar.bz2
aports-d1bcb85216be9c61a714ff7fb33d780fa6944a72.tar.xz
main/openldap: split out clients to subpackage
Diffstat (limited to 'main/openldap')
-rw-r--r--main/openldap/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index 79dfffd9b..13809a607 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openldap
pkgver=2.4.32
-pkgrel=1
+pkgrel=2
pkgdesc="LDAP Server"
url="http://www.openldap.org/"
arch="all"
@@ -13,7 +13,7 @@ depends_dev="openssl-dev cyrus-sasl-dev util-linux-dev"
makedepends="$depends_dev db-dev groff unixodbc-dev libtool"
subpackages="$pkgname-dev $pkgname-doc libldap $pkgname-back-sql:sql
$pkgname-back-bdb:bdb $pkgname-back-hdb:hdb $pkgname-back-ldap:ldap
- $pkgname-back-meta:meta $pkgname-back-monitor:monitor"
+ $pkgname-back-meta:meta $pkgname-back-monitor:monitor $pkgname-clients"
install="$pkgname.pre-install"
source="ftp://ftp.$pkgname.org/pub/OpenLDAP/$pkgname-release/$pkgname-$pkgver.tgz
@@ -119,6 +119,12 @@ ldap() { _backend ldap LDAP; }
meta() { _backend meta; }
monitor() { _backend monitor; }
+clients() {
+ pkgdesc="LDAP client utilities"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
md5sums="6a3e85cf61860ca5e8a1eba6753dd9d0 openldap-2.4.32.tgz
2524e490ba334a760fa57057c16da7a9 openldap-2.4-ppolicy.patch