Hi,

Small diff to update GnuPG to it's latest update (2.2.3).
Tested on @amd64.

Comments, ok ?

Regards,
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/gnupg2/Makefile,v
retrieving revision 1.54
diff -u -p -u -p -r1.54 Makefile
--- Makefile	9 Nov 2017 11:20:51 -0000	1.54
+++ Makefile	28 Nov 2017 15:39:12 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =	GNU privacy guard - a free PGP replacement
 
-DISTNAME =	gnupg-2.2.1
+DISTNAME =	gnupg-2.2.3
 CATEGORIES = 	security
 
 MASTER_SITES =	${MASTER_SITE_GNUPG:=gnupg/}
@@ -15,7 +15,7 @@ MAINTAINER = 	Pierre-Emmanuel Andre <pea
 PERMIT_PACKAGE_CDROM = 	Yes
 
 WANTLIB += assuan bz2 c gcrypt gnutls gpg-error iconv intl ksba
-WANTLIB += npth pthread readline sqlite3 termcap usb-1.0 z
+WANTLIB += npth pthread readline sqlite3 usb-1.0 z curses
 
 EXTRACT_SUFX = 		.tar.bz2
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/gnupg2/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo	9 Nov 2017 11:20:51 -0000	1.24
+++ distinfo	28 Nov 2017 15:39:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (gnupg-2.2.1.tar.bz2) = NNcM1luclfPy+QqfXB4Lag/gOajWheLWbWnDPRy/Yvs=
-SIZE (gnupg-2.2.1.tar.bz2) = 6537959
+SHA256 (gnupg-2.2.3.tar.bz2) = y9NxBdE596p0+StvZdE2ZYaCCUsOMIZmuCCuS5hAhLQ=
+SIZE (gnupg-2.2.3.tar.bz2) = 6547069
Index: patches/patch-agent_protect_c
===================================================================
RCS file: patches/patch-agent_protect_c
diff -N patches/patch-agent_protect_c
--- patches/patch-agent_protect_c	9 Nov 2017 11:20:52 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,33 +0,0 @@
-$OpenBSD: patch-agent_protect_c,v 1.1 2017/11/09 11:20:52 edd Exp $
-
-Fix gpg-agent hanging on virtual machines.
-
-From upstram:
-https://dev.gnupg.org/T3472
-https://dev.gnupg.org/D450
-
-
-Index: agent/protect.c
---- agent/protect.c.orig
-+++ agent/protect.c
-@@ -23,6 +23,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <time.h>
- #include <ctype.h>
- #include <assert.h>
- #include <unistd.h>
-@@ -104,6 +105,12 @@ calibrate_get_time (struct calibrate_time_s *data)
-                    &data->creation_time, &data->exit_time,
-                    &data->kernel_time, &data->user_time);
- # endif
-+#elif defined (CLOCK_THREAD_CPUTIME_ID)
-+  struct timespec tmp;
-+
-+  clock_gettime (CLOCK_THREAD_CPUTIME_ID, &tmp);
-+  data->ticks = (clock_t)(((unsigned long long)tmp.tv_sec * 1000000000 +
-+                           tmp.tv_nsec) * CLOCKS_PER_SEC / 1000000000);
- #else
-   struct tms tmp;
- 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/gnupg2/pkg/PLIST,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 PLIST
--- pkg/PLIST	8 Aug 2017 15:55:14 -0000	1.18
+++ pkg/PLIST	28 Nov 2017 15:39:12 -0000
@@ -32,6 +32,7 @@
 @man man/man1/gpgconf.1
 @man man/man1/gpgparsemail.1
 @man man/man1/gpgsm.1
+@man man/man1/gpgtar.1
 @man man/man1/gpgv2.1
 @man man/man1/scdaemon.1
 @man man/man1/symcryptrun.1

Reply via email to