[DRE-commits] [ruby-mail-gpg] 02/05: - debian/patches: Add patch to inject gpg.conf and gpg-agent.conf into upstream provided gpghome

Georg Faerber georg-alioth-guest at moszumanska.debian.org
Sun May 15 21:26:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

georg-alioth-guest pushed a commit to branch master
in repository ruby-mail-gpg.

commit 677f2605529c0b9b95b50c42aa3df3a1d4badd36
Author: Georg Faerber <georg at riseup.net>
Date:   Sat May 14 21:55:57 2016 +0200

    - debian/patches: Add patch to inject gpg.conf and gpg-agent.conf into
      upstream provided gpghome
---
 ...onfigs_to_make_upstream_tests_work_with_gpg2.diff | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/01_add_gpg_configs_to_make_upstream_tests_work_with_gpg2.diff b/debian/patches/01_add_gpg_configs_to_make_upstream_tests_work_with_gpg2.diff
new file mode 100644
index 0000000..93a5364
--- /dev/null
+++ b/debian/patches/01_add_gpg_configs_to_make_upstream_tests_work_with_gpg2.diff
@@ -0,0 +1,20 @@
+Description: Add gpg configs to make upstream tests work with gpg2
+ This patch injects gpg.conf and gpg-agent.conf into the upstream
+ provided gpghome. This is necessary, to make the upstream tests 
+ work with gpg2, i.e. let gpg-agent (which gpg2 relies heavily on) 
+ accept the passphrases provided by the tests, instead of spawning 
+ pinentry for each test.
+Author: Georg Faerber <georg at riseup.net>
+Forwarded: no
+Last-Update: 2016-05-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- /dev/null
++++ b/test/gpghome/gpg-agent.conf
+@@ -0,0 +1,2 @@
++allow-loopback-pinentry
++use-standard-socket
+--- /dev/null
++++ b/test/gpghome/gpg.conf
+@@ -0,0 +1 @@
++pinentry-mode loopback
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b040194
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_add_gpg_configs_to_make_upstream_tests_work_with_gpg2.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mail-gpg.git



More information about the Pkg-ruby-extras-commits mailing list