Skip to content

Commit

Permalink
Sisyphus is a junk mail handler of the latest generation. It has the …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
carlostrub committed Jan 28, 2018
1 parent b455a7d commit 054ec97
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions mail/Makefile
Expand Up @@ -643,6 +643,7 @@
SUBDIR += sieve-connect
SUBDIR += sigrot
SUBDIR += simscan
SUBDIR += sisyphus
SUBDIR += slapd-cyrus
SUBDIR += sma
SUBDIR += smfsav
Expand Down
34 changes: 34 additions & 0 deletions mail/sisyphus/Makefile
@@ -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 changes: 3 additions & 0 deletions mail/sisyphus/distinfo
@@ -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 changes: 12 additions & 0 deletions mail/sisyphus/pkg-descr
@@ -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

0 comments on commit 054ec97

Please sign in to comment.