Bug 177359

Summary: mail/p5-Mail-SpamAssassin depends on gnupg2
Product: Ports & Packages Reporter: Doug Barton <dougb>
Component: Individual Port(s)Assignee: Beech Rintoul <beech>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Doug Barton freebsd_committer freebsd_triage 2013-03-24 22:40:00 UTC
The port has this dependency:

.if !defined(WITHOUT_GNUPG)
RUN_DEPENDS+=   gnupg>=1.4.7:${PORTSDIR}/security/gnupg
.endif

It seems that what is intended is to add a 1 to the end of that line, since the gnupg 2.x port is not really intended for use on servers. Doing so fixed it for me.

If it really is intended to allow the user to select gnupg2 (perhaps for a desktop install) then a method similar that used in mail/pine-pgp-filters could be employed.

Fix: 

Change to:

RUN_DEPENDS+=   gnupg>=1.4.7:${PORTSDIR}/security/gnupg1
How-To-Repeat: Build port without gnupg installed
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-24 22:40:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-24 23:58:58 UTC
Author: beech
Date: Sun Mar 24 23:58:50 2013
New Revision: 315186
URL: http://svnweb.freebsd.org/changeset/ports/315186

Log:
  - Fix depend gnupg1
  
  PR:		ports/177359
  Submitted by:	Doug Barton <dougb@FreeBSD.org>

Modified:
  head/mail/p5-Mail-SpamAssassin/Makefile

Modified: head/mail/p5-Mail-SpamAssassin/Makefile
==============================================================================
--- head/mail/p5-Mail-SpamAssassin/Makefile	Sun Mar 24 23:55:12 2013	(r315185)
+++ head/mail/p5-Mail-SpamAssassin/Makefile	Sun Mar 24 23:58:50 2013	(r315186)
@@ -87,7 +87,7 @@ PLIST_SUB+=	SSL="@comment "
 .endif
 
 .if !defined(WITHOUT_GNUPG)
-RUN_DEPENDS+=	gnupg>=1.4.7:${PORTSDIR}/security/gnupg
+RUN_DEPENDS+=	gnupg>=1.4.7:${PORTSDIR}/security/gnupg1
 .endif
 
 .if defined(WITH_MYSQL)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2013-03-24 23:59:22 UTC
State Changed
From-To: open->closed

Committed, Thanks!