mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 00:35:30 +04:00
- 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>
23 lines
408 B
Bash
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
|