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>
pull/30833/head
Maxim Storchak 2026-10-19 14:52:22 +03:00 committed by Alexandru Ardelean
parent ac1e300d57
commit 0f5b47363e
2 changed files with 26 additions and 4 deletions

View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=acl
PKG_VERSION:=2.3.2
PKG_RELEASE:=2
PKG_VERSION:=2.4.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SAVANNAH/acl
PKG_HASH:=97203a72cae99ab89a067fe2210c1cbf052bc492b479eca7d226d9830883b0bd
PKG_HASH:=e661131456d2708a01c614a0f400e11d7d1bfaeb6f3e74b75bb980b72f0161a3
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
PKG_LICENSE:=LGPL-2.1 GPL-2.0
@ -22,6 +22,7 @@ PKG_CPE_ID:=cpe:/a:acl_project:acl
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=attr
include $(INCLUDE_DIR)/package.mk
@ -48,7 +49,6 @@ $(call Package/acl/Default)
SECTION:=libs
CATEGORY:=Libraries
TITLE+=library
DEPENDS:=+libattr
endef
define Package/libacl/description

View File

@ -0,0 +1,22 @@
#!/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