2011-07-25 11:00:05 +02:00
|
|
|
# Description: LDAP PAM module
|
2020-07-01 16:18:54 +02:00
|
|
|
# URL: https://github.com/PADL/pam_ldap
|
2011-07-25 11:00:05 +02:00
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
|
|
# Depends on: linux-pam openldap cyrus-sasl
|
|
|
|
|
|
|
|
name=pam_ldap
|
|
|
|
version=186
|
2020-01-20 16:23:19 +01:00
|
|
|
release=3
|
2020-06-15 12:03:51 +02:00
|
|
|
source=(
|
|
|
|
#http://www.padl.com/download/$name-$version.tar.gz
|
|
|
|
https://deb.debian.org/debian/pool/main/libp/libpam-ldap/libpam-ldap_$version.orig.tar.gz
|
|
|
|
)
|
2011-07-25 11:00:05 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2013-11-23 11:03:42 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/lib \
|
|
|
|
--sysconfdir=/etc \
|
2020-01-20 16:23:19 +01:00
|
|
|
--mandir=/usr/share/man \
|
2013-11-23 11:03:42 +01:00
|
|
|
--with-ldap-lib=openldap \
|
|
|
|
--with-ldap-conf-file=/etc/pam_ldap.conf
|
2020-01-20 16:23:19 +01:00
|
|
|
PERL5LIB="$PWD" PATH="$PATH:$SRC/$name-$version" make
|
2011-07-25 11:00:05 +02:00
|
|
|
make DESTDIR=$PKG install
|
2013-11-23 11:03:42 +01:00
|
|
|
|
|
|
|
mv $PKG/etc/ldap.conf $PKG/etc/pam_ldap.conf
|
2011-07-25 11:00:05 +02:00
|
|
|
}
|