Thu Aug 21 19:55:26 2014 UTC ()
Add comments and upstream bug report URLs to patches.


(wiz)
diff -r1.50 -r1.51 pkgsrc/security/libgcrypt/distinfo
diff -r1.4 -r1.5 pkgsrc/security/libgcrypt/patches/patch-ab
diff -r1.2 -r1.3 pkgsrc/security/libgcrypt/patches/patch-ad
diff -r1.1 -r1.2 pkgsrc/security/libgcrypt/patches/patch-src_visibility.h

cvs diff -r1.50 -r1.51 pkgsrc/security/libgcrypt/distinfo (expand / switch to context diff)
--- pkgsrc/security/libgcrypt/distinfo 2014/08/21 19:41:38 1.50
+++ pkgsrc/security/libgcrypt/distinfo 2014/08/21 19:55:26 1.51
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.50 2014/08/21 19:41:38 wiz Exp $
+$NetBSD: distinfo,v 1.51 2014/08/21 19:55:26 wiz Exp $
 
 SHA1 (libgcrypt-1.6.2.tar.bz2) = cc31aca87e4a3769cb86884a3f5982b2cc8eb7ec
 RMD160 (libgcrypt-1.6.2.tar.bz2) = 807df33a98468015293846fd589a213dad38be19
 Size (libgcrypt-1.6.2.tar.bz2) = 2476101 bytes
 SHA1 (patch-aa) = 3dd44b8745128a6788d24f9eb00002624a5fc52b
-SHA1 (patch-ab) = 6fac21daa26b7de3b13839d076f78a74400efce7
-SHA1 (patch-ad) = 19345b7d164521d526a44eb3f1a465ff09d8266c
+SHA1 (patch-ab) = 1a72ac897fbccbd58f0108b36a9ab2a6ee579b59
+SHA1 (patch-ad) = e74c9471e26029aeafca23d385ee0162ffc1864b
 SHA1 (patch-configure) = c4e10bdb7e00a44d507f5b964f3e71a63828cd0a
-SHA1 (patch-src_visibility.h) = 9b97ee91e8ea4e806ff8da3154a5982c6147d93a
+SHA1 (patch-src_visibility.h) = 8cbbf6803ab34b4b7dda832aa8ee18247aa89518

cvs diff -r1.4 -r1.5 pkgsrc/security/libgcrypt/patches/Attic/patch-ab (expand / switch to context diff)
--- pkgsrc/security/libgcrypt/patches/Attic/patch-ab 2011/11/29 01:33:37 1.4
+++ pkgsrc/security/libgcrypt/patches/Attic/patch-ab 2014/08/21 19:55:26 1.5
@@ -1,4 +1,13 @@
-$NetBSD: patch-ab,v 1.4 2011/11/29 01:33:37 cheusov Exp $
+$NetBSD: patch-ab,v 1.5 2014/08/21 19:55:26 wiz Exp $
+
+When exec'ing child processes (netstat and vmstat), make sure the standard
+file descriptors (0, 1, 2) are open.  This avoids multiple warnings issued
+under NetBSD about running set[ug]id programs with those descriptors closed.
+
+Fixes PR pkg/26079; although it talks about gaim, the problem is here, in
+libgcrypt.
+
+https://bugs.g10code.com/gnupg/issue1702
 
 --- random/rndunix.c.orig	2011-02-04 19:16:03.000000000 +0000
 +++ random/rndunix.c

cvs diff -r1.2 -r1.3 pkgsrc/security/libgcrypt/patches/Attic/patch-ad (expand / switch to context diff)
--- pkgsrc/security/libgcrypt/patches/Attic/patch-ad 2011/07/13 21:21:52 1.2
+++ pkgsrc/security/libgcrypt/patches/Attic/patch-ad 2014/08/21 19:55:26 1.3
@@ -1,4 +1,17 @@
-$NetBSD: patch-ad,v 1.2 2011/07/13 21:21:52 adam Exp $
+$NetBSD: patch-ad,v 1.3 2014/08/21 19:55:26 wiz Exp $
+
+Fix for compiling on Solaris SPARC with gcc.
+
+If __sparcv8 is defined, use the SPARC v8 version of udiv_qrnnd.  Without
+this change, udiv_qrnnd will not be defined using the SPARC v8 udiv
+instruction, and the default SPARC v7 case of defining it to be the native
+__gmpn_udiv_qrnnd will be used, but this does not exist on SPARC v8, so
+at link time, the user will get an error about _gmpn_udiv_qrnnd being
+undefined.  gcc defines __sparcv8.
+
+From PR pkg/26815.
+
+https://bugs.g10code.com/gnupg/issue1703
 
 --- mpi/longlong.h.orig	2004-03-03 08:21:49.000000000 +0000
 +++ mpi/longlong.h

cvs diff -r1.1 -r1.2 pkgsrc/security/libgcrypt/patches/patch-src_visibility.h (expand / switch to context diff)
--- pkgsrc/security/libgcrypt/patches/patch-src_visibility.h 2014/07/18 10:36:28 1.1
+++ pkgsrc/security/libgcrypt/patches/patch-src_visibility.h 2014/08/21 19:55:26 1.2
@@ -1,4 +1,8 @@
-$NetBSD: patch-src_visibility.h,v 1.1 2014/07/18 10:36:28 ryoon Exp $
+$NetBSD: patch-src_visibility.h,v 1.2 2014/08/21 19:55:26 wiz Exp $
+
+GCC on SCO OpenServer 5.0.7/3.2 does not support visibility.
+
+https://bugs.g10code.com/gnupg/issue1704
 
 --- src/visibility.h.orig	2014-01-29 09:48:38.000000000 +0000
 +++ src/visibility.h