Package: lbdb
Version: 0.39
Severity: normal
Tags: patch

Dear Maintainer,

I use lbdb from mutt and was annoyed when the process seemed to
hang while in fact an automatic gnupg trustdb update took place.
My GNUpg is configured to use all debian keyrings and therefore a
trustdb upgrade takes some time.

There is an easy work around: Prohibit automatic trustdb updates
since the trust db isn't useful for lbdb anyways.

Please consider this patch (also attachet since I do not know
which way is better for you), which works for me.

Thanks, Gregor

--- /usr/lib/lbdb/m_gpg.orig2015-11-15 22:45:34.735120750 +0100
+++ /usr/lib/lbdb/m_gpg2015-11-15 22:45:57.823635956 +0100
@@ -27,7 +27,7 @@

if [ -x "$GPG" ]
then
-$GPG --list-keys --with-colons "$@" 2>/dev/null \
+$GPG --list-keys --no-auto-check-trustdb --with-colons "$@" 2>/dev/null \
| grep -a '^\(pub\|uid\):[^re]:\([^:]*:\)\{7,7\}[^<>:]* <[^<>@: ]*@[^<>@: 
]*>[^<>@:]*:' \
| sed -e 's/^\([^:]*:\)\{9,9\}\([^<:]*\) <\([^>:]*\)>.*:.*$/\3\2(GnuPG)/' \
| sed -e 's/\([^]\{27,27\}\)[^]*/\1.../' \
                    


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lbdb depends on:
ii  libc6        2.19-18+deb8u1
ii  libvformat0  1.13-10
ii  perl         5.20.2-3+deb8u1

lbdb recommends no packages.

Versions of packages lbdb suggests:
pn  abook                <none>
pn  finger               <none>
ii  libauthen-sasl-perl  2.1600-1
pn  libnet-ldap-perl     <none>
pn  libpalm-perl         <none>
ii  mutt                 1.5.23-3
ii  procmail             3.22-24

-- no debconf information
--- /usr/lib/lbdb/m_gpg.orig	2015-11-15 22:45:34.735120750 +0100
+++ /usr/lib/lbdb/m_gpg	2015-11-15 22:45:57.823635956 +0100
@@ -27,7 +27,7 @@
 
     if [ -x "$GPG" ]
     then
-	$GPG --list-keys --with-colons "$@" 2>/dev/null \
+	$GPG --list-keys --no-auto-check-trustdb --with-colons "$@" 2>/dev/null \
 	| grep -a '^\(pub\|uid\):[^re]:\([^:]*:\)\{7,7\}[^<>:]* <[^<>@: ]*@[^<>@: ]*>[^<>@:]*:' \
 	| sed -e 's/^\([^:]*:\)\{9,9\}\([^<:]*\) <\([^>:]*\)>.*:.*$/\3	\2	(GnuPG)/' \
 	| sed -e 's/	\([^	]\{27,27\}\)[^	]*	/	\1...	/' \

Reply via email to