diff options
author | root <root@rshg054.dnsready.net> | 2012-02-26 23:15:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-26 23:15:00 +0000 |
commit | f6a79a3f5989efc8db63af942851c56f0c462bb1 (patch) | |
tree | 08bddecba9bbd4fc2c2075bfa2c514f710fcd351 /extra/pam_ldap | |
parent | e4a5730eb358cb0d78bc022204ddccac068c2bf2 (diff) |
Sun Feb 26 23:15:00 UTC 2012
Diffstat (limited to 'extra/pam_ldap')
-rw-r--r-- | extra/pam_ldap/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/extra/pam_ldap/PKGBUILD b/extra/pam_ldap/PKGBUILD index b3418220a..d59b9fc9f 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) +arch=('i686' 'x86_64') 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" } |