summaryrefslogtreecommitdiff
path: root/security/gpgme/files/patch-tests_gpg_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/gpgme/files/patch-tests_gpg_Makefile.in')
-rw-r--r--security/gpgme/files/patch-tests_gpg_Makefile.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/gpgme/files/patch-tests_gpg_Makefile.in b/security/gpgme/files/patch-tests_gpg_Makefile.in
new file mode 100644
index 000000000000..3056ed6ba0ca
--- /dev/null
+++ b/security/gpgme/files/patch-tests_gpg_Makefile.in
@@ -0,0 +1,14 @@
+gpg 2.1.x needs pinentry loopback mode enabled for the passphase callback
+supplied by the tests to work
+
+--- tests/gpg/Makefile.in.orig 2017-04-05 12:22:44 UTC
++++ tests/gpg/Makefile.in
+@@ -1115,6 +1115,8 @@ export GPG_AGENT_INFO :=
+ ./gpg.conf:
+ # This is required for t-sig-notations.
+ echo no-force-v3-sigs > ./gpg.conf
++ echo "ignore-invalid-option pinentry-mode" >> ./gpg.conf
++ echo "pinentry-mode loopback" >> ./gpg.conf
+
+ ./gpg-agent.conf:
+ # This is required for gpg2, which does not support command fd.