Changes 2.4.19: * Fixed missing ReconnectLDAPObject._reconnect_lock when pickling * Added ldap.controls.pagedresults which is pure Python implementation of Simple Paged Results Control (see RFC 2696) and delivers the correct result sizediff -r1.60 -r1.61 pkgsrc/databases/py-ldap/Makefile
(adam)
@@ -1,43 +1,35 @@ | @@ -1,43 +1,35 @@ | |||
1 | # $NetBSD: Makefile,v 1.60 2014/12/31 13:57:25 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.61 2015/01/12 11:46:29 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= python-ldap-2.4.18 | 3 | DISTNAME= python-ldap-2.4.19 | |
4 | PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/} | 4 | PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/} | |
5 | CATEGORIES= databases python | 5 | CATEGORIES= databases python | |
6 | MASTER_SITES= http://pypi.python.org/packages/source/p/python-ldap/ | 6 | MASTER_SITES= http://pypi.python.org/packages/source/p/python-ldap/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://www.python-ldap.org/ | 9 | HOMEPAGE= http://www.python-ldap.org/ | |
10 | COMMENT= LDAP client API for Python | 10 | COMMENT= LDAP client API for Python | |
11 | LICENSE= python-software-foundation | 11 | LICENSE= python-software-foundation | |
12 | 12 | |||
13 | PY_LDAP_LIBRARY_DIRS= ${BUILDLINK_PREFIX.openldap-client}/lib | 13 | PY_LDAP_LIBRARY_DIRS= ${BUILDLINK_PREFIX.openldap-client}/lib | |
14 | PY_LDAP_INCLUDE_DIRS= ${BUILDLINK_PREFIX.openldap-client}/include | 14 | PY_LDAP_INCLUDE_DIRS= ${BUILDLINK_PREFIX.openldap-client}/include | |
15 | PY_LDAP_LIBS= ldap_r lber ssl crypto | 15 | PY_LDAP_LIBS= ldap_r lber ssl crypto | |
16 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.4.13 | 16 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.4.13 | |
17 | 17 | |||
18 | .include "options.mk" | 18 | .include "options.mk" | |
19 | 19 | |||
20 | SUBST_CLASSES+= setup | 20 | SUBST_CLASSES+= setup | |
21 | SUBST_STAGE.setup= pre-configure | 21 | SUBST_STAGE.setup= pre-configure | |
22 | SUBST_FILES.setup= setup.cfg | 22 | SUBST_FILES.setup= setup.cfg | |
23 | SUBST_SED.setup= -e 's|@PY_LDAP_LIBRARY_DIRS@|${PY_LDAP_LIBRARY_DIRS:Q}|' | 23 | SUBST_SED.setup= -e 's|@PY_LDAP_LIBRARY_DIRS@|${PY_LDAP_LIBRARY_DIRS:Q}|' | |
24 | SUBST_SED.setup+= -e 's|@PY_LDAP_INCLUDE_DIRS@|${PY_LDAP_INCLUDE_DIRS:Q}|' | 24 | SUBST_SED.setup+= -e 's|@PY_LDAP_INCLUDE_DIRS@|${PY_LDAP_INCLUDE_DIRS:Q}|' | |
25 | SUBST_SED.setup+= -e 's|@PY_LDAP_LIBS@|${PY_LDAP_LIBS}|' | 25 | SUBST_SED.setup+= -e 's|@PY_LDAP_LIBS@|${PY_LDAP_LIBS}|' | |
26 | 26 | |||
27 | PY_LDAP_DOCDIR= ${PREFIX}/share/doc/py-ldap | |||
28 | ||||
29 | USE_TOOLS+= pax | 27 | USE_TOOLS+= pax | |
30 | 28 | |||
31 | INSTALLATION_DIRS= ${PY_LDAP_DOCDIR} | |||
32 | ||||
33 | REPLACE_PYTHON= Lib/ldap/controls/readentry.py | 29 | REPLACE_PYTHON= Lib/ldap/controls/readentry.py | |
34 | 30 | |||
35 | post-install: | |||
36 | cd ${WRKSRC} && pax -s,.cvsignore,, -rw CHANGES README INSTALL TODO Demo \ | |||
37 | ${DESTDIR}${PY_LDAP_DOCDIR} | |||
38 | ||||
39 | .include "../../databases/openldap-client/buildlink3.mk" | 31 | .include "../../databases/openldap-client/buildlink3.mk" | |
40 | .include "../../security/openssl/buildlink3.mk" | 32 | .include "../../security/openssl/buildlink3.mk" | |
41 | .include "../../lang/python/application.mk" | 33 | .include "../../lang/python/application.mk" | |
42 | .include "../../lang/python/egg.mk" | 34 | .include "../../lang/python/egg.mk" | |
43 | .include "../../mk/bsd.pkg.mk" | 35 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.13 2014/09/14 17:48:37 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.14 2015/01/12 11:46:29 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |
6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
8 | ${PYSITELIB}/_ldap.so | 8 | ${PYSITELIB}/_ldap.so | |
9 | ${PYSITELIB}/dsml.py | 9 | ${PYSITELIB}/dsml.py | |
10 | ${PYSITELIB}/dsml.pyc | 10 | ${PYSITELIB}/dsml.pyc | |
11 | ${PYSITELIB}/dsml.pyo | 11 | ${PYSITELIB}/dsml.pyo | |
12 | ${PYSITELIB}/ldap/__init__.py | 12 | ${PYSITELIB}/ldap/__init__.py | |
13 | ${PYSITELIB}/ldap/__init__.pyc | 13 | ${PYSITELIB}/ldap/__init__.pyc | |
14 | ${PYSITELIB}/ldap/__init__.pyo | 14 | ${PYSITELIB}/ldap/__init__.pyo | |
@@ -86,47 +86,13 @@ ${PYSITELIB}/ldap/schema/subentry.pyc | @@ -86,47 +86,13 @@ ${PYSITELIB}/ldap/schema/subentry.pyc | |||
86 | ${PYSITELIB}/ldap/schema/subentry.pyo | 86 | ${PYSITELIB}/ldap/schema/subentry.pyo | |
87 | ${PYSITELIB}/ldap/schema/tokenizer.py | 87 | ${PYSITELIB}/ldap/schema/tokenizer.py | |
88 | ${PYSITELIB}/ldap/schema/tokenizer.pyc | 88 | ${PYSITELIB}/ldap/schema/tokenizer.pyc | |
89 | ${PYSITELIB}/ldap/schema/tokenizer.pyo | 89 | ${PYSITELIB}/ldap/schema/tokenizer.pyo | |
90 | ${PYSITELIB}/ldap/syncrepl.py | 90 | ${PYSITELIB}/ldap/syncrepl.py | |
91 | ${PYSITELIB}/ldap/syncrepl.pyc | 91 | ${PYSITELIB}/ldap/syncrepl.pyc | |
92 | ${PYSITELIB}/ldap/syncrepl.pyo | 92 | ${PYSITELIB}/ldap/syncrepl.pyo | |
93 | ${PYSITELIB}/ldapurl.py | 93 | ${PYSITELIB}/ldapurl.py | |
94 | ${PYSITELIB}/ldapurl.pyc | 94 | ${PYSITELIB}/ldapurl.pyc | |
95 | ${PYSITELIB}/ldapurl.pyo | 95 | ${PYSITELIB}/ldapurl.pyo | |
96 | ${PYSITELIB}/ldif.py | 96 | ${PYSITELIB}/ldif.py | |
97 | ${PYSITELIB}/ldif.pyc | 97 | ${PYSITELIB}/ldif.pyc | |
98 | ${PYSITELIB}/ldif.pyo | 98 | ${PYSITELIB}/ldif.pyo | |
99 | share/doc/py-ldap/CHANGES | |||
100 | share/doc/py-ldap/Demo/Lib/ldap/async/deltree.py | |||
101 | share/doc/py-ldap/Demo/Lib/ldap/async/ldifwriter.py | |||
102 | share/doc/py-ldap/Demo/Lib/ldap/async/sizelimit.py | |||
103 | share/doc/py-ldap/Demo/Lib/ldapurl/urlsearch.py | |||
104 | share/doc/py-ldap/Demo/Lib/ldif/ldifcopy.py | |||
105 | share/doc/py-ldap/Demo/initialize.py | |||
106 | share/doc/py-ldap/Demo/ldapcontrols.py | |||
107 | share/doc/py-ldap/Demo/matchedvalues.py | |||
108 | share/doc/py-ldap/Demo/ms_ad_bind.py | |||
109 | share/doc/py-ldap/Demo/options.py | |||
110 | share/doc/py-ldap/Demo/page_control.py | |||
111 | share/doc/py-ldap/Demo/paged_search_ext_s.py | |||
112 | share/doc/py-ldap/Demo/passwd_ext_op.py | |||
113 | share/doc/py-ldap/Demo/pickle_ldapobject.py | |||
114 | share/doc/py-ldap/Demo/pyasn1/README | |||
115 | share/doc/py-ldap/Demo/pyasn1/dds.py | |||
116 | share/doc/py-ldap/Demo/pyasn1/noopsearch.py | |||
117 | share/doc/py-ldap/Demo/pyasn1/ppolicy.py | |||
118 | share/doc/py-ldap/Demo/pyasn1/psearch.py | |||
119 | share/doc/py-ldap/Demo/pyasn1/readentrycontrol.py | |||
120 | share/doc/py-ldap/Demo/pyasn1/sessiontrack.py | |||
121 | share/doc/py-ldap/Demo/pyasn1/syncrepl.py | |||
122 | share/doc/py-ldap/Demo/reconnect.py | |||
123 | share/doc/py-ldap/Demo/rename.py | |||
124 | share/doc/py-ldap/Demo/resiter.py | |||
125 | share/doc/py-ldap/Demo/sasl_bind.py | |||
126 | share/doc/py-ldap/Demo/schema.py | |||
127 | share/doc/py-ldap/Demo/schema_tree.py | |||
128 | share/doc/py-ldap/Demo/simple.py | |||
129 | share/doc/py-ldap/Demo/simplebrowse.py | |||
130 | share/doc/py-ldap/INSTALL | |||
131 | share/doc/py-ldap/README | |||
132 | share/doc/py-ldap/TODO |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.25 2014/10/12 14:53:38 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.26 2015/01/12 11:46:29 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (python-ldap-2.4.18.tar.gz) = d254d56a9cebbf89c080a6edb73da5722f2c53b2 | 3 | SHA1 (python-ldap-2.4.19.tar.gz) = 164062f52fce14b8afbedc45ae5d5eef0c31afce | |
4 | RMD160 (python-ldap-2.4.18.tar.gz) = 8c89930dc7921a13f4979406bf352890bc1fb343 | 4 | RMD160 (python-ldap-2.4.19.tar.gz) = 90353d5871aac0f0987ec08b15e705cba6f18749 | |
5 | Size (python-ldap-2.4.18.tar.gz) = 137451 bytes | 5 | Size (python-ldap-2.4.19.tar.gz) = 138503 bytes | |
6 | SHA1 (patch-aa) = b647e7f7c61e013b47be69831d5f2ba9f1caa13a | 6 | SHA1 (patch-aa) = 24b77bbe1ea2b1e46f3cb50332d7befae41a4989 |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | $NetBSD: patch-aa,v 1.12 2014/09/14 17:48:37 wiz Exp $ | 1 | $NetBSD: patch-aa,v 1.13 2015/01/12 11:46:29 adam Exp $ | |
2 | 2 | |||
3 | --- setup.cfg.orig 2014-09-10 12:17:37.000000000 +0000 | 3 | --- setup.cfg.orig 2015-01-10 17:19:29.000000000 +0000 | |
4 | +++ setup.cfg | 4 | +++ setup.cfg | |
5 | @@ -1,10 +1,10 @@ | 5 | @@ -1,10 +1,10 @@ | |
6 | [_ldap] | 6 | [_ldap] | |
7 | -library_dirs = /opt/openldap/lib64 /usr/lib | 7 | -library_dirs = /opt/openldap-RE24/lib /usr/lib | |
8 | -include_dirs = /opt/openldap/include /usr/include/sasl /usr/include | 8 | -include_dirs = /opt/openldap-RE24/include /usr/include/sasl /usr/include | |
9 | -defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R | 9 | -defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R | |
10 | +library_dirs = @PY_LDAP_LIBRARY_DIRS@ | 10 | +library_dirs = @PY_LDAP_LIBRARY_DIRS@ | |
11 | +include_dirs = @PY_LDAP_INCLUDE_DIRS@ | 11 | +include_dirs = @PY_LDAP_INCLUDE_DIRS@ | |
12 | +defines = HAVE_TLS HAVE_LIBLDAP_R | 12 | +defines = HAVE_TLS HAVE_LIBLDAP_R | |
13 | extra_compile_args = | 13 | extra_compile_args = | |
14 | extra_objects = | 14 | extra_objects = | |
15 | -libs = ldap_r | 15 | -libs = ldap_r | |
16 | +libs = @PY_LDAP_LIBS@ | 16 | +libs = @PY_LDAP_LIBS@ | |
17 | 17 | |||
18 | [install] | 18 | [install] | |
19 | compile = 1 | 19 | compile = 1 |