Package: getmail4
Version: 4.53.0-1
Severity: normal
There is a bug for --fingerprint option if the fingerprint is malformed.
The problem is limited to --fingerprint with a bad value. But the fix
is simple and clean.
Background:
-------------------------------- getmail_fetch --------------------------------
index 3750d56..8978ccc 100755
@@ -9,6 +9,7 @@ if sys.hexversion < 0x2030300:
import os
import socket
import poplib
+import new
from optparse import OptionParser
try:
@@ -133,6 +134,10 @@ def main():
raise getmailOperationError('incorrect arguments; try --help'
% args)
+ def get(self, key, value=None):
+ return getattr(self, key, value)
+ options.get = new.instancemethod(get, options, options.__class__)
+
msg = None
if options.message is not None:
try:
------------------------ getmailcore/_retrieverbases.py ------------------------
index e4592e0..ff14a92 100755
@@ -439,7 +439,7 @@ class Py24POP3SSLinitMixIn(object):
fingerprint_message += ' using cipher %s' % ssl_cipher
fingerprint_message += os.linesep
- if self.app_options['fingerprint']:
+ if self.app_options.get('fingerprint', False):
self.log.info(fingerprint_message)
else:
self.log.trace(fingerprint_message)
--------------------------------------------------------------------------------
Upstream updated
Version 4.54.0
19 February 2017
-fix error running getmail_fetch introduced in 4.53.0. Thanks: "fsckd".
Version 4.53.0
15 January 2017
This focused small patch should have propagated to testing then.
After uploading to testing/buster, I would like to upload
stable-proposed-updates. 4.54.0 is the last of 4 series. Fix is
focused only to getmail_fetch. Changes on the upstream since then are
different feature updates. So this is clean bug fix for --fingerprint
option.
Osamu
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (90, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages getmail4 depends on:
ii python 2.7.13-2
getmail4 recommends no packages.
getmail4 suggests no packages.
-- no debconf information