Update to 1.8: Noteworthy changes in version 1.8 (2010-05-06) ---------------------------------------------- * Support for WindowsCE. * New option --list for gpg-error. * Interface changes relative to the 1.7 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_NOT_ENABLED NEW. GPG_ERR_SOURCE_G13 NEW. GPG_ERR_NO_ENGINE NEW. gpg_err_set_errno NEW.diff -r1.27 -r1.28 pkgsrc/security/libgpg-error/Makefile
(wiz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.27 2010/01/21 23:32:10 heinz Exp $ | 1 | # $NetBSD: Makefile,v 1.28 2010/06/08 10:15:32 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= libgpg-error-1.7 | 3 | DISTNAME= libgpg-error-1.8 | |
4 | CATEGORIES= security | 4 | CATEGORIES= security | |
5 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgpg-error/ \ | 5 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgpg-error/ \ | |
6 | ftp://ftp.ring.gr.jp/pub/net/gnupg/libgpg-error/ \ | 6 | ftp://ftp.ring.gr.jp/pub/net/gnupg/libgpg-error/ \ | |
7 | ftp://mirror.switch.ch/mirror/gnupg/libgpg-error/ \ | 7 | ftp://mirror.switch.ch/mirror/gnupg/libgpg-error/ \ | |
8 | ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/libgpg-error/ \ | 8 | ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/libgpg-error/ \ | |
9 | ftp://ftp.gnupg.ca/libgpg-error/ | 9 | ftp://ftp.gnupg.ca/libgpg-error/ | |
10 | EXTRACT_SUFX= .tar.bz2 | 10 | EXTRACT_SUFX= .tar.bz2 | |
11 | 11 | |||
12 | MAINTAINER= minskim@NetBSD.org | 12 | MAINTAINER= minskim@NetBSD.org | |
13 | HOMEPAGE= http://www.gnupg.org/ | 13 | HOMEPAGE= http://www.gnupg.org/ | |
14 | COMMENT= Definitions of common error values for all GnuPG components | 14 | COMMENT= Definitions of common error values for all GnuPG components | |
15 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 | 15 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 | |
16 | 16 |
@@ -1,16 +1,20 @@ | @@ -1,16 +1,20 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.9 2009/06/14 18:13:31 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.10 2010/06/08 10:15:32 wiz Exp $ | |
2 | bin/gpg-error | 2 | bin/gpg-error | |
3 | bin/gpg-error-config | 3 | bin/gpg-error-config | |
4 | include/gpg-error.h | 4 | include/gpg-error.h | |
5 | lib/libgpg-error.la | 5 | lib/libgpg-error.la | |
6 | share/aclocal/gpg-error.m4 | 6 | share/aclocal/gpg-error.m4 | |
7 | share/common-lisp/source/gpg-error/gpg-error-codes.lisp | 7 | share/common-lisp/source/gpg-error/gpg-error-codes.lisp | |
8 | share/common-lisp/source/gpg-error/gpg-error-package.lisp | 8 | share/common-lisp/source/gpg-error/gpg-error-package.lisp | |
9 | share/common-lisp/source/gpg-error/gpg-error.asd | 9 | share/common-lisp/source/gpg-error/gpg-error.asd | |
10 | share/common-lisp/source/gpg-error/gpg-error.lisp | 10 | share/common-lisp/source/gpg-error/gpg-error.lisp | |
11 | share/locale/cs/LC_MESSAGES/libgpg-error.mo | |||
11 | share/locale/de/LC_MESSAGES/libgpg-error.mo | 12 | share/locale/de/LC_MESSAGES/libgpg-error.mo | |
12 | share/locale/fr/LC_MESSAGES/libgpg-error.mo | 13 | share/locale/fr/LC_MESSAGES/libgpg-error.mo | |
14 | share/locale/it/LC_MESSAGES/libgpg-error.mo | |||
15 | share/locale/nl/LC_MESSAGES/libgpg-error.mo | |||
13 | share/locale/pl/LC_MESSAGES/libgpg-error.mo | 16 | share/locale/pl/LC_MESSAGES/libgpg-error.mo | |
14 | share/locale/ro/LC_MESSAGES/libgpg-error.mo | 17 | share/locale/ro/LC_MESSAGES/libgpg-error.mo | |
15 | share/locale/sv/LC_MESSAGES/libgpg-error.mo | 18 | share/locale/sv/LC_MESSAGES/libgpg-error.mo | |
16 | share/locale/vi/LC_MESSAGES/libgpg-error.mo | 19 | share/locale/vi/LC_MESSAGES/libgpg-error.mo | |
20 | share/locale/zh_CN/LC_MESSAGES/libgpg-error.mo |
@@ -1,11 +1,11 @@ | @@ -1,11 +1,11 @@ | |||
1 | $NetBSD: distinfo,v 1.9 2009/06/09 13:27:33 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.10 2010/06/08 10:15:32 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (libgpg-error-1.7.tar.bz2) = bf8c6babe1e28cae7dd6374ca24ddcc42d57e902 | 3 | SHA1 (libgpg-error-1.8.tar.bz2) = f5cf677a7cd684645feaa9704d09eb5cd6d97e8a | |
4 | RMD160 (libgpg-error-1.7.tar.bz2) = 6f9004baf8e707b5995a276b5a454102405a6afc | 4 | RMD160 (libgpg-error-1.8.tar.bz2) = 65d2c96bced82af76d9a68c416bfb9ea183ab087 | |
5 | Size (libgpg-error-1.7.tar.bz2) = 403751 bytes | 5 | Size (libgpg-error-1.8.tar.bz2) = 435341 bytes | |
6 | SHA1 (patch-aa) = 04f2918c2b61250693a279cd30a94a22fa4cad0a | 6 | SHA1 (patch-aa) = c8641b95f0e2f8637f4e32383c5e5a778fddf5b9 | |
7 | SHA1 (patch-ae) = 0865909ebfc7594bb5854e9ef6f7da3718d034bf | 7 | SHA1 (patch-ae) = 16a63ce241b4f48922dd6711f442ed03c0e85d8a | |
8 | SHA1 (patch-af) = c3ca3a4a4f024db0ca8cae78dafe10cda1135088 | 8 | SHA1 (patch-af) = 30b605f53ef09cd71322e3f928c0ac2d05b4f4ed | |
9 | SHA1 (patch-ag) = 5cc03cb3745d366d348a0a2e495a112728b11a37 | 9 | SHA1 (patch-ag) = 2332740f4f89d8d4775d88d86c3cb3ffea4df24b | |
10 | SHA1 (patch-ah) = 4e648d5f42bd0253e0e6259fcbcca14c2de22491 | 10 | SHA1 (patch-ah) = 4dedd24724d7f2e4d65844456dba3f1c802604a8 | |
11 | SHA1 (patch-ai) = 9db7b50cc98c5a4956a390cb721c51ef5f3e3a4f | 11 | SHA1 (patch-ai) = da067509fb9ce547bad18caf0662770800d8b928 |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-aa,v 1.2 2004/10/15 18:21:56 minskim Exp $ | 1 | $NetBSD: patch-aa,v 1.3 2010/06/08 10:15:32 wiz Exp $ | |
2 | 2 | |||
3 | --- src/gpg-error-config.in.orig 2004-10-07 03:53:03.000000000 -0600 | 3 | --- src/gpg-error-config.in.orig 2010-01-14 09:18:30.000000000 +0000 | |
4 | +++ src/gpg-error-config.in | 4 | +++ src/gpg-error-config.in | |
5 | @@ -63,7 +63,7 @@ while test $# -gt 0; do | 5 | @@ -70,7 +70,7 @@ while test $# -gt 0; do | |
6 | ;; | 6 | ;; | |
7 | --libs) | 7 | --libs) | |
8 | if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then | 8 | if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then | |
9 | - output="$output -L$libdir" | 9 | - output="$output -L$libdir" | |
10 | + output="$output -Wl,-R$libdir -L$libdir" | 10 | + output="$output -Wl,-R$libdir -L$libdir" | |
11 | fi | 11 | fi | |
12 | output="$output -lgpg-error" | 12 | output="$output @GPG_ERROR_CONFIG_LIBS@" | |
13 | ;; | 13 | ;; |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: patch-af,v 1.2 2008/10/14 11:32:11 adam Exp $ | 1 | $NetBSD: patch-af,v 1.3 2010/06/08 10:15:33 wiz Exp $ | |
2 | 2 | |||
3 | --- src/mkerrcodes.awk.orig 2005-09-03 12:12:12.000000000 +0200 | 3 | --- src/mkerrcodes.awk.orig 2008-08-26 12:45:58.000000000 +0000 | |
4 | +++ src/mkerrcodes.awk | 4 | +++ src/mkerrcodes.awk | |
5 | @@ -60,7 +60,7 @@ | 5 | @@ -60,7 +60,7 @@ | |
6 | # as is trailing whitespace. | 6 | # as is trailing whitespace. | |
7 | 7 | |||
8 | BEGIN { | 8 | BEGIN { | |
9 | - FS="[ \t]+GPG_ERR_"; | 9 | - FS="[ \t]+GPG_ERR_"; | |
10 | + #FS="[ \t]+GPG_ERR_"; | 10 | + #FS="[ \t]+GPG_ERR_"; | |
11 | print "/* Output of mkerrcodes.awk. DO NOT EDIT. */"; | 11 | print "/* Output of mkerrcodes.awk. DO NOT EDIT. */"; | |
12 | print ""; | 12 | print ""; | |
13 | header = 1; | 13 | header = 1; | |
14 | @@ -91,7 +91,7 @@ header { | 14 | @@ -91,7 +91,7 @@ header { | |
15 | if (/^$/) | 15 | if (/^$/) | |
16 | next; | 16 | next; |
@@ -1,25 +1,25 @@ | @@ -1,25 +1,25 @@ | |||
1 | $NetBSD: patch-ae,v 1.1 2005/12/29 16:09:42 kim Exp $ | 1 | $NetBSD: patch-ae,v 1.2 2010/06/08 10:15:32 wiz Exp $ | |
2 | 2 | |||
3 | Setting FS in some versions of awk makes it null. The default FS of | 3 | Setting FS in some versions of awk makes it null. The default FS of | |
4 | "whitespace" works fine, so no need to redefine it. | 4 | "whitespace" works fine, so no need to redefine it. | |
5 | 5 | |||
6 | --- src/mkerrcodes1.awk.orig 2004-03-08 18:44:05.000000000 +0200 | 6 | --- src/mkerrcodes1.awk.orig 2009-07-23 13:52:35.000000000 +0000 | |
7 | +++ src/mkerrcodes1.awk 2005-12-24 15:34:33.000000000 +0200 | 7 | +++ src/mkerrcodes1.awk | |
8 | @@ -55,7 +55,7 @@ | 8 | @@ -55,7 +55,7 @@ | |
9 | # as is trailing whitespace. | 9 | # as is trailing whitespace. | |
10 | 10 | |||
11 | BEGIN { | 11 | BEGIN { | |
12 | - FS="[\t]+"; | 12 | - FS="[\t]+"; | |
13 | + #FS="[\t]+"; | 13 | + #FS="[\t]+"; | |
14 | header = 1; | 14 | header = 1; | |
15 | if (errnoidx == 0) | 15 | if (errnoidx == 0) | |
16 | errnoidx = 2; | 16 | errnoidx = 2; | |
17 | @@ -67,7 +67,7 @@ | 17 | @@ -67,7 +67,7 @@ BEGIN { | |
18 | /^#/ { next; } | 18 | /^#/ { next; } | |
19 | 19 | |||
20 | header { | 20 | header { | |
21 | - if ($1 ~ /^[0-9]/) | 21 | - if ($1 ~ /^[0-9]/) | |
22 | + if ($0 ~ /^[0-9]/) | 22 | + if ($0 ~ /^[0-9]/) | |
23 | { | 23 | { | |
24 | print "#include <errno.h>"; | 24 | print "#include <errno.h>"; | |
25 | print ""; | 25 | print "#ifdef _WIN32"; |
@@ -1,25 +1,25 @@ | @@ -1,25 +1,25 @@ | |||
1 | $NetBSD: patch-ag,v 1.1 2005/12/29 16:09:42 kim Exp $ | 1 | $NetBSD: patch-ag,v 1.2 2010/06/08 10:15:33 wiz Exp $ | |
2 | 2 | |||
3 | Setting FS in some versions of awk makes it null. The default FS of | 3 | Setting FS in some versions of awk makes it null. The default FS of | |
4 | "whitespace" works fine, so no need to redefine it. | 4 | "whitespace" works fine, so no need to redefine it. | |
5 | 5 | |||
6 | --- src/mkerrnos.awk.orig 2004-03-08 18:44:05.000000000 +0200 | 6 | --- src/mkerrnos.awk.orig 2009-07-23 13:52:35.000000000 +0000 | |
7 | +++ src/mkerrnos.awk 2005-12-24 15:40:07.000000000 +0200 | 7 | +++ src/mkerrnos.awk | |
8 | @@ -56,7 +56,7 @@ | 8 | @@ -56,7 +56,7 @@ | |
9 | # as is trailing whitespace. | 9 | # as is trailing whitespace. | |
10 | 10 | |||
11 | BEGIN { | 11 | BEGIN { | |
12 | - FS="[\t]+"; | 12 | - FS="[\t]+"; | |
13 | + #FS="[\t]+"; | 13 | + #FS="[\t]+"; | |
14 | header = 1; | 14 | header = 1; | |
15 | if (errnoidx == 0) | 15 | if (errnoidx == 0) | |
16 | errnoidx = 2; | 16 | errnoidx = 2; | |
17 | @@ -68,7 +68,7 @@ | 17 | @@ -68,7 +68,7 @@ BEGIN { | |
18 | /^#/ { next; } | 18 | /^#/ { next; } | |
19 | 19 | |||
20 | header { | 20 | header { | |
21 | - if ($1 ~ /^[0-9]/) | 21 | - if ($1 ~ /^[0-9]/) | |
22 | + if ($0 ~ /^[0-9]/) | 22 | + if ($0 ~ /^[0-9]/) | |
23 | { | 23 | { | |
24 | print "#include <errno.h>"; | 24 | print "#include <errno.h>"; | |
25 | print ""; | 25 | print "#ifdef _WIN32"; |
@@ -1,25 +1,25 @@ | @@ -1,25 +1,25 @@ | |||
1 | $NetBSD: patch-ah,v 1.1 2005/12/29 16:09:42 kim Exp $ | 1 | $NetBSD: patch-ah,v 1.2 2010/06/08 10:15:33 wiz Exp $ | |
2 | 2 | |||
3 | Setting FS in some versions of awk makes it null. The default FS of | 3 | Setting FS in some versions of awk makes it null. The default FS of | |
4 | "whitespace" works fine, so no need to redefine it. | 4 | "whitespace" works fine, so no need to redefine it. | |
5 | 5 | |||
6 | --- src/mkstrtable.awk.orig 2004-03-08 18:44:05.000000000 +0200 | 6 | --- src/mkstrtable.awk.orig 2010-01-21 11:09:02.000000000 +0000 | |
7 | +++ src/mkstrtable.awk 2005-12-24 16:56:12.000000000 +0200 | 7 | +++ src/mkstrtable.awk | |
8 | @@ -81,7 +81,7 @@ | 8 | @@ -81,7 +81,7 @@ | |
9 | # variable and macro name. | 9 | # variable and macro name. | |
10 | 10 | |||
11 | BEGIN { | 11 | BEGIN { | |
12 | - FS = "[\t]+"; | 12 | - FS = "[\t]+"; | |
13 | + #FS = "[\t]+"; | 13 | + #FS = "[\t]+"; | |
14 | # cpos holds the current position in the message string. | 14 | # cpos holds the current position in the message string. | |
15 | cpos = 0; | 15 | cpos = 0; | |
16 | # msg holds the number of messages. | 16 | # msg holds the number of messages. | |
17 | @@ -97,7 +97,7 @@ | 17 | @@ -97,7 +97,7 @@ BEGIN { | |
18 | /^#/ { next; } | 18 | /^#/ { next; } | |
19 | 19 | |||
20 | header { | 20 | header { | |
21 | - if ($1 ~ /^[0123456789]+$/) | 21 | - if ($1 ~ /^[0123456789]+$/) | |
22 | + if ($0 ~ /^[0-9]+/) | 22 | + if ($0 ~ /^[0-9]+/) | |
23 | { | 23 | { | |
24 | print "/* The purpose of this complex string table is to produce"; | 24 | print "/* The purpose of this complex string table is to produce"; | |
25 | print " optimal code with a minimum of relocations. */"; | 25 | print " optimal code with a minimum of relocations. */"; |
@@ -1,70 +1,70 @@ | @@ -1,70 +1,70 @@ | |||
1 | $NetBSD: patch-ai,v 1.1 2005/12/29 16:09:42 kim Exp $ | 1 | $NetBSD: patch-ai,v 1.2 2010/06/08 10:15:33 wiz Exp $ | |
2 | 2 | |||
3 | Setting FS in some versions of awk makes it null. Make this script | 3 | Setting FS in some versions of awk makes it null. Make this script | |
4 | work with the default FS of "whitespace" instead. | 4 | work with the default FS of "whitespace" instead. | |
5 | 5 | |||
6 | --- src/mkheader.awk.orig 2004-03-08 18:44:05.000000000 +0200 | 6 | --- src/mkheader.awk.orig 2010-03-15 10:49:49.000000000 +0000 | |
7 | +++ src/mkheader.awk 2005-12-24 16:51:38.000000000 +0200 | 7 | +++ src/mkheader.awk | |
8 | @@ -51,7 +51,7 @@ | 8 | @@ -51,7 +51,7 @@ | |
9 | # at the full path of the files in @srcdir@. | 9 | # at the full path of the files in @srcdir@. | |
10 | 10 | |||
11 | BEGIN { | 11 | BEGIN { | |
12 | - FS = "[\t]+"; | 12 | - FS = "[\t]+"; | |
13 | + #FS = "[\t]+"; | 13 | + #FS = "[\t]+"; | |
14 | # sources_nr holds the number of error sources. | 14 | # sources_nr holds the number of error sources. | |
15 | sources_nr = 0; | 15 | sources_nr = 0; | |
16 | # codes_nr holds the number of error codes. | 16 | # codes_nr holds the number of error codes. | |
17 | @@ -74,7 +74,7 @@ | 17 | @@ -78,7 +78,7 @@ BEGIN { | |
18 | } | 18 | ||
19 | 19 | |||
20 | sources_header { | 20 | sources_header { | |
21 | - if ($1 ~ /^[0123456789]+$/) | 21 | - if ($1 ~ /^[0123456789]+$/) | |
22 | + if ($0 ~ /^[0-9]+/) | 22 | + if ($0 ~ /^[0-9]+/) | |
23 | { | 23 | { | |
24 | sources_header = 0; | 24 | sources_header = 0; | |
25 | sources_body = 1; | 25 | sources_body = 1; | |
26 | @@ -88,7 +88,7 @@ | 26 | @@ -92,7 +92,7 @@ sources_body { | |
27 | if (/^$/) | 27 | if (/^$/) | |
28 | next; | 28 | next; | |
29 | 29 | |||
30 | - if ($1 == "") | 30 | - if ($1 == "") | |
31 | + if ($0 !~ /^[0-9]+/) | 31 | + if ($0 !~ /^[0-9]+/) | |
32 | { | 32 | { | |
33 | sources_body = 0; | 33 | sources_body = 0; | |
34 | between_sources_and_codes = 1; | 34 | between_sources_and_codes = 1; | |
35 | @@ -103,7 +103,7 @@ | 35 | @@ -107,7 +107,7 @@ sources_body { | |
36 | } | 36 | } | |
37 | 37 | |||
38 | between_sources_and_codes { | 38 | between_sources_and_codes { | |
39 | - if ($1 ~ /^[0123456789]+$/) | 39 | - if ($1 ~ /^[0123456789]+$/) | |
40 | + if ($0 ~ /^[0-9]+/) | 40 | + if ($0 ~ /^[0-9]+/) | |
41 | { | 41 | { | |
42 | between_sources_and_codes = 0; | 42 | between_sources_and_codes = 0; | |
43 | codes_body = 1; | 43 | codes_body = 1; | |
44 | @@ -117,7 +117,7 @@ | 44 | @@ -121,7 +121,7 @@ codes_body { | |
45 | if (/^$/) | 45 | if (/^$/) | |
46 | next; | 46 | next; | |
47 | 47 | |||
48 | - if ($1 == "") | 48 | - if ($1 == "") | |
49 | + if ($0 !~ /^[0-9]+/) | 49 | + if ($0 !~ /^[0-9]+/) | |
50 | { | 50 | { | |
51 | codes_body = 0; | 51 | codes_body = 0; | |
52 | between_codes_and_errnos = 1; | 52 | between_codes_and_errnos = 1; | |
53 | @@ -132,7 +132,7 @@ | 53 | @@ -136,7 +136,7 @@ codes_body { | |
54 | } | 54 | } | |
55 | 55 | |||
56 | between_codes_and_errnos { | 56 | between_codes_and_errnos { | |
57 | - if ($1 ~ /^[0-9]/) | 57 | - if ($1 ~ /^[0-9]/) | |
58 | + if ($0 ~ /^[0-9]+/) | 58 | + if ($0 ~ /^[0-9]+/) | |
59 | { | 59 | { | |
60 | between_codes_and_errnos = 0; | 60 | between_codes_and_errnos = 0; | |
61 | errnos_body = 1; | 61 | errnos_body = 1; | |
62 | @@ -146,7 +146,7 @@ | 62 | @@ -150,7 +150,7 @@ errnos_body { | |
63 | if (/^$/) | 63 | if (/^$/) | |
64 | next; | 64 | next; | |
65 | 65 | |||
66 | - if ($1 !~ /^[0-9]/) | 66 | - if ($1 !~ /^[0-9]/) | |
67 | + if ($0 !~ /^[0-9]+/) | 67 | + if ($0 !~ /^[0-9]+/) | |
68 | { | 68 | { | |
69 | # Note that this assumes that gpg-error.h.in doesn't start with a digit. | 69 | # Note that this assumes that extra_body.in doesn't start with a digit. | |
70 | errnos_body = 0; | 70 | errnos_body = 0; |