View | Details | Raw Unified | Return to bug 141776 | Differences between
and this patch

Collapse All | Expand All

(-)p5-Mail-SpamAssassin/Makefile (-3 / +5 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	Mail-SpamAssassin
8
PORTNAME=	Mail-SpamAssassin
9
PORTVERSION=	3.2.5
9
PORTVERSION=	3.2.5
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	japanese mail perl5
11
CATEGORIES=	japanese mail perl5
12
MASTER_SITES=	${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \
12
MASTER_SITES=	${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \
13
		${PATCH_SITES}
13
		${PATCH_SITES}
Lines 107-113 Link Here
107
.endif
107
.endif
108
108
109
.if defined(WITH_DKIM)
109
.if defined(WITH_DKIM)
110
RUN_DEPENDS+=	p5-Mail-DKIM>=0.33:${PORTSDIR}/mail/p5-Mail-DKIM
110
RUN_DEPENDS+=	p5-Mail-DKIM>=0.34:${PORTSDIR}/mail/p5-Mail-DKIM
111
RUN_DEPENDS+=	${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
111
RUN_DEPENDS+=	${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
112
RUN_DEPENDS+=	p5-Crypt-OpenSSL-RSA>=0.24:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA
112
RUN_DEPENDS+=	p5-Crypt-OpenSSL-RSA>=0.24:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA
113
.endif
113
.endif
Lines 222-228 Link Here
222
		-e 's#B_CONFDIR)/v320.pre#B_CONFDIR)/v320.pre.sample#g' \
222
		-e 's#B_CONFDIR)/v320.pre#B_CONFDIR)/v320.pre.sample#g' \
223
		-e 's/require DBI/0/' \
223
		-e 's/require DBI/0/' \
224
		${WRKSRC}/Makefile.PL
224
		${WRKSRC}/Makefile.PL
225
	@${REINPLACE_CMD} -e '/^CC =/d' ${WRKSRC}/spamc/Makefile.in
225
	@${REINPLACE_CMD} -e '/^CC =/d; \
226
		s|@SSLCFLAGS@|& $${CFLAGS}|g' ${WRKSRC}/spamc/Makefile.in
227
226
228
227
.if defined(WITH_RAZOR)
229
.if defined(WITH_RAZOR)
228
	${REINPLACE_CMD} -e '/Razor2/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v312.pre
230
	${REINPLACE_CMD} -e '/Razor2/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v312.pre
(-)p5-Mail-SpamAssassin/files/patch-spamassassin.raw (+12 lines)
Line 0 Link Here
1
--- spamassassin.raw.orig       2009-05-14 20:48:01.000000000 -0500
2
+++ spamassassin.raw    2009-05-14 20:48:19.000000000 -0500
3
@@ -530,7 +530,7 @@
4
     $mail->finish();      # bug 5626: remove temp files etc.
5
     $mail = undef;
6
   }
7
-  exit 0;
8
+  exit 15;
9
 }
10
11
 # ---------------------------------------------------------------------------
12
(-)p5-Mail-SpamAssassin/pkg-install (-1 / +1 lines)
Lines 39-45 Link Here
39
   fi
39
   fi
40
   grep '^load.*Rule2XSBody' ${PKG_PREFIX}/etc/mail/spamassassin/v320.pre > /dev/null
40
   grep '^load.*Rule2XSBody' ${PKG_PREFIX}/etc/mail/spamassassin/v320.pre > /dev/null
41
   if [ $? -eq 0 ];then
41
   if [ $? -eq 0 ];then
42
     if yesno "Do you with to compile rules with re2c (will take a long time)" "N";then
42
     if yesno "Do you wish to compile rules with re2c (will take a long time)" "N";then
43
       ${PKG_PREFIX}/bin/sa-compile
43
       ${PKG_PREFIX}/bin/sa-compile
44
     fi
44
     fi
45
   fi
45
   fi

Return to bug 141776