{ "name": "lftp", "version": "4.9.3", "summary": "lftp: FTP, FTPS, SFTP, HTTP and BitTorrent client with mirroring, queues and scripting", "category": "network", "license": "GPL-3.0-or-later", "homepage": "https://lftp.yar.ru/", "source": { "url": "https://lftp.yar.ru/ftp/lftp-4.9.3.tar.xz", "sha256": "96e7199d7935be33cf6b1161e955b2aab40ab77ecdf2a19cea4fc1193f457edc" }, "watch": {"kind": "index", "url": "https://lftp.yar.ru/ftp/", "regex": "lftp-([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)\\.tar\\.xz"}, "deps": [ "openssl", "readline", "ncurses", "zlib", "expat" ], "env_packages": [], "static": true, "nss": true, "check": "bin/lftp --version | first && HOME=/nonexistent bin/lftp -c 'set -a' | has '^set ssl:verify-certificate ' && t=$(mktemp -d) && mkdir -p \"$t/a/d\" && seq 1 5000 > \"$t/a/d/f\" && HOME=$t bin/lftp -c \"open file:///; mirror $t/a $t/b\" && cmp \"$t/a/d/f\" \"$t/b/d/f\" && HOME=$t bin/lftp -c 'set -a' | has -xF \"set ssl:ca-file $PREFIX/etc/ssl/cert.pem\" && echo 'lftp: a local mirror, and the prefix CA file in its settings'" }