Files
meta-openembedded/meta-python/recipes-networking/python/python3-ldap_3.4.7.bb
T
Devansh Patel ffc1c4a318 python3-ldap: correct python-ldap CVE_PRODUCT mapping
The current "python-ldap" mapping generates a vendor-wildcard product
identity for the packaged Python binding.

Use "python-ldap:python-ldap" so it matches the NVD dictionary CPE and
configuration identity. The generated product identity changes, but
sbom-cve-check 1.3.3 reports no CVE delta with the pinned databases.

Signed-off-by: Devansh Patel <devanshp@cisco.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-26 10:26:42 -07:00

33 lines
1.0 KiB
BlitzBasic

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:python-ldap"