From: Michael Tremer Date: Sun, 28 Mar 2010 09:04:12 +0000 (+0200) Subject: nss_ldap: Fixed up package which was completely broken. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b784fba9c3cdee6df1aa2354a08277c6a5e022;p=ipfire-3.x.git nss_ldap: Fixed up package which was completely broken. --- diff --git a/pkgs/core/nss_ldap/nss_ldap.nm b/pkgs/core/nss_ldap/nss_ldap.nm index 0e1e89587..5122bc226 100644 --- a/pkgs/core/nss_ldap/nss_ldap.nm +++ b/pkgs/core/nss_ldap/nss_ldap.nm @@ -34,7 +34,7 @@ PKG_URL = http://www.padl.com/ PKG_LICENSE = LGPLv2+ PKG_SUMMARY = NSS library and PAM module for LDAP. -PKG_DEPS += openldap +PKG_DEPS += cyrus-sasl openldap define PKG_DESCRIPTION This package includes two LDAP access clients: nss_ldap and \ @@ -46,12 +46,17 @@ endef PKG_TARBALL = $(THISAPP).tar.gz -CONFIGURE_OPTIONS += \ +CONFIGURE_OPTIONS = \ + --prefix=/ \ + --libdir=/usr/lib \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --with-ldap=openldap \ --enable-schema-mapping define STAGE_INSTALL_CMDS - mv -vf $(BUILDROOT)/usr/lib/libnss_ldap.so.* $(BUILDROOT)/usr/lib/libnss_ldap.so + # Remove awkward directory + rm -rvf $(BUILDROOT)/usr/usr + + ln -svf libnss_ldap.so.2 $(BUILDROOT)/usr/lib/libnss_ldap.so endef