Hello community, here is the log from the commit of package imapfilter checked in at Mon Feb 18 12:05:08 CET 2008. -------- --- imapfilter/imapfilter.changes 2008-01-07 09:46:49.000000000 +0100 +++ /mounts/work_src_done/STABLE/imapfilter/imapfilter.changes 2008-02-18 09:04:55.000000000 +0100 @@ -1,0 +2,11 @@ +Mon Feb 18 09:04:08 CET 2008 - mskibbe@suse.de + +- update to version 2.0.10 which: + o Bug fix; failed a great number (tens of thousands) of commands + were exchanged with an IMAP server + o Bug fix; failed to fetch the body of some messages in some + extremely rare occasions + o Bug fix; the description for the contain_header() method was + clarified + +------------------------------------------------------------------- Old: ---- imapfilter-2.0.9.tar.bz2 New: ---- imapfilter-2.0.10.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ imapfilter.spec ++++++ --- /var/tmp/diff_new_pack.p30956/_old 2008-02-18 12:03:47.000000000 +0100 +++ /var/tmp/diff_new_pack.p30956/_new 2008-02-18 12:03:47.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package imapfilter (Version 2.0.9) +# spec file for package imapfilter (Version 2.0.10) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -10,11 +10,12 @@ # norootforbuild + Name: imapfilter BuildRequires: lua-devel openssl-devel pcre-devel pkgconfig Requires: lua-libs >= 5.1 Summary: a mail filtering utility -Version: 2.0.9 +Version: 2.0.10 Release: 1 License: X11/MIT Group: Productivity/Networking/Email/Utilities @@ -61,7 +62,15 @@ %{_mandir}/man5/imapfilter_config.5.gz %changelog -* Mon Jan 07 2008 - mskibbe@suse.de +* Mon Feb 18 2008 mskibbe@suse.de +- update to version 2.0.10 which: + o Bug fix; failed a great number (tens of thousands) of commands + were exchanged with an IMAP server + o Bug fix; failed to fetch the body of some messages in some + extremely rare occasions + o Bug fix; the description for the contain_header() method was + clarified +* Mon Jan 07 2008 mskibbe@suse.de - update to version 2.0.9 which: o on some platforms it is necessary to link against the math library @@ -70,11 +79,11 @@ matched. o note added in the documentation about the need to use double backslashes inside of regular expression patterns. -* Mon Oct 08 2007 - mskibbe@suse.de +* Mon Oct 08 2007 mskibbe@suse.de - update to version 2.0.6 which: o fix a bug that the select_all() method sent an incorrect format and this caused an error in some mail servers. -* Fri Oct 05 2007 - mmaher@suse.de +* Fri Oct 05 2007 mmaher@suse.de - update to version 2.0.5 which: * Bug fix; an error in the sample extensions file. * Bug fix; typo errors in the manual page. @@ -82,7 +91,7 @@ access mailboxes inside folders. * Examples were added on how to define composite filters that include multiple searching rules. -* Fri Sep 28 2007 - mskibbe@suse.de +* Fri Sep 28 2007 mskibbe@suse.de - update to version 2.0.4 which * Bug fix; the send_query() method didn't return the special form of table that the rest of the searching methods did. @@ -91,7 +100,7 @@ * A new variable that was added to the Makefile makes it possible to set an alternative environment for the installation path. - delete obsolete patches -* Tue Jul 31 2007 - mskibbe@suse.de +* Tue Jul 31 2007 mskibbe@suse.de - update to version 2.0.3 which: * New, more powerful, feature rich and yet simpler configuration file @@ -106,13 +115,13 @@ * Effective caching subsystem when fetching message parts * Can still read old version 1.x configuration files for compatibility -* Thu Jan 11 2007 - mskibbe@suse.de +* Thu Jan 11 2007 mskibbe@suse.de - fix segfault at start -* Fri Nov 17 2006 - mskibbe@suse.de +* Fri Nov 17 2006 mskibbe@suse.de - fix requires -* Fri Oct 20 2006 - ro@suse.de +* Fri Oct 20 2006 ro@suse.de - use pkgconfig to get lua libs -* Wed Aug 02 2006 - mskibbe@suse.de +* Wed Aug 02 2006 mskibbe@suse.de - fixed some compiler warnings - add RPM_OPT_FLAGS to make - update to version 1.2.2 which @@ -126,6 +135,6 @@ listing mailboxes inside a specific folder. o It is now possible to define new user keywords for messages inside a mailbox, apart from the standard system flags. -* Mon Jul 17 2006 - mskibbe@suse.de +* Mon Jul 17 2006 mskibbe@suse.de - create package - add fix to build in BUILDROOT ++++++ imapfilter-2.0.9.tar.bz2 -> imapfilter-2.0.10.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.9/imap.c new/imapfilter-2.0.10/imap.c --- old/imapfilter-2.0.9/imap.c 2007-12-26 11:19:21.000000000 +0100 +++ new/imapfilter-2.0.10/imap.c 2008-02-16 23:00:03.000000000 +0100 @@ -27,6 +27,7 @@ int send_command(session *ssn, char *cmd, char *alt) { + int t = tag; if (ssn->socket == -1) return -1; @@ -41,8 +42,9 @@ if (tag == 0xFFFF) /* Tag always between 0x1000 and 0xFFFF. */ tag = 0x0FFF; + tag++; - return tag++; + return t; } Files old/imapfilter-2.0.9/.imap.c.swp and new/imapfilter-2.0.10/.imap.c.swp differ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.9/imapfilter_config.5 new/imapfilter-2.0.10/imapfilter_config.5 --- old/imapfilter-2.0.9/imapfilter_config.5 2007-12-26 11:19:21.000000000 +0100 +++ new/imapfilter-2.0.10/imapfilter_config.5 2008-02-16 23:00:03.000000000 +0100 @@ -1,4 +1,4 @@ -.Dd December 26, 2007 +.Dd February 16, 2008 .Dt IMAPFILTER_CONFIG 5 .Os .Sh NAME @@ -618,7 +618,9 @@ Messages that contain the .Fa string .Pq Vt string -in the message header. +in the message header, but not in the message body. Note that due to an IMAP +limitation there is no way to search for a string only in the message header, +and this oddly behaving method is included only for consistency. .Pp .It Fn contain_body string Messages that contain the diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.9/LICENSE new/imapfilter-2.0.10/LICENSE --- old/imapfilter-2.0.9/LICENSE 2007-12-26 11:19:21.000000000 +0100 +++ new/imapfilter-2.0.10/LICENSE 2008-02-16 23:00:03.000000000 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2001-2007 Lefteris Chatzimparmpas +Copyright (c) 2001-2008 Eleftherios Chatzimparmpas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.9/NEWS new/imapfilter-2.0.10/NEWS --- old/imapfilter-2.0.9/NEWS 2007-12-26 11:19:21.000000000 +0100 +++ new/imapfilter-2.0.10/NEWS 2008-02-16 23:03:45.000000000 +0100 @@ -1,3 +1,12 @@ +Version 2.0.10 - 16 February 2008 +--------------------------------- +- Bug fix; failed a great number (tens of thousands) of commands were exchanged + with an IMAP server +- Bug fix; failed to fetch the body of some messages in some extremely rare + occasions +- Bug fix; the description for the contain_header() method was clarified + + Version 2.0.9 - 26 December 2007 -------------------------------- - Bug fix; the match_*() methods failed to match messages. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.9/README new/imapfilter-2.0.10/README --- old/imapfilter-2.0.9/README 2007-12-26 11:19:21.000000000 +0100 +++ new/imapfilter-2.0.10/README 2008-02-16 23:00:03.000000000 +0100 @@ -1,5 +1,5 @@ -IMAPFilter Version 2.0.9 -======================== +IMAPFilter Version 2.0.10 +========================= Requirements ------------ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.9/response.c new/imapfilter-2.0.10/response.c --- old/imapfilter-2.0.9/response.c 2007-12-26 11:19:21.000000000 +0100 +++ new/imapfilter-2.0.10/response.c 2008-02-16 23:00:03.000000000 +0100 @@ -694,10 +694,6 @@ return -1; ibuf.len += n; - if (ibuf.len >= offset) - if (check_bye(ibuf.data + offset)) - return -1; - if (match != 0) { match = regexec(re->preg, ibuf.data, re->nmatch, re->pmatch, 0); @@ -709,6 +705,11 @@ offset = re->pmatch[0].rm_eo + *len; } } + + if (offset != 0 && ibuf.len >= offset) { + if (check_bye(ibuf.data + offset)) + return -1; + } } while (ibuf.len < offset || (r = check_tag(ibuf.data + offset, ssn, tag)) == STATUS_RESPONSE_NONE); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/imapfilter-2.0.9/version.h new/imapfilter-2.0.10/version.h --- old/imapfilter-2.0.9/version.h 2007-12-26 11:19:21.000000000 +0100 +++ new/imapfilter-2.0.10/version.h 2008-02-16 23:00:03.000000000 +0100 @@ -3,10 +3,10 @@ /* Program's version number. */ -#define IMAPFILTER_VERSION "2.0.9" +#define IMAPFILTER_VERSION "2.0.10" /* Program's copyright. */ -#define IMAPFILTER_COPYRIGHT "Copyright (c) 2001-2007 Lefteris Chatzimparmpas" +#define IMAPFILTER_COPYRIGHT "Copyright (c) 2001-2008 Eleftherios Chatzimparmpas" #endif /* VERSION_H */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de