pkgsrc/security/gnupg2/Makefile
adam 680c424122 gnupg2: updated to 2.2.31
Noteworthy changes in version 2.2.31 (2021-09-15)
-------------------------------------------------
  * agent: Fix a regression in GET_PASSPHRASE.
  * scd: Fix an assertion failure in close_pcsc_reader.
  * scd: Add support for PC/SC in "GETINFO reader_list".

Noteworthy changes in version 2.2.30 (2021-08-26)
-------------------------------------------------
  * gpg: Extended gpg-check-pattern to support accept rules,
    conjunctions, and case-sensitive matching.
  * agent: New option --pinentry-formatted-passphrase.
  * agent: New option --check-sym-passphrase-pattern.
  * agent: Use the sysconfdir for the pattern files.
  * agent: Add "checkpin" inquiry for use by pinentry.
  * wkd: Fix client issue with leading or trailing spaces in
    user-ids.
  * Pass XDG_SESSION_TYPE and QT_QPA_PLATFORM envvars to Pinentry.
  * Under Windows use LOCAL_APPDATA for the socket directory.

Noteworthy changes in version 2.2.29 (2021-07-04)
-------------------------------------------------
  * Fix regression in 2.2.28 for Yubikey NEO.
  * Change the default keyserver to keyserver.ubuntu.com.  This is a
    temporary change due to the shutdown of the SKS keyserver pools.
  * gpg: Let --fetch-key return an exit code on failure.
  * dirmngr: Fix regression in KS_GET for mail address pattern.
  * Add fallback in case the Windows console can't cope with Unicode.
  * Improve initialization of SPR532 in the CCID driver and make the
    driver more robust.
  * Make test suite work in presence of a broken Libgcrypt
    installation.
  * Make configure option --disable-ldap work again.


Noteworthy changes in version 2.2.28 (2021-06-10)
-------------------------------------------------
  * gpg: Auto import keys specified with --trusted-keys.
  * gpg: Allow decryption w/o public key but with correct card
    inserted.
  * gpg: Allow fingerprint based lookup with --locate-external-key.
  * gpg: Lookup a missing public key of the current card via LDAP.
  * gpg: New option --force-sign-key.
  * gpg: Use a more descriptive password prompt for symmetric
    decryption.
  * gpg: Do not use the self-sigs-only option for LDAP keyserver
    imports.
  * gpg: Keep temp files when opening images via xdg-open.
  * gpg: Fix mailbox based search via AKL keyserver method.
  * gpg: Fix sending an OpenPGP key with umlaut to an LDAP keyserver.
  * gpg: Allow ECDH with a smartcard returning only the x-coordinate.
  * gpgsm: New option --ldapserver as an alias for --keyserver.  Note
    that configuring servers in gpgsm and gpg is deprecated; please
    use the dirmngr configuration options.
  * gpgsm: Support AES-GCM decryption.
  * gpgsm: Support decryption of password protected files.
  * gpgsm: Lock keyboxes also during a search to fix lockups on
    Windows.
  * agent: Skip unknown unknown ssh curves seen on
    cards.
  * scdaemon: New option --pcsc-shared.
  * scdaemon: Backport PKCS#15 card support from GnuPG 2.3
  * scdaemon: Fix CCID driver for SCM SPR332/SPR532.
  * scdaemon: Fix possible PC/SC removed card problem.
  * scdaemon: Fix unblock PIN by a Reset Code with KDF.
  * scdaemon: Support compressed points.
  * scdaemon: Prettify S/N for Yubikeys and fix reading for early
    Yubikey 5 tokens.
  * dirmngr: New option --ldapserver to avoid the need for the
    separate dirmngr_ldapservers.conf file.
  * dirmngr: The dirmngr_ldap wrapper has been rewritten to properly
    support ldap-over-tls and starttls for X.509 certificates and
    CRLs.
  * dirmngr: OpenPGP LDAP keyservers may now also be configured using
    the same syntax as used for X.509 and CRL LDAP servers.  This
    avoids the former cumbersome quoting rules and adds a flexible set
    of flags to control the connection.
  * dirmngr: The "ldaps" scheme of an OpenPGP keyserver URL is now
    interpreted as ldap-with-starttls on port 389.  To use the
    non-standardized ldap-over-tls the new LDAP configuration method
    of the new attribute "gpgNtds" needs to be used.
  * dirmngr: Return the fingerprint as search result also for LDAP
    OpenPGP keyservers.  This requires the modernized LDAP schema.
  * dirmngr: An OpenPGP LDAP search by a mailbox now ignores revoked
    keys.
  * gpgconf: Make runtime changes with non-default homedir work.
  * gpgconf: Do not translate an empty string to the PO file's meta
    data.
  * gpgconf: Fix argv overflow if --homedir is used.
  * gpgconf: Return a new pseudo option "compliance_de_vs".
  * gpgtar: Fix file size computation under Windows.
  * Full Unicode support for the Windows command line.
  * Fix problem with Windows Job objects and auto start of our
    daemons.
  * i18n: In German always use "Passwort" instead of "Passphrase" in
    prompts.
2021-10-05 12:14:28 +00:00

58 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.125 2021/10/05 12:14:28 adam Exp $
DISTNAME= gnupg-2.2.31
PKGNAME= ${DISTNAME:S/gnupg-/gnupg2-/}
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/
MASTER_SITES+= http://mirrors.dotsrc.org/gcrypt/gnupg/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ada@netbsdfr.org
HOMEPAGE= https://www.gnupg.org/
COMMENT= GnuPG with OpenPGP and S/MIME capabilities
LICENSE= gnu-gpl-v3
DEPENDS+= pinentry-[0-9]*:../../security/pinentry
CONFLICTS+= dirmngr-[0-9]*
SUPERSEDES+= dirmngr-[0-9]*
BUILD_DEFS+= VARBASE
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config makeinfo
USE_LIBTOOL= yes
INFO_FILES= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-ntbtls
CONFIGURE_ARGS+= --enable-g13
CONFIGURE_ARGS+= --enable-gpg-is-gpg2
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
# SunOS does have getaddrinfo() and the code knows how to use it
CONFIGURE_ARGS.SunOS+= ac_cv_func_getaddrinfo=yes
TEST_TARGET= check
LDFLAGS.NetBSD+= -lintl
LDFLAGS.Darwin+= -lintl -lresolv
LDFLAGS.FreeBSD+= -lintl
LDFLAGS.SunOS+= -lintl -lsocket
LDFLAGS.Linux+= -lrt
.include "options.mk"
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.7.15
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.npth+= npth>=1.2
.include "../../devel/npth/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.7
.include "../../security/libgcrypt/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.28
.include "../../security/libgpg-error/buildlink3.mk"
BUILDLINK_API_DEPENDS.libassuan+= libassuan>=2.5.1
.include "../../security/libassuan2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libksba+= libksba>=1.3.4
.include "../../security/libksba/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"