diff options
author | Jean-Baptiste Guerraz <jbguerraz@gmail.com> | 2016-09-01 15:58:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-02 06:37:58 +0000 |
commit | 20305af40a4c2e54a45679a10a0ddbd0d9eee4a3 (patch) | |
tree | 1913fe8df25097e8955906787bb68fb665177809 | |
parent | 08bfde407712355f4ef71aea92864fa9c35681d2 (diff) | |
download | aports-20305af40a4c2e54a45679a10a0ddbd0d9eee4a3.tar.bz2 aports-20305af40a4c2e54a45679a10a0ddbd0d9eee4a3.tar.xz |
main/openldap: add pbkdf2 subpackage
-rw-r--r-- | main/openldap/APKBUILD | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD index 55af601b78..736b9629d9 100644 --- a/main/openldap/APKBUILD +++ b/main/openldap/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openldap pkgver=2.4.44 -pkgrel=1 +pkgrel=2 pkgdesc="LDAP Server" url="http://www.openldap.org/" arch="all" @@ -16,6 +16,7 @@ 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-clients $pkgname-mqtt + $pkgname-passwd-pbkdf2:passwd_pbkdf2 " install="$pkgname.pre-install" @@ -75,6 +76,10 @@ build () { # build mqtt overlay make prefix=/usr libexec=/usr/lib \ -C contrib/slapd-modules/mqtt || return 1 + + # build passwd pbkdf2 + make prefix=/usr libexecdir=/usr/lib \ + -C contrib/slapd-modules/passwd/pbkdf2 || return 1 } package() { @@ -106,6 +111,10 @@ package() { # install mqtt overlay make DESTDIR="$pkgdir" prefix=/usr libexec=/usr/lib \ -C contrib/slapd-modules/mqtt install || return 1 + + # install passwd pbkdf2 + make DESTDIR="$pkgdir" prefix=/usr libexecdir=/usr/lib \ + -C contrib/slapd-modules/passwd/pbkdf2 install || return 1 } libldap() { @@ -143,6 +152,13 @@ mqtt() { mv "$pkgdir"/usr/lib/openldap/mqtt.* "$subpkgdir"/usr/lib/openldap || return 1 } +passwd_pbkdf2() { + pkgdesc="PBKDF2 OpenLDAP support" + depends=$pkgname + mkdir -p "$subpkgdir"/usr/lib/openldap + mv "$pkgdir"/usr/lib/openldap/pw-pbkdf2.* "$subpkgdir"/usr/lib/openldap || return 1 +} + md5sums="693ac26de86231f8dcae2b4e9d768e51 openldap-2.4.44.tgz 2524e490ba334a760fa57057c16da7a9 openldap-2.4-ppolicy.patch d19d0502f046078ecd737e29e7552fa8 openldap-2.4.11-libldap_r.patch |