{ "name": "acl", "version": "2.4.0", "summary": "acl: POSIX access control lists library (libacl) with getfacl and setfacl", "category": "library", "license": "LGPL-2.1-or-later AND GPL-2.0-or-later", "homepage": "https://savannah.nongnu.org/projects/acl", "source": { "url": "https://download.savannah.nongnu.org/releases/acl/acl-2.4.0.tar.xz", "sha256": "e661131456d2708a01c614a0f400e11d7d1bfaeb6f3e74b75bb980b72f0161a3" }, "watch": {"kind": "index", "url": "https://download.savannah.nongnu.org/releases/acl/", "regex": "acl-([0-9]+(?:\\.[0-9]+)+)\\.tar\\.xz"}, "deps": [ "attr" ], "env_packages": [], "static": true, "nss": true, "check": "bin/getfacl --version | first && t=$(mktemp -d) && echo bvs > \"$t/f\" && if bin/setfacl -m u:65534:r,g:65534:rw \"$t/f\" 2> \"$t/err\"; then bin/getfacl -n \"$t/f\" > \"$t/acl\" && has -x 'user:65534:r--' < \"$t/acl\" && has -x 'group:65534:rw-' < \"$t/acl\" && set=1; else cat \"$t/err\" && has 'Operation not supported' \"$t/err\" && echo 'acl: the build folder takes no ACLs (a volume mounted noacl, as QTS mounts one without advanced folder permissions); setfacl and getfacl are checked where it does' && set=; fi && check_lib libacl 'sys/acl.h acl/libacl.h' 'acl_t a = acl_from_text(\"u::rw-,u:65534:r--,g::r--,m::r--,o::---\"); char *s; if (!a || acl_valid(a)) return 1; s = acl_to_any_text(a, NULL, 44, TEXT_NUMERIC_IDS); printf(\"libacl: %s\\n\", s); return strcmp(s, \"user::rw-,user:65534:r--,group::r--,mask::r--,other::---\") != 0' && if [ -n \"$set\" ]; then echo 'acl: an access control list set and read on a file, and parsed and written by libacl'; else echo 'acl: an access control list parsed and written by libacl'; fi" }