From nobody Tue Jan 09 09:27:58 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 4T8QZk3DFkz56sjw; Tue, 9 Jan 2024 09:27:58 +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 4T8QZk2dr5z4L9Q; Tue, 9 Jan 2024 09:27:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704792478; 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=rWYLDi0zA58BEE7LvCttIdu1JatyDG3JL60oq9VZpB4=; b=wYP81sYCliBWqO2Rj18pYlWIZgMm/M7RD38fZJIblq8ELll90PxOPmR39GeurB0afZ9miP /ebvuUQhzMS3v68+i1UolMFvTL2LLjY4LGW3VxW+NjlCzk2zjGo7RafzsrXRBIBdD5lcU0 GbvDMPBgBMkC8VpdFz0ss28k7X33VzTNjOAfFFlzYs2m55K9wWKfrMMSjnIoCILI+RovD1 PlZL0nJA5ktDC0CYNSak/NjP5G1gZO1V/ilYYSnJvRdunWgeTR8uiKLxDGgCWjOJG61ais 9foM90Zwvbo9cajjHiaei0bsGVjmsl+f63viET5lfPO4k4+fNTEXMVpohRkyNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704792478; 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=rWYLDi0zA58BEE7LvCttIdu1JatyDG3JL60oq9VZpB4=; b=NCU0227DsI2VqsYjksZsw+O2GfRJIHTu5s2lQnIWf1+bXYRgNCx0wQwx9WHrJspKtS0bYD b2GYq23PVyw1TTxhuQDCHDEWPtHpq2AnJ5+9imQ9YOeHwjfZgxoY4N7VrFepDvVhbdtEKQ Tz9jC39eKi757ec3/s2+nHl2ZZLr+F8Lx0D68X3PcZw9k24nQkEqMHgdBaKP+kD+YBEYo/ UwlNn5B3N/IQdxsf/l1ztvRyfTg8jA8cMHXcQnzXe9wjdVKTLbpZBLvJlN3zS/af6rcnvd BAJOT7qqyI22Sidz3fkXd7Ukpj6KTDGdvlFiAQIko/May3rEdSaM6wbPtSmczA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704792478; a=rsa-sha256; cv=none; b=xe9RcGe+QWiBxQkYLPbzBGTr8uZ35xvmw/ZuU2n0US3iOZjAJovx22ovNppOxdvxl4bfYn ispZ4fexJHqDCPEUhVEArUUTX+PR32Co4Y9D0AuIIx/tAxYKGntKZct1h6V7//flAhhyie ujlYvWdzfsizZ5qVLyCJrUXFWFauw2Y10WkMiKlUamEIndAF3jKLTKvJSYzhxy3aSQUxxb IjwM5+Jz2lvX/ZXeKwVo27Xz0LZ8DotMnBTBMYH1mggjh0I/onDYqdegtcjwLpNGLsxnuz PYgjEB66dNdBGqk/PJ4pdqwmFL7picHa0PRFOrp7nznNl/yF/1Nsp4SXFwf5BA== 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 4T8QZk1j7mzlRL; Tue, 9 Jan 2024 09:27:58 +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 4099RwrP020652; Tue, 9 Jan 2024 09:27:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4099Rwql020649; Tue, 9 Jan 2024 09:27:58 GMT (envelope-from git) Date: Tue, 9 Jan 2024 09:27:58 GMT Message-Id: <202401090927.4099Rwql020649@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Oleksii Samorukov Subject: git: 34fdd68f8580 - main - www/trac-spamfilter: 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: samm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 34fdd68f8580ffd2bdb6a83a28eedd4d1db85ed4 Auto-Submitted: auto-generated The branch main has been updated by samm: URL: https://cgit.FreeBSD.org/ports/commit/?id=34fdd68f8580ffd2bdb6a83a28eedd4d1db85ed4 commit 34fdd68f8580ffd2bdb6a83a28eedd4d1db85ed4 Author: Oleksii Samorukov AuthorDate: 2024-01-09 09:25:37 +0000 Commit: Oleksii Samorukov CommitDate: 2024-01-09 09:27:13 +0000 www/trac-spamfilter: add new port This trac plugin allows different ways to reject contributions that contain spam. --- www/Makefile | 1 + www/trac-spamfilter/Makefile | 30 ++++++++++++++++++++++++++++++ www/trac-spamfilter/distinfo | 3 +++ www/trac-spamfilter/pkg-descr | 2 ++ 4 files changed, 36 insertions(+) diff --git a/www/Makefile b/www/Makefile index c21660b5fa7b..ceeacc82de6d 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2361,6 +2361,7 @@ SUBDIR += tor-browser SUBDIR += trac SUBDIR += trac-accountmanager + SUBDIT += trac-spamfilter SUBDIR += trafficserver SUBDIR += transproxy SUBDIR += trunk diff --git a/www/trac-spamfilter/Makefile b/www/trac-spamfilter/Makefile new file mode 100644 index 000000000000..5e91fbb0e87c --- /dev/null +++ b/www/trac-spamfilter/Makefile @@ -0,0 +1,30 @@ +PORTNAME= spamfilter +PORTVERSION= 1.5.1r${REV} +CATEGORIES= www devel python +MASTER_SITES= https://trac.edgewall.org/browser/plugins/trunk/ +PKGNAMEPREFIX= trac- + +MAINTAINER= samm@FreeBSD.org +COMMENT= Trac Spam Filtering Plugin +WWW= https://trac.edgewall.org/wiki/SpamFilter + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= tracd:www/trac + +FETCH_BEFORE_ARGS= -o ${DISTFILES} +REV= 17763 +WRKSRC= ${WRKDIR}/spam-filter +USES= python zip +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +do-fetch: + @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ + cd ${DISTDIR} && \ + ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \ + '${MASTER_SITES}spam-filter?rev=${REV}&format=zip'; \ + fi + +.include diff --git a/www/trac-spamfilter/distinfo b/www/trac-spamfilter/distinfo new file mode 100644 index 000000000000..d84c7113214e --- /dev/null +++ b/www/trac-spamfilter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704791598 +SHA256 (spamfilter-1.5.1r17763.zip) = 0be8d8f2ad8db198d90526ab79b4183c2608779bfc4e428031c3aa077fb6c85c +SIZE (spamfilter-1.5.1r17763.zip) = 312202 diff --git a/www/trac-spamfilter/pkg-descr b/www/trac-spamfilter/pkg-descr new file mode 100644 index 000000000000..2313416c7140 --- /dev/null +++ b/www/trac-spamfilter/pkg-descr @@ -0,0 +1,2 @@ +Trac plugin that allows different ways to reject contributions that contain +spam. Bayes database, regexp, RBL, Captcha and other options are supported.