{ "name": "aide", "version": "0.19.5", "summary": "AIDE: file integrity checker; records the checksums and attributes of a tree and reports what changed since", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://aide.github.io/", "source": { "url": "https://github.com/aide/aide/releases/download/v0.19.5/aide-0.19.5.tar.gz", "sha256": "6b004557e9493048ceb5fa84fb44b904c16e23bed8850dc21316e7c44247a350" }, "watch": {"kind": "github-release", "repo": "aide/aide"}, "deps": [ "pcre2", "libgcrypt", "libgpg-error", "zlib" ], "env_packages": [], "static": true, "nss": true, "check": "t=$(mktemp -d) && bin/aide --version > \"$t/v\" 2>&1 && has '^AIDE 0.19.5' < \"$t/v\" && if [ -n \"$HOST\" ]; then echo \"aide 0.19.5: the database part not run in a cross build (with QEMU_LD_PREFIX, qemu-user shows a program the target sysroot when it reads /, so aide finds no file)\"; else mkdir -p \"$t/data/sub\" && printf 'bvs aide one\\n' > \"$t/data/a.txt\" && printf 'two\\n' > \"$t/data/sub/b.txt\" && printf 'database_in=file:%s/aide.db\\ndatabase_out=file:%s/aide.db.new\\ngzip_dbout=yes\\nChecks = p+u+g+s+m+sha256+sha512\\n%s/data Checks\\n' \"$t\" \"$t\" \"$t\" > \"$t/aide.conf\" && bin/aide --init -c \"$t/aide.conf\" > /dev/null && mv \"$t/aide.db.new\" \"$t/aide.db\" && bin/aide --check -c \"$t/aide.conf\" > /dev/null && printf 'changed\\n' >> \"$t/data/a.txt\" && { bin/aide --check -c \"$t/aide.conf\" > \"$t/c1\"; [ $? = 4 ]; } && has 'a.txt' < \"$t/c1\" && touch \"$t/data/new.txt\" && { bin/aide --check -c \"$t/aide.conf\" > /dev/null; [ $? = 5 ]; } && echo 'aide 0.19.5: a database of a tree, a clean check, then a changed file (exit 4) and a new file (exit 5) reported'; fi" }