diff mbox series

[2/4] package/libyang: bump to version 3.12.2

Message ID 20250502132924.3775738-3-lazzer@gmail.com
State Superseded
Headers show
Series Bump netopeer2 and its dependencies | expand

Commit Message

Mattias Walström May 2, 2025, 1:29 p.m. UTC
Changelog:
 optional xxhash faster hasing function
 support for metadata in diff
 lots of optimizations and fixes

Signed-off-by: Mattias Walström <lazzer@gmail.com>
---
 package/libyang/libyang.hash | 2 +-
 package/libyang/libyang.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Heiko Thiery May 5, 2025, 6:29 a.m. UTC | #1
Hi Mattias,

Thank you for this version bump. There is one small thing to be fixed. You
can test a package by using utils/test-pkg -p <PKG>. Here I used
"utils/test-pkg -p libyang" and the log files can be found under the
~/br-test-pkg/ folder.

Am Fr., 2. Mai 2025 um 15:29 Uhr schrieb Mattias Walström <lazzer@gmail.com
>:

> Changelog:
>  optional xxhash faster hasing function
>  support for metadata in diff
>  lots of optimizations and fixes
>
> Signed-off-by: Mattias Walström <lazzer@gmail.com>
> ---
>  package/libyang/libyang.hash | 2 +-
>  package/libyang/libyang.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/libyang/libyang.hash b/package/libyang/libyang.hash
> index e03278adfd..9221e93544 100644
> --- a/package/libyang/libyang.hash
> +++ b/package/libyang/libyang.hash
> @@ -1,3 +1,3 @@
>  # Locally calculated
> -sha256  77a0aaaeb3df720aeb70d6896e32e2c2be099d48df73e3cfb52567051af3e44b
> libyang-2.1.148.tar.gz
> +sha256  a2ae94ce43d8b4b084f67c05902f97cbc0ec882d38ef5ddf1d601659f64d5c66
> libyang-3.12.2.tar.gz
>  sha256  0b7ec43747d211a1e49c53588b0822062947bab6bdcc95238578beab34cba5bb
> LICENSE
>

The LICENSE file hash has changed due to copyright date changes:

git diff v2.1.148..v3.12.2 LICENSE
diff --git a/LICENSE b/LICENSE
index 72e0e09a9..2d3becfd3 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2015-2021, CESNET
+Copyright (c) 2015-2024, CESNET
 All rights reserved.


>>> libyang 3.12.2 Collecting legal info
ERROR: while checking hashes from package/libyang/libyang.hash
ERROR: LICENSE has wrong sha256 hash:
ERROR: expected:
0b7ec43747d211a1e49c53588b0822062947bab6bdcc95238578beab34cba5bb
ERROR: got     :
f4fbaa09c8b2faa6a873a38181ff860e2ff90808320f71deb369f03ddfb920da
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
make: *** [package/libyang/libyang.mk:27: libyang-legal-info] Error 1




> diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk
> index fca0cd63f8..94f9ba3b8a 100644
> --- a/package/libyang/libyang.mk
> +++ b/package/libyang/libyang.mk
> @@ -4,7 +4,7 @@
>  #
>
>  ################################################################################
>
> -LIBYANG_VERSION = 2.1.148
> +LIBYANG_VERSION = 3.12.2
>  LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION))
>  LIBYANG_LICENSE = BSD-3-Clause
>  LIBYANG_LICENSE_FILES = LICENSE
> --
> 2.43.0
>
>
Thanks,
Heiko
diff mbox series

Patch

diff --git a/package/libyang/libyang.hash b/package/libyang/libyang.hash
index e03278adfd..9221e93544 100644
--- a/package/libyang/libyang.hash
+++ b/package/libyang/libyang.hash
@@ -1,3 +1,3 @@ 
 # Locally calculated
-sha256  77a0aaaeb3df720aeb70d6896e32e2c2be099d48df73e3cfb52567051af3e44b  libyang-2.1.148.tar.gz
+sha256  a2ae94ce43d8b4b084f67c05902f97cbc0ec882d38ef5ddf1d601659f64d5c66  libyang-3.12.2.tar.gz
 sha256  0b7ec43747d211a1e49c53588b0822062947bab6bdcc95238578beab34cba5bb  LICENSE
diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk
index fca0cd63f8..94f9ba3b8a 100644
--- a/package/libyang/libyang.mk
+++ b/package/libyang/libyang.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-LIBYANG_VERSION = 2.1.148
+LIBYANG_VERSION = 3.12.2
 LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION))
 LIBYANG_LICENSE = BSD-3-Clause
 LIBYANG_LICENSE_FILES = LICENSE