mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-07 05:57:13 +08:00
32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=nss_ldap
|
|
pkgver=264
|
|
pkgrel=4
|
|
pkgdesc="The nss_ldap module provides the means for Linux and Solaris workstations to resolve the entities defined in RFC 2307 from LDAP directories."
|
|
arch=(i686 x86_64)
|
|
url="http://www.padl.com/OSS/nss_ldap.html"
|
|
license=('LGPL')
|
|
depends=('libldap>=2.4.18' 'krb5')
|
|
backup=("etc/nss_ldap.conf")
|
|
source=(http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('eebab40c6ce2f54e5c377b4895c0c93a')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure \
|
|
--with-ldap-conf-file=/etc/nss_ldap.conf \
|
|
--with-ldap=openldap \
|
|
--libdir=/lib \
|
|
--mandir=/usr/share/man \
|
|
--enable-schema-mapping \
|
|
--enable-rfc2307bis \
|
|
--enable-configurable-krb5-ccname-gssapi || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|