Files
RedBear-OS/local/recipes/libs/mesa/source/subprojects/libarchive.wrap
T
vasilito cb424d7448 build: static patch-sanity linter (shift-left the malformed-patch class)
verify-patch-sanity.py validates every active recipe .patch has internally-
consistent hunk line counts — catching the 'malformed patch at line N' failure
at commit/CI/preflight time instead of hours into a cook. This cycle hit that
class three times (qtwaylandscanner, sddm, xwayland), each only discovered when
cookbook tried to apply the patch.

Running it across the repo found 29 latent malformed patches (validated against
GNU patch: e.g. relibc/P3-sysv-ipc reproduces 'malformed patch at line 22').
They were harmless only because they sit in vendored recipes (baked, not re-
applied) — but would fail on any version-bump re-derivation. --fix recounts the
hunk headers (body untouched) and repaired all 29.

Wired into build-preflight.sh (Phase 1.0D) and redbear-ci.yml, with a unit test
(test-patch-sanity.sh). Skips archived/legacy trees and unvalidatable formats
(empty placeholders, bare-@@ git hunks).
2026-08-01 05:13:02 +03:00

14 lines
647 B
Plaintext

[wrap-file]
directory = libarchive-3.7.2
source_url = https://github.com/libarchive/libarchive/releases/download/v3.7.2/libarchive-3.7.2.tar.xz
source_filename = libarchive-3.7.2.tar.xz
source_hash = 04357661e6717b6941682cde02ad741ae4819c67a260593dfb2431861b251acb
patch_filename = libarchive_3.7.2-3_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/libarchive_3.7.2-3/get_patch
patch_hash = 1cec0d1d80257ed4b18bea0d7f1aef9f02f5b6a80e269eee7457ece32f53f5ca
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libarchive_3.7.2-3/libarchive-3.7.2.tar.xz
wrapdb_version = 3.7.2-3
[provide]
libarchive = libarchive_dep