{ "name": "iftop", "version": "1.0pre4", "summary": "iftop: bandwidth use per connection on an interface", "category": "network", "license": "GPL-2.0-or-later", "homepage": "https://www.ex-parrot.com/pdw/iftop/", "source": { "url": "https://deb.debian.org/debian/pool/main/i/iftop/iftop_1.0~pre4.orig.tar.gz", "sha256": "f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97" }, "watch": {"kind": "index", "url": "https://deb.debian.org/debian/pool/main/i/iftop/", "regex": "(?Piftop_(?P[0-9.]+~pre[0-9]+)\\.orig\\.tar\\.gz)", "prerelease": true}, "deps": [ "libpcap", "ncurses" ], "env_packages": [], "static": false, "nss": true, "check": "sbin/iftop -h 2>&1 | first && if [ -n \"$HOST\" ]; then echo \"iftop: capture not run in a cross build (qemu-user lacks the ethtool ioctl libpcap asks for)\"; else t=$(mktemp -d) && { (for i in $(seq 1 80); do (exec 3<>/dev/tcp/127.0.0.1/9) 2>/dev/null; sleep 0.1; done) & p=$!; } && { sbin/iftop -t -s 1 -n -N -i lo >\"$t/o\" 2>&1; kill \"$p\"; wait \"$p\" 2>/dev/null; has 'Total send rate' <\"$t/o\"; }; fi" }