diff options
Diffstat (limited to 'extra/nss_ldap/PKGBUILD')
-rw-r--r-- | extra/nss_ldap/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/nss_ldap/PKGBUILD b/extra/nss_ldap/PKGBUILD new file mode 100644 index 000000000..299f8413e --- /dev/null +++ b/extra/nss_ldap/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 109106 2011-02-06 10:18:06Z andyrtr $ +# Maintainer: Paul Mattal <paul@archlinux.org> +# Contributor: Comete <la_comete@tiscali.fr> + +pkgname=nss_ldap +pkgver=265 +pkgrel=1 +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' 'heimdal>=1.2.1') +backup=("etc/nss_ldap.conf") +source=(http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz) +md5sums=('c1cb02d1a85538cf16bca6f6a562abe4') + +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 + env PATH=`pwd`:"$PATH" make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |