Skip to contentSkip to conversation

Bump netopeer2 and its dependencies

PATCH Superseded Mattias Walström 2 participants 7 messages May 2, 2025 – May 5, 2025

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover Bump netopeer2 and its dependencies

This series contains the netopeer2 package update with the corresponding
dependencies: libyang, libnetconf2, sysrepo.

Even though the changelog for each package does not say much, there is a lot of memory leaks fixed.

This series must be applied together due to the Netopeer2 release states:

This release depends on libyang (v3.12.2), libnetconf2 (v3.7.1) and sysrepo (v3.6.11).

Mattias Walström (4):
package/sysrepo: bump to version 3.6.11
package/libyang: bump to version 3.12.2
package/libnetconf2: bump to version 3.7.1
package/netopeer2: bump to version 2.4.1

 package/libnetconf2/libnetconf2.hash | 2 +-
 package/libnetconf2/libnetconf2.mk   | 2 +-
 package/libyang/libyang.hash         | 2 +-
 package/libyang/libyang.mk           | 2 +-
 package/netopeer2/netopeer2.hash     | 2 +-
 package/netopeer2/netopeer2.mk       | 2 +-
 package/sysrepo/sysrepo.hash         | 2 +-
 package/sysrepo/sysrepo.mk           | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 1/4 package/sysrepo: bump to version 3.6.11

Changelog:
several moderate optimizations (@irfanHaslanded)
session push oper data cache
lots of minor bugfixes and improvements

Depends on libyang v3.12.2 https://github.com/CESNET/libyang/releases/tag/v3.12.2

---
 package/sysrepo/sysrepo.hash | 2 +-
 package/sysrepo/sysrepo.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/sysrepo/sysrepo.hash +1 -1
index 056f70787d..663769e08d 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  467efed8d0f62c26a0d200602b911096eb2d67858e620937ab68f96b316fa9b7  sysrepo-2.2.150.tar.gz
+sha256  07faa220dd409382a8a4e2fd411f961ef6c05cc1bb7f616579013836734033c4  sysrepo-3.6.11.tar.gz
 sha256  88f1b7e5c64d2c113e07105aa9c0fb80639b40287565be1c2afd0949df83d826  LICENSE
package/sysrepo/sysrepo.mk +1 -1
index 7f2570bd7d..de5441f01c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SYSREPO_VERSION = 2.2.150
+SYSREPO_VERSION = 3.6.11
 SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION))
 SYSREPO_INSTALL_STAGING = YES
 SYSREPO_LICENSE = BSD-3-Clause
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 2/4 package/libyang: bump to version 3.12.2

In reply to Mattias Walström

Changelog:
optional xxhash faster hasing function
support for metadata in diff
lots of optimizations and fixes

---
 package/libyang/libyang.hash | 2 +-
 package/libyang/libyang.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libyang/libyang.hash +1 -1
index e03278adfd..9221e93544 100644
@@ -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
package/libyang/libyang.mk +1 -1
index fca0cd63f8..94f9ba3b8a 100644
@@ -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
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

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

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 <[email protected]

Quoted 20 lines

:

Changelog:
optional xxhash faster hasing function
support for metadata in diff
lots of optimizations and fixes

---
 package/libyang/libyang.hash | 2 +-
 package/libyang/libyang.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libyang/libyang.hash +0 -1
index e03278adfd..9221e93544 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  77a0aaaeb3df720aeb70d6896e32e2c2be099d48df73e3cfb52567051af3e44b
Quoted 6 lines

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

LICENSE +1 -1
index 72e0e09a9..2d3becfd3 100644
@@ -1,4 +1,4 @@
-Copyright (c) 2015-2021, CESNET
+Copyright (c) 2015-2024, CESNET
 All rights reserved.
 
 
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 13 lines
package/libyang/libyang.mk +1 -1
index fca0cd63f8..94f9ba3b8a 100644
@@ -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
Quoted 5 lines

LIBYANG_LICENSE_FILES = LICENSE
--
2.43.0

Thanks,
Heiko

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

PATCH 3/4 package/libnetconf2: bump to version 3.7.1

In reply to Mattias Walström

Changelog:
error-path data node
now using proper format so in rpc-reply uses XML XPath format instead of JSON
several bugfixes and improvements

Depend on libyang v3.12.2 https://github.com/CESNET/libyang/releases/tag/v3.12.2

---
 package/libnetconf2/libnetconf2.hash | 2 +-
 package/libnetconf2/libnetconf2.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libnetconf2/libnetconf2.hash +1 -1
index 675c76a500..2d6394e81b 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  72e9a6461fadbd22f0cf0d23ba68d62b297c8f564f7f2bee069748fb67fc3a24  libnetconf2-2.1.28.tar.gz
+sha256  c95c00ad887295d1fa31098c859c74e330eead78b2eee8d008701af2d9df80e5  libnetconf2-3.7.1.tar.gz
 sha256  bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064  LICENSE
package/libnetconf2/libnetconf2.mk +1 -1
index 88163926c0..0d74bd736d 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBNETCONF2_VERSION = 2.1.28
+LIBNETCONF2_VERSION = 3.7.1
 LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION))
 LIBNETCONF2_INSTALL_STAGING = YES
 LIBNETCONF2_LICENSE = BSD-3-Clause
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

Re: [Buildroot] [PATCH 3/4] package/libnetconf2: bump to version 3.7.1

Hi Mattias,

Unfortunately, this bump cannot be done so easily, because something has changed in the dependencies. I had already worked on it, but could not finish it due to lack of time. You can find Thomas' comments here:

https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Am Fr., 2. Mai 2025 um 15:29 Uhr schrieb Mattias Walström <[email protected]

Quoted 44 lines

:

Changelog:
error-path data node
now using proper format so in rpc-reply uses XML XPath format instead
of JSON
several bugfixes and improvements

Depend on libyang v3.12.2
https://github.com/CESNET/libyang/releases/tag/v3.12.2

---
 package/libnetconf2/libnetconf2.hash | 2 +-
 package/libnetconf2/libnetconf2.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libnetconf2/libnetconf2.hash +0 -1
index 675c76a500..2d6394e81b 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  72e9a6461fadbd22f0cf0d23ba68d62b297c8f564f7f2bee069748fb67fc3a24

libnetconf2-2.1.28.tar.gz
+sha256 c95c00ad887295d1fa31098c859c74e330eead78b2eee8d008701af2d9df80e5 libnetconf2-3.7.1.tar.gz
sha256 bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064
LICENSE

package/libnetconf2/ renamed from package/libnetconf2/libnetconf2.mk +0 -0

libnetconf2.mk
index 88163926c0..0d74bd736d 100644

package/libnetconf2/libnetconf2.mk +1 -1
@@ -4,7 +4,7 @@
 #
 
 ################################################################################
 
-LIBNETCONF2_VERSION = 2.1.28
+LIBNETCONF2_VERSION = 3.7.1
 LIBNETCONF2_SITE = $(call
 github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION))
Quoted 5 lines

LIBNETCONF2_INSTALL_STAGING = YES
LIBNETCONF2_LICENSE = BSD-3-Clause
--
2.43.0

BR,
Heiko

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw

PATCH 4/4 package/netopeer2: bump to version 2.4.1

In reply to Mattias Walström

Changelog:
internal support of ietf-system-capabilities and ietf-notification-capabilities (@jeremie6wind) minor bugfixes and improvements

Depends on:
- libyang v3.12.2 https://github.com/CESNET/libyang/releases/tag/v3.12.2
- libnetconf2 v3.7.1 https://github.com/CESNET/libnetconf2/releases/tag/v3.7.1
- sysrepo v3.6.11 https://github.com/sysrepo/sysrepo/releases/tag/v3.6.11

---
 package/netopeer2/netopeer2.hash | 2 +-
 package/netopeer2/netopeer2.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/netopeer2/netopeer2.hash +1 -1
index 6a278fbbaf..3a70b15539 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  2b1daac037f18c303e0c0dc3318ba30196459472e4c59f2f8547ee74d4cdf31d  netopeer2-2.1.49.tar.gz
+sha256  86d77efcb65f0bb2c3bc0f2128a320113ce7125f39882fe7d8334c168ed9567d  netopeer2-2.4.1.tar.gz
 sha256  b46f161fbdcf127d3ef22602e15958c3092fe3294f71a2dc8cdf8f6689cba95b  LICENSE
package/netopeer2/netopeer2.mk +1 -1
index 4853e5d176..71f2c50640 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NETOPEER2_VERSION = 2.1.49
+NETOPEER2_VERSION = 2.4.1
 NETOPEER2_SITE = $(call github,CESNET,Netopeer2,v$(NETOPEER2_VERSION))
 NETOPEER2_DL_SUBDIR = netopeer2
 NETOPEER2_LICENSE = BSD-3-Clause
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot