Group :: Desenvolvimento/Python
RPM: python-module-ldap
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: python-ldap-2.0.7-config.patch
Download
Download
diff -ruN python-ldap-2.0.7.orig/Modules/LDAPObject.c python-ldap-2.0.7/Modules/LDAPObject.c
--- python-ldap-2.0.7.orig/Modules/LDAPObject.c 2005-04-29 15:43:23 +0400
+++ python-ldap-2.0.7/Modules/LDAPObject.c 2005-05-06 06:23:05 +0400
@@ -19,7 +19,7 @@
#include "options.h"
#ifdef HAVE_SASL
-#include <sasl.h>
+#include <sasl/sasl.h>
#endif
static void free_attrs(char***);
diff -ruN python-ldap-2.0.7.orig/setup.cfg python-ldap-2.0.7/setup.cfg
--- python-ldap-2.0.7.orig/setup.cfg 2005-04-29 15:47:32 +0400
+++ python-ldap-2.0.7/setup.cfg 2005-05-06 06:24:23 +0400
@@ -6,8 +6,8 @@
# Section for compiling the C extension module
# for wrapping OpenLDAP 2 libs
-library_dirs = /opt/openldap-OPENLDAP_REL_ENG_2_2/lib
-include_dirs = /opt/openldap-OPENLDAP_REL_ENG_2_2/include /usr/include/sasl
+library_dirs = /usr/lib
+include_dirs = /usr/include
extra_compile_args =
extra_objects =
@@ -16,7 +16,7 @@
# Support for StartTLS/LDAPS, SASL bind and reentrant libldap_r.
# This needs recent OpenLDAP 2.0.26+ or 2.1.3+ built with
# ./configure --with-cyrus-sasl --with-tls
-libs = ldap_r lber ssl crypto sasl2
+libs = ldap_r ldap lber ssl crypto
[install]
# Installation options