ports/86689: [patch] mail/p5-Mail-SpamAssassin: add RELAY_COUNTRY option/run depends
Zach Thompson
hideo at lastamericanempire.com
Wed Sep 28 21:30:22 UTC 2005
>Number: 86689
>Category: ports
>Synopsis: [patch] mail/p5-Mail-SpamAssassin: add RELAY_COUNTRY option/run depends
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 28 21:30:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: hideo
>Release: FreeBSD 7.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD darwin.lastamericanempire.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Sep 25 19:05:22 MDT 2005 hideo at darwin.lastamericanempire.com:/usr/obj/usr/src/sys/darwin amd64
>Description:
Enabling the Mail::Spamassassin::Plugin::RelayCountry plugin fails since
IO::Country::Fast is not pulled in to the dependencies. The latter module
is clearly stated as a requirement for the plugin.
This patch requires adding net/p5-IP-Country to RUN_DEPENDS so I made
RELAY_COUNTRY support optional. Also, since the plugin, in commented form,
does appear in the default init.pre and may be breaking w/o detection for
many people using SA I bumped PORTREVISION.
>How-To-Repeat:
>Fix:
--- sa_relay-country begins here ---
diff -ruN /usr/ports/mail/p5-Mail-SpamAssassin/Makefile p5-Mail-SpamAssassin/Makefile
--- /usr/ports/mail/p5-Mail-SpamAssassin/Makefile Sat Sep 17 10:57:25 2005
+++ p5-Mail-SpamAssassin/Makefile Wed Sep 28 13:33:09 2005
@@ -7,6 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 3.1.0
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
MASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan
@@ -33,6 +34,7 @@
PGSQL "Add PostreSQL support" off \
RAZOR "Add Vipul's Razor support" off \
SPF_QUERY "Add SPF query support" off \
+ RELAY_COUNTRY "Relay country support" off \
TOOLS "Install SpamAssassin tools" off
.include <bsd.port.pre.mk>
@@ -66,6 +68,10 @@
.if defined(WITH_DOMAINKEYS)
RUN_DEPENDS+= ${SITE_PERL}/Mail/DomainKeys.pm:${PORTSDIR}/mail/p5-Mail-DomainKeys
+.endif
+
+.if defined(WITH_RELAY_COUNTRY)
+RUN_DEPENDS= ${SITE_PERL}/IP/Country/Fast.pm:${PORTSDIR}/net/p5-IP-Country
.endif
.if defined(WITH_TOOLS)
--- sa_relay-country ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list