Re: [Update] GnuPG 2.2.3

2017-12-12 Thread Jeremie Courreges-Anglas
On Tue, Nov 28 2017, Pierre-Emmanuel André  wrote:
> Hi,
>
> Small diff to update GnuPG to it's latest update (2.2.3).
> Tested on @amd64.
>
> Comments, ok ?

Duh, I thought this one was already in.  Works fine on amd64 and armv7,
ok jca@

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



[Update] GnuPG 2.2.3

2017-11-28 Thread Pierre-Emmanuel André
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 -	1.54
+++ Makefile	28 Nov 2017 15:39:12 -
@@ -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 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 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
-@@ -104,6 +105,12 @@ calibrate_get_time (struct calibrate_time_s *data)
->creation_time, >exit_time,
->kernel_time, >user_time);
- # endif
-+#elif defined (CLOCK_THREAD_CPUTIME_ID)
-+  struct timespec tmp;
-+
-+  clock_gettime (CLOCK_THREAD_CPUTIME_ID, );
-+  data->ticks = (clock_t)(((unsigned long long)tmp.tv_sec * 10 +
-+   tmp.tv_nsec) * CLOCKS_PER_SEC / 10);
- #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 -	1.18
+++ pkg/PLIST	28 Nov 2017 15:39:12 -
@@ -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