diff --git a/distro/pkg/deb/control b/distro/pkg/deb/control index b62a46b1..d738527f 100644 --- a/distro/pkg/deb/control +++ b/distro/pkg/deb/control @@ -8,13 +8,14 @@ Build-Depends: cmake, graphviz, libcmocka-dev, libsystemd-dev, - libnetconf2-dev (>= 2.0.0), + libnetconf2-dev (>= 3.0.0), libssh-dev, libssl-dev, libsysrepo-dev (>= 2.0.0), libyang2-dev (>= 2.0.0), pkg-config, - sysrepo-tools (>= 2.0.0) + sysrepo-tools (>= 2.0.0), + libcurl4-openssl-dev (>= 7.30.0) Homepage: https://github.com/CESNET/netopeer2/ Package: netopeer2 diff --git a/distro/pkg/rpm/netopeer2.spec b/distro/pkg/rpm/netopeer2.spec index c62458e9..a7b01763 100644 --- a/distro/pkg/rpm/netopeer2.spec +++ b/distro/pkg/rpm/netopeer2.spec @@ -9,9 +9,9 @@ License: BSD-3-Clause BuildRequires: gcc BuildRequires: cmake -BuildRequires: pkgconfig(libyang) >= 2.0.194 -BuildRequires: pkgconfig(libnetconf2) >= 2.1.11 -BuildRequires: pkgconfig(sysrepo) >= 2.1.64 +BuildRequires: pkgconfig(libyang) >= 2.1.87 +BuildRequires: pkgconfig(libnetconf2) >= 3.0.0 +BuildRequires: pkgconfig(sysrepo) >= 2.2.111 BuildRequires: sysrepo-tools BuildRequires: libcurl-devel BuildRequires: libssh-devel @@ -80,6 +80,7 @@ set -e export NP2_MODULE_DIR=%{_datadir}/yang/modules/netopeer2 export NP2_MODULE_PERMS=600 export NP2_MODULE_OWNER=root +export LN2_MODULE_DIR=%{_datadir}/yang/modules/libnetconf2 %{_datadir}/netopeer2/setup.sh %{_datadir}/netopeer2/merge_hostkey.sh