From 9666b61fbd5ad0b44ab777a5985761edd52e0752 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 22 May 2026 17:29:20 +0800 Subject: python3-ldap: upgrade 3.4.5 -> 3.4.7 Changelog: ============= - attrlist parameter is now properly checked before use, avoiding memory errors due to type mismatches - Fixed errors with requestName/requestValue in extop.dds - ldif and ldap.schema modules now actively close sockets as they're finished with them Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-ldap_3.4.7.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-networking/python/python3-ldap_3.4.7.bb (limited to 'meta-python/recipes-networking/python/python3-ldap_3.4.7.bb') diff --git a/meta-python/recipes-networking/python/python3-ldap_3.4.7.bb b/meta-python/recipes-networking/python/python3-ldap_3.4.7.bb new file mode 100644 index 0000000000..cd7c675f27 --- /dev/null +++ b/meta-python/recipes-networking/python/python3-ldap_3.4.7.bb @@ -0,0 +1,32 @@ +SUMMARY = "Provides a wrapper in Python to LDAP" +DESCRIPTION = "This module provides access to the LDAP \ +(Lightweight Directory Access Protocol) through Python operations \ +instead of C API. The module mainly acts as a wrapper for the \ +OpenLDAP 2.x libraries. Errors will appear as exceptions." +HOMEPAGE = "https://www.python-ldap.org/" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "file://LICENCE;md5=36ce9d726d0321b73c1521704d07db1b" + +DEPENDS = "python3 openldap cyrus-sasl python3-setuptools-scm-native" + +PYPI_PACKAGE = "python_ldap" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "bacd9fb680d20263d8570ade1cf234d90d281149a8beb4f079dd8f33f7613dc8" + +do_configure:prepend() { + sed -i -e 's:^library_dirs =.*::' \ + -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' \ + -e 's/= ldap_r/= ldap/g' ${S}/setup.cfg +} + +RDEPENDS:${PN} = " \ + python3-pprint \ + python3-pyasn1 \ + python3-pyasn1-modules \ + python3-threading \ + python3-unittest \ +" + +CVE_PRODUCT = "python-ldap" -- cgit v1.2.3-54-g00ecf