Sync the debian packaging into apkg format
- Drop the versioned dependency on pcre2 (the oldest still supported Debian has
pcre2 10.22 and the oldest still supported Ubuntu has pcre2 10.31)
- Update the symbols file up to upstream 2.0.7 version
- Update the yanglint autopkgtest for libyang2 packaging
diff --git a/distro/pkg/deb/control b/distro/pkg/deb/control
index 7f737bc..bdcbd19 100644
--- a/distro/pkg/deb/control
+++ b/distro/pkg/deb/control
@@ -6,7 +6,8 @@
Standards-Version: 4.5.0
Build-Depends: cmake,
debhelper (>= 10),
- libpcre2-dev (>= 10.21),
+ libcmocka-dev <!nocheck>,
+ libpcre2-dev,
pkg-config
Vcs-Browser: https://github.com/CESNET/libyang/tree/master
Vcs-Git: https://github.com/CESNET/libyang.git
@@ -15,6 +16,7 @@
Depends: ${misc:Depends},
${shlibs:Depends}
Architecture: any
+Multi-Arch: same
Description: parser toolkit for IETF YANG data modeling - runtime
Libyang implements functions to process schemas expressed in the
YANG data modeling language defined by the IETF in RFCs 6020/7950.
@@ -28,12 +30,13 @@
to use in processing configurations.
Package: libyang2-dev
-Depends: libpcre2-dev (>= 10.21),
+Depends: libpcre2-dev,
libyang2 (= ${binary:Version}),
${misc:Depends}
Conflicts: libyang-dev
Section: libdevel
Architecture: any
+Multi-Arch: same
Description: parser toolkit for IETF YANG data modeling - development files
Libyang implements functions to process schemas expressed in the
YANG data modeling language defined by the IETF in RFCs 6020/7950.
@@ -54,6 +57,7 @@
Replaces: libyang-tools (<< ${source:Version})
Section: devel
Architecture: any
+Multi-Arch: foreign
Description: parser toolkit for IETF YANG data modeling - executable tools
This package provides the "yanglint" and "yangre" tools which can be used
during the creation of IETF YANG schemas. The tools are not generally
@@ -65,6 +69,7 @@
${misc:Depends}
Section: oldlibs
Architecture: all
+Multi-Arch: foreign
Description: parser toolkit for IETF YANG data modeling [dummy package]
This is empty dependency package to pull the executable tools. It's
safe to remove.