libcap-ng-bin: add test-version.sh to skip version check
authorAlexandru Ardelean <redacted>
Thu, 14 May 2026 17:06:30 +0000 (20:06 +0300)
committerAlexandru Ardelean <redacted>
Sat, 16 May 2026 14:49:10 +0000 (17:49 +0300)
captest, filecap, netcap and pscap (libcap-ng-bin) do not print the
package version string (0.8.4), causing generic version check failures
in CI.

Signed-off-by: Alexandru Ardelean <redacted>
libs/libcap-ng/test-version.sh [new file with mode: 0755]

diff --git a/libs/libcap-ng/test-version.sh b/libs/libcap-ng/test-version.sh
new file mode 100755 (executable)
index 0000000..c63b25c
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+case "$1" in
+captest|filecap|netcap|pscap) exit 0 ;;
+*) echo "Untested package: $1" >&2; exit 1 ;;
+esac
git clone https://git.99rst.org/PROJECT