From nobody Mon Aug 05 06:00:39 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wcm541gRnz5SckD; Mon, 05 Aug 2024 06:00:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wcm5367Thz4ZjD; Mon, 5 Aug 2024 06:00:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722837639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TOy9TC5OIUy+7s5kiwNB3pAvugUfCLPLC689cv5F3Ro=; b=UqT8WnDjkK+URPKEgFn4Dqx7eHawebXowR8gOU7ACl0WbUjQ8myumN0FpS0R2vPRY7RzJ4 kmUeby26A4Dkv77oNFZ1/Y2/EJe4X4Ywjo0PR+0pbga9MKh1MgASqVkfshBKUEBnjsvKtE ByFVhNt1SBvBiR/R6Dv8i9w+teBdOnb9Boyf9r4TzUKhbdax6tMiSP7grJUKf+lYut55Kt pKd6T5PjH8k6vhLIxcmWG06y4nE4kCJFmmerDLm4jKwjmwbof/DqdJFpTQQbtW7yqKwykz v2C6ibk88p/O93X/4oWeTcq9S+WYjUloCN0LZx/+D9xcRqlngarc5THljjk0vQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722837639; a=rsa-sha256; cv=none; b=pGlUFiEHq4x6yzX2wYzRrTajLUJ52pE78NBfkNh18TkaOPz9OSPdzQQXwMGngo6Ai/w404 uI7dXw7HeiWvi/DwMdi8XCK9ub5bG4t5d9CTEPIcPy1sf6V5XzIYuOiHGILF2/WpYqAH0L +sd159h8LXuiaqCDGyAyeb+VD9u6tnqe5txJkAydcD1jBAMYwQgB0Xpl07ZZU4r7iINixC QoTKHSKc7kvxp/KH/0JZT4kfIswu2d/gvWNlMZBgASECk6huxu3SmYsgj7GStOfknRWXyG 2SFShfktBu69XlHGIqhFlCZy4XxTZOZH3TfQi5rXDuRt5+crwaFWAGdpSz/Hqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722837639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TOy9TC5OIUy+7s5kiwNB3pAvugUfCLPLC689cv5F3Ro=; b=YkSTLwSIwWtoOzLZyO7Rf1eodJXh5FbucuI8byPEQjBEg+0LX8t++1Y7IsFgwrlr9R1mh4 QjTvY19OrjXjnlkD9NgS+w4V0Lo1j4vuQKkQE8mUH3AkoXhZR3HX9soviwjUePfJmn/mA9 Dww/8xYRnTcwuadeFLMN+bKymPvooZ3knQdbacGsCQzmqz34eCHtHAHPs4pS5OONKB/qCS 9FOGWSJVUTcpeRgW/wCLtMxFvNzLkip6c6KP5yciZSn8k1ZNN1Ur8IxpAjaH4nguyuOGdA L1epPFDDQHwx6lDiOtq9sxfuQIjG0eCsrdmlF0z204TjbP+ebVWmVy3wizYFUQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wcm535Q69z1Qwb; Mon, 5 Aug 2024 06:00:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47560dfb054641; Mon, 5 Aug 2024 06:00:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47560dH8054638; Mon, 5 Aug 2024 06:00:39 GMT (envelope-from git) Date: Mon, 5 Aug 2024 06:00:39 GMT Message-Id: <202408050600.47560dH8054638@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: 85237ead741e - main - www/newsraft: New port: feed reader for terminal List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85237ead741ef2d1f41167cb3fb363fd69e84d09 Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=85237ead741ef2d1f41167cb3fb363fd69e84d09 commit 85237ead741ef2d1f41167cb3fb363fd69e84d09 Author: Zsolt Udvari AuthorDate: 2024-08-05 05:56:40 +0000 Commit: Zsolt Udvari CommitDate: 2024-08-05 05:59:50 +0000 www/newsraft: New port: feed reader for terminal Newsraft is a feed reader with ncurses user interface. It's greatly inspired by Newsboat and tries to be its lightweight counterpart. --- www/Makefile | 1 + www/newsraft/Makefile | 30 +++++++++++++++++++++++++++++ www/newsraft/distinfo | 3 +++ www/newsraft/files/patch-tests_run-check.sh | 11 +++++++++++ www/newsraft/pkg-descr | 14 ++++++++++++++ www/newsraft/pkg-plist | 4 ++++ 6 files changed, 63 insertions(+) diff --git a/www/Makefile b/www/Makefile index 329394f33c5c..8e525a3cda62 100644 --- a/www/Makefile +++ b/www/Makefile @@ -442,6 +442,7 @@ SUBDIR += netstiff SUBDIR += netsurf SUBDIR += newsboat + SUBDIR += newsraft SUBDIR += nextcloud SUBDIR += nextcloud-appointments SUBDIR += nextcloud-calendar diff --git a/www/newsraft/Makefile b/www/newsraft/Makefile new file mode 100644 index 000000000000..3df276e2fc06 --- /dev/null +++ b/www/newsraft/Makefile @@ -0,0 +1,30 @@ +PORTNAME= newsraft +DISTVERSION= 0.25 +CATEGORIES= www +MASTER_SITES= https://codeberg.org/${PORTNAME}/${PORTNAME}/archive/ + +MAINTAINER= uzsolt@FreeBSD.org +COMMENT= Feed reader for terminal +WWW= https://codeberg.org/newsraft/newsraft + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/doc/license.txt + +LIB_DEPENDS= libcurl.so:ftp/curl \ + libexpat.so:textproc/expat2 \ + libgumbo.so:devel/gumbo \ + libyajl.so:devel/yajl + +USES= ncurses pkgconfig sqlite + +MAKEFILE= makefile +MAKE_ARGS+= CFLAGS="${CFLAGS}" +# One test fails but manually run "make check" from WRKSRC it pass +TEST_TARGET= check + +WRKSRC= ${WRKDIR}/${PORTNAME} + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/www/newsraft/distinfo b/www/newsraft/distinfo new file mode 100644 index 000000000000..60ddc9b33a80 --- /dev/null +++ b/www/newsraft/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722796728 +SHA256 (newsraft-0.25.tar.gz) = 99e587c8dcd22addd1dbd1f6f3a823af234a941009f016abbbf325ab5a6c44a0 +SIZE (newsraft-0.25.tar.gz) = 153586 diff --git a/www/newsraft/files/patch-tests_run-check.sh b/www/newsraft/files/patch-tests_run-check.sh new file mode 100644 index 000000000000..e573993795a4 --- /dev/null +++ b/www/newsraft/files/patch-tests_run-check.sh @@ -0,0 +1,11 @@ +--- tests/run-check.sh.orig 2024-05-26 22:09:20 UTC ++++ tests/run-check.sh +@@ -13,7 +13,7 @@ do + do + tests_count="$((tests_count + 1))" + rm -rf test-database* +- if ${CC:-cc} -Isrc -DTEST -o ./a.out "$test_file" -L. -lnewsraft && env LD_LIBRARY_PATH=. ./a.out; then ++ if ${CC:-cc} `pkg-config --cflags sqlite3` -Isrc -DTEST -o ./a.out "$test_file" -L. -lnewsraft && env LD_LIBRARY_PATH=. ./a.out; then + echo "[OKAY] $test_file" + okays_count="$((okays_count + 1))" + else diff --git a/www/newsraft/pkg-descr b/www/newsraft/pkg-descr new file mode 100644 index 000000000000..f00cf69a8ce7 --- /dev/null +++ b/www/newsraft/pkg-descr @@ -0,0 +1,14 @@ +Newsraft is a feed reader with ncurses user interface. It's greatly inspired by +Newsboat and tries to be its lightweight counterpart. + +Features: +* Parallel downloads +* Section-based feeds grouping +* Opening links in any program +* Viewing news from all feeds with explore mode +* Automatic updates for feeds and sections +* Per-feed settings and key bindings +* Assigning multiple actions to key bindings +* Processing feeds from command output +* Text searching by news titles and content +* Interactive news content viewing diff --git a/www/newsraft/pkg-plist b/www/newsraft/pkg-plist new file mode 100644 index 000000000000..7847e2540da7 --- /dev/null +++ b/www/newsraft/pkg-plist @@ -0,0 +1,4 @@ +bin/newsraft +share/man/man1/newsraft.1.gz +%%DATADIR%%/examples/config +%%DATADIR%%/examples/feeds