python3-rarfile: Upgrade 4.2 -> 4.3

- Disallow extraction outside extraction path, in case of existing
  symlink.
- Disallow creating symlinks to outside of extraction path.
- Apply length limit to passwords, so too long password give same
  result as for unrar.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi
2026-07-10 14:59:04 +03:00
committed by Khem Raj
parent 000648e968
commit 250067e217
@@ -0,0 +1,23 @@
SUMMARY = "RAR archive reader for Python"
HOMEPAGE = "https://github.com/markokr/rarfile"
LICENSE = "ISC"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1916695551f7eec48dfd97db9467b831"
inherit setuptools3
SRC_URI[sha256sum] = "0d8b5a7ffb9f8e9a7b002f2398905e4420c0cb373e799b48e48f418db9c8816a"
inherit pypi
PYPI_PACKAGE = "rarfile"
RDEPENDS:${PN} += "\
7zip \
python3-core \
python3-datetime \
python3-crypt \
python3-io \
"
BBCLASSEXTEND = "native nativesdk"