Package: pan / 0.141-2

use-gpg Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=777270
Bug-Debian: https://bugs.debian.org/851450
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=777270
Author: dod
Description: Use gpg instead of gpg2
 tweak pan to search for gpg command instead of gpg2 
--- a/pan/usenet-utils/gpg.cc
+++ b/pan/usenet-utils/gpg.cc
@@ -128,7 +128,7 @@
 
   void init_gpg()
   {
-    gpg_ctx = g_mime_gpg_context_new (request_passwd, "gpg2");
+    gpg_ctx = g_mime_gpg_context_new (request_passwd, "gpg");
     if (!gpg_ctx) gpg_inited = false; else gpg_inited = true;
     g_mime_gpg_context_set_auto_key_retrieve(GMIME_GPG_CONTEXT(gpg_ctx),true);
     g_mime_gpg_context_set_always_trust(GMIME_GPG_CONTEXT(gpg_ctx),false);