Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2012 17:03:54 -0700
From:      Jason Helfman <jgh@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        scheidell@FreeBSD.org
Subject:   ports/166310: [PATCH] mail/p5-Mail-SpamAssassin: add support for AutoWhiteList (AWL)
Message-ID:  <1332374634.553577.58951.nullmailer@experts-exchange.com>
Resent-Message-ID: <201203220010.q2M0A7XQ013161@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166310
>Category:       ports
>Synopsis:       [PATCH] mail/p5-Mail-SpamAssassin: add support for AutoWhiteList (AWL)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 22 00:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dormouse.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
>Description:
It was noted that the AWL plugin has been deprecated in ports/159365.

I can't find any supporting information to this statement.
According to documentation at http://wiki.apache.org/spamassassin/AutoWhitelist

"In 3.3, the plugin is not loaded by default."

In the notes for 3.3.0, the following is stated:

"- as the plugin AWL is no longer loaded by default, to continue using it
  the following line is needed in one of the .pre files (e.g. local.pre):
    loadplugin Mail::SpamAssassin::Plugin::AWL"

Releases since then do not note a deprecation of the plugin, and it is
still available in the source distribution.

Port maintainer (scheidell@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_4 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- p5-Mail-SpamAssassin-3.3.2_7.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/p5-Mail-SpamAssassin/Makefile,v
retrieving revision 1.152
diff -u -r1.152 Makefile
--- Makefile	13 Mar 2012 16:15:10 -0000	1.152
+++ Makefile	21 Mar 2012 23:56:45 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	Mail-SpamAssassin
 PORTVERSION=	3.3.2
-PORTREVISION?=	6
+PORTREVISION?=	7
 CATEGORIES?=	mail perl5
 MASTER_SITES=	${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
 MASTER_SITE_SUBDIR=	spamassassin/source/:apache Mail/:cpan
@@ -51,7 +51,8 @@
 		RAZOR "Add Vipul's Razor support" on \
 		SPF_QUERY "Add SPF query support" off \
 		RELAY_COUNTRY "Relay country support" off \
-		DCC "Add DCC support (see LICENSE)" off
+		DCC "Add DCC support (see LICENSE)" off \
+		AWL "Add AutoWhiteList Support" off
 
 SUB_FILES=	pkg-install
 SUB_LIST=	USER=${USERS} GROUP=${GROUPS} INSTALL="${INSTALL}"
@@ -189,6 +190,9 @@
 .if defined(WITH_SACOMPILE)
 	${REINPLACE_CMD} -e '/Rule2XSBody/s/^# loadplugin/loadplugin/' ${WRKSRC}/rules/v320.pre
 .endif
+.if defined(WITH_AWL)
+	${REINPLACE_CMD} -e '/AWL/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v310.pre
+.endif
 
 post-build:
 	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} spamc/libspamc.so)
--- p5-Mail-SpamAssassin-3.3.2_7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1332374634.553577.58951.nullmailer>