Sun Apr 16 07:21:48 2017 UTC ()
Updated gnupg21 to 2.1.20.

Based on PR 52165 by Jonathan Schleifer.

Noteworthy changes in version 2.1.20 (2017-04-03)
-------------------------------------------------

  * gpg: New properties 'expired', 'revoked', and 'disbaled' for the
    import and export filters.

  * gpg: New command --quick-set-primary-uid.

  * gpg: New compliance field for the --with-colon key listing.

  * gpg: Changed the key parser to generalize the processing of local
    meta data packets.

  * gpg: Fixed assertion failure in the TOFU trust model.

  * gpg: Fixed exporting of zero length user ID packets.

  * scd: Improved support for multiple readers.

  * scd: Fixed timeout handling for key generation.

  * agent: New option --enable-extended-key-format.

  * dirmngr: Do not add a keyserver to a new dirmngr.conf.  Dirmngr
    uses a default keyserver.

  * dimngr: Do not treat TLS warning alerts as severe error when
    building with GNUTLS.

  * dirmngr: Actually take /etc/hosts in account.

  * wks: Fixed client problems on Windows.  Published keys are now set
    to world-readable.

  * tests: Fixed creation of temporary directories.

  * A socket directory for a non standard GNUGHOME is now created on
    the fly under /run/user.  Thus "gpgconf --create-socketdir" is now
    optional.  The use of "gpgconf --remove-socketdir" to clean up
    obsolete socket directories is however recommended to avoid
    cluttering /run/user with useless directories.

  * Fixed build problems on some platforms.

Noteworthy changes in version 2.1.19 (2017-03-01)
-------------------------------------------------

  * gpg: Print a warning if Tor mode is requested but the Tor daemon
    is not running.

  * gpg: New status code DECRYPTION_KEY to print the actual private
    key used for decryption.

  * gpgv: New options --log-file and --debug.

  * gpg-agent: Revamp the prompts to ask for card PINs.

  * scd: Support for multiple card readers.

  * scd: Removed option --debug-disable-ticker.  Ticker is used
    only when it is required to watch removal of device/card.

  * scd: Improved detection of card inserting and removal.

  * dirmngr: New option --disable-ipv4.

  * dirmngr: New option --no-use-tor to explicitly disable the use of
    Tor.

  * dirmngr: The option --allow-version-check is now required even if
    the option --use-tor is also used.

  * dirmngr: Handle a missing nsswitch.conf gracefully.

  * dirmngr: Avoid PTR lookups for keyserver pools.  The are only done
    for the debug command "keyserver --hosttable".

  * dirmngr: Rework the internal certificate cache to support classes
    of certificates.  Load system provided certificates on startup.
    Add options --tls, --no-crl, and --systrust to the "VALIDATE"
    command.

  * dirmngr: Add support for the ntbtls library.

  * wks: Create mails with a "WKS-Phase" header.  Fix detection of
    Draft-2 mode.

  * The Windows installer is now build with limited TLS support.

  * Many other bug fixes and new regression tests.

  See-also: gnupg-announce/2017q1/000402.html


(wiz)
diff -r1.27 -r1.28 pkgsrc/security/gnupg21/Makefile
diff -r1.8 -r1.9 pkgsrc/security/gnupg21/PLIST
diff -r1.14 -r1.15 pkgsrc/security/gnupg21/distinfo

cvs diff -r1.27 -r1.28 pkgsrc/security/gnupg21/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/security/gnupg21/Attic/Makefile 2017/02/04 07:12:35 1.27
+++ pkgsrc/security/gnupg21/Attic/Makefile 2017/04/16 07:21:48 1.28
@@ -1,38 +1,40 @@ @@ -1,38 +1,40 @@
1# $NetBSD: Makefile,v 1.27 2017/02/04 07:12:35 maya Exp $ 1# $NetBSD: Makefile,v 1.28 2017/04/16 07:21:48 wiz Exp $
2 2
3DISTNAME= gnupg-2.1.18 3DISTNAME= gnupg-2.1.20
4PKGNAME= ${DISTNAME:S/gnupg-/gnupg21-/} 4PKGNAME= ${DISTNAME:S/gnupg-/gnupg21-/}
5CATEGORIES= security 5CATEGORIES= security
6MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ 6MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= ada@netbsdfr.org 9MAINTAINER= ada@netbsdfr.org
10HOMEPAGE= https://www.gnupg.org/ 10HOMEPAGE= https://www.gnupg.org/
11COMMENT= GnuPG with OpenPGP and S/MIME capabilities 11COMMENT= GnuPG with OpenPGP and S/MIME capabilities
12LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
13 13
14DEPENDS+= pinentry-[0-9]*:../../security/pinentry 14DEPENDS+= pinentry-[0-9]*:../../security/pinentry
15 15
16CONFLICTS= dirmngr-[0-9]* 16CONFLICTS= dirmngr-[0-9]*
17 17
18BUILD_DEFS+= VARBASE 18BUILD_DEFS+= VARBASE
19USE_PKGLOCALEDIR= yes 19USE_PKGLOCALEDIR= yes
20USE_TOOLS+= gmake pkg-config makeinfo 20USE_TOOLS+= gmake pkg-config makeinfo
21USE_LIBTOOL= yes 21USE_LIBTOOL= yes
22INFO_FILES= yes 22INFO_FILES= yes
23GNU_CONFIGURE= yes 23GNU_CONFIGURE= yes
24CONFIGURE_ARGS+= --enable-g13 24CONFIGURE_ARGS+= --enable-g13
25 25
 26# one test failure in 2.1.20, fixed upstream; see
 27# https://dev.gnupg.org/T3047
26TEST_TARGET= check 28TEST_TARGET= check
27 29
28# SunOS does have getaddrinfo() and the code knows how to use it 30# SunOS does have getaddrinfo() and the code knows how to use it
29CONFIGURE_ARGS.SunOS+= ac_cv_func_getaddrinfo=yes 31CONFIGURE_ARGS.SunOS+= ac_cv_func_getaddrinfo=yes
30 32
31LDFLAGS.Darwin+= -lresolv 33LDFLAGS.Darwin+= -lresolv
32LDFLAGS.SunOS+= -lsocket 34LDFLAGS.SunOS+= -lsocket
33 35
34.include "options.mk" 36.include "options.mk"
35 37
36BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.7 38BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.7
37.include "../../security/libgcrypt/buildlink3.mk" 39.include "../../security/libgcrypt/buildlink3.mk"
38.include "../../databases/sqlite3/buildlink3.mk" 40.include "../../databases/sqlite3/buildlink3.mk"

cvs diff -r1.8 -r1.9 pkgsrc/security/gnupg21/Attic/PLIST (expand / switch to unified diff)

--- pkgsrc/security/gnupg21/Attic/PLIST 2017/02/04 07:12:35 1.8
+++ pkgsrc/security/gnupg21/Attic/PLIST 2017/04/16 07:21:48 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.8 2017/02/04 07:12:35 maya Exp $ 1@comment $NetBSD: PLIST,v 1.9 2017/04/16 07:21:48 wiz Exp $
2bin/dirmngr 2bin/dirmngr
3bin/dirmngr-client 3bin/dirmngr-client
4bin/g13 4bin/g13
5bin/gpg-agent 5bin/gpg-agent
6bin/gpg-connect-agent 6bin/gpg-connect-agent
7bin/gpg2 7bin/gpg2
8bin/gpgconf 8bin/gpgconf
9bin/gpgparsemail 9bin/gpgparsemail
10bin/gpgscm 10bin/gpgscm
11bin/gpgsm 11bin/gpgsm
12bin/gpgtar 12bin/gpgtar
13bin/gpgv2 13bin/gpgv2
14bin/kbxutil 14bin/kbxutil
@@ -38,38 +38,40 @@ man/man8/applygnupgdefaults.8 @@ -38,38 +38,40 @@ man/man8/applygnupgdefaults.8
38man/man8/dirmngr.8 38man/man8/dirmngr.8
39sbin/addgnupghome 39sbin/addgnupghome
40sbin/applygnupgdefaults 40sbin/applygnupgdefaults
41sbin/g13-syshelp 41sbin/g13-syshelp
42share/doc/gnupg/DCO 42share/doc/gnupg/DCO
43share/doc/gnupg/DETAILS 43share/doc/gnupg/DETAILS
44share/doc/gnupg/FAQ 44share/doc/gnupg/FAQ
45share/doc/gnupg/HACKING 45share/doc/gnupg/HACKING
46share/doc/gnupg/KEYSERVER 46share/doc/gnupg/KEYSERVER
47share/doc/gnupg/OpenPGP 47share/doc/gnupg/OpenPGP
48share/doc/gnupg/README 48share/doc/gnupg/README
49share/doc/gnupg/TRANSLATE 49share/doc/gnupg/TRANSLATE
50share/doc/gnupg/examples/README 50share/doc/gnupg/examples/README
 51share/doc/gnupg/examples/debug.prf
51share/doc/gnupg/examples/gpgconf.conf 52share/doc/gnupg/examples/gpgconf.conf
52share/doc/gnupg/examples/pwpattern.list 53share/doc/gnupg/examples/pwpattern.list
53share/doc/gnupg/examples/scd-event 54share/doc/gnupg/examples/scd-event
54share/doc/gnupg/examples/systemd-user/README 55share/doc/gnupg/examples/systemd-user/README
55share/doc/gnupg/examples/systemd-user/dirmngr.service 56share/doc/gnupg/examples/systemd-user/dirmngr.service
56share/doc/gnupg/examples/systemd-user/dirmngr.socket 57share/doc/gnupg/examples/systemd-user/dirmngr.socket
57share/doc/gnupg/examples/systemd-user/gpg-agent-browser.socket 58share/doc/gnupg/examples/systemd-user/gpg-agent-browser.socket
58share/doc/gnupg/examples/systemd-user/gpg-agent-extra.socket 59share/doc/gnupg/examples/systemd-user/gpg-agent-extra.socket
59share/doc/gnupg/examples/systemd-user/gpg-agent-ssh.socket 60share/doc/gnupg/examples/systemd-user/gpg-agent-ssh.socket
60share/doc/gnupg/examples/systemd-user/gpg-agent.service 61share/doc/gnupg/examples/systemd-user/gpg-agent.service
61share/doc/gnupg/examples/systemd-user/gpg-agent.socket 62share/doc/gnupg/examples/systemd-user/gpg-agent.socket
62share/doc/gnupg/examples/trustlist.txt 63share/doc/gnupg/examples/trustlist.txt
 64share/doc/gnupg/examples/vsnfd.prf
63share/gnupg/dirmngr-conf.skel 65share/gnupg/dirmngr-conf.skel
64share/gnupg/distsigkey.gpg 66share/gnupg/distsigkey.gpg
65share/gnupg/gpg-conf.skel 67share/gnupg/gpg-conf.skel
66share/gnupg/help.be.txt 68share/gnupg/help.be.txt
67share/gnupg/help.ca.txt 69share/gnupg/help.ca.txt
68share/gnupg/help.cs.txt 70share/gnupg/help.cs.txt
69share/gnupg/help.da.txt 71share/gnupg/help.da.txt
70share/gnupg/help.de.txt 72share/gnupg/help.de.txt
71share/gnupg/help.el.txt 73share/gnupg/help.el.txt
72share/gnupg/help.eo.txt 74share/gnupg/help.eo.txt
73share/gnupg/help.es.txt 75share/gnupg/help.es.txt
74share/gnupg/help.et.txt 76share/gnupg/help.et.txt
75share/gnupg/help.fi.txt 77share/gnupg/help.fi.txt

cvs diff -r1.14 -r1.15 pkgsrc/security/gnupg21/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/security/gnupg21/Attic/distinfo 2017/02/04 07:12:35 1.14
+++ pkgsrc/security/gnupg21/Attic/distinfo 2017/04/16 07:21:48 1.15
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.14 2017/02/04 07:12:35 maya Exp $ 1$NetBSD: distinfo,v 1.15 2017/04/16 07:21:48 wiz Exp $
2 2
3SHA1 (gnupg-2.1.18.tar.bz2) = b698012cc2d77c2652afd168a15e679d1394fa89 3SHA1 (gnupg-2.1.20.tar.bz2) = 500ddae8e4225ae2e300934090f9b9a427b8def1
4RMD160 (gnupg-2.1.18.tar.bz2) = a11128b9228b5b990fd8fe52923ea348d6571ffd 4RMD160 (gnupg-2.1.20.tar.bz2) = 6f2448b16d69e81d0f6e82db5250f5acf0217b5f
5SHA512 (gnupg-2.1.18.tar.bz2) = b8357f0a883a33c2e4f6ab5a8f5ddb171c899b7a2899e8ce4cac232938fe1dffb789a54980dfc4b758c4cb47f11f1fc570fea905244735048dfc6f06b3353baf 5SHA512 (gnupg-2.1.20.tar.bz2) = 14a9890bc64e143f87cff121dd298d490d78dbd34e36883e0f25763ff9064e5706a7632893d7c5d0e8e9b8cf9cdb0d378b4ce1715348729f0fc080455b61eca9
6Size (gnupg-2.1.18.tar.bz2) = 6308666 bytes 6Size (gnupg-2.1.20.tar.bz2) = 6456128 bytes
7SHA1 (patch-dirmngr_Makefile.in) = fa74bcf4ea214945c64d383dff039ab938ae1446 7SHA1 (patch-dirmngr_Makefile.in) = fa74bcf4ea214945c64d383dff039ab938ae1446
8SHA1 (patch-g13_sh-dmcrypt.c) = a2505039fff9e1e90ab81076776542fa83f55d5e 8SHA1 (patch-g13_sh-dmcrypt.c) = a2505039fff9e1e90ab81076776542fa83f55d5e