2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

[#3931] Update libyang and sysrepo to git tags

This commit is contained in:
Andrei Pavel 2025-08-12 10:08:51 +03:00
parent 83edc4b568
commit efa46d73cc
No known key found for this signature in database
GPG Key ID: D4E804481939CB21
2 changed files with 8 additions and 8 deletions

View File

@ -22,10 +22,10 @@ Installing NETCONF
To get its NETCONF capabilities, Kea requires the v3 versions of libyang and To get its NETCONF capabilities, Kea requires the v3 versions of libyang and
Sysrepo. The specific versions that have been thoroughly tested with Kea are: Sysrepo. The specific versions that have been thoroughly tested with Kea are:
* libyang v3.13.3 (7783869951e1494d6f4366892baebb32132c360d) * libyang v3.13.5 (commit efe43e3790822a3dc64d7d28db935d03fff8b81f)
* sysrepo v3.7.10 (3bdc1ab2988adbe935fd0f26f31f820d087c0804) * sysrepo v3.7.11 (commit 1b720b196f630f348d9e0c131d326b3fb8c6aca7)
* libyang-cpp v3 (f3cd4e05462a16e81d6bfd0c4a5b385cf88a8549) * libyang-cpp v3 (commit f3cd4e05462a16e81d6bfd0c4a5b385cf88a8549)
* sysrepo-cpp v3 (fe4edfa3998fdf312099ee1fb08a06983b6907f6) * sysrepo-cpp v3 (commit fe4edfa3998fdf312099ee1fb08a06983b6907f6)
.. note:: .. note::
@ -46,7 +46,7 @@ Installing ``libyang`` From Sources
$ git clone https://github.com/CESNET/libyang.git $ git clone https://github.com/CESNET/libyang.git
$ cd libyang $ cd libyang
$ git checkout v2.1.4 $ git checkout v3.13.5
$ mkdir build $ mkdir build
$ cd build $ cd build
$ cmake .. $ cmake ..
@ -62,7 +62,7 @@ Installing ``sysrepo`` From Sources
$ git clone https://github.com/sysrepo/sysrepo.git $ git clone https://github.com/sysrepo/sysrepo.git
$ cd sysrepo $ cd sysrepo
$ git checkout v2.2.12 $ git checkout v3.7.11
$ mkdir build $ mkdir build
$ cd build $ cd build
$ cmake -DREPO_PATH=/etc/sysrepo .. $ cmake -DREPO_PATH=/etc/sysrepo ..

View File

@ -1212,7 +1212,7 @@ def _install_gtest_sources():
def _install_libyang_from_sources(ignore_errors=False): def _install_libyang_from_sources(ignore_errors=False):
"""Install libyang from sources.""" """Install libyang from sources."""
version = '3.12.2' version = '3.13.5'
libdirs = [f'{usr}/{lib}' for usr in ['/usr', '/usr/local'] for lib in ['lib', 'lib64']] libdirs = [f'{usr}/{lib}' for usr in ['/usr', '/usr/local'] for lib in ['lib', 'lib64']]
for libdir in libdirs: for libdir in libdirs:
@ -1247,7 +1247,7 @@ def _install_libyang_from_sources(ignore_errors=False):
def _install_sysrepo_from_sources(ignore_errors=False): def _install_sysrepo_from_sources(ignore_errors=False):
"""Install sysrepo from sources.""" """Install sysrepo from sources."""
version = '3.6.11' version = '3.13.5'
libdirs = [f'{usr}/{lib}' for usr in ['/usr', '/usr/local'] for lib in ['lib', 'lib64']] libdirs = [f'{usr}/{lib}' for usr in ['/usr', '/usr/local'] for lib in ['lib', 'lib64']]
for libdir in libdirs: for libdir in libdirs: