diff options
Diffstat (limited to 'testing/nss_ldap')
-rw-r--r-- | testing/nss_ldap/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/nss_ldap/PKGBUILD b/testing/nss_ldap/PKGBUILD new file mode 100644 index 000000000..120501e13 --- /dev/null +++ b/testing/nss_ldap/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 157987 2012-04-30 16:15:04Z tomegun $ +# Maintainer: +# Contributor: Comete <la_comete@tiscali.fr> + +pkgname=nss_ldap +pkgver=265 +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' 'krb5') +backup=("etc/nss_ldap.conf") +source=("http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz") +md5sums=('c1cb02d1a85538cf16bca6f6a562abe4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --with-ldap-conf-file=/etc/nss_ldap.conf \ + --with-ldap=openldap \ + --sysconfdir=/etc \ + --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 + + # buildsystem is trying to be clever and hardcodes symlinks in /usr$(libdir) + rm -rf "${pkgdir}/usr/usr" +} |