From f23f06fd0ef10f6eaab9e4f6b0755187dcc75603 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 6 Aug 2026 13:34:28 +0000 Subject: [PATCH] llhttp: add new recipe (9.4.3) restinio 0.7.x drops its bundled http_parser and instead requires llhttp to be supplied externally via find_package(). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../recipes-support/llhttp/llhttp_9.4.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-networking/recipes-support/llhttp/llhttp_9.4.3.bb diff --git a/meta-networking/recipes-support/llhttp/llhttp_9.4.3.bb b/meta-networking/recipes-support/llhttp/llhttp_9.4.3.bb new file mode 100644 index 0000000000..98e65bf08e --- /dev/null +++ b/meta-networking/recipes-support/llhttp/llhttp_9.4.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "Port of http_parser to llvm's libFuzzer, and a rewrite of the HTTP parser used in Node.js" +DESCRIPTION = "llhttp is a HTTP/1.x parser generated from a bytecode-like \ + instruction set that is smaller and faster to maintain than \ + the legacy http_parser it replaces. It is used by restinio \ + (and Node.js itself) as the HTTP request/response parser." +HOMEPAGE = "https://github.com/nodejs/llhttp" +SECTION = "libs" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9e4e583cb28b7e0c2ef8df4832706e96" + +# The release/v* tags carry the generated sources and live on the "release" +# branch, which shares no history with "main". +SRC_URI = "git://github.com/nodejs/llhttp.git;protocol=https;branch=release;tag=release/v${PV}" +SRCREV = "0e815792b167a9bd8ace259b95b7da953776c288" + +inherit cmake + +BBCLASSEXTEND = "native nativesdk"