Skip to contentSkip to conversation

libyang: update from 2.1.148 to 3.7.8

PATCH New [email protected] 1 participant 1 message Feb 25, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libyang: update from 2.1.148 to 3.7.8

From: Randy MacLeod <[email protected]>

Update libyang from 2.1.148 to 3.7.8

Only the copyright years changed the LICENSE file in commit:
b13198971 doc UPDATE libyang v3 transition
so update that checksum.

Note that the prefix 'ly_' was added to header files in:
8f702ee38 libyang UPDATE add prefix for common and config files
so the multilib header install:append was updated in the recipe. Packages that depend on libyang, such as frr, still compile.

The ptests all continue to pass.

---
 .../libyang/{libyang_2.1.148.bb => libyang_3.7.8.bb}        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-extended/libyang/{libyang_2.1.148.bb => libyang_3.7.8.bb} (88%)
meta-oe/recipes-extended/libyang/libyang_3.7.8.bb renamed from meta-oe/recipes-extended/libyang/libyang_2.1.148.bb +3 -3
similarity index 88%
rename from meta-oe/recipes-extended/libyang/libyang_2.1.148.bb
rename to meta-oe/recipes-extended/libyang/libyang_3.7.8.bb
index 0eff3247c6..3bea9bc2b8 100644
@@ -4,9 +4,9 @@ HOMEPAGE = "https://github.com/CESNET/libyang"
 SECTION = "libs"
 LICENSE = "BSD-3-Clause"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=f3916d7d8d42a6508d0ea418cfff10ad"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9bb3d334294e8719f41c531e28a9a697"
 
-SRCREV = "fc4dbd923e044006c93df020590a1e5a8656c09e"
+SRCREV = "03e294d83b610f89e8ba7b2156a80dc0ad534443"
 
 SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https \
            file://0001-test_context-skip-test-case-test_searchdirs.patch \
@@ -31,7 +31,7 @@ do_compile:prepend () {
 }
 
 do_install:append () {
-        oe_multilib_header  libyang/config.h
+        oe_multilib_header  libyang/ly_config.h
 }
 
 do_install_ptest () {
Signature · 1 line
2.34.1