svn commit: r413412 - head/mail/opensmtpd-extras

Adam Weinberger adamw at FreeBSD.org
Sat Apr 16 02:04:06 UTC 2016


Author: adamw
Date: Sat Apr 16 02:04:05 2016
New Revision: 413412
URL: https://svnweb.freebsd.org/changeset/ports/413412

Log:
  Add filter-spamassassin. PORTREVISION bump for default dependency change.

Modified:
  head/mail/opensmtpd-extras/Makefile

Modified: head/mail/opensmtpd-extras/Makefile
==============================================================================
--- head/mail/opensmtpd-extras/Makefile	Sat Apr 16 01:55:24 2016	(r413411)
+++ head/mail/opensmtpd-extras/Makefile	Sat Apr 16 02:04:05 2016	(r413412)
@@ -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/opensm
 NO_ARCH=	yes
 
 #
+# Filters
+#
+
+SPAMASSASSIN_BUILD_DEPENDS=	${INSTALL_DIR}/filter-spamassassin:mail/opensmtpd-extras-filter-spamassassin
+SPAMASSASSIN_RUN_DEPENDS=	${SPAMASSASSIN_BUILD_DEPENDS}
+
+#
 # Tables
 #
 


More information about the svn-ports-head mailing list