{ "name": "squashfs-tools", "version": "4.7.5", "summary": "squashfs-tools: mksquashfs makes and unsquashfs lists and unpacks compressed read-only SquashFS images", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://github.com/plougher/squashfs-tools", "source": { "url": "https://deb.debian.org/debian/pool/main/s/squashfs-tools/squashfs-tools_4.7.5.orig.tar.gz", "sha256": "547b7b7f4d2e44bf91b6fc554664850c69563701deab9fd9cd7e21f694c88ea6" }, "watch": {"kind": "index", "url": "https://deb.debian.org/debian/pool/main/s/squashfs-tools/", "regex": "squashfs-tools_([0-9]+(?:\\.[0-9]+)+)\\.orig\\.tar\\.gz"}, "deps": [ "zlib", "xz", "lzo", "lz4", "zstd" ], "env_packages": [], "static": true, "nss": true, "check": "bin/mksquashfs -version | first && t=$(mktemp -d) && mkdir -p \"$t/src/sub\" && seq 1 50000 > \"$t/src/a\" && head -c 200000 /dev/urandom > \"$t/src/sub/b\" && ln -s a \"$t/src/link\" && for c in gzip xz lzo lz4 zstd; do bin/mksquashfs \"$t/src\" \"$t/img.$c\" -comp \"$c\" -quiet -no-progress > /dev/null && bin/unsquashfs -s \"$t/img.$c\" | has \"Compression $c\" && bin/unsquashfs -q -n -d \"$t/out.$c\" \"$t/img.$c\" > /dev/null && diff -r \"$t/src\" \"$t/out.$c\" || exit 1; done && bin/unsquashfs -l \"$t/img.zstd\" | has 'squashfs-root/sub/b' && bin/sqfscat \"$t/img.xz\" a | cmp - \"$t/src/a\" && echo 'squashfs-tools: images made with gzip, xz, lzo, lz4 and zstd, listed and unpacked equal to the folder'" }