{ "name": "borgbackup", "version": "1.4.5", "summary": "BorgBackup: deduplicating, compressing, encrypting backup program (borg)", "category": "tool", "license": "BSD-3-Clause", "homepage": "https://www.borgbackup.org/", "source": { "url": "https://files.pythonhosted.org/packages/62/5b/aec6c069840f64f744d661c5eea1c648d407bebb836b2e12d8a3b9939bb4/borgbackup-1.4.5.tar.gz", "sha256": "4f9a5fe584c504b15485841236750dea16aa7cd2ddbc4a594e9d2ce5c49c4508" }, "watch": {"kind": "pypi", "package": "borgbackup"}, "deps": [ "python", "py-setuptools", "py-setuptools-scm", "py-cython", "py-packaging", "py-msgpack", "openssl", "lz4", "zstd", "xxhash", "acl" ], "env_packages": [], "static": false, "nss": true, "check": "bin/borg --version | first && bin/borg --version | has -x 'borg 1.4.5' && t=$(mktemp -d) && export BORG_BASE_DIR=\"$t/base\" BORG_PASSPHRASE=bvs-check && mkdir -p \"$t/src/d\" \"$t/out\" && seq 1 50000 > \"$t/src/d/a\" && head -c 3000000 /dev/urandom > \"$t/src/d/b\" && ln -s a \"$t/src/d/l\" && if bin/setfacl -m u:65534:r \"$t/src/d/a\" 2> \"$t/err\"; then acl=1; else cat \"$t/err\" && has 'Operation not supported' \"$t/err\" && echo 'borgbackup: the build folder takes no ACLs (a volume mounted noacl); the ACL is not part of this check' && acl=; fi && bin/borg init -e repokey-blake2 \"$t/repo\" && bin/borg create --compression zstd,3 \"$t/repo::one\" \"$t/src\" && echo more >> \"$t/src/d/a\" && bin/borg create --compression lz4 \"$t/repo::two\" \"$t/src\" && bin/borg list --short \"$t/repo\" | tr '\\n' ' ' | has -x 'one two ' && bin/borg check \"$t/repo\" && bin/borg diff \"$t/repo::one\" two | has 'src/d/a' && (cd \"$t/out\" && \"$PREFIX/bin/borg\" extract \"$t/repo::two\") && diff -r \"$t/src\" \"$t/out$t/src\" && [ -L \"$t/out$t/src/d/l\" ] && if [ -n \"$acl\" ]; then bin/getfacl -n \"$t/out$t/src/d/a\" | has -x 'user:65534:r--' && echo 'borgbackup: an encrypted repository (repokey-blake2), two archives (zstd and lz4), check, diff, an extract equal to the source with its symbolic link and ACL'; else echo 'borgbackup: an encrypted repository (repokey-blake2), two archives (zstd and lz4), check, diff, an extract equal to the source with its symbolic link'; fi" }