www/trac-spamfilter: add new port
This trac plugin allows different ways to reject contributions that contain spam.
This commit is contained in:
parent
1558a912b7
commit
34fdd68f85
4 changed files with 36 additions and 0 deletions
|
@ -2361,6 +2361,7 @@
|
|||
SUBDIR += tor-browser
|
||||
SUBDIR += trac
|
||||
SUBDIR += trac-accountmanager
|
||||
SUBDIT += trac-spamfilter
|
||||
SUBDIR += trafficserver
|
||||
SUBDIR += transproxy
|
||||
SUBDIR += trunk
|
||||
|
|
30
www/trac-spamfilter/Makefile
Normal file
30
www/trac-spamfilter/Makefile
Normal file
|
@ -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 <bsd.port.mk>
|
3
www/trac-spamfilter/distinfo
Normal file
3
www/trac-spamfilter/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1704791598
|
||||
SHA256 (spamfilter-1.5.1r17763.zip) = 0be8d8f2ad8db198d90526ab79b4183c2608779bfc4e428031c3aa077fb6c85c
|
||||
SIZE (spamfilter-1.5.1r17763.zip) = 312202
|
2
www/trac-spamfilter/pkg-descr
Normal file
2
www/trac-spamfilter/pkg-descr
Normal file
|
@ -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.
|
Loading…
Reference in a new issue