ports/144190: [PATCH] mail/p5-Mail-SpamAssassin - v330.pre config file not enabled by default
Marko Njezic
mrmax063 at maxempire.com
Sun Feb 21 22:00:14 UTC 2010
>Number: 144190
>Category: ports
>Synopsis: [PATCH] mail/p5-Mail-SpamAssassin - v330.pre config file not enabled by default
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 21 22:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Marko Njezic
>Release: 8.0-RELEASE-p2
>Organization:
MAX Interactive corp.
>Environment:
FreeBSD vmbsd 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Latest SpamAssassin port doesn't copy "v330.pre.sample" config file to "v330.pre", like the rest of the config files, therefore not enabling it by default. I don't know if that's intentional or a simple oversight, but if it is the latter, I've attached a patch that fixes the port's Makefile.
>How-To-Repeat:
>Fix:
Apply the suggested patch file.
Patch attached with submission follows:
diff -Naur p5-Mail-SpamAssassin.original/Makefile p5-Mail-SpamAssassin/Makefile
--- p5-Mail-SpamAssassin.original/Makefile 2010-02-18 10:43:28.000000000 +0100
+++ p5-Mail-SpamAssassin/Makefile 2010-02-21 22:38:14.000000000 +0100
@@ -7,7 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 3.3.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
MASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan
@@ -289,6 +289,9 @@
@[ -f ${PREFIX}/etc/mail/spamassassin/v320.pre ] || \
${CP} ${PREFIX}/etc/mail/spamassassin/v320.pre.sample \
${PREFIX}/etc/mail/spamassassin/v320.pre
+ @[ -f ${PREFIX}/etc/mail/spamassassin/v330.pre ] || \
+ ${CP} ${PREFIX}/etc/mail/spamassassin/v330.pre.sample \
+ ${PREFIX}/etc/mail/spamassassin/v330.pre
@PKG_PREFIX=${PREFIX} BATCH=${BATCH} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
.if !defined(NOPORTDOCS)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list