pkgsrc/security/gnupg2/options.mk
adam 354bba6919 gnupg2: updated to 2.2.14
Noteworthy changes in version 2.2.14:
* gpg: Allow import of PGP desktop exported secret keys.  Also avoid
 importing secret keys if the secret keyblock is not valid.
* gpg: Do not error out on version 5 keys in the local keyring.
* gpg: Make invalid primary key algo obvious in key listings.
* sm: Do not mark a certificate in a key listing as de-vs compliant
  if its use for a signature will not be possible.
* sm: Fix certificate creation with key on card.
* sm: Create rsa3072 bit certificates by default.
* sm: Print Yubikey attestation extensions with --dump-cert.
* agent: Fix cancellation handling for scdaemon.
* agent: Support --mode=ssh option for CLEAR_PASSPHRASE.
* scd: Fix flushing of the CA-FPR DOs in app-openpgp.
* scd: Avoid a conflict error with the "undefined" app.
* dirmngr: Add CSRF protection exception for protonmail.
* dirmngr: Fix build problems with gcc 9 in libdns.
* gpgconf: New option --show-socket for use wity --launch.
* gpgtar: Make option -C work for archive creation.
2019-03-20 06:39:52 +00:00

45 lines
1.3 KiB
Makefile

# $NetBSD: options.mk,v 1.14 2019/03/20 06:39:52 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnupg2
PKG_SUPPORTED_OPTIONS= bzip2 gnutls ldap libusb-1 zlib
PKG_SUGGESTED_OPTIONS= bzip2 gnutls libusb-1 zlib
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mbzip2)
CONFIGURE_ARGS+= --with-bzip2=${BUILDLINK_PREFIX.bzip2}
.include "../../archivers/bzip2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-bzip2
.endif
.if !empty(PKG_OPTIONS:Mgnutls)
.include "../../security/gnutls/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-gnutls
.endif
PLIST_VARS+= ldap
.if !empty(PKG_OPTIONS:Mldap)
CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap-client}
PLIST.ldap= yes
.include "../../databases/openldap-client/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-ldap
.endif
.if !empty(PKG_OPTIONS:Mlibusb-1)
# gnupg unfortunately doesn't use pkg-config
CONFIGURE_ARGS+= CPPFLAGS="${CPPFLAGS} -I${BUILDLINK_PREFIX.libusb1}/include/libusb-1.0"
CONFIGURE_ARGS+= LDFLAGS="${LDFLAGS} ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libusb1}/lib -L${BUILDLINK_PREFIX.libusb1}/lib"
.include "../../devel/libusb1/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-ccid-driver
.endif
.if !empty(PKG_OPTIONS:Mzlib)
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
.include "../../devel/zlib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-zip
.endif