2011-08-18 06:17:51 +08:00
|
|
|
#
|
|
|
|
# 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>
|
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgname=nss_ldap
|
2012-02-16 11:42:33 +08:00
|
|
|
pkgver=265
|
|
|
|
pkgrel=1
|
2010-03-14 23:48:48 +08:00
|
|
|
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')
|
2011-08-18 06:17:51 +08:00
|
|
|
depends=('libldap>=2.4.18' 'krb5')
|
2010-03-14 23:48:48 +08:00
|
|
|
backup=("etc/nss_ldap.conf")
|
|
|
|
source=(http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz)
|
2012-02-16 11:42:33 +08:00
|
|
|
md5sums=('c1cb02d1a85538cf16bca6f6a562abe4')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
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 \
|
2012-02-16 11:42:33 +08:00
|
|
|
--enable-configurable-krb5-ccname-gssapi
|
|
|
|
env PATH=`pwd`:"$PATH" make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|