Bug 107191 - add DKIM, fix gnupg typo
add DKIM, fix gnupg typo
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: perl
Depends on:
  Show dependency treegraph
Reported: 2006-12-25 15:00 UTC by scheidell
Modified: 2006-12-25 17:00 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description scheidell 2006-12-25 15:00:32 UTC
#1, gnupg seems to be gnupg not gnupg1
#2, SpamAssassin has supported DKIM in addition to DomainKeys for a 
while now, and (finally) DKIM.pm is in ports.
This patch adds DKIM and fixes gnupg type.

Fix: patch:

 diff -bBru Makefile.orig Makefile

PORTNAME=      Mail-SpamAssassin
 CATEGORIES=    mail perl5
 MASTER_SITE_SUBDIR=    spamassassin/source/:apache Mail/:cpan
@@ -23,7 +23,7 @@
                ${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
-               gpgv:${PORTSDIR}/security/gnupg1
+               gpgv:${PORTSDIR}/security/gnupg

 PERL_CONFIGURE=        yes
@@ -35,6 +35,7 @@

 OPTIONS=       AS_ROOT "Run spamd as root (recommended)" on \
                DOMAINKEYS "DomainKeys support" off \
+               DKIM "DomainKeys Identified Mail" off \
                SSL "Build with SSL support for spamd/spamc" on \
                MYSQL "Add MySQL support" off \
                PGSQL "Add PostreSQL support" off \
@@ -72,7 +73,11 @@
 RUN_DEPENDS+=  razor-agents>=2.81:${PORTSDIR}/mail/razor-agents

-.if defined(WITH_DOMAINKEYS)
+.if defined(WITH_DKIM)
+.if defined(WITH_DOMAINKEYS) || defined(WITH_DKIM)

@@ -179,7 +184,10 @@
 .if defined(WITH_RAZOR)
        ${REINPLACE_CMD} -e '/Razor2/s/^#loadplugin/loadplugin/' 
-.if defined(WITH_DOMAINKEYS)
+.if defined(WITH_DKIM)
+       ${REINPLACE_CMD} -e '/DKIM/s/^#loadplugin/loadplugin/' 
+.if defined(WITH_DOMAINKEYS) || defined(WITH_DKIM)
        ${REINPLACE_CMD} -e '/DomainKeys/s/^#loadplugin/loadplugin/' 
 .if defined(WITH_RELAY_COUNTRY)--Esf24QKX6FpUeGHFd6EXC7ZhLchEHykzFqGqRwbDoX7KtS3I
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       Thu Dec 21 21:51:12 2006
+++ Makefile    Mon Dec 25 09:16:08 2006
@@ -7,7 +7,7 @@
How-To-Repeat: NA
Comment 1 Erwin Lansing freebsd_committer 2006-12-25 15:16:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maitnainers.
Comment 2 dfilter freebsd_committer 2006-12-25 16:52:11 UTC
erwin       2006-12-25 16:52:05 UTC

  FreeBSD ports repository

  Modified files:
    mail/p5-Mail-SpamAssassin Makefile 
  Add support for DKIM in addition to DomainKeys.
  PR:             107191
  Submitted by:   Michael Scheidell <scheidell@secnap.net>
  Revision  Changes    Path
  1.103     +6 -1      ports/mail/p5-Mail-SpamAssassin/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Erwin Lansing freebsd_committer 2006-12-25 16:52:21 UTC
State Changed
From-To: open->closed

I committed the DKIM part, thanks! 

gnupg1 is not a typo, there are two ports, security/gnupg 
and security/gnupg1.  Are you sure it works with the newer 
version of GnuPG to use that instead of gnupg1?