Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37535868
en ru br
ALT Linux repositórios
5.0: 2.3-alt1.1
4.1: 2.3-alt1.1
4.0: 2.2.0-alt2
3.0: 2.0.7-alt1

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


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
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009