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

This commit is contained in:
Alan Mizrahi 2013-11-23 19:04:03 +09:00
parent 2bade309a3
commit 7587b94ca8
2 changed files with 11 additions and 7 deletions

View File

@ -1,7 +1,6 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/nss_ldap.conf
-rw-r--r-- root/root etc/nsswitch.ldap
drwxr-xr-x root/root etc/openldap/
-rw-r--r-- root/root etc/openldap/ldap.conf
drwxr-xr-x root/root lib/
-rwxr-xr-x root/root lib/libnss_ldap-2.16.so
lrwxrwxrwx root/root lib/libnss_ldap.so.2 -> libnss_ldap-2.16.so

View File

@ -1,22 +1,27 @@
# Description: LDAP NSS module
# URL: http://www.padl.com/OSS/nss_ldap.html
# URL: http://www.padl.com/OSS/nss_ldap.html
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: openldap
name=nss_ldap
version=265
release=2
release=3
source=(http://www.padl.com/download/$name-$version.tar.gz nss_ldap-265-glibc-2.16.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/nss_ldap-265-glibc-2.16.patch
sed -i -e 's|CVSVERSIONDIR=\$(top_srcdir) vers_string|CVSVERSIONDIR=\$(top_srcdir) ./vers_string|g' Makefile.am Makefile.in
./configure --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/nss_ldap.conf
make
mkdir -p $PKG/lib $PKG/usr/man
make DESTDIR=$PKG install
rm -f $PKG/etc/ldap.conf
}