Files
meta-openembedded/meta-python/recipes-networking/python/python3-ldap_3.4.4.bb
Gyorgy Sarvari bd77eb6992 python3-ldap: set CVE_PRODUCT
The relevant CVEs are tracked with python-ldap:python-ldap CPE, not
python:python-ldap.

See CVE db query:
sqlite> select * from products where PRODUCT like '%python-ldap%';
CVE-2021-46823|python-ldap|python-ldap|||3.4.0|<
CVE-2025-61911|python-ldap|python-ldap|||3.4.5|<
CVE-2025-61912|python-ldap|python-ldap|||3.4.5|<

Set the CVE_PRODUCT accordingly

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-31 08:28:53 -08:00

33 lines
976 B
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"
PYPI_PACKAGE = "python-ldap"
inherit pypi setuptools3
SRC_URI[sha256sum] = "7edb0accec4e037797705f3a05cbf36a9fde50d08c8f67f2aef99a2628fab828"
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"