summaryrefslogtreecommitdiff
path: root/extra/pam_ldap
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pam_ldap')
-rw-r--r--extra/pam_ldap/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/extra/pam_ldap/PKGBUILD b/extra/pam_ldap/PKGBUILD
index 8b1218e70..74ffd92a3 100644
--- a/extra/pam_ldap/PKGBUILD
+++ b/extra/pam_ldap/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 87842 2010-08-18 13:07:56Z jgc $
+# $Id: PKGBUILD 151292 2012-02-25 13:09:27Z pierre $
# Maintainer: Paul Mattal <paul@archlinux.org>
# Contributor: Comete <la_comete@tiscali.fr>
+
pkgname=pam_ldap
-pkgver=185
+pkgver=186
pkgrel=1
pkgdesc="LDAP authentication module for the PAM framework"
-arch=(i686 x86_64 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.padl.com/OSS/pam_ldap.html"
license=('LGPL')
-depends=('libldap>=2.4.22' 'pam')
-backup=(etc/pam_ldap.conf)
-options=(!makeflags)
-source=(http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz)
-md5sums=('639260f0c81d57a6fcbd1cb47dd6c5e7')
+depends=('libldap' 'pam')
+backup=('etc/pam_ldap.conf')
+options=('!makeflags')
+source=("http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz")
+md5sums=('58c8689921c5c4578363438acd8503c2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -20,6 +21,10 @@ build() {
--with-ldap-conf-file=/etc/pam_ldap.conf \
--mandir=/usr/share/man
PATH="${PATH}:${srcdir}/${pkgname}-${pkgver}" make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
mv "${pkgdir}/etc/ldap.conf" "${pkgdir}/etc/pam_ldap.conf"
}