summaryrefslogtreecommitdiff
path: root/security/gpgme/options.mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-03-03 11:39:47 +0000
committeradam <adam@pkgsrc.org>2011-03-03 11:39:47 +0000
commit94fd91d96bf3b5f3e7a61cddcb9b30e72d2c258c (patch)
treed17197cc4dc2604ac1e1f7f7a49c72a4a5b21c3a /security/gpgme/options.mk
parent7d43505dbe700d1684445ed13195f09bfab7d510 (diff)
downloadpkgsrc-94fd91d96bf3b5f3e7a61cddcb9b30e72d2c258c.tar.gz
Changes 1.3.0:
* GPGME does not come with an internal libassuan version anymore. The external libassuan 1.1.0 release or later is required. For application programmers on systems that can resolve inter-library dependencies at runtime, this is a transparent change. * New engine GPGME_PROTOCOL_G13 to support the new g13 tool. * New engine GPGME_PROTOCOL_UISERVER to support UI Servers. * New API to change the passpgrase of a key.
Diffstat (limited to 'security/gpgme/options.mk')
-rw-r--r--security/gpgme/options.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/gpgme/options.mk b/security/gpgme/options.mk
new file mode 100644
index 00000000000..356e633ad6d
--- /dev/null
+++ b/security/gpgme/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2011/03/03 11:39:47 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gpgme
+PKG_SUPPORTED_OPTIONS= gpgsm
+PKG_SUGGESTED_OPTIONS= gpgsm
+
+.include "../../mk/bsd.options.mk"
+
+##
+## Option to build with gpgsm. This provides SMIME support
+##
+.if !empty(PKG_OPTIONS:Mgpgsm)
+. include "../../security/gnupg2/buildlink3.mk"
+CONFIGURE_ARGS+= --with-gpgsm=${BUILDLINK_PREFIX.gnupg2}/bin/gpgsm
+CONFIGURE_ARGS+= --with-gpg=${BUILDLINK_PREFIX.gnupg2}/bin/gpg2
+REPLACE_SH+= tests/gpg/pinentry
+.else
+DEPENDS+= gnupg>=1.4.2:../../security/gnupg
+CONFIGURE_ARGS+= --without-gpgconf
+CONFIGURE_ARGS+= --without-gpgsm
+.endif