{ "name": "newsboat", "version": "2.45", "summary": "Newsboat: an RSS and Atom feed reader for the terminal, with podboat, its podcast downloader (C++ and Rust)", "category": "network", "license": "MIT", "homepage": "https://newsboat.org", "source": { "url": "https://newsboat.org/releases/2.45/newsboat-2.45.tar.xz", "sha256": "defe303d2518f3c4241780a9165e8750e9984e3f10aa341b7dde107579e34b3d" }, "watch": {"kind": "github-tag", "repo": "newsboat/newsboat", "tag_regex": "^r([0-9]+\\.[0-9]+(?:\\.[0-9]+)?)$", "revendor": {"tool": "cargo", "lockfile": "Cargo.lock"}}, "vendor": "vendor.txt", "deps": [ "stfl", "ncurses", "curl", "openssl", "sqlite", "libxml2", "json-c" ], "env_packages": [], "static": true, "nss": true, "check": "t=$(mktemp -d) && bin/newsboat -v > \"$t/v\" && has '^Newsboat 2\\.45\\.0 - ' < \"$t/v\" && has '^libcurl: libcurl/[0-9.]* OpenSSL/' < \"$t/v\" && bin/podboat -h | has '^Podboat 2\\.45\\.0' && export HOME=$t XDG_CONFIG_HOME=$t/.config XDG_DATA_HOME=$t/.local/share && mkdir \"$t/w\" \"$t/dl\" && printf '%s\\n' 'bvs feedhttp://127.0.0.1/dbvs onehttp://127.0.0.1/1bvs-1firstbvs twohttp://127.0.0.1/2bvs-2second' > \"$t/w/feed.xml\" && head -c 65536 /dev/urandom > \"$t/w/ep.mp3\" && W=$(free_port) && { python3 -m http.server -b 127.0.0.1 -d \"$t/w\" \"$W\" > /dev/null 2>&1 < /dev/null & echo $! > \"$t/web\"; } && wait_port \"$W\" && echo \"http://127.0.0.1:$W/feed.xml\" > \"$t/urls\" && : > \"$t/config\" && bin/newsboat -C \"$t/config\" -u \"$t/urls\" -c \"$t/cache.db\" -x reload print-unread < /dev/null > \"$t/out\" 2>&1 && has -x '2 unread articles' < \"$t/out\" && python3 -c 'import sqlite3, sys; print(\" \".join(r[0] for r in sqlite3.connect(sys.argv[1]).execute(\"select title from rss_item order by title\")))' \"$t/cache.db\" | has -x 'bvs one bvs two' && bin/newsboat -C \"$t/config\" -u \"$t/urls\" -c \"$t/cache.db\" -e < /dev/null > \"$t/opml\" && has -F \"xmlUrl=\\\"http://127.0.0.1:$W/feed.xml\\\"\" < \"$t/opml\" && tui_screen 6 bin/newsboat -C \"$t/config\" -u \"$t/urls\" -c \"$t/cache.db\" > \"$t/tui\" && has -F 'bvs feed' < \"$t/tui\" && has -F '(2/2)' < \"$t/tui\" && echo \"download-path \\\"$t/dl\\\"\" > \"$t/pbconfig\" && echo \"http://127.0.0.1:$W/ep.mp3 \\\"$t/dl/ep.mp3\\\"\" > \"$t/queue\" && tui_screen 8 bin/podboat -C \"$t/pbconfig\" -q \"$t/queue\" -a > \"$t/pbtui\" && cmp \"$t/w/ep.mp3\" \"$t/dl/ep.mp3\" && echo \"newsboat 2.45: a local RSS feed of two items fetched through the prefix's libcurl (OpenSSL), counted unread, found in its SQLite cache, exported as OPML and listed in a pseudo-terminal; podboat downloaded a queued episode byte for byte\"; r=$?; [ -f \"$t/web\" ] && kill \"$(cat \"$t/web\")\" 2> /dev/null; [ $r = 0 ] || cat \"$t/out\" \"$t/opml\" \"$t/tui\" \"$t/pbtui\" \"$t/queue\" >&2; rm -rf -- \"${t:?}\"; exit $r" }