[arch-commits] Commit in pam_ldap/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Nov 13 20:26:03 UTC 2021


    Date: Saturday, November 13, 2021 @ 20:26:03
  Author: felixonmars
Revision: 428360

archrelease: copy trunk to staging-x86_64

Added:
  pam_ldap/repos/staging-x86_64/
  pam_ldap/repos/staging-x86_64/PKGBUILD
    (from rev 428359, pam_ldap/trunk/PKGBUILD)

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

Copied: pam_ldap/repos/staging-x86_64/PKGBUILD (from rev 428359, pam_ldap/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-13 20:26:03 UTC (rev 428360)
@@ -0,0 +1,30 @@
+# Maintainer:
+# Contributor: Comete <la_comete at tiscali.fr>
+
+pkgname=pam_ldap
+pkgver=186
+pkgrel=8
+pkgdesc="LDAP authentication module for the PAM framework"
+arch=('x86_64')
+url="http://www.padl.com/OSS/pam_ldap.html"
+license=('LGPL')
+depends=('libldap' 'pam')
+backup=('etc/pam_ldap.conf')
+options=('!makeflags')
+#source=("https://www.padl.com/download/${pkgname}-${pkgver}.tar.gz")
+source=("https://sources.archlinux.org/other/packages/pam_ldap/$pkgname-$pkgver.tar.gz")
+md5sums=('58c8689921c5c4578363438acd8503c2')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --libdir=/usr/lib \
+      --with-ldap-conf-file=/etc/pam_ldap.conf \
+      --mandir=/usr/share/man
+  PERL5LIB="$PWD" 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"
+}



More information about the arch-commits mailing list