aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2016-04-16 10:04:05 +0800
committeradamw <adamw@FreeBSD.org>2016-04-16 10:04:05 +0800
commit730fbdad4e467fe5cf2a101cd19c36bcdb2b468b (patch)
treec81adf73da1b251bd9a5bae3bdf1bb39927ed6af /mail
parent19ca9704fa7327506a7becb8a9d66b6270402111 (diff)
downloadfreebsd-ports-gnome-730fbdad4e467fe5cf2a101cd19c36bcdb2b468b.tar.gz
freebsd-ports-gnome-730fbdad4e467fe5cf2a101cd19c36bcdb2b468b.tar.zst
freebsd-ports-gnome-730fbdad4e467fe5cf2a101cd19c36bcdb2b468b.zip
Add filter-spamassassin. PORTREVISION bump for default dependency change.
Diffstat (limited to 'mail')
-rw-r--r--mail/opensmtpd-extras/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/mail/opensmtpd-extras/Makefile b/mail/opensmtpd-extras/Makefile
index 30e43a6bea79..4537b0ab9f04 100644
--- a/mail/opensmtpd-extras/Makefile
+++ b/mail/opensmtpd-extras/Makefile
@@ -3,7 +3,7 @@
PORTNAME= opensmtpd-extras
PORTVERSION= 201602042118
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES+= mail
MASTER_SITES= http://www.opensmtpd.org/archives/
@@ -21,10 +21,14 @@ WITH_OPENSSL_PORT= yes
GNU_CONFIGURE= yes
.if empty(SLAVE_PORT)
-OPTIONS_GROUP= TABLE
+OPTIONS_GROUP= FILTER TABLE
+OPTIONS_GROUP_FILTER= SPAMASSASSIN
OPTIONS_GROUP_TABLE= LDAP MYSQL PASSWD PGSQL PYTHON REDIS SMAP SQLITE
-OPTIONS_DEFAULT= LDAP MYSQL PASSWD PGSQL PYTHON REDIS SMAP SQLITE
+OPTIONS_DEFAULT= ${OPTIONS_GROUP_FILTER} ${OPTIONS_GROUP_TABLE}
+# Filters
+SPAMASSASSIN_DESC= Check messages with SpamAssassin
+# Tables
PASSWD_DESC= passwd(5) table support
SMAP_DESC= Socketmap protocol support
@@ -36,6 +40,13 @@ INSTALL_DIR= ${LOCALBASE}/libexec/opensmtpd
NO_ARCH= yes
#
+# Filters
+#
+
+SPAMASSASSIN_BUILD_DEPENDS= ${INSTALL_DIR}/filter-spamassassin:mail/opensmtpd-extras-filter-spamassassin
+SPAMASSASSIN_RUN_DEPENDS= ${SPAMASSASSIN_BUILD_DEPENDS}
+
+#
# Tables
#