Files
packages/utils/acl/test-version.sh
T
Maxim Storchak 0f5b47363e acl: update to 2.4.0
- Major security and robustness improvements: fix CVE-2026-54369 and CVE-2026-54370
- New library functions: acl_get_file_at, acl_set_file_at, acl_delete_def_file_at
- API improvements and bug fixes: Remove libacl dependency on libattr
- Build system and code organization
- Test suite improvements
- Documentation updates
- Translation updates
- Add test-version.sh

Changelog: https://cgit.git.savannah.nongnu.org/cgit/acl.git/plain/doc/CHANGES

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2026-10-20 21:55:30 +03:00

23 lines
408 B
Bash

#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
acl)
getfacl --version | grep -F "$PKG_VERSION" || exit 1
setfacl --version | grep -F "$PKG_VERSION" || exit 1
# chacl does not implement --version, so just verify it is present
[ -x /usr/bin/chacl ] || exit 1
;;
libacl)
# ships no executable, nothing to assert
exit 0
;;
*)
echo "Untested package: $1" >&2
exit 1
;;
esac