From nobody Mon Oct 30 14:15:33 2023 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 4SJwKK4frSz4y08Y; Mon, 30 Oct 2023 14:15:33 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SJwKK3dXcz3GBS; Mon, 30 Oct 2023 14:15:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698675333; 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=SU3oZyMWktGuP3Fg/LjjgHhzkz6RJ07Idhvg0GD2aAk=; b=J/h6uIK3ok+s+6ELAKoK02I3rV13BKFpala0AMqyyJfF75PUJFVGZy5m3GVIChr1DC/DTV Zp6JavBlMYbcP72dxHmbJSpo+uST2ie/yXnmvfLPuPj4x/A1gXXuVJdvRM9pLDZI4rVZl2 zqLsdo8kBo3mZ9E9Y36g8lgrOmk2XQXU58HhsjqHPd0HDpSKoRbfe4Np8ZTxKhBeQQAIhp b054pjKEe2XiZrg+hJOAbTM5W8W/08H/8LUsuucAM+FxdbKYZfON5FuZqeixXjERfYzKnR uOkN+gul9i4Hlk1HfPayuUYOAfF/ipZV4lHwkFR3AzR8yAsQbAHa2Cy5rlNHKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698675333; 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=SU3oZyMWktGuP3Fg/LjjgHhzkz6RJ07Idhvg0GD2aAk=; b=nm5u7DsC+kC2QMEYGSdlmsa7uSJ2spx2T2MgFI4KohuCgfJ6dyfwfJqcbpPGJWxfvnxLZl hQ+ssGL8gWu7OqS+0/VdxLv5gNbsbN7RAtRBFvrLrHqYBQqhEshYuw0Oh53wQRF1abdiUX VdPmzjvttcQcpd7/IldOvk1n8TheJBn3kK+3fHh9eWb4l/MaZEXCQOO2yBzsQKjBxMod8E lH6NkM3OgPsJ7RY5zHeEA12CQSby0Bd1Kix5+Z5tg3CHOLIRjZRNFM0UqmuTSvGNKa1lQ1 XmXVa3KYQkSWXhzufZAs+hiBSP93y5zfBQF50OZeza/6HR77XRZXvvGnAdMOog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698675333; a=rsa-sha256; cv=none; b=EBQRDbc5WCfatVjs/n99BNuDXyFALjAtLdt4/J8uFYCyRdL4pFF3dbe+OE8T+Zoi9ID1CG ztxFYzOsHZburEQArxIBBW8W+aMS7rV5N5O1WlSLuLqzt8Hi2Bd4nLBB/ZPvrvOrMSZFvm QauMjMFrP6grW8S9XpzAepD8T+shNND65UCcFyV6lIGgGCiIRWewluReJ/AN7TsTp5O7gd +SNkv2p0Ub+BFhFNb2ln2+FPfhNVn7SQrYTXYtLGcjnZse5UY/9lvAqDjXbbxKt0gVTQq5 cdUYl9JJ+FCQ0w1KATxLEu44rtWZ+DuF1KROkG4d6l/w7INVeO5pv7UY9x3FQA== 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 4SJwKK2lV8z8Z6; Mon, 30 Oct 2023 14:15:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39UEFX25062540; Mon, 30 Oct 2023 14:15:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39UEFXbF062537; Mon, 30 Oct 2023 14:15:33 GMT (envelope-from git) Date: Mon, 30 Oct 2023 14:15:33 GMT Message-Id: <202310301415.39UEFXbF062537@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joel Bodenmann Subject: git: db51a0e68e00 - main - www/offpunk: Add new port 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: db51a0e68e0021198ae21c1c7de9b5b03d346108 Auto-Submitted: auto-generated The branch main has been updated by jbo: URL: https://cgit.FreeBSD.org/ports/commit/?id=db51a0e68e0021198ae21c1c7de9b5b03d346108 commit db51a0e68e0021198ae21c1c7de9b5b03d346108 Author: Martin Neubauer AuthorDate: 2023-10-04 11:18:20 +0000 Commit: Joel Bodenmann CommitDate: 2023-10-30 14:14:50 +0000 www/offpunk: Add new port Offline-first gemini/web/gopher/rss reader and browser. PR: 273554 Approved by: zirias (mentor) Differential Revision: https://reviews.freebsd.org/D42071 --- www/Makefile | 1 + www/offpunk/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ www/offpunk/distinfo | 3 +++ www/offpunk/pkg-descr | 5 +++++ 4 files changed, 51 insertions(+) diff --git a/www/Makefile b/www/Makefile index f62f73e7c81f..483a002035ed 100644 --- a/www/Makefile +++ b/www/Makefile @@ -492,6 +492,7 @@ SUBDIR += npm-node20 SUBDIR += oauth2-proxy SUBDIR += obhttpd + SUBDIR += offpunk SUBDIR += oneshot SUBDIR += onionbalance SUBDIR += onionshare diff --git a/www/offpunk/Makefile b/www/offpunk/Makefile new file mode 100644 index 000000000000..41bd3486fd6b --- /dev/null +++ b/www/offpunk/Makefile @@ -0,0 +1,42 @@ +PORTNAME= offpunk +PORTVERSION= 1.10 +DISTVERSIONPREFIX= v +CATEGORIES= www python +MASTER_SITES= https://git.sr.ht/~lioploum/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ + +MAINTAINER= m.ne@gmx.net +COMMENT= Offline-first gemini/web/gopher/rss reader and browser +WWW= https://sr.ht/~lioploum/offpunk/ + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}feedparser>0:textproc/py-feedparser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}readability-lxml>0:www/py-readability-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} + +USES= python shebangfix +USE_PYTHON= autoplist pep517 +SHEBANG_FILES= offpunk.py + +NO_ARCH= yes + +OPTIONS_DEFINE= CHAFA CHARDET SETPROCTITLE TIMG XSEL + +CHAFA_DESC= Allows to display pictures in your console +CHARDET_DESC= Detect the character encoding on Gopher +SETPROCTITLE_DESC= Change the process name to "offpunk" +TIMG_DESC= Slower alternative to chafa for inline images +XSEL_DESC= Allows to go to the URL copied in the clipboard + +CHAFA_RUN_DEPENDS= chafa>=1.3.2>0:graphics/chafa +CHARDET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} +SETPROCTITLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} +TIMG_RUN_DEPENDS= timg>=1.3.2>0:graphics/timg +XSEL_RUN_DEPENDS= xsel-conrad>0:x11/xsel-conrad + +.include diff --git a/www/offpunk/distinfo b/www/offpunk/distinfo new file mode 100644 index 000000000000..ad13874c7c73 --- /dev/null +++ b/www/offpunk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691366454 +SHA256 (offpunk-v1.10.tar.gz) = 1715e819cbf1475943b16aba18a157a26bc8da5184dc6c5b1f1bbcf8e5455eea +SIZE (offpunk-v1.10.tar.gz) = 210865 diff --git a/www/offpunk/pkg-descr b/www/offpunk/pkg-descr new file mode 100644 index 000000000000..eb864ee56e81 --- /dev/null +++ b/www/offpunk/pkg-descr @@ -0,0 +1,5 @@ +A command-line and offline-first smolnet browser/feed reader for Gemini, Gopher, +Spartan and Web. + +The goal of Offpunk is to be able to synchronise your content once (a day, a +week, a month) and then browse/organise it while staying disconnected.