diff --git a/meta-networking/recipes-protocols/mjansson-mdns/files/0001-Bump-cmake_minimum_required-version-to-3.5-94.patch b/meta-networking/recipes-protocols/mjansson-mdns/files/0001-Bump-cmake_minimum_required-version-to-3.5-94.patch new file mode 100644 index 0000000000..2afccbe463 --- /dev/null +++ b/meta-networking/recipes-protocols/mjansson-mdns/files/0001-Bump-cmake_minimum_required-version-to-3.5-94.patch @@ -0,0 +1,21 @@ +From ab8f4118469d7a0bb83b9fcb88fe53482c35f0cb Mon Sep 17 00:00:00 2001 +From: skrede +Date: Sun, 26 Oct 2025 14:35:05 +0100 +Subject: [PATCH] Bump cmake_minimum_required version to 3.5 (#94) + +Upstream-Status: Backport [https://github.com/mjansson/mdns/commit/ab8f4118469d7a0bb83b9fcb88fe53482c35f0cb] +Signed-off-by: Peter Marko +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1bce26d..50f1f05 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) + project(mdns VERSION 1.4.2 LANGUAGES C) + + option(MDNS_BUILD_EXAMPLE "build example" ON) diff --git a/meta-networking/recipes-protocols/mjansson-mdns/mjansson-mdns_1.4.3.bb b/meta-networking/recipes-protocols/mjansson-mdns/mjansson-mdns_1.4.3.bb new file mode 100644 index 0000000000..5c404cbb9d --- /dev/null +++ b/meta-networking/recipes-protocols/mjansson-mdns/mjansson-mdns_1.4.3.bb @@ -0,0 +1,14 @@ +SUMMARY = "Public domain mDNS/DNS-SD library in C" +DESCRIPTION = "This library provides a header only cross-platform mDNS and DNS-DS library in C" +SECTION = "net" +LICENSE = "Unlicense" +LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" + +SRC_URI = "git://github.com/mjansson/mdns.git;protocol=https;branch=main;tag=${PV} \ + file://0001-Bump-cmake_minimum_required-version-to-3.5-94.patch \ +" +SRCREV = "1727be0602941a714cb6048a737f0584b1cebf3c" + +inherit cmake + +CVE_PRODUCT = "mjansson:mdns"