FreeBSD Bugzilla – Attachment 75819 Details for
Bug 109434
Spamassassin Makefile needs gpg1. Patch makes it work with gpg2 also.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sapatch.diff
sapatch.diff (text/plain; x-mac-type="0"; x-mac-creator="0"), 2.67 KB, created by
Michael Scheidell
on 2007-02-23 17:19:57 UTC
(
hide
)
Description:
sapatch.diff
Filename:
MIME Type:
Creator:
Michael Scheidell
Created:
2007-02-23 17:19:57 UTC
Size:
2.67 KB
patch
obsolete
>diff -bBru /tmp/p5-Mail-SpamAssassin/Makefile p5-Mail-SpamAssassin/Makefile >--- /tmp/p5-Mail-SpamAssassin/Makefile Fri Feb 16 03:53:07 2007 >+++ p5-Mail-SpamAssassin/Makefile Fri Feb 23 11:05:23 2007 >@@ -7,6 +7,7 @@ > > PORTNAME= Mail-SpamAssassin > PORTVERSION= 3.1.8 >+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 >@@ -61,7 +62,7 @@ > .endif > > .if !defined(WITHOUT_GNUPG) >-RUN_DEPENDS+= gpgv:${PORTSDIR}/security/gnupg1 >+RUN_DEPENDS+= gnupg>=1.4.1:${PORTSDIR}/security/gnupg > .endif > > .if defined(WITH_MYSQL) >@@ -80,7 +81,7 @@ > RUN_DEPENDS+= ${SITE_PERL}/Mail/DKIM.pm:${PORTSDIR}/mail/p5-Mail-DKIM > .endif > >-.if defined(WITH_DOMAINKEYS) || defined(WITH_DKIM) >+.if defined(WITH_DOMAINKEYS) > RUN_DEPENDS+= p5-Mail-DomainKeys>=0.80:${PORTSDIR}/mail/p5-Mail-DomainKeys > .endif > >@@ -184,14 +185,24 @@ > -e 's#B_CONFDIR)/v312.pre#B_CONFDIR)/v312.pre.sample#g' \ > -e 's/require DBI/0/' \ > ${WRKSRC}/Makefile.PL >+# I cant' seem to get these to work, patches or suggestions welcome > .if defined(WITH_RAZOR) > ${REINPLACE_CMD} -e '/Razor2/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v312.pre > .endif > .if defined(WITH_DOMAINKEYS) >- ${REINPLACE_CMD} -e '/DomainKeys/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v312.pre >+ ${REINPLACE_CMD} -e '/DomainKeys/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v310.pre > .endif > .if defined(WITH_RELAY_COUNTRY) >- ${REINPLACE_CMD} -e '/RelayCountry/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/init.pre >+ ${REINPLACE_CMD} -e '/RelayCountry/s/^# ?loadplugin/loadplugin/' ${WRKSRC}/rules/init.pre >+.endif >+.if defined(WITH_DKIM) >+ ${REINPLACE_CMD} -e '/DKIM/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v312.pre >+.endif >+.if !defined(WITH_SPF_QUERY) >+ ${REINPLACE_CMD} -e '/SPF/s/^loadplugin/#loadplugin/' ${WRKSRC}/rules/init.pre >+.endif >+.if defined(WITH_DCC) >+ ${REINPLACE_CMD} -e '/DCC/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v310.pre > .endif > > pre-install: >diff -bBru /tmp/p5-Mail-SpamAssassin/files/patch-sa-learn-raw p5-Mail-SpamAssassin/files/patch-sa-learn-raw >--- /tmp/p5-Mail-SpamAssassin/files/patch-sa-learn-raw Fri Feb 23 11:50:31 2007 >+++ p5-Mail-SpamAssassin/files/patch-sa-learn-raw Fri Feb 23 08:51:15 2007 >@@ -0,0 +1,14 @@ >+--- sa-learn.raw (revision 507745) >++++ sa-learn.raw (working copy) >+@@ -402,7 +402,10 @@ >+ >+ # make sure the target list is in the normal AI format >+ if ($targets[$elem] !~ /^[^:]*:[a-z]+:/) { >+- $targets[$elem] = target($targets[$elem]); >++ my $item = splice @targets, $elem, 1; >++ $elem--; # go back to this element again >++ target($item); # add back to the list >++ next; >+ } >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 109434
:
75818
| 75819