The package ships ten executables and only the daemon reports a
version, so the generic per-executable probe warns for the other nine:
syslog-ng: 9/10 executables are missing version 4.12.0
The tools next to the daemon print their usage instead, which the probe
cannot read a version from. Assert the version on syslog-ng itself.
Signed-off-by: Josef Schlehofer <redacted>
--- /dev/null
+#!/bin/sh
+
+# shellcheck shell=busybox
+
+case "$PKG_NAME" in
+syslog-ng)
+ # The daemon is the only executable that reports a version. The tools
+ # shipped next to it (dqtool, loggen, pdbtool, persist-tool,
+ # syslog-ng-ctl, syslog-ng-debun, update-patterndb) only print their
+ # usage, so the generic probe cannot read a version from them.
+ syslog-ng --version | grep -F "$PKG_VERSION"
+ ;;
+
+*)
+ echo "Untested package: $PKG_NAME" >&2
+ exit 1
+ ;;
+esac