pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/py-ldap



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Oct 16 09:36:01 UTC 2025

Modified Files:
        pkgsrc/databases/py-ldap: Makefile PLIST distinfo

Log Message:
py-ldap: updated to 3.4.5

Released 3.4.5 2025-10-10

Security fixes:
* CVE-2025-61911 (GHSA-r7r6-cc7p-4v5m): Enforce ``str`` input in
  ``ldap.filter.escape_filter_chars`` with ``escape_mode=1``; ensure proper
  escaping. (thanks to lukas-eu)
* CVE-2025-61912 (GHSA-p34h-wq7j-h5v6): Correct NUL escaping in
  ``ldap.dn.escape_dn_chars`` to ``\00`` per RFC 4514. (thanks to aradona91)

Fixes:
* ReconnectLDAPObject now properly reconnects on UNAVAILABLE, CONNECT_ERROR
  and TIMEOUT exceptions (previously only SERVER_DOWN), fixing reconnection
  issues especially during server restarts
* Fixed syncrepl.py to use named constants instead of raw decimal values
  for result types
* Fixed error handling in SearchNoOpMixIn to prevent a undefined variable error

Tests:
* Added comprehensive reconnection test cases including concurrent operation
  handling and server restart scenarios

Doc/
* Updated installation docs and fixed various documentation typos
* Added ReadTheDocs configuration file

Infrastructure:
* Add testing and document support for Python 3.13


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/databases/py-ldap/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/databases/py-ldap/PLIST
cvs rdiff -u -r1.52 -r1.53 pkgsrc/databases/py-ldap/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-ldap/Makefile
diff -u pkgsrc/databases/py-ldap/Makefile:1.98 pkgsrc/databases/py-ldap/Makefile:1.99
--- pkgsrc/databases/py-ldap/Makefile:1.98      Mon Apr 14 11:31:11 2025
+++ pkgsrc/databases/py-ldap/Makefile   Thu Oct 16 09:36:01 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.98 2025/04/14 11:31:11 adam Exp $
+# $NetBSD: Makefile,v 1.99 2025/10/16 09:36:01 adam Exp $
 
-DISTNAME=      python-ldap-3.4.4
-PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/}
-PKGREVISION=   1
+DISTNAME=      python_ldap-3.4.5
+PKGNAME=       ${DISTNAME:S/python_/${PYPKGPREFIX}-/}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-ldap/}
 
@@ -19,6 +18,7 @@ PREFER.openldap-client=       pkgsrc
 .endif
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>0:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-asn1>=0.3.7:../../security/py-asn1
 DEPENDS+=      ${PYPKGPREFIX}-asn1-modules>=0.1.5:../../security/py-asn1-modules
 TEST_DEPENDS+= openldap-server-[0-9]*:../../databases/openldap-server

Index: pkgsrc/databases/py-ldap/PLIST
diff -u pkgsrc/databases/py-ldap/PLIST:1.25 pkgsrc/databases/py-ldap/PLIST:1.26
--- pkgsrc/databases/py-ldap/PLIST:1.25 Mon Apr 14 11:31:11 2025
+++ pkgsrc/databases/py-ldap/PLIST      Thu Oct 16 09:36:01 2025
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.25 2025/04/14 11:31:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.26 2025/10/16 09:36:01 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENCE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENCE.MIT
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/_ldap.so
 ${PYSITELIB}/ldap/__init__.py

Index: pkgsrc/databases/py-ldap/distinfo
diff -u pkgsrc/databases/py-ldap/distinfo:1.52 pkgsrc/databases/py-ldap/distinfo:1.53
--- pkgsrc/databases/py-ldap/distinfo:1.52      Mon Nov 20 06:20:10 2023
+++ pkgsrc/databases/py-ldap/distinfo   Thu Oct 16 09:36:01 2025
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.52 2023/11/20 06:20:10 adam Exp $
+$NetBSD: distinfo,v 1.53 2025/10/16 09:36:01 adam Exp $
 
-BLAKE2s (python-ldap-3.4.4.tar.gz) = 080ba4a3348f367c56d1780d1436ad06998f781d8c592aa4aa79b5e8df7109db
-SHA512 (python-ldap-3.4.4.tar.gz) = 0f29ba7f7aa4c5f5dd429b3f818094e07102ba9bf2dd131e6fa94b648d01cd9dfb564d7b536852037173591c2fa6917dd126eeb4da341b2d44879de4d83eb87c
-Size (python-ldap-3.4.4.tar.gz) = 377889 bytes
+BLAKE2s (python_ldap-3.4.5.tar.gz) = 4a3f771363086212c5a2c10da77914d79a34d40128633d5f1568f3fd64bb6160
+SHA512 (python_ldap-3.4.5.tar.gz) = c2561b6ac6deb5ec10006767310414f1754eb010633fb670c0abc4c268ef5c15a3b84b049cc38b78bb56c80853de96d21263fa596067b9abe9501e58496f5bdb
+Size (python_ldap-3.4.5.tar.gz) = 388482 bytes
 SHA1 (patch-Lib_slapdtest___slapdtest.py) = d2f024e735106e97f0b5d48b667e9a40794d3c35
 SHA1 (patch-Makefile) = ef130a8711a94cc070f11baf0d481bbc69ff3910



Home | Main Index | Thread Index | Old Index