1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Sisyphus is a junk mail handler of the latest generation. It has the following

features:

- requires zero configuration, neither on the server nor on the client
- works with any MTA and any client
- learns about your preferences based on all messages in your inbox and your
  junk folder
- can handle multiple mail accounts with independant junk mail preferences
- requires minimal resources, e.g. learning over 50000 mails and keeping track
  of roughly 90000 words requires only 10MB of storage

WWW: https://github.com/carlostrub/sisyphus
This commit is contained in:
Carlo Strub 2018-01-28 19:29:26 +00:00
parent 4783a1b74b
commit e6f73ad55f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460228
4 changed files with 50 additions and 0 deletions

View File

@ -643,6 +643,7 @@
SUBDIR += sieve-connect
SUBDIR += sigrot
SUBDIR += simscan
SUBDIR += sisyphus
SUBDIR += slapd-cyrus
SUBDIR += sma
SUBDIR += smfsav

34
mail/sisyphus/Makefile Normal file
View File

@ -0,0 +1,34 @@
# Created by: Carlo Strub <cs@FreeBSD.org>
# $FreeBSD$
PORTNAME= sisyphus
PORTVERSION= 1.1.1
DISTVERSIONPREFIX= v
CATEGORIES= mail
MAINTAINER= cs@FreeBSD.org
COMMENT= Intelligent Junk Mail Handler
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= glide:devel/go-glide
USES= go
USE_GITHUB= yes
GH_ACCOUNT= carlostrub
GO_PKGNAME= github.com/carlostrub/sisyphus
PLIST_FILES= bin/sisyphus
post-configure:
@(cd ${WRKSRC}; glide install)
do-build:
@(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} build -o sisyphus/sisyphus -ldflags "-X main.version=${PORTVERSION}" -v sisyphus/sisyphus.go)
do-install:
@(cd ${GO_WRKSRC}; ${MV} sisyphus/sisyphus ${STAGEDIR}/${LOCALBASE}/bin)
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sisyphus
.include <bsd.port.mk>

3
mail/sisyphus/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1517080738
SHA256 (carlostrub-sisyphus-v1.1.1_GH0.tar.gz) = a10cd6178a069ec0b61fab9203e4b4d0b89bad8f6bd8b191c018c90308342987
SIZE (carlostrub-sisyphus-v1.1.1_GH0.tar.gz) = 1087010

12
mail/sisyphus/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
Sisyphus is a junk mail handler of the latest generation. It has the following
features:
- requires zero configuration, neither on the server nor on the client
- works with any MTA and any client
- learns about your preferences based on all messages in your inbox and your
junk folder
- can handle multiple mail accounts with independant junk mail preferences
- requires minimal resources, e.g. learning over 50000 mails and keeping track
of roughly 90000 words requires only 10MB of storage
WWW: https://github.com/carlostrub/sisyphus