forked from ports/contrib
[notify] pam_ldap: Moved configuration from /etc/openldap/ldap.conf to /etc/pam_ldap.conf
This commit is contained in:
parent
65f0b2ab36
commit
2bade309a3
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user