From a787eee7c022d0180a5859c8b8ec89785b75a672 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 31 Aug 2015 12:18:51 +0000 Subject: 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. --- databases/py-ldap/Makefile | 4 ++-- databases/py-ldap/distinfo | 10 +++++----- databases/py-ldap/patches/patch-aa | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'databases/py-ldap') diff --git a/databases/py-ldap/Makefile b/databases/py-ldap/Makefile index 6a3c3de9b41..35fb0567987 100644 --- a/databases/py-ldap/Makefile +++ b/databases/py-ldap/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.61 2015/01/12 11:46:29 adam Exp $ +# $NetBSD: Makefile,v 1.62 2015/08/31 12:18:51 adam Exp $ -DISTNAME= python-ldap-2.4.19 +DISTNAME= python-ldap-2.4.20 PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/} CATEGORIES= databases python MASTER_SITES= http://pypi.python.org/packages/source/p/python-ldap/ diff --git a/databases/py-ldap/distinfo b/databases/py-ldap/distinfo index 0e9c7a4d420..dbfab65a693 100644 --- a/databases/py-ldap/distinfo +++ b/databases/py-ldap/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.26 2015/01/12 11:46:29 adam Exp $ +$NetBSD: distinfo,v 1.27 2015/08/31 12:18:51 adam Exp $ -SHA1 (python-ldap-2.4.19.tar.gz) = 164062f52fce14b8afbedc45ae5d5eef0c31afce -RMD160 (python-ldap-2.4.19.tar.gz) = 90353d5871aac0f0987ec08b15e705cba6f18749 -Size (python-ldap-2.4.19.tar.gz) = 138503 bytes -SHA1 (patch-aa) = 24b77bbe1ea2b1e46f3cb50332d7befae41a4989 +SHA1 (python-ldap-2.4.20.tar.gz) = 3051f2b53ce73a60b852b7f4e994e4b14b7de7b4 +RMD160 (python-ldap-2.4.20.tar.gz) = b8addbce1a5ee992d4f32fc5e934836d461df9c6 +Size (python-ldap-2.4.20.tar.gz) = 142355 bytes +SHA1 (patch-aa) = 5585e305da91a2dd1ae47cb2bff30b1826000ec5 diff --git a/databases/py-ldap/patches/patch-aa b/databases/py-ldap/patches/patch-aa index c3875ee1f94..cf8aec83909 100644 --- a/databases/py-ldap/patches/patch-aa +++ b/databases/py-ldap/patches/patch-aa @@ -1,11 +1,11 @@ -$NetBSD: patch-aa,v 1.13 2015/01/12 11:46:29 adam Exp $ +$NetBSD: patch-aa,v 1.14 2015/08/31 12:18:51 adam Exp $ ---- setup.cfg.orig 2015-01-10 17:19:29.000000000 +0000 +--- setup.cfg.orig 2015-07-07 13:25:42.000000000 +0000 +++ setup.cfg @@ -1,10 +1,10 @@ [_ldap] --library_dirs = /opt/openldap-RE24/lib /usr/lib --include_dirs = /opt/openldap-RE24/include /usr/include/sasl /usr/include +-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@ -- cgit v1.2.3