Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2007 15:16:32 +0100 (CET)
From:      Michele Possamai <possamai@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Michael Scheidell <scheidell@secnap.net>
Subject:   ports/109434: Spamassassin Makefile needs gpg1. Patch makes it work with gpg2 also.
Message-ID:  <200702221416.l1MEGW9U051847@zaadje.nl>
Resent-Message-ID: <200702221500.l1MF0jYB004565@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109434
>Category:       ports
>Synopsis:       Spamassassin Makefile needs gpg1. Patch makes it work with gpg2 also.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 22 15:00:43 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Michele Possamai <possamai@xs4all.nl>
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
Michele Possamai <possamai@xs4all.nl>
>Environment:
System: FreeBSD zaadje.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Jan 15 20:08:16 CET 2007 root@zaadje.nl:/usr/obj/usr/src/sys/GENERIC i386


>Description:
/usr/ports/mail/p5-Mail-SpamAssassin checks for an executable gpgv.
If it does not exist it installs gnupg1. If you have gnupg2 installed, then the gpgv does not exist.
It is called gpgv2 then. SpamAssassin doesn't even use gpgv but just uses gpg which doesn't change it's name in gnupg2.
The patch changes the Makefile to check for gpg instead of gpgv.

>How-To-Repeat:
install gnupg2, then install spamassassin with gnupg support...

>Fix:

--- spamass.diff begins here ---
--- /usr/ports/mail/p5-Mail-SpamAssassin/Makefile	Thu Feb 22 14:43:55 2007
+++ /usr/ports/mail/p5-Mail-SpamAssassin.new/Makefile	Thu Feb 22 14:45:04 2007
@@ -61,7 +61,7 @@
 .endif
 
 .if !defined(WITHOUT_GNUPG)
-RUN_DEPENDS+=	gpgv:${PORTSDIR}/security/gnupg1
+RUN_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg
 .endif
 
 .if defined(WITH_MYSQL)
--- spamass.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702221416.l1MEGW9U051847>