svn commit: r460228 - in head/mail: . sisyphus
Carlo Strub
cs at FreeBSD.org
Sun Jan 28 19:29:28 UTC 2018
Author: cs
Date: Sun Jan 28 19:29:26 2018
New Revision: 460228
URL: https://svnweb.freebsd.org/changeset/ports/460228
Log:
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
Added:
head/mail/sisyphus/
head/mail/sisyphus/Makefile (contents, props changed)
head/mail/sisyphus/distinfo (contents, props changed)
head/mail/sisyphus/pkg-descr (contents, props changed)
Modified:
head/mail/Makefile
Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile Sun Jan 28 17:40:47 2018 (r460227)
+++ head/mail/Makefile Sun Jan 28 19:29:26 2018 (r460228)
@@ -643,6 +643,7 @@
SUBDIR += sieve-connect
SUBDIR += sigrot
SUBDIR += simscan
+ SUBDIR += sisyphus
SUBDIR += slapd-cyrus
SUBDIR += sma
SUBDIR += smfsav
Added: head/mail/sisyphus/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/sisyphus/Makefile Sun Jan 28 19:29:26 2018 (r460228)
@@ -0,0 +1,34 @@
+# Created by: Carlo Strub <cs at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= sisyphus
+PORTVERSION= 1.1.1
+DISTVERSIONPREFIX= v
+CATEGORIES= mail
+
+MAINTAINER= cs at 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>
Added: head/mail/sisyphus/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/sisyphus/distinfo Sun Jan 28 19:29:26 2018 (r460228)
@@ -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
Added: head/mail/sisyphus/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/sisyphus/pkg-descr Sun Jan 28 19:29:26 2018 (r460228)
@@ -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
More information about the svn-ports-all
mailing list