Files
Alexandru Ardelean b9191b85ee sysrepo: update to 5.1.0
Jump from the 3.x series; the SONAME moves from libsysrepo.so.7 to
libsysrepo.so.8. The protobuf-c IPC layer is gone in favour of shared
memory, taking its two stub patches and the libprotobuf-c, libev and
libredblack dependencies with it, and DEPENDS moves back to +libyang.

Renamed cmake options are dealt with; PRINTED_CONTEXT_ADDRESS=0 and
NOTIFD_SETUP=OFF skip a try_run() and an install hook that both run
target binaries, which cannot work when cross-compiling.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-07 16:12:29 +03:00

31 lines
508 B
Bash
Executable File

#!/bin/sh
case "$1" in
libsysrepo)
[ -e /usr/lib/libsysrepo.so ] || {
echo "libsysrepo.so not found" >&2
exit 1
}
[ -e /usr/lib/libsysrepo.so.8 ] || {
echo "libsysrepo.so.8 not found" >&2
exit 1
}
;;
sysrepo)
[ -x /usr/bin/sysrepo-plugind ] || {
echo "sysrepo-plugind not found" >&2
exit 1
}
;;
sysrepoctl)
sysrepoctl --version | grep -F "$2"
;;
sysrepocfg)
sysrepocfg --version | grep -F "$2"
;;
*)
echo "Unsupported test target: $1" >&2
exit 1
;;
esac