summaryrefslogtreecommitdiff
path: root/security/libgcrypt
diff options
context:
space:
mode:
authorwiz <wiz>2014-08-21 19:55:26 +0000
committerwiz <wiz>2014-08-21 19:55:26 +0000
commit42f7905bff1666f0d0ecf9404ea17916aa95eabc (patch)
tree92ec07b912ce84d854676e460cd1356f895e4289 /security/libgcrypt
parentee0d2e885f1a32349e910da71f0ab979540d699a (diff)
downloadpkgsrc-42f7905bff1666f0d0ecf9404ea17916aa95eabc.tar.gz
Add comments and upstream bug report URLs to patches.
Diffstat (limited to 'security/libgcrypt')
-rw-r--r--security/libgcrypt/distinfo8
-rw-r--r--security/libgcrypt/patches/patch-ab11
-rw-r--r--security/libgcrypt/patches/patch-ad15
-rw-r--r--security/libgcrypt/patches/patch-src_visibility.h6
4 files changed, 33 insertions, 7 deletions
diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo
index c0afbd1f9fa..48d205c8270 100644
--- a/security/libgcrypt/distinfo
+++ b/security/libgcrypt/distinfo
@@ -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
diff --git a/security/libgcrypt/patches/patch-ab b/security/libgcrypt/patches/patch-ab
index aa8042d4679..757d3c8597c 100644
--- a/security/libgcrypt/patches/patch-ab
+++ b/security/libgcrypt/patches/patch-ab
@@ -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
diff --git a/security/libgcrypt/patches/patch-ad b/security/libgcrypt/patches/patch-ad
index 6e5f53ea717..6040ca9a53d 100644
--- a/security/libgcrypt/patches/patch-ad
+++ b/security/libgcrypt/patches/patch-ad
@@ -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
diff --git a/security/libgcrypt/patches/patch-src_visibility.h b/security/libgcrypt/patches/patch-src_visibility.h
index 8f55bea3ebe..5e3a4de4bcc 100644
--- a/security/libgcrypt/patches/patch-src_visibility.h
+++ b/security/libgcrypt/patches/patch-src_visibility.h
@@ -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