Skip to content

libnetconf2, sysrepo, netopeer2: fix CMake >= 4.0 compatibility - #27925

Merged
Ansuel merged 3 commits into
openwrt:masterfrom
Ansuel:bump-libnetconf2
Nov 25, 2025
Merged

Ansuel merged 3 commits into
openwrt:masterfrom
Ansuel:bump-libnetconf2

Conversation

@Ansuel

@Ansuel Ansuel commented Nov 23, 2025

Copy link
Copy Markdown
Member

These 3 package were still on very old version as they all required newer library version.

libnetconf2 got 2 major API change with version 2.1.x and 3.x but this doesn't matter since the only user of such library is netopeer2 that also follow the API change of libnetconf2.

Updating all the required library at once permit to ignore the major version change, update the 3 package with good bugfix and fix the CMake version at once.

WIN-WIN

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]>
Bump sysrepo to 3.7.11 to to fix support for CMake >= 4.0 version.

Drop any upstream patch.

Update the CMake options to the new unified SYSREPO_SETUP that replace
the old GENERATE_HOSTKEY, INSTALL_MODULES and MERGE_LISTEN_CONFIG.

Signed-off-by: Christian Marangi <[email protected]>
Bump netopeer2 to 2.4.5 to fix support for CMake >= 4.0 version.

Drop any upstream patch.

Signed-off-by: Christian Marangi <[email protected]>
@Ansuel

Ansuel commented Nov 25, 2025

Copy link
Copy Markdown
Member Author

@BKPepe let me merge this and see how it goes. I assume the CI are failing because all the package are dependent on each other.

@Ansuel
Ansuel merged commit 37bfd2b into openwrt:master Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant