From bsdkaffee@gmail.com  Wed Oct 28 19:10:28 2009
Return-Path: <bsdkaffee@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0DA8C1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Oct 2009 19:10:16 +0000 (UTC)
	(envelope-from bsdkaffee@gmail.com)
Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218])
	by mx1.freebsd.org (Postfix) with ESMTP id 948CF8FC1A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Oct 2009 19:10:15 +0000 (UTC)
Received: by mail-ew0-f218.google.com with SMTP id 18so1040269ewy.43
        for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Oct 2009 12:10:15 -0700 (PDT)
Received: by 10.216.85.14 with SMTP id t14mr862802wee.222.1256757014305;
        Wed, 28 Oct 2009 12:10:14 -0700 (PDT)
Received: from mocha.verizon.net (c-24-3-41-151.hsd1.oh.comcast.net [24.3.41.151])
        by mx.google.com with ESMTPS id g11sm4422037gve.20.2009.10.28.12.10.13
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 28 Oct 2009 12:10:13 -0700 (PDT)
Message-Id: <4ae89715.0b9e100a.3c60.ffff8960@mx.google.com>
Date: Wed, 28 Oct 2009 12:10:13 -0700 (PDT)
From: Jason E. Hale <bsdkaffee@gmail.com>
Reply-To: Jason E. Hale <bsdkaffee@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] security/gpa: Mark IGNORE if gpgsm is not found
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         140059
>Category:       ports
>Synopsis:       [MAINTAINER] security/gpa: Mark IGNORE if gpgsm is not found
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 28 19:20:01 UTC 2009
>Closed-Date:    Thu Dec 03 15:58:37 UTC 2009
>Last-Modified:  Thu Dec  3 16:00:11 UTC 2009
>Originator:     Jason E. Hale
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
none 
>Environment:
System: FreeBSD mocha.verizon.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon May 4 04:03:46 EDT 2009 root@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA7 i386
	
>Description:
- security/gpa requires gpgsm which is only installed if the GPGSM option is
enabled in security/gnupg
- check for gpgsm and mark IGNORE if not found (see Fix for details)
	
>How-To-Repeat:
Use attached diff.
	
>Fix:
- Check if ${LOCALBASE}/bin/gpgsm exists.  If it does not, set IGNORE with
instructions to install security/gnupg with the GPGSM option enabled.
- Consequently, security/gpgme will need rebuilt as well.
- If this is a fresh install, the IGNORE message will prevent the port from
being built until security/gnupg is installed with GPGSM support.  This is
just as well since the GPGSM option is non-default.  Unfortunately, this will
prevent default packages from being built.
	

--- 2009-10-14-gpa.diff begins here ---
diff -ruN gpa.orig/Makefile gpa/Makefile
--- gpa.orig/Makefile	2009-10-14 19:07:03.000000000 -0400
+++ gpa/Makefile	2009-10-14 21:15:01.000000000 -0400
@@ -30,6 +30,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if !exists(${LOCALBASE}/bin/gpgsm)
+IGNORE=		requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON, then rebuild security/gpgme if installed
+.endif
+
 .if defined(WITHOUT_NLS)
 CONFIGURE_ARGS+=--disable-nls
 PLIST_SUB+=	NLS="@comment "
--- 2009-10-14-gpa.diff ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Wed Dec 2 21:32:22 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140059 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Thu Dec 3 15:58:36 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140059 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/140059: commit references a PR
Date: Thu,  3 Dec 2009 15:55:52 +0000 (UTC)

 amdmi3      2009-12-03 15:55:33 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/gpa         Makefile 
   Log:
   - Mark IGNORE if gpgsm is not installed
   
   PR:             140059
   Submitted by:   Jason E. Hale <bsdkaffee@gmail.com>
   
   Revision  Changes    Path
   1.35      +4 -0      ports/security/gpa/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
