libnetconf2: bump to 3.7.10
authorChristian Marangi <[email protected]>
Sun, 23 Nov 2025 12:18:54 +0000 (13:18 +0100)
committerChristian Marangi <[email protected]>
Tue, 25 Nov 2025 00:04:23 +0000 (01:04 +0100)
Bump libnetconf2 to 3.7.10 to fix support for CMake >= 4.0 version.

Drop any upstream patch.

Signed-off-by: Christian Marangi <[email protected]>
libs/libnetconf2/Makefile
libs/libnetconf2/patches/001-cmake_not_updated.patch [deleted file]

index 84fe3d76d62b12a28baaf8aec2cd7fe0bf4591c7..af34ddb5a68d936eb7bd3abdd924e7f8e6434f5b 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libnetconf2
-PKG_VERSION:=2.0.24
+PKG_VERSION:=3.7.10
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/CESNET/libnetconf2/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=78ffa0bd85823abd321a1dbb09c1ead36612f2a12049638a14bb081567f86ade
+PKG_HASH:=7146932ea4fc8e12b9152e23e18e46699174c531ef1e0fc351b05fcd12295a81
 
 PKG_MAINTAINER:=
 PKG_LICENSE:=BSD-3-Clause
@@ -29,7 +29,7 @@ define Package/libnetconf2
   CATEGORY:=Libraries
   TITLE:=NETCONF library
   URL:=https://github.com/CESNET/libnetconf2
-  DEPENDS:= +libyang +libssh +libopenssl +libpthread
+  DEPENDS:= +libyang +libcurl +libssh +libopenssl +libpthread
 endef
 
 define Package/libnetconf2/description
diff --git a/libs/libnetconf2/patches/001-cmake_not_updated.patch b/libs/libnetconf2/patches/001-cmake_not_updated.patch
deleted file mode 100644 (file)
index 08f5343..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -235,7 +235,7 @@ endif()
- # dependencies - libssh
- if(ENABLE_SSH)
-     find_package(LibSSH 0.7.1 REQUIRED)
--    if(LIBSSH_VERSION VERSION_EQUAL 0.9.3 OR LIBSSH_VERSION VERSION_EQUAL 0.9.4)
-+    if(LIBSSH_VERSION VERSION_EQUAL 0.9.x)
-         message(FATAL_ERROR "LibSSH ${LIBSSH_VERSION} includes regression bugs and libnetconf2 will NOT work properly, try to use another version")
-     endif()