Advertisement
xiaq

PKGBUILD for nss-ldapd

Jun 25th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. # Maintainer: Kaiting Chen <kaiting.chen@kiwilight.com>
  2. # Contributor: Cheer Xiao <xiaqqaix.at.gmail.com>
  3.  
  4. pkgname='nss-ldapd'
  5. _pkgname='nss-pam-ldapd'
  6. pkgver='0.8.3'
  7. pkgrel='1'
  8. pkgdesc='LDAP module for NSS and PAM'
  9. arch=('i686' 'x86_64')
  10. url="http://arthurdejong.org/$_pkgname/"
  11. license=('LGPL2.1')
  12. depends=('heimdal' 'pam' 'libldap' 'cyrus-sasl')
  13. conflicts=('pam_ldap')
  14.  
  15. backup=('etc/nslcd.conf')
  16.  
  17. md5sums=('83d69ecca5f1389a6b23f13ec367c09f'
  18. '42d7285523b23a077e1133eb3eac5ea3')
  19. source=(
  20. "$url$_pkgname-$pkgver.tar.gz" nslcd.rc.d)
  21.  
  22. build() {
  23. cd "${srcdir}/${_pkgname}-${pkgver}"
  24. ./configure --prefix='/usr' \
  25. --sysconfdir=/etc \
  26. --localstatedir=/var \
  27. --enable-sasl \
  28. --with-nslcd-pidfile=/var/run/nslcd.pid \
  29. --with-nslcd-socket=/var/run/nslcd.sock
  30. make; make DESTDIR="$pkgdir" install
  31. install -Dm755 $srcdir/nslcd.rc.d $pkgdir/etc/rc.d/nslcd
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement