Files
meta-openembedded/meta-python/recipes-devtools/python/python3-uefi-firmware_1.17.bb
T
Khem Raj 017e4e79ca python3-uefi-firmware: upgrade 1.16 -> 1.17
Upstream renamed its default branch to main.

License-Update: The checksum covered setup.py; point it at the MIT
LICENSE file instead. setup.py now declares MIT (it said BSD-3-Clause,
while LICENSE has always been MIT); the bundled EDK2/LZMA code stays
BSD, so LICENSE becomes "MIT AND BSD-2-Clause AND BSD-3-Clause".

Changes:
- Hardened parsing and extraction: bounded parsing loops, recursion
  and decompression, clean failure on truncated/inconsistent headers,
  hardened C decompression extension, new safe_path utility.
- The "future" dependency was removed.
- Added AMI capsule, PFS (AutoParser) and PaddingObject support;
  duplicate volume names supported; fixed NVAR, ME, PFS and CPD
  handling and FFS rebuild.
- Performance: _FVH magic search 8.9x faster (bytes.find/finditer).
- build() round-trips and FDF generator fixed.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:59:05 -08:00

26 lines
1019 B
BlitzBasic

SUMMARY = "Various data structures and parsing tools for UEFI firmware."
DESCRIPTION = "This package contains Python UEFI firmware parser tool. The \
UEFI firmware parser is a simple module and set of scripts for parsing, \
extracting, and recreating UEFI firmware volumes. This includes parsing \
modules for BIOS, OptionROM, Intel ME and other formats too."
HOMEPAGE = "https://github.com/theopolis/uefi-firmware-parser"
LICENSE = "MIT AND BSD-2-Clause AND BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7befe9c63bf87929cff5a8b0c5a62bfb"
SRC_URI = "git://github.com/theopolis/uefi-firmware-parser;protocol=https;branch=main;tag=v${PV}"
SRCREV = "4942c4865da22000f4bb484830e26019ec061498"
DEPENDS += "python3-setuptools-scm-native"
inherit python_setuptools_build_meta
# The tarball is built from a git tag, so let setuptools_scm use ${PV}
# instead of deriving a version from the checkout.
export SETUPTOOLS_SCM_PRETEND_VERSION = "${PV}"
RDEPENDS:${PN} += " \
python3-ctypes \
python3-logging \
"