From dougb@FreeBSD.org  Thu Aug  4 21:20:42 2011
Return-Path: <dougb@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B6141106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Aug 2011 21:20:42 +0000 (UTC)
	(envelope-from dougb@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 9B7FC8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Aug 2011 21:20:42 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p74LKgUi087546
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 4 Aug 2011 21:20:42 GMT
	(envelope-from dougb@freefall.freebsd.org)
Received: (from dougb@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p74LKguf087545;
	Thu, 4 Aug 2011 21:20:42 GMT
	(envelope-from dougb)
Message-Id: <201108042120.p74LKguf087545@freefall.freebsd.org>
Date: Thu, 4 Aug 2011 21:20:42 GMT
From: Doug Barton <dougb@freebsd.org>
Reply-To: Doug Barton <dougb@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Upgrade security/gnupg to 2.0.18, minor port improvements
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         159520
>Category:       ports
>Synopsis:       Upgrade security/gnupg to 2.0.18, minor port improvements
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kuriyama
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 04 21:30:06 UTC 2011
>Closed-Date:    Fri Aug 05 00:35:52 UTC 2011
>Last-Modified:  Fri Aug  5 00:40:10 UTC 2011
>Originator:     Doug Barton
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
AAAG
>Environment:
	DNA
>Description:
	Upgrade to version 2.0.18 which has the following new features:
	 * Support the SSH confirm flag and show SSH fingerprints in ssh
	   related pinentries.
	 * Improved dirmngr/gpgsm interaction for OCSP.
	 * Allow generation of card keys up to 4096 bit.

	For the port:
	 * Remove patch that was incorporated into this release
	 * Remove redundant BUILD_DEPENDS
	 * Patching should be done in a -patch target. Silence the REINPLACE

>How-To-Repeat:
	DNA
>Fix:
	Apply the following patch:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/gnupg/Makefile,v
retrieving revision 1.140
diff -u -r1.140 Makefile
--- Makefile	14 Jul 2011 08:18:59 -0000	1.140
+++ Makefile	4 Aug 2011 21:04:01 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	gnupg
-PORTVERSION=	2.0.17
-PORTREVISION=	3
+PORTVERSION=	2.0.18
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_GNUPG}
 MASTER_SITE_SUBDIR=	gnupg
@@ -17,7 +16,6 @@
 MAINTAINER=	kuriyama@FreeBSD.org
 COMMENT=	The GNU Privacy Guard
 
-BUILD_DEPENDS=	libksba>=1.2.0:${PORTSDIR}/security/libksba
 LIB_DEPENDS=	assuan.0:${PORTSDIR}/security/libassuan \
 		gcrypt.18:${PORTSDIR}/security/libgcrypt \
 		gpg-error:${PORTSDIR}/security/libgpg-error \
@@ -115,10 +113,10 @@
 verify:	checksum
 	gpg2 --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
 
-pre-configure:
-	${REINPLACE_CMD} -e "s@-lpthread@${PTHREAD_LIBS}@g" ${CONFIGURE_SUB} \
+post-patch:
+	@${REINPLACE_CMD} -e "s@-lpthread@${PTHREAD_LIBS}@g" ${CONFIGURE_SUB} \
 		${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure
-	${REINPLACE_CMD} -e "/#include <utmp.h>/d" \
+	@${REINPLACE_CMD} -e "/#include <utmp.h>/d" \
 		${WRKSRC}/tools/symcryptrun.c
 
 post-install:
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/security/gnupg/distinfo,v
retrieving revision 1.53
diff -u -r1.53 distinfo
--- distinfo	8 Feb 2011 03:40:15 -0000	1.53
+++ distinfo	4 Aug 2011 21:04:01 -0000
@@ -1,4 +1,4 @@
-SHA256 (gnupg-2.0.17.tar.bz2) = ea649d5ecb2f97cc8d81c5796c6ad8d7d8581f9554241c39d2b11ab12139eea6
-SIZE (gnupg-2.0.17.tar.bz2) = 3997356
-SHA256 (gnupg-2.0.17.tar.bz2.sig) = 27918acebd48f93e3042c3b6f6396182bee2c9a5f0448d2063ce73986bb748ff
-SIZE (gnupg-2.0.17.tar.bz2.sig) = 287
+SHA256 (gnupg-2.0.18.tar.bz2) = 48aedd762ca443fb952a9e859efe3c66706d7c2c9c77c32dbdbac4fe962dae5b
+SIZE (gnupg-2.0.18.tar.bz2) = 4016606
+SHA256 (gnupg-2.0.18.tar.bz2.sig) = 9238f90e17589a421e6ba5c5d7bd9f68fbd1f1553198a3448fbdc887a38b975d
+SIZE (gnupg-2.0.18.tar.bz2.sig) = 287
Index: files/patch-g10__pkglue.c
===================================================================
RCS file: files/patch-g10__pkglue.c
diff -N files/patch-g10__pkglue.c
--- files/patch-g10__pkglue.c	14 Jul 2011 08:19:00 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
---- g10/pkglue.c.orig	2011-01-09 14:06:16.000000000 -0800
-+++ g10/pkglue.c	2011-07-12 21:32:41.000000000 -0700
-@@ -34,10 +34,10 @@
- {
-   gcry_sexp_t list;
-   gcry_mpi_t data;
--  
-+
-   list = gcry_sexp_find_token (sexp, item, 0);
-   assert (list);
--  data = gcry_sexp_nth_mpi (list, 1, 0);
-+  data = gcry_sexp_nth_mpi (list, 1, GCRYMPI_FMT_USG);
-   assert (data);
-   gcry_sexp_release (list);
-   return data;
-@@ -293,7 +293,7 @@
-   if (rc)
-     return rc;
- 
--  *result = gcry_sexp_nth_mpi (s_plain, 0, 0);
-+  *result = gcry_sexp_nth_mpi (s_plain, 0, GCRYMPI_FMT_USG);
-   gcry_sexp_release (s_plain);
-   if (!*result)
-     return -1;			/* oops */

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kuriyama 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Aug 4 21:30:26 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159520 
State-Changed-From-To: open->closed 
State-Changed-By: kuriyama 
State-Changed-When: Fri Aug 5 00:35:39 UTC 2011 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159520: commit references a PR
Date: Fri,  5 Aug 2011 00:35:40 +0000 (UTC)

 kuriyama    2011-08-05 00:35:25 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/gnupg       Makefile distinfo 
   Removed files:
     security/gnupg/files patch-g10__pkglue.c 
   Log:
   - Upgrade to 2.0.18:
     - Support the SSH confirm flag and show SSH fingerprints in ssh
       related pinentries.
     - Improved dirmngr/gpgsm interaction for OCSP.
     - Allow generation of card keys up to 4096 bit.
   
   - Improve for port:
     - Remove patch that was incorporated into this release.
     - Remove redundant BUILD_DEPENDS.
     - Patching should be done in a -patch target. Silence the REINPLACE.
   
   Submitted by:   dougb
   PR:             ports/159520
   
   Revision  Changes    Path
   1.141     +4 -6      ports/security/gnupg/Makefile
   1.54      +4 -4      ports/security/gnupg/distinfo
   1.2       +0 -24     ports/security/gnupg/files/patch-g10__pkglue.c (dead)
 _______________________________________________
 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:
