pkgsrc/databases/py-ldap/patches/patch-aa
adam 99421e4b34 Changes 2.4.20:
* New wrapping of OpenLDAP's function ldap_sasl_bind_s() allows
  to intercept the SASL handshake

Modules/
* Added exceptions ldap.VLV_ERROR, ldap.X_PROXY_AUTHZ_FAILURE and
  ldap.AUTH_METHOD_NOT_SUPPORTED

Lib/
* Abandoned old syntax when raising ValueError in modules ldif and
  ldapurl, more information in some exceptions.
* ldap.ldapobject.LDAPObject:
  New convenience methods for SASL GSSAPI or EXTERNAL binds
* Refactored parts in ldif.LDIFParser:
  - New class attributes line_counter and byte_counter contain
    amount of LDIF data read so far
  - Renamed some internally used methods
  - Added support for parsing change records currently limited to
    changetype: modify
  - New separate methods parse_entry_records() (also called by parse())
    and parse_change_records()
  - Stricter order checking of dn:, changetype:, etc.
  - Removed non-existent 'AttrTypeandValueLDIF' from ldif.__all__
* New mix-in class ldap.controls.openldap.SearchNoOpMixIn
  adds convience method noop_search_st() to LDAPObject class
* Added new modules which implement the control classes
  for Virtual List View (see draft-ietf-ldapext-ldapv3-vlv) and
  Server-side Sorting (see RFC 2891)
  Note: This is still experimental! Even the API can change later.
2015-08-31 12:18:51 +00:00

19 lines
574 B
Text

$NetBSD: patch-aa,v 1.14 2015/08/31 12:18:51 adam Exp $
--- setup.cfg.orig 2015-07-07 13:25:42.000000000 +0000
+++ setup.cfg
@@ -1,10 +1,10 @@
[_ldap]
-library_dirs = /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
-include_dirs = /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl
-defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
+library_dirs = @PY_LDAP_LIBRARY_DIRS@
+include_dirs = @PY_LDAP_INCLUDE_DIRS@
+defines = HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args =
extra_objects =
-libs = ldap_r
+libs = @PY_LDAP_LIBS@
[install]
compile = 1