From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/pam_ldap/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 extra/pam_ldap/PKGBUILD (limited to 'extra/pam_ldap') diff --git a/extra/pam_ldap/PKGBUILD b/extra/pam_ldap/PKGBUILD new file mode 100644 index 000000000..b3418220a --- /dev/null +++ b/extra/pam_ldap/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 87842 2010-08-18 13:07:56Z jgc $ +# Maintainer: Paul Mattal +# Contributor: Comete +pkgname=pam_ldap +pkgver=185 +pkgrel=1 +pkgdesc="LDAP authentication module for the PAM framework" +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') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --libdir=/lib \ + --with-ldap-conf-file=/etc/pam_ldap.conf \ + --mandir=/usr/share/man + PATH="${PATH}:${srcdir}/${pkgname}-${pkgver}" make + make DESTDIR="${pkgdir}" install + mv "${pkgdir}/etc/ldap.conf" "${pkgdir}/etc/pam_ldap.conf" +} -- cgit v1.2.3-54-g00ecf