5214da8496
an "idea" option, but that was removed more than a year ago when it got updated from 1.2 to 1.4 The patch was was used on gnupg2 in the "idea" case was just a four-line memory initialization fix, there is no point in LICENSE restrictions due to this, so I've pulled it in as regular patch so that it doesn't get lost for the case someone fixes idea support in libgcrypt (which isn't hard).
26 lines
952 B
Makefile
26 lines
952 B
Makefile
# $NetBSD: options.mk,v 1.4 2009/12/18 17:49:51 drochner 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
|