summaryrefslogtreecommitdiff
path: root/security/gpgme
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-11-07 13:11:30 +0000
committerjmmv <jmmv@pkgsrc.org>2004-11-07 13:11:30 +0000
commit26e9ccdf5c288e5866f999fcaba48059d44c4127 (patch)
treeaadc179892840e3c75488590f4e0bb7349c8480e /security/gpgme
parentf3f0b4be43c2acdc4987260d85bdd37a51c31435 (diff)
downloadpkgsrc-26e9ccdf5c288e5866f999fcaba48059d44c4127.tar.gz
Now that librfuncs' getenv_r returns ENOENT when the variable is not defined
in the environment, we can handle this case properly from here. I.e., treat ENOENT as if no error happened, and return NULL in the 'value' parameter (as the function documentation says). Finally fixes PR pkg/27884. Bump PKGREVISION to 2.
Diffstat (limited to 'security/gpgme')
-rw-r--r--security/gpgme/Makefile4
-rw-r--r--security/gpgme/distinfo4
-rw-r--r--security/gpgme/patches/patch-af6
3 files changed, 7 insertions, 7 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 9c4b7c2e023..c2d49fb0916 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2004/11/06 22:57:58 jmmv Exp $
+# $NetBSD: Makefile,v 1.29 2004/11/07 13:11:30 jmmv Exp $
#
DISTNAME= gpgme-1.0.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/ \
ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/
diff --git a/security/gpgme/distinfo b/security/gpgme/distinfo
index 9ad0236a0bf..a7263731e31 100644
--- a/security/gpgme/distinfo
+++ b/security/gpgme/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2004/11/06 17:40:15 jmmv Exp $
+$NetBSD: distinfo,v 1.15 2004/11/07 13:11:30 jmmv Exp $
SHA1 (gpgme-1.0.1.tar.gz) = d35fa8fc20783ea853d9e4d01fed7e1a9d3160f6
Size (gpgme-1.0.1.tar.gz) = 815046 bytes
@@ -6,7 +6,7 @@ SHA1 (patch-aa) = 27f98c23d89a0a030398e1e5cfefff84b23d2658
SHA1 (patch-ab) = c47b732622deaa2eb3269d7ae753ab553c4fa54e
SHA1 (patch-ac) = c702392423c1ed48cca43f8e35a2c510a8d68460
SHA1 (patch-ae) = 88d215ad657730349ffa19462799b64238a30426
-SHA1 (patch-af) = f8d035b0e2d9a245377aec33a8576e5a432d76b7
+SHA1 (patch-af) = 3dd6be4b85b48ad628374516dcaceef355bf7bf4
SHA1 (patch-ag) = b499aba9894e24470b7ebb60643a3db5d36b7fd5
SHA1 (patch-ah) = 852e362f143c754149e0600a7b7f3a47a569f41e
SHA1 (patch-ai) = 5b7958ef6ed51936e948451e03dd835c1b90414c
diff --git a/security/gpgme/patches/patch-af b/security/gpgme/patches/patch-af
index d85f49299c7..35e541f3daf 100644
--- a/security/gpgme/patches/patch-af
+++ b/security/gpgme/patches/patch-af
@@ -1,6 +1,6 @@
-$NetBSD: patch-af,v 1.2 2004/11/04 20:41:21 shannonjr Exp $
+$NetBSD: patch-af,v 1.3 2004/11/07 13:11:30 jmmv Exp $
---- gpgme/get-env.c.orig 2003-09-13 11:45:04.000000000 -0600
+--- gpgme/get-env.c.orig 2003-09-13 19:45:04.000000000 +0200
+++ gpgme/get-env.c
@@ -21,6 +21,9 @@
#include <config.h>
@@ -34,7 +34,7 @@ $NetBSD: patch-af,v 1.2 2004/11/04 20:41:21 shannonjr Exp $
+ if (!*value)
+ err = ENOMEM;
+ }
-+ if (err)
++ if (err != ENOENT)
+ return gpg_error_from_errno (err);
+ else
+ return (0);