{ "name": "sshfs", "version": "3.7.6", "summary": "SSHFS: mounts a folder of another machine over SSH (SFTP) as a local folder, through FUSE", "category": "network", "license": "GPL-2.0-only", "homepage": "https://github.com/libfuse/sshfs", "source": { "url": "https://github.com/libfuse/sshfs/releases/download/sshfs-3.7.6/sshfs-3.7.6.tar.xz", "sha256": "6a1bcb31450a077e9cb1b7ff158c71de34db697c3c0da6cb362502131e495893" }, "watch": {"kind": "github-release", "repo": "libfuse/sshfs", "tag_regex": "^sshfs-([0-9]+(?:\\.[0-9]+)+)$"}, "deps": [ "libfuse3", "glib" ], "env_packages": [ "python3-docutils" ], "static": true, "nss": true, "check": "t=$(mktemp -d) && bin/sshfs -V > \"$t/v\" 2>&1 && has 'SSHFS version 3.7.6' < \"$t/v\" && has 'FUSE library version 3.18.3' < \"$t/v\" && bin/sshfs --help > \"$t/h\" 2>&1 && has 'ssh_command' < \"$t/h\" && has 'idmap' < \"$t/h\" && { s=; for c in \"$PREFIX/libexec/sftp-server\" /usr/lib/openssh/sftp-server /usr/libexec/openssh/sftp-server /usr/libexec/sftp-server; do [ -x \"$c\" ] && s=$c && break; done; if [ -c /dev/fuse ] && [ -n \"$s\" ]; then mkdir \"$t/src\" \"$t/mnt\" && printf 'bvs sshfs file\\n' > \"$t/src/a.txt\" && printf '#!/bin/sh\\ncd %s/src && exec %s\\n' \"$t\" \"$s\" > \"$t/ssh\" && chmod +x \"$t/ssh\" && bin/sshfs -o ssh_command=\"$t/ssh\",reconnect localhost:/ \"$t/mnt\" && [ \"$(cat \"$t/mnt$t/src/a.txt\")\" = 'bvs sshfs file' ] && printf 'back\\n' > \"$t/mnt$t/src/b.txt\"; r=$?; bin/fusermount3 -u \"$t/mnt\"; [ $r = 0 ] && [ \"$(cat \"$t/src/b.txt\")\" = back ] && echo \"sshfs 3.7.6: a folder mounted over SFTP ($s), a file read and one written\"; else echo 'sshfs 3.7.6: version and options (no /dev/fuse or sftp-server here, so no mount)'; fi; }" }