ports/109434: Spamassassin Makefile needs gpg1. Patch makes it work with gpg2 also.

Michele Possamai possamai at xs4all.nl
Thu Feb 22 15:00:47 UTC 2007


>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 at xs4all.nl>
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
Michele Possamai <possamai at xs4all.nl>
>Environment:
System: FreeBSD zaadje.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Jan 15 20:08:16 CET 2007 root at 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:



More information about the freebsd-ports-bugs mailing list