1
0
forked from ports/contrib

[notify] pam_ldap: Moved configuration from /etc/openldap/ldap.conf to /etc/pam_ldap.conf

This commit is contained in:
Alan Mizrahi 2013-11-23 19:03:42 +09:00
parent 65f0b2ab36
commit 2bade309a3
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,5 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/pam_ldap.conf
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/security/
-rwxr-xr-x root/root lib/security/pam_ldap.so

View File

@ -5,14 +5,20 @@
name=pam_ldap
version=186
release=1
release=2
source=(http://www.padl.com/download/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --libdir=/lib --mandir=/usr/man --with-ldap-lib=openldap --with-ldap-conf-file=/etc/openldap/ldap.conf
./configure \
--prefix=/usr \
--libdir=/lib \
--sysconfdir=/etc \
--mandir=/usr/man \
--with-ldap-lib=openldap \
--with-ldap-conf-file=/etc/pam_ldap.conf
make
make DESTDIR=$PKG install
mkdir -p $PKG/etc/openldap
rm -rf $PKG/etc
mv $PKG/etc/ldap.conf $PKG/etc/pam_ldap.conf
}