c3c8b80c6b
* Allow more hash algorithms with the OpenPGP v2 card. * The gpg-agent now tests for a new gpg-agent.conf on a HUP. * Fixed output of "gpgconf --check-options". * Fixed a bug where Scdaemon sends a signal to Gpg-agent running in non-daemon mode. * Fixed TTY management for pinentries and session variable update problem.
26 lines
932 B
Makefile
26 lines
932 B
Makefile
# $NetBSD: options.mk,v 1.5 2011/01/20 08:54:56 adam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gnupg2
|
|
PKG_SUPPORTED_OPTIONS= gpgsm
|
|
PKG_SUGGESTED_OPTIONS= gpgsm
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
## If no options are specified, only gpg-agent is built. This
|
|
## is sufficient for OpenPGP/MIME support in Kmail
|
|
## SMIME support is provided by gpgsm. This support is
|
|
## in the alpha stage of development.
|
|
PLIST_SRC= ${.CURDIR}/PLIST
|
|
|
|
# XXX It looks like that gpgsm support could be split into its own package,
|
|
# according to the configure script. If that's true, this use of the options
|
|
# framework is incorrect and should be fixed.
|
|
.if empty(PKG_OPTIONS:Mgpgsm)
|
|
CONFIGURE_ARGS+= --enable-agent-only
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-gpgsm
|
|
CONFIGURE_ARGS+= --with-dirmngr-pgm=${BUILDLINK_PREFIX.dirmngr}/bin/dirmngr
|
|
PLIST_SRC+= ${.CURDIR}/PLIST.gpgsm
|
|
. include "../../security/dirmngr/buildlink3.mk"
|
|
.endif
|