[arch-commits] Commit in pam_ldap/repos (3 files)

Dave Reisner dreisner at archlinux.org
Sat Apr 28 21:41:12 UTC 2012


    Date: Saturday, April 28, 2012 @ 17:41:11
  Author: dreisner
Revision: 157514

db-move: moved pam_ldap from [staging] to [testing] (x86_64)

Added:
  pam_ldap/repos/testing-x86_64/
  pam_ldap/repos/testing-x86_64/PKGBUILD
    (from rev 157502, pam_ldap/repos/staging-x86_64/PKGBUILD)
Deleted:
  pam_ldap/repos/staging-x86_64/

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: pam_ldap/repos/testing-x86_64/PKGBUILD (from rev 157502, pam_ldap/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-28 21:41:11 UTC (rev 157514)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+# Contributor: Comete <la_comete at tiscali.fr>
+
+pkgname=pam_ldap
+pkgver=186
+pkgrel=3
+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' '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}"
+  ./configure --libdir=/lib \
+      --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"
+
+  # move /lib to /usr/lib
+  mv "${pkgdir}/lib/security" "${pkgdir}/usr/lib"
+  rmdir "${pkgdir}/lib"
+}




More information about the arch-commits mailing list