summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/gnupg-devel/Makefile6
-rw-r--r--security/gnupg-devel/distinfo7
-rw-r--r--security/gnupg-devel/patches/patch-ab20
3 files changed, 27 insertions, 6 deletions
diff --git a/security/gnupg-devel/Makefile b/security/gnupg-devel/Makefile
index 4639ac9a8be..ac12915002d 100644
--- a/security/gnupg-devel/Makefile
+++ b/security/gnupg-devel/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2004/11/05 22:20:17 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/23 11:10:35 shannonjr Exp $
#
-DISTNAME= gnupg-1.9.11
+DISTNAME= gnupg-1.9.12
PKGNAME= ${DISTNAME:S/gnupg/gnupg-devel/}
-PKGREVISION= 1
+#PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
diff --git a/security/gnupg-devel/distinfo b/security/gnupg-devel/distinfo
index 4af7495ff81..5b9edf0cae3 100644
--- a/security/gnupg-devel/distinfo
+++ b/security/gnupg-devel/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2004/10/23 14:46:16 shannonjr Exp $
+$NetBSD: distinfo,v 1.2 2004/11/23 11:10:35 shannonjr Exp $
-SHA1 (gnupg-1.9.11.tar.gz) = 8b0421f7f2774c48c4652875e5bab42644e97f27
-Size (gnupg-1.9.11.tar.gz) = 1442284 bytes
+SHA1 (gnupg-1.9.12.tar.gz) = f5b88b20d72070433cbfeef37f5b84970c1dd74f
+Size (gnupg-1.9.12.tar.gz) = 1447998 bytes
SHA1 (patch-aa) = 0be8895faf55e862420cc9400736e0cd7b569193
+SHA1 (patch-ab) = da06118c018acc5b0700141aaec2016faa470eac
diff --git a/security/gnupg-devel/patches/patch-ab b/security/gnupg-devel/patches/patch-ab
new file mode 100644
index 00000000000..bad14ee4cc1
--- /dev/null
+++ b/security/gnupg-devel/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2004/11/23 11:10:35 shannonjr Exp $
+
+--- jnlib/logging.c.orig 2004-10-21 13:00:25.000000000 -0600
++++ jnlib/logging.c
+@@ -411,9 +411,12 @@ log_get_prefix (unsigned int *flags)
+ int
+ log_test_fd (int fd)
+ {
+- int tmp = fileno (logstream);
+- if ( tmp != -1 && tmp == fd)
+- return 1;
++ if (logstream != NULL)
++ {
++ int tmp = fileno (logstream);
++ if ( tmp != -1 && tmp == fd)
++ return 1;
++ }
+ if (log_socket != -1 && log_socket == fd)
+ return 1;
+ return 0;