Bump netopeer2 and its dependencies
v2 cover Bump netopeer2 and its dependencies
v2:
Fix wrong hash for libyang, thanks Heiko Thiery
And fix comments from Thomas Petazzoni from
a previous patch series:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Mattias Walström (5):
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: Update dependencies
package/libnetconf2/Config.in | 7 +++++++ package/libnetconf2/libnetconf2.hash | 2 +- package/libnetconf2/libnetconf2.mk | 15 ++++++++++----- package/libyang/libyang.hash | 4 ++-- package/libyang/libyang.mk | 2 +- package/netopeer2/Config.in | 1 - package/netopeer2/netopeer2.hash | 2 +- package/netopeer2/netopeer2.mk | 2 +- package/sysrepo/sysrepo.hash | 2 +- package/sysrepo/sysrepo.mk | 2 +- 10 files changed, 25 insertions(+), 14 deletions(-)
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/5 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
@@ -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
@@ -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
PATCH v2 2/5 package/libyang: bump to version 3.12.2
In reply to Mattias WalströmChangelog:
optional xxhash faster hasing function
support for metadata in diff
lots of optimizations and fixes
--- package/libyang/libyang.hash | 4 ++-- package/libyang/libyang.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/libyang/libyang.hash +2 -2
@@ -1,3 +1,3 @@ # Locally calculated -sha256 77a0aaaeb3df720aeb70d6896e32e2c2be099d48df73e3cfb52567051af3e44b libyang-2.1.148.tar.gz -sha256 0b7ec43747d211a1e49c53588b0822062947bab6bdcc95238578beab34cba5bb LICENSE +sha256 a2ae94ce43d8b4b084f67c05902f97cbc0ec882d38ef5ddf1d601659f64d5c66 libyang-3.12.2.tar.gz +sha256 f4fbaa09c8b2faa6a873a38181ff860e2ff90808320f71deb369f03ddfb920da LICENSE
package/libyang/libyang.mk +1 -1
@@ -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
PATCH v2 3/5 package/libnetconf2: bump to version 3.7.1
In reply to Mattias WalströmChangelog:
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
@@ -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
@@ -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
PATCH v2 4/5 package/netopeer2: bump to version 2.4.1
In reply to Mattias WalströmChangelog:
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/Config.in | 1 - package/netopeer2/netopeer2.hash | 2 +- package/netopeer2/netopeer2.mk | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)
package/netopeer2/Config.in +0 -1
@@ -16,7 +16,6 @@ config BR2_PACKAGE_NETOPEER2 select BR2_PACKAGE_LIBSSH select BR2_PACKAGE_LIBSSH_SERVER # For libnetconf2 to have SSH select BR2_PACKAGE_LIBYANG - select BR2_PACKAGE_OPENSSL # For libnetconf2 to have TLS select BR2_PACKAGE_SYSREPO help Netopeer2 is a set of tools implementing network configuration
package/netopeer2/netopeer2.hash +1 -1
@@ -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
@@ -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
Re: [Buildroot] [PATCH v2 4/5] package/netopeer2: bump to version 2.4.1
Hi,
Am Sa., 10. Mai 2025 um 22:31 Uhr schrieb Mattias Walström <[email protected]
Quoted 59 lines
:
Changelog:
internal support of ietf-system-capabilities and
ietf-notification-capabilities (@jeremie6wind)
minor bugfixes and improvementsDepends 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.11Signed-off-by Mattias Walström <[email protected]>--- package/netopeer2/Config.in | 1 - package/netopeer2/netopeer2.hash | 2 +- package/netopeer2/netopeer2.mk | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)package/netopeer2/Config.in +0
-1@@ -16,7 +16,6 @@ config BR2_PACKAGE_NETOPEER2 select BR2_PACKAGE_LIBSSH select BR2_PACKAGE_LIBSSH_SERVER # For libnetconf2 to have SSH select BR2_PACKAGE_LIBYANG - select BR2_PACKAGE_OPENSSL # For libnetconf2 to have TLS select BR2_PACKAGE_SYSREPO help Netopeer2 is a set of tools implementing network configurationpackage/netopeer2/netopeer2.hash +0
-1@@ -1,3 +1,3 @@ # Locally calculated -sha256 2b1daac037f18c303e0c0dc3318ba30196459472e4c59f2f8547ee74d4cdf31dnetopeer2-2.1.49.tar.gz
+sha25686d77efcb65f0bb2c3bc0f2128a320113ce7125f39882fe7d8334c168ed9567dnetopeer2-2.4.1.tar.gz
sha256b46f161fbdcf127d3ef22602e15958c3092fe3294f71a2dc8cdf8f6689cba95b
LICENSEpackage/netopeer2/ renamed from package/netopeer2/netopeer2.mk +0
-0netopeer2.mk
index4853e5d176..71f2c50640100644package/netopeer2/netopeer2.mk +1
-1@@ -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
Quoted 4 lines
NETOPEER2_LICENSE= BSD-3-Clause
--
2.43.0
We need to bring the required dependies for libnetconf2 to netopeer2 and select the packages accordingly. See here the modifications.
package/netopeer2/Config.in +3 -0
@@ -13,10 +13,13 @@ config BR2_PACKAGE_NETOPEER2 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sysrepo select BR2_PACKAGE_LIBNETCONF2 + select BR2_PACKAGE_LIBNETCONF2_SSH_TLS + select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_LIBSSH select BR2_PACKAGE_LIBSSH_SERVER # For libnetconf2 to have SSH + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC # for
libnetconf2
select BR2_PACKAGE_LIBYANG
- select BR2_PACKAGE_OPENSSL # For libnetconf2 to have TLS
+ select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
select BR2_PACKAGE_SYSREPO
help
Netopeer2 is a set of tools implementing network configuration
(quoted diff) +0 -0
b/package/netopeer2/netopeer2.hash
index 6a278fbbaf..3a70b15539 100644
package/netopeer2/netopeer2.hash +1 -1
@@ -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
@@ -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
By the way. I think you should reorder your patches in the series. Add the netopeer2 changes at the end because it is based on the changes in libnetconf2.
BR
Heiko
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 5/5 package/libnetconf2: Update dependencies
In reply to Mattias WalströmSince libnetconf2 is possible to build without
OpenSSL as long as ENABLE_SSH_TLS is not set,
adding option BR2_PACKAGE_LIBNETCONF2_SSH_TLS to
opt-in this feature.
--- package/libnetconf2/Config.in | 7 +++++++ package/libnetconf2/libnetconf2.mk | 13 +++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-)
package/libnetconf2/Config.in +7 -0
@@ -12,6 +12,13 @@ config BR2_PACKAGE_LIBNETCONF2 https://github.com/CESNET/libnetconf2 +if BR2_PACKAGE_LIBNETCONF2 +config BR2_PACKAGE_LIBNETCONF2_SSH_TLS + bool "SSH/TLS support" + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBSSH +endif comment "libnetconf2 needs a toolchain w/ threads, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4
package/libnetconf2/libnetconf2.mk +9 -4
@@ -23,11 +23,16 @@ else LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=OFF endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL), y) -LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=ON +ifeq ($(BR2_PACKAGE_LIBNETCONF2_SSH_TLS),y) +LIBNETCONF2_CONF_OPTS += -DENABLE_SSH_TLS=ON +LIBNETCONF2_DEPENDENCIES += libcurl +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBNETCONF2_DEPENDENCIES += mbedtls +else LIBNETCONF2_DEPENDENCIES += openssl +endif else -LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=OFF +LIBNETCONF2_CONF_OPTS += -DENABLE_SSH_TLS=OFF endif ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
@@ -38,7 +43,7 @@ HOST_LIBNETCONF2_CONF_OPTS = \ -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF \ -DENABLE_SSH=OFF \ - -DENABLE_TLS=OFF + -DENABLE_SSH_TLS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 5/5] package/libnetconf2: Update dependencies
Hi,
Am Sa., 10. Mai 2025 um 22:31 Uhr schrieb Mattias Walström <[email protected]
Quoted 66 lines
:
Since libnetconf2 is possible to build without
OpenSSL as long asENABLE_SSH_TLSis not set,
adding optionBR2_PACKAGE_LIBNETCONF2_SSH_TLSto
opt-in this feature.Signed-off-by Mattias Walström <[email protected]>--- package/libnetconf2/Config.in | 7 +++++++ package/libnetconf2/libnetconf2.mk | 13 +++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-)package/libnetconf2/Config.in +7
-0@@ -12,6 +12,13 @@ config BR2_PACKAGE_LIBNETCONF2 https://github.com/CESNET/libnetconf2 +if BR2_PACKAGE_LIBNETCONF2 +config BR2_PACKAGE_LIBNETCONF2_SSH_TLS + bool "SSH/TLS support" + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBSSH +endif comment "libnetconf2 needs a toolchain w/ threads, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4package/libnetconf2/ renamed from package/libnetconf2/libnetconf2.mk +0
-0libnetconf2.mk
index0d74bd736d..a8c28b3ece100644package/libnetconf2/libnetconf2.mk +9
-5@@ -23,11 +23,16 @@ else LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=OFF endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL), y) -LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=ON +ifeq ($(BR2_PACKAGE_LIBNETCONF2_SSH_TLS),y) +LIBNETCONF2_CONF_OPTS += -DENABLE_SSH_TLS=ON +LIBNETCONF2_DEPENDENCIES += libcurl +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBNETCONF2_DEPENDENCIES += mbedtls +else LIBNETCONF2_DEPENDENCIES += openssl +endif else -LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=OFF +LIBNETCONF2_CONF_OPTS += -DENABLE_SSH_TLS=OFF endif ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)@@ -38,7 +43,7 @@ HOST_LIBNETCONF2_CONF_OPTS = \ -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF \ -DENABLE_SSH=OFF \ - -DENABLE_TLS=OFF + -DENABLE_SSH_TLS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package)) --
Quoted 2 lines
2.43.0
the libnetconf2 cmake option ENABLE_SSH does no longer exist. Therefore this part can be removed and the dependency to libssl needs to be added when BR2_PACKAGE_LIBNETCONF2_SSH_TLS is enabled. Hope this is clear. See the modified patch below.
package/libnetconf2/Config.in +8 -0
@@ -12,6 +12,14 @@ config BR2_PACKAGE_LIBNETCONF2 https://github.com/CESNET/libnetconf2 +if BR2_PACKAGE_LIBNETCONF2 +config BR2_PACKAGE_LIBNETCONF2_SSH_TLS + bool "SSH/TLS support" + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBSSH + select BR2_PACKAGE_LIBSSH_SERVER +endif comment "libnetconf2 needs a toolchain w/ threads, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4
package/libnetconf2/ renamed from package/libnetconf2/libnetconf2.mk +0 -0
libnetconf2.mk
index 0d74bd736d..ed0d81bbec 100644
package/libnetconf2/libnetconf2.mk +8 -10
@@ -16,18 +16,16 @@ LIBNETCONF2_CONF_OPTS = \ -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF -ifeq ($(BR2_PACKAGE_LIBSSH_SERVER), y) -LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=ON -LIBNETCONF2_DEPENDENCIES += libssh +ifeq ($(BR2_PACKAGE_LIBNETCONF2_SSH_TLS),y) +LIBNETCONF2_CONF_OPTS += -DENABLE_SSH_TLS=ON +LIBNETCONF2_DEPENDENCIES += libcurl libssh +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBNETCONF2_DEPENDENCIES += mbedtls else -LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBOPENSSL), y) -LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=ON LIBNETCONF2_DEPENDENCIES += openssl +endif else -LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=OFF +LIBNETCONF2_CONF_OPTS += -DENABLE_SSH_TLS=OFF endif ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
@@ -38,7 +36,7 @@ HOST_LIBNETCONF2_CONF_OPTS = \ -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF \ -DENABLE_SSH=OFF \ - -DENABLE_TLS=OFF + -DENABLE_SSH_TLS=OFF $(eval $(cmake-package)) $(eval $(host-cmake-package))
BR
Heiko
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot