Hello community,

here is the log from the commit of package getmail for openSUSE:Factory checked 
in at 2018-01-05 01:00:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/getmail (Old)
 and      /work/SRC/openSUSE:Factory/.getmail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "getmail"

Fri Jan  5 01:00:03 2018 rev:24 rq:561299 version:5.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/getmail/getmail.changes  2017-10-18 
10:54:16.438199489 +0200
+++ /work/SRC/openSUSE:Factory/.getmail.new/getmail.changes     2018-01-05 
01:00:08.129640843 +0100
@@ -1,0 +2,7 @@
+Thu Dec 28 15:00:00 UTC 2017 - [email protected]
+
+- Update to 5.5
+  * added "record_mailbox" configuration parameter, to allow
+    turning off the header getmail adds with this information.
+
+-------------------------------------------------------------------

Old:
----
  getmail-5.4.tar.gz

New:
----
  getmail-5.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ getmail.spec ++++++
--- /var/tmp/diff_new_pack.VYMLVM/_old  2018-01-05 01:00:10.420878518 +0100
+++ /var/tmp/diff_new_pack.VYMLVM/_new  2018-01-05 01:00:10.424877186 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           getmail
-Version:        5.4
+Version:        5.5
 Release:        0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Url:            http://pyropus.ca/software/getmail/

++++++ _service ++++++
--- /var/tmp/diff_new_pack.VYMLVM/_old  2018-01-05 01:00:10.464863883 +0100
+++ /var/tmp/diff_new_pack.VYMLVM/_new  2018-01-05 01:00:10.464863883 +0100
@@ -1,7 +1,7 @@
 <services>
 <service name="verify_file" mode="localonly">
   <param name="verifier">sha256</param>
-  <param 
name="checksum">ba896f7b3fbae4e9e79f7135e6c2b10b281170d2877b91fb2b265c927ed29ac7</param>
-  <param name="file">getmail-5.4.tar.gz</param>
+  <param 
name="checksum">e0382ee59f1ec6ac2d6f01b71ca71db0826db0d267704b2bc2d97b9beda28350</param>
+  <param name="file">getmail-5.5.tar.gz</param>
 </service>
 </services>

++++++ getmail-5.4.tar.gz -> getmail-5.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-5.4/PKG-INFO new/getmail-5.5/PKG-INFO
--- old/getmail-5.4/PKG-INFO    2017-10-06 16:13:02.000000000 +0200
+++ new/getmail-5.5/PKG-INFO    2017-12-18 22:56:09.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: getmail
-Version: 5.4
+Version: 5.5
 Summary: a mail retrieval, sorting, and delivering system
 Home-page: http://pyropus.ca/software/getmail/
 Author: Charles Cazabon
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-5.4/docs/CHANGELOG 
new/getmail-5.5/docs/CHANGELOG
--- old/getmail-5.4/docs/CHANGELOG      2017-10-06 16:12:56.000000000 +0200
+++ new/getmail-5.5/docs/CHANGELOG      2017-12-18 22:55:58.000000000 +0100
@@ -1,3 +1,9 @@
+Version 5.5
+18 December 2017
+    -feature request: added record_mailbox configuration parameter, to allow
+    turning off the header getmail adds with this information.
+    Thanks: Daniel Kahn Gillmor, Osamu Aoki,  Josh Triplett.
+
 Version 5.4
 6 October 2017
     -bugfix: fix another error in logging an error condition.  Thanks: "ng0".
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-5.4/docs/configuration.html 
new/getmail-5.5/docs/configuration.html
--- old/getmail-5.4/docs/configuration.html     2017-10-06 16:13:00.000000000 
+0200
+++ new/getmail-5.5/docs/configuration.html     2017-12-18 22:56:07.000000000 
+0100
@@ -637,6 +637,13 @@
         will not be moved at all.
     </li>
     <li>
+        record_mailbox
+        (<a href="#parameter-boolean">boolean</a>)
+        &mdash; whether to add a X-getmail-retrieved-from-mailbox: header field
+        to retrieved messages, containing the name of the selected mailbox that
+        the message was retrieved from.  This is on by default, but can be 
disabled.
+    </li>
+    <li>
         use_kerberos
         (<a href="#parameter-boolean">boolean</a>)
         &mdash; whether to use Kerberos authentication with the IMAP server.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-5.4/docs/configuration.txt 
new/getmail-5.5/docs/configuration.txt
--- old/getmail-5.4/docs/configuration.txt      2017-10-06 16:13:00.000000000 
+0200
+++ new/getmail-5.5/docs/configuration.txt      2017-12-18 22:56:08.000000000 
+0100
@@ -404,6 +404,11 @@
        The specified mail folder must exist; getmail will not create it.
        Note that if you configure getmail not to delete retrieved messages
        (the default behaviour), they will not be moved at all.
+     * record_mailbox (boolean) — whether to add a
+       X-getmail-retrieved-from-mailbox: header field to retrieved
+       messages, containing the name of the selected mailbox that the
+       message was retrieved from. This is on by default, but can be
+       disabled.
      * use_kerberos (boolean) — whether to use Kerberos authentication
        with the IMAP server. If not set, normal password-based
        authenticaion is used. Note that when you use Kerberos
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-5.4/getmail.spec new/getmail-5.5/getmail.spec
--- old/getmail-5.4/getmail.spec        2017-10-06 16:13:01.000000000 +0200
+++ new/getmail-5.5/getmail.spec        2017-12-18 22:56:08.000000000 +0100
@@ -2,7 +2,7 @@
 
 Summary: POP3 mail retriever with reliable Maildir delivery
 Name: getmail
-Version: 5.4
+Version: 5.5
 Release: 1
 License: GPL
 Group: Applications/Internet
@@ -52,6 +52,9 @@
 %{python_sitelib}/getmailcore/
 
 %changelog
+* Mon Dec 18 2017 Charles Cazabon <[email protected]>
+-update to version 5.5
+
 * Fri Oct 06 2017 Charles Cazabon <[email protected]>
 -update to version 5.4
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-5.4/getmailcore/__init__.py 
new/getmail-5.5/getmailcore/__init__.py
--- old/getmail-5.4/getmailcore/__init__.py     2017-10-06 16:12:56.000000000 
+0200
+++ new/getmail-5.5/getmailcore/__init__.py     2017-12-18 22:55:58.000000000 
+0100
@@ -16,7 +16,7 @@
     raise ImportError('getmail version 4 requires Python version 2.3.3'
                       ' or later')
 
-__version__ = '5.4'
+__version__ = '5.5'
 
 __all__ = [
     'baseclasses',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-5.4/getmailcore/_retrieverbases.py 
new/getmail-5.5/getmailcore/_retrieverbases.py
--- old/getmail-5.4/getmailcore/_retrieverbases.py      2017-10-06 
16:12:56.000000000 +0200
+++ new/getmail-5.5/getmailcore/_retrieverbases.py      2017-12-18 
22:22:56.000000000 +0100
@@ -1582,8 +1582,9 @@
                                             % msgid)
 
             # record mailbox retrieved from in a header
-            msg.add_header('X-getmail-retrieved-from-mailbox', 
-                           self.mailbox_selected)
+            if self.conf['record_mailbox']:
+                msg.add_header('X-getmail-retrieved-from-mailbox', 
+                               self.mailbox_selected)
 
             # google extensions: apply labels, etc
             if 'X-GM-EXT-1' in self.conn.capabilities:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-5.4/getmailcore/retrievers.py 
new/getmail-5.5/getmailcore/retrievers.py
--- old/getmail-5.4/getmailcore/retrievers.py   2017-07-15 23:37:25.000000000 
+0200
+++ new/getmail-5.5/getmailcore/retrievers.py   2017-12-18 22:22:56.000000000 
+0100
@@ -383,6 +383,7 @@
                            default="('INBOX', )", allow_specials=('ALL',)),
         ConfBool(name='use_peek', required=False, default=True),
         ConfString(name='move_on_delete', required=False, default=None),
+        ConfBool(name='record_mailbox', required=False, default=True),
         # imaplib.IMAP4.login_cram_md5() requires the (unimplemented)
         # .authenticate(), so we can't do this yet (?).
         ConfBool(name='use_cram_md5', required=False, default=False),
@@ -425,6 +426,7 @@
                            default="('INBOX', )", allow_specials=('ALL',)),
         ConfBool(name='use_peek', required=False, default=True),
         ConfString(name='move_on_delete', required=False, default=None),
+        ConfBool(name='record_mailbox', required=False, default=True),
         ConfFile(name='keyfile', required=False, default=None),
         ConfFile(name='certfile', required=False, default=None),
         ConfFile(name='ca_certs', required=False, default=None),
@@ -472,6 +474,7 @@
                            default="('INBOX', )", allow_specials=('ALL',)),
         ConfBool(name='use_peek', required=False, default=True),
         ConfString(name='move_on_delete', required=False, default=None),
+        ConfBool(name='record_mailbox', required=False, default=True),
         # imaplib.IMAP4.login_cram_md5() requires the (unimplemented)
         # .authenticate(), so we can't do this yet (?).
         ConfBool(name='use_cram_md5', required=False, default=False),
@@ -515,6 +518,7 @@
                            default="('INBOX', )", allow_specials=('ALL',)),
         ConfBool(name='use_peek', required=False, default=True),
         ConfString(name='move_on_delete', required=False, default=None),
+        ConfBool(name='record_mailbox', required=False, default=True),
         ConfFile(name='keyfile', required=False, default=None),
         ConfFile(name='certfile', required=False, default=None),
         ConfFile(name='ca_certs', required=False, default=None),
@@ -544,3 +548,4 @@
         self.log.trace()
         self.log.info('MultidropIMAPSSLRetriever(%s)' % self._confstring()
                       + os.linesep)
+


Reply via email to