2011-08-18 06:17:51 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
openssl pf, samba, cyrus-sasl packages, wvstreams, autofs, avahi, cifs-utils, cups, nss_ldap, testdisk, yaz, tls
2012-12-17 09:48:47 +08:00
|
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
2011-08-18 06:17:51 +08:00
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgname=nss_ldap
|
2012-02-16 11:42:33 +08:00
|
|
|
pkgver=265
|
2013-07-21 21:09:07 +08:00
|
|
|
pkgrel=3
|
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."
|
openssl pf, samba, cyrus-sasl packages, wvstreams, autofs, avahi, cifs-utils, cups, nss_ldap, testdisk, yaz, tls
2012-12-17 09:48:47 +08:00
|
|
|
arch=('x86_64')
|
2010-03-14 23:48:48 +08:00
|
|
|
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")
|
openssl pf, samba, cyrus-sasl packages, wvstreams, autofs, avahi, cifs-utils, cups, nss_ldap, testdisk, yaz, tls
2012-12-17 09:48:47 +08:00
|
|
|
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 \
|
openssl pf, samba, cyrus-sasl packages, wvstreams, autofs, avahi, cifs-utils, cups, nss_ldap, testdisk, yaz, tls
2012-12-17 09:48:47 +08:00
|
|
|
--with-prefix=/usr \
|
2010-03-14 23:48:48 +08:00
|
|
|
--with-ldap-conf-file=/etc/nss_ldap.conf \
|
|
|
|
--with-ldap=openldap \
|
|
|
|
--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
|
openssl pf, samba, cyrus-sasl packages, wvstreams, autofs, avahi, cifs-utils, cups, nss_ldap, testdisk, yaz, tls
2012-12-17 09:48:47 +08:00
|
|
|
# issue with /usr/lib move
|
|
|
|
rm -rf "${pkgdir}/usr/usr"
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|