mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 10:17:01 +00:00
Upstream moved from hatchling to uv_build; inherit python_uv_build. Refresh the DDR test skip patch. The zone tests need the idna module for IDNA 2008; add python3-idna to the ptest RDEPENDS. Changes: - Requires Python 3.11+ (2.9.0); httpx2 replaces httpx for HTTPS TCP connections; DNSSEC gains ML-DSA-44. - Security (no CVE IDs; GHSA-45c3-73f7-pv4m): name decompression chain limited to 16 (CPU DoS); crafted WKS record in a zone file could exhaust memory/CPU (2.9.2); $GENERATE width capped at 127. - Security (2.9.1): DNSSEC rejects revoked DNSKEY use and mismatched RRSIG type/class; strict ECDSA/DSA signature lengths; resolver uses a random query id each time; negative TTL without SOA capped at 300. - Security (2.9.1): asyncquery.quic() now verifies the server hostname; XFR responses are checked with is_response(); from_xfr() ignores out-of-zone records; TSIG checked on DoH/DoQ replies. - Stricter rdata parsing (SVCB/HTTPS, NSEC3, NID/L64, TLSA, SSHFP, LOC, TTL); escape control characters in to_unicode/EDNS text output. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
42 lines
948 B
BlitzBasic
42 lines
948 B
BlitzBasic
DESCRIPTION = "DNS toolkit for Python"
|
|
HOMEPAGE = "https://www.dnspython.org/"
|
|
LICENSE = "ISC"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34"
|
|
|
|
SRC_URI[sha256sum] = "8d4d39a513e649d634004ce4d39ade2352efcea472a0247535a5c2d18a9d7ba9"
|
|
|
|
CVE_PRODUCT = "dnspython"
|
|
|
|
inherit pypi python_uv_build ptest
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
file://0001-tests-skip-DDR-tests-when-the-resolvers-do-not-answe.patch \
|
|
file://0001-tests-retry-socket-timeouts-in-retry_on_timeout.patch \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-idna \
|
|
python3-pytest \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
DEPENDS += "\
|
|
python3-wheel-native \
|
|
python3-setuptools-scm-native \
|
|
"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-crypt \
|
|
python3-io \
|
|
python3-math \
|
|
python3-netclient \
|
|
python3-numbers \
|
|
python3-threading \
|
|
"
|