mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 07:46:39 +00:00
Changes: - Security: arbitrary file write above the extraction directory via a symlink chain (incomplete fix of CVE-2026-23879, GHSA-jwx8-hv8g- gjjq); containment now decided on the real path and member names with ".." components are rejected. - Security: memory exhaustion when opening a crafted archive header (GHSA-6pr6-cqpq-x889); extraction hang on a crafted COPY stream (GHSA-v999-q5cj-95jg). - Fixes: PasswordRequired raised when writing with a crypto filter and no password; extraction workers capped at os.cpu_count(); archiveinfo() on empty archives; non-seekable WriterFactory handles; Bad7zFile on truncated headers; dry_run honored. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
46 lines
1.1 KiB
BlitzBasic
46 lines
1.1 KiB
BlitzBasic
SUMMARY = "Pure Python 7-zip library"
|
|
HOMEPAGE = "https://py7zr.readthedocs.io/en/latest/"
|
|
LICENSE = "LGPL-2.1-or-later"
|
|
SECTION = "devel/python"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
|
|
|
|
SRC_URI = "git://github.com/miurahr/py7zr.git;branch=master;protocol=https"
|
|
SRCREV = "c717d21171bdc66b6370040dc95a6ce9036f4d40"
|
|
|
|
CVE_PRODUCT = "py7zr"
|
|
|
|
inherit python_setuptools_build_meta ptest-python-pytest
|
|
|
|
DEPENDS += "\
|
|
python3-setuptools-scm-native \
|
|
python3-toml-native \
|
|
python3-wheel-native \
|
|
python3-coherent-licensed-native \
|
|
"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
python3-pycryptodomex \
|
|
python3-multivolumefile \
|
|
python3-pybcj \
|
|
python3-inflate64 \
|
|
python3-pyppmd \
|
|
python3-brotli \
|
|
python3-multiprocessing \
|
|
python3-datetime \
|
|
python3-core \
|
|
python3-threading \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += "\
|
|
python3-texttable \
|
|
python3-requests \
|
|
python3-pytest-httpserver \
|
|
python3-psutil \
|
|
"
|
|
|
|
do_install_ptest:append() {
|
|
# Remove liblzma pre-stripped binaries because they are not
|
|
# neeed and to avoid the already-stripped QA errors
|
|
rm -rf ${D}${PTEST_PATH}/tests/data/lib
|
|
}
|