blob: 676c4dd3150a11bcf233f885894e6f07a9bfde24 (
plain)
1 # Description: LDAP PAM module
2 # URL: https://github.com/PADL/pam_ldap
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on: linux-pam openldap cyrus-sasl
5
6 name=pam_ldap
7 version=186
8 release=3
9 source=(
10 #http://www.padl.com/download/$name-$version.tar.gz
11 https://deb.debian.org/debian/pool/main/libp/libpam-ldap/libpam-ldap_$version.orig.tar.gz
12 )
13
14 build() {
15 cd $name-$version
16 ./configure \
17 --prefix=/usr \
18 --libdir=/lib \
19 --sysconfdir=/etc \
20 --mandir=/usr/share/man \
21 --with-ldap-lib=openldap \
22 --with-ldap-conf-file=/etc/pam_ldap.conf
23 PERL5LIB="$PWD" PATH="$PATH:$SRC/$name-$version" make
24 make DESTDIR=$PKG install
25
26 mv $PKG/etc/ldap.conf $PKG/etc/pam_ldap.conf
27 }
|