Hello community,
here is the log from the commit of package dovecot
checked in at Thu Aug 2 16:03:54 CEST 2007.
--------
--- dovecot/dovecot.changes 2007-03-28 20:54:51.000000000 +0200
+++ /mounts/work_src_done/STABLE/dovecot/dovecot.changes 2007-08-02 16:01:41.957759000 +0200
@@ -1,0 +2,190 @@
+Thu Aug 2 15:37:12 CEST 2007 - mrueckert@suse.de
+
+- updated dovecot-1.0.3_bad_fetch_store.patch:
+ the last change was not 100% correct. fixed.
+
+-------------------------------------------------------------------
+Wed Aug 1 15:37:00 CEST 2007 - mrueckert@suse.de
+
+- update to v1.0.3
+ | - deliver: v1.0.2's bounce fix caused message to be always
+ | saved to INBOX even if Sieve script had discard, reject or
+ | redirect commands.
+ | - LDAP: auth_bind=yes and empty auth_bind_userdn leaked memory
+ | - ACL plugin: If user was given i (insert) right for a mailbox,
+ | but not all s/t/w (seen, deleted, other flags) rights, COPY
+ | and APPEND commands weren't supposed to allow saving those
+ | flags. This is technically a security fix, but it's unlikely
+ | this caused problems for anyone.
+ | - ACL plugin: i (insert) right didn't work unless user was also
+ | given l (lookup) right.
+ | - Solaris: Fixed filesystem quota for autofs mounts.
+- update dovecot-sieve to v1.0.2
+ | - Vacation crashfix: If there's no return path (or it's
+ | broken), getenvelope()
+ | - Log a bit more if debug is enabled.
+ | - If sieve_execute_bytecode() fails, log an error.
+ | - Added support for mailto notify. Patch by Uldis Pakuls.
+ | - renamed global_script_path to sieve_global_path
+- removed dovecot-1.0.2_better_logging.patch and
+ dovecot-sieve-1.0.1_latest_fixes.patch:
+ included in update
+- rediffed dovecot-sieve.cvs_pie.patch
+ new name dovecot-sieve-1.0.2_pie.patch
+- added dovecot-1.0.3_bad_fetch_store.patch:
+ fixed error handling for FETCH/STORE
+
+-------------------------------------------------------------------
+Mon Jul 16 15:34:04 CEST 2007 - mrueckert@suse.de
+
+- update to v1.0.2
+ | * dbox isn't built anymore by default. It will be redesigned so
+ | it shouldn't be used.
+ |
+ | + Maildir: Support reading dovecot-uidlist (v3) files created
+ | by Dovecot v1.1.
+ | - Maildir: "UIDVALIDITY changed" errors could happen with newly
+ | created mailboxes
+ | - If "INBOX." namespace was used, LIST returned it with
+ | \HasNoChildren which caused some clients not to show any
+ | other mailboxes.
+ | - Maildir++ quota: If multiple processes were updating
+ | maildirsize at the same time, we failed with "Unknown error".
+ | - IMAP: IDLE didn't actually disconnect client after 30 minutes
+ | of inactivity.
+ | - LDAP passdb/userdb was leaking memory
+ | - deliver: %variables in plugin {} weren't expanded
+ | - deliver: Don't bounce the mail if Sieve plugin returns
+ | failure
+- added dovecot-1.0.2_better_logging.patch:
+ a few improved log messages (pulled from the repos)
+- added dovecot-sieve-1.0.1_latest_fixes.patch:
+ a crashfix in the vacation part and a few improved debug messages
+ (pulled from the repos, full changes messages in the patch)
+- removed dovecot-1.0.1_latest_fixes.patch:
+ included in new release
+
+-------------------------------------------------------------------
+Mon Jun 18 22:24:40 CEST 2007 - mrueckert@suse.de
+
+- update to v1.0.1
+ | * deliver: If Return-Path doesn't contain user and domain,
+ | don't try to bounce the mail (this is how it was supposed to
+ | work earlier too)
+ | * deliver: %variables in mail setting coming from userdb aren't
+ | expanded anymore (again how it should have worked). The
+ | expansion could have caused problems if paths contained any
+ | '%' characters.
+ | + Print Dovecot version number with dovecot -n and -a
+ | + deliver: Added -e parameter to write rejection error to
+ | stderr and exit with EX_NOPERM instead of sending the
+ | rejection by executing sendmail.
+ | + dovecot --log-error logs now a warning, an error and a fatal
+ | - Trying to start Dovecot while it's already running doesn't
+ | anymore wipe out login_dir and break the running Dovecot.
+ | - maildir: Fixed "UID larger than next_uid" errors which
+ | happened sometimes when dovecot-uidlist file didn't exist but
+ | index files did (usually because mailbox didn't have any
+ | messages when it was selected for the first time)
+ | - maildir: We violated maildir spec a bit by not having keyword
+ | characters sorted in the filename.
+ | - maildir: If we don't have write access to cur/ directory,
+ | treat the mailbox as read-only. This fixes some internal
+ | error problems with trying to use read-only maildirs.
+ | - maildir: Deleting a symlinked maildir failed with internal
+ | error.
+ | - mbox: pop3_uidl_format=%m wasn't working right
+ | - mbox: If non-filesystem quota was enabled, we could have
+ | failed with "Unexpectedly lost From-line" errors while saving
+ | new messages
+ | - mysql auth: %c didn't work. Patch by Andrey Panin
+ | - APPEND / SEARCH: If internaldate was outside valid value for
+ | time_t, we returned BAD error for APPEND and SEARCH never
+ | matched. With 64bit systems this shouldn't have happened.
+ | With 32bit systems the valid range is usually for years
+ | 1902..2037.
+ | - COPY: We sent "Hang in there.." too early sometimes and
+ | checked it too often (didn't break anything, but was slower
+ | than needed).
+ | - deliver: Postfix's sendmail binary wasn't working with
+ | mail_debug=yes
+ | - Don't corrupt ssl-parameters.dat files when running multiple
+ | Dovecot instances.
+ | - Cache compression caused dovecot.index.cache to be completely
+ | deleted with big endian CPUs if 64bit file offsets were used
+ | (default)
+ | - Fixed "(index_mail_parse_header): assertion failed" crash
+- fixed a few rpmlint warnings:
+ (dovecot.init): missing Short-Description, updated the Copyright
+ header.
+ (dovec.spec): dont install empty changelog file
+- added dovecot-1.0.1_latest_fixes.patch:
+ a few small fixes from HEAD of the 1.0 branch. full changelog
+ included in the patch file
+
+-------------------------------------------------------------------
+Fri Apr 13 16:31:15 CEST 2007 - mrueckert@suse.de
+
+- update to v1.0.0. finally!:)
+ | + Documentation updated.
+- additional changes from v1.0.rc32:
+ | - LDAP, auth_bind=no: Don't crash if doing non-plaintext ldap
+ | passdb lookup for unknown user. This also broke deliver when
+ | userdb static was used.
+ | - LDAP, auth_bind=yes and userdb ldap: We didn't wait until
+ | bind was finished before sending the userdb request, which
+ | could have caused problems.
+ | - LDAP: Don't break when compiling with OpenLDAP v2.3 library
+ | - Convert plugin: Don't create "maildirfolder" file to Maildir
+ | root.
+- removed -DLDAP_DEPRECATED from the CFLAGS. This is done in the
+ code now.
+
+-------------------------------------------------------------------
+Sun Apr 8 16:48:34 CEST 2007 - mrueckert@suse.de
+
+- updated to v1.0rc31
+ | - mbox: Give "mbox file was modified while we were syncing"
+ | error only if we detect some problems in the mbox file. The
+ | check can't be trusted with NFS.
+ | - Convert plugin: If directory for destination storage doesn't
+ | exist, create it.
+ | - Convert plugin: Mailbox names weren't converted in
+ | subscription list.
+
+-------------------------------------------------------------------
+Fri Apr 6 22:23:31 CEST 2007 - mrueckert@suse.de
+
+- updated to v1.0rc30
+ | * PAM: Lowercase the PAM service name when calling with
+ | "args = *". Linux PAM did this internally already, but at
+ | least BSD didn't. If your PAM file used to be in
+ | /etc/pam.d/IMAP or POP3 file you'll need to lowercase it now.
+ |
+ | + Send list of CA names to client when using
+ | ssl_verify_client_cert=yes.
+ | - IMAP: If message body started with line feed, it wasn't
+ | counted in BODY and BODYSTRUCTURE replies' line count field.
+ | - deliver didn't load plugins before chrooting
+
+- additional changes from v1.0rc29
+ | * Security fix: If zlib plugin was loaded, it was possible to
+ | open gzipped mbox files outside the user's mail directory.
+ | + Added auth_gssapi_hostname setting.
+ | - IMAP: LIST "" "" didn't return anything if there didn't exist
+ | a namespace with empty prefix. This broke some clients.
+ | - If Dovecot is tried to be started when it's already running,
+ | don't delete existing auth sockets and break the running
+ | Dovecot
+ | - If deliver failed too early it still returned exit code 89
+ | instead of EX_TEMPFAIL.
+ | - deliver: INBOX fallbacking with -n parameter wasn't working.
+ | - passdb passwd and shadow couldn't be used as master or deny
+ | databases
+ | - IDLE: inotify didn't notice changes in mbox file
+ | - If index file directory couldn't be created, disable indexes
+ | instead of failing to open the mailbox.
+ | - rawlog wasn't working with chrooting
+ | - Several other minor fixes
+
+-------------------------------------------------------------------
Old:
----
dovecot-1.0.rc28.tar.gz
dovecot-sieve-1.0.1.tar.gz
dovecot-sieve.cvs_pie.patch
New:
----
dovecot-1.0.3_bad_fetch_store.patch
dovecot-1.0.3.tar.gz
dovecot-rpmlintrc
dovecot-sieve-1.0.2_pie.patch
dovecot-sieve-1.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dovecot.spec ++++++
--- /var/tmp/diff_new_pack.S13902/_old 2007-08-02 16:02:04.000000000 +0200
+++ /var/tmp/diff_new_pack.S13902/_new 2007-08-02 16:02:04.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package dovecot (Version 1.0.rc28)
+# spec file for package dovecot (Version 1.0.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: dovecot
-Version: 1.0.rc28
+Version: 1.0.3
Release: 1
-%define dovecot_sieve_version 1.0.1
+%define dovecot_sieve_version 1.0.2
#
Group: Productivity/Networking/Email/Servers
-License: BSD License and BSD-like, GNU Library General Public License v. 2.0 and 2.1 (LGPL)
+License: BSD 3-Clause, LGPL v2 or later
#
%define makeinstall make install DESTDIR=%{buildroot}
%define pkg_name dovecot
@@ -40,8 +40,10 @@
Source2: %{pkg_name}.init
Source3: %{pkg_name}.pam
Source4: %{pkg_name}.README.SuSE
+Source5: dovecot-rpmlintrc
Patch: dovecot-1.0.cvs_pie.patch
-Patch1: dovecot-sieve.cvs_pie.patch
+Patch1: dovecot-sieve-1.0.2_pie.patch
+Patch2: dovecot-1.0.3_bad_fetch_store.patch
#
Summary: IMAP and POP3 Server Written Primarily with Security in Mind
@@ -60,12 +62,11 @@
--------
Timo Sirainen
-Summary: IMAP and POP3 Server Written Primarily with Security in Mind
%package devel
-Group: Productivity/Networking/Email/Servers
+Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
#
-Summary: IMAP and POP3 Server Written Primarily with Security in Mind
+Summary: Development files for Dovecot plugins
%description devel
Dovecot is an IMAP and POP3 server for Linux and UNIX-like systems,
@@ -76,6 +77,9 @@
compatible with UW-IMAP and Courier IMAP servers as well as mail
clients accessing the mailboxes directly.
+This package holds the file needed to compile plugins outside of the
+dovecot tree.
+
Authors:
@@ -86,12 +90,13 @@
%setup -a 1
%patch
%patch1
+%patch2
%{__sed} -i -e 's|#ssl_disable = no|ssl_disable = yes|' %{pkg_name}-example.conf
%{__sed} -i -e 's|/usr/libexec|%{_libdir}|g' %{pkg_name}-example.conf
%{__perl} -p -i -e 's|#(mail_plugin_dir =) /usr/lib/dovecot/(.*)$|$1 %{_libdir}/dovecot/modules/$2|g' %{pkg_name}-example.conf
%build
-export CFLAGS="%{optflags} -g -DLDAP_DEPRECATED"
+export CFLAGS="%{optflags} -g"
%if 0%{?suse_version} > 1000
export CFLAGS="$CFLAGS -fstack-protector"
%endif
@@ -149,7 +154,7 @@
popd
%install
-%makeinstall docdir=%{_docdir}/%{pkg_name}
+%makeinstall docdir=%{_docdir}/%{pkg_name} wikidir=%{_docdir}/%{pkg_name}/wiki
%makeinstall -C dovecot-sieve-%{dovecot_sieve_version} docdir=%{_docdir}/%{pkg_name}
find %{buildroot}%{_libdir}/%{pkg_name}/modules/ -type f -name \*.la -print0 | xargs -r0 rm -v
find %{buildroot}%{_libdir}/%{pkg_name}/modules/ -type f -name \*.a -print0 | xargs -r0 rm -v
@@ -170,7 +175,7 @@
%{__install} -m 0644 %{S:4} %{buildroot}%{_docdir}/%{pkg_name}/README.SuSE
#
# documentation for the cmu sieve module
-for i in dovecot-sieve-%{dovecot_sieve_version}/src/libsieve/{AUTHORS,ChangeLog,COPYING,NEWS,README} ; do
+for i in dovecot-sieve-%{dovecot_sieve_version}/src/libsieve/{AUTHORS,COPYING,NEWS,README} ; do
%{__install} -m 0644 $i %{buildroot}%{_docdir}/%{pkg_name}/${i##dovecot-sieve-%{dovecot_sieve_version}/src/libsieve/}.libsieve
done
for i in dovecot-sieve-%{dovecot_sieve_version}/AUTHORS ; do
@@ -271,6 +276,174 @@
#%{_prefix}/lib/%{pkg_name}/dovecot-config
%changelog
+* Thu Aug 02 2007 - mrueckert@suse.de
+- updated dovecot-1.0.3_bad_fetch_store.patch:
+ the last change was not 100%% correct. fixed.
+* Wed Aug 01 2007 - mrueckert@suse.de
+- update to v1.0.3
+ | - deliver: v1.0.2's bounce fix caused message to be always
+ | saved to INBOX even if Sieve script had discard, reject or
+ | redirect commands.
+ | - LDAP: auth_bind=yes and empty auth_bind_userdn leaked memory
+ | - ACL plugin: If user was given i (insert) right for a mailbox,
+ | but not all s/t/w (seen, deleted, other flags) rights, COPY
+ | and APPEND commands weren't supposed to allow saving those
+ | flags. This is technically a security fix, but it's unlikely
+ | this caused problems for anyone.
+ | - ACL plugin: i (insert) right didn't work unless user was also
+ | given l (lookup) right.
+ | - Solaris: Fixed filesystem quota for autofs mounts.
+- update dovecot-sieve to v1.0.2
+ | - Vacation crashfix: If there's no return path (or it's
+ | broken), getenvelope()
+ | - Log a bit more if debug is enabled.
+ | - If sieve_execute_bytecode() fails, log an error.
+ | - Added support for mailto notify. Patch by Uldis Pakuls.
+ | - renamed global_script_path to sieve_global_path
+- removed dovecot-1.0.2_better_logging.patch and
+ dovecot-sieve-1.0.1_latest_fixes.patch:
+ included in update
+- rediffed dovecot-sieve.cvs_pie.patch
+ new name dovecot-sieve-1.0.2_pie.patch
+- added dovecot-1.0.3_bad_fetch_store.patch:
+ fixed error handling for FETCH/STORE
+* Mon Jul 16 2007 - mrueckert@suse.de
+- update to v1.0.2
+ | * dbox isn't built anymore by default. It will be redesigned so
+ | it shouldn't be used.
+ |
+ | + Maildir: Support reading dovecot-uidlist (v3) files created
+ | by Dovecot v1.1.
+ | - Maildir: "UIDVALIDITY changed" errors could happen with newly
+ | created mailboxes
+ | - If "INBOX." namespace was used, LIST returned it with
+ | \HasNoChildren which caused some clients not to show any
+ | other mailboxes.
+ | - Maildir++ quota: If multiple processes were updating
+ | maildirsize at the same time, we failed with "Unknown error".
+ | - IMAP: IDLE didn't actually disconnect client after 30 minutes
+ | of inactivity.
+ | - LDAP passdb/userdb was leaking memory
+ | - deliver: %%variables in plugin {} weren't expanded
+ | - deliver: Don't bounce the mail if Sieve plugin returns
+ | failure
+- added dovecot-1.0.2_better_logging.patch:
+ a few improved log messages (pulled from the repos)
+- added dovecot-sieve-1.0.1_latest_fixes.patch:
+ a crashfix in the vacation part and a few improved debug messages
+ (pulled from the repos, full changes messages in the patch)
+- removed dovecot-1.0.1_latest_fixes.patch:
+ included in new release
+* Mon Jun 18 2007 - mrueckert@suse.de
+- update to v1.0.1
+ | * deliver: If Return-Path doesn't contain user and domain,
+ | don't try to bounce the mail (this is how it was supposed to
+ | work earlier too)
+ | * deliver: %%variables in mail setting coming from userdb aren't
+ | expanded anymore (again how it should have worked). The
+ | expansion could have caused problems if paths contained any
+ | '%%' characters.
+ | + Print Dovecot version number with dovecot -n and -a
+ | + deliver: Added -e parameter to write rejection error to
+ | stderr and exit with EX_NOPERM instead of sending the
+ | rejection by executing sendmail.
+ | + dovecot --log-error logs now a warning, an error and a fatal
+ | - Trying to start Dovecot while it's already running doesn't
+ | anymore wipe out login_dir and break the running Dovecot.
+ | - maildir: Fixed "UID larger than next_uid" errors which
+ | happened sometimes when dovecot-uidlist file didn't exist but
+ | index files did (usually because mailbox didn't have any
+ | messages when it was selected for the first time)
+ | - maildir: We violated maildir spec a bit by not having keyword
+ | characters sorted in the filename.
+ | - maildir: If we don't have write access to cur/ directory,
+ | treat the mailbox as read-only. This fixes some internal
+ | error problems with trying to use read-only maildirs.
+ | - maildir: Deleting a symlinked maildir failed with internal
+ | error.
+ | - mbox: pop3_uidl_format=%%m wasn't working right
+ | - mbox: If non-filesystem quota was enabled, we could have
+ | failed with "Unexpectedly lost From-line" errors while saving
+ | new messages
+ | - mysql auth: %%c didn't work. Patch by Andrey Panin
+ | - APPEND / SEARCH: If internaldate was outside valid value for
+ | time_t, we returned BAD error for APPEND and SEARCH never
+ | matched. With 64bit systems this shouldn't have happened.
+ | With 32bit systems the valid range is usually for years
+ | 1902..2037.
+ | - COPY: We sent "Hang in there.." too early sometimes and
+ | checked it too often (didn't break anything, but was slower
+ | than needed).
+ | - deliver: Postfix's sendmail binary wasn't working with
+ | mail_debug=yes
+ | - Don't corrupt ssl-parameters.dat files when running multiple
+ | Dovecot instances.
+ | - Cache compression caused dovecot.index.cache to be completely
+ | deleted with big endian CPUs if 64bit file offsets were used
+ | (default)
+ | - Fixed "(index_mail_parse_header): assertion failed" crash
+- fixed a few rpmlint warnings:
+ (dovecot.init): missing Short-Description, updated the Copyright
+ header.
+ (dovec.spec): dont install empty changelog file
+- added dovecot-1.0.1_latest_fixes.patch:
+ a few small fixes from HEAD of the 1.0 branch. full changelog
+ included in the patch file
+* Fri Apr 13 2007 - mrueckert@suse.de
+- update to v1.0.0. finally!:)
+ | + Documentation updated.
+- additional changes from v1.0.rc32:
+ | - LDAP, auth_bind=no: Don't crash if doing non-plaintext ldap
+ | passdb lookup for unknown user. This also broke deliver when
+ | userdb static was used.
+ | - LDAP, auth_bind=yes and userdb ldap: We didn't wait until
+ | bind was finished before sending the userdb request, which
+ | could have caused problems.
+ | - LDAP: Don't break when compiling with OpenLDAP v2.3 library
+ | - Convert plugin: Don't create "maildirfolder" file to Maildir
+ | root.
+- removed -DLDAP_DEPRECATED from the CFLAGS. This is done in the
+ code now.
+* Sun Apr 08 2007 - mrueckert@suse.de
+- updated to v1.0rc31
+ | - mbox: Give "mbox file was modified while we were syncing"
+ | error only if we detect some problems in the mbox file. The
+ | check can't be trusted with NFS.
+ | - Convert plugin: If directory for destination storage doesn't
+ | exist, create it.
+ | - Convert plugin: Mailbox names weren't converted in
+ | subscription list.
+* Fri Apr 06 2007 - mrueckert@suse.de
+- updated to v1.0rc30
+ | * PAM: Lowercase the PAM service name when calling with
+ | "args = *". Linux PAM did this internally already, but at
+ | least BSD didn't. If your PAM file used to be in
+ | /etc/pam.d/IMAP or POP3 file you'll need to lowercase it now.
+ |
+ | + Send list of CA names to client when using
+ | ssl_verify_client_cert=yes.
+ | - IMAP: If message body started with line feed, it wasn't
+ | counted in BODY and BODYSTRUCTURE replies' line count field.
+ | - deliver didn't load plugins before chrooting
+- additional changes from v1.0rc29
+ | * Security fix: If zlib plugin was loaded, it was possible to
+ | open gzipped mbox files outside the user's mail directory.
+ | + Added auth_gssapi_hostname setting.
+ | - IMAP: LIST "" "" didn't return anything if there didn't exist
+ | a namespace with empty prefix. This broke some clients.
+ | - If Dovecot is tried to be started when it's already running,
+ | don't delete existing auth sockets and break the running
+ | Dovecot
+ | - If deliver failed too early it still returned exit code 89
+ | instead of EX_TEMPFAIL.
+ | - deliver: INBOX fallbacking with -n parameter wasn't working.
+ | - passdb passwd and shadow couldn't be used as master or deny
+ | databases
+ | - IDLE: inotify didn't notice changes in mbox file
+ | - If index file directory couldn't be created, disable indexes
+ | instead of failing to open the mailbox.
+ | - rawlog wasn't working with chrooting
+ | - Several other minor fixes
* Wed Mar 28 2007 - mrueckert@suse.de
- update to version 1.0rc28
| * deliver + userdb static: Verify the user's existence from
++++++ dovecot-1.0.3_bad_fetch_store.patch ++++++
2007-08-02 Timo Sirainen
* src/imap/imap-search.c:
Last messageset changes broke FETCH *.
[827ee7c5f14c] [tip]
* src/lib-mail/message-parser.c:
Assume MIME message if Content-Type: exists even if Mime-Version:
doesn't.
[5c29a60f0960]
2007-08-01 Timo Sirainen
* src/imap/imap-search.c:
FETCH/STORE n:* should also give BAD if n > number of messages in
mailbox.
[1b711744adf8]
* src/imap/imap-search.c:
FETCH/STORE n:* should give a BAD error if there are no messages in
mailbox.
[eee746061085]
diff -r b877f1434ba1 -r 827ee7c5f14c src/imap/imap-search.c
--- src/imap/imap-search.c Wed Aug 01 13:17:25 2007 +0300
+++ src/imap/imap-search.c Thu Aug 02 15:35:27 2007 +0300
@@ -425,7 +425,15 @@ static int imap_search_get_msgset_arg(st
arg = p_new(cmd->pool, struct mail_search_arg, 1);
arg->type = SEARCH_SEQSET;
arg->value.seqset = imap_messageset_parse(cmd->pool, messageset);
- if (arg->value.seqset == NULL ||
+ /* when there are no messages, all messagesets are invalid.
+ if there's at least one message:
+ - * gives seq1 = seq2 = (uint32_t)-1
+ - n:* should work if n <= messages_count
+ - n:m or m should work if m <= messages_count
+ */
+ if (arg->value.seqset == NULL || cmd->client->messages_count == 0 ||
+ (arg->value.seqset->seq1 > cmd->client->messages_count &&
+ arg->value.seqset->seq1 != (uint32_t)-1) ||
(arg->value.seqset->seq2 > cmd->client->messages_count &&
arg->value.seqset->seq2 != (uint32_t)-1)) {
*error_r = "Invalid messageset";
diff -r b877f1434ba1 -r 827ee7c5f14c src/lib-mail/message-parser.c
--- src/lib-mail/message-parser.c Wed Aug 01 13:17:25 2007 +0300
+++ src/lib-mail/message-parser.c Thu Aug 02 15:35:27 2007 +0300
@@ -228,6 +228,10 @@ static void message_parse_part_header(st
}
if (!hdr->eoh && strcasecmp(hdr->name, "Content-Type") == 0) {
+ /* Assume MIME message. Some mailers don't bother
+ adding Mime-Version: header. */
+ part->flags |= MESSAGE_PART_FLAG_IS_MIME;
+
if (hdr->continues) {
hdr->use_full_value = TRUE;
continue;
++++++ dovecot-1.0.rc28.tar.gz -> dovecot-1.0.3.tar.gz ++++++
++++ 92720 lines of diff (skipped)
++++++ dovecot.init ++++++
--- dovecot/dovecot.init 2007-03-28 20:54:51.000000000 +0200
+++ /mounts/work_src_done/STABLE/dovecot/dovecot.init 2007-08-02 16:01:41.981760000 +0200
@@ -1,8 +1,10 @@
#! /bin/sh
# Copyright (c) 1995-2004 SUSE Linux AG, Nuernberg, Germany.
+# 2005-2007 SUSE / Novell Inc.
# All rights reserved.
#
# Author: Mads Martin Joergensen
+# Marcus Rueckert
# Please send feedback to http://www.suse.de/feedback/
#
# /etc/init.d/dovecot
@@ -11,11 +13,12 @@
#
### BEGIN INIT INFO
# Provides: dovecot
-# Required-Start: $syslog $network
+# Required-Start: $remote_fs $syslog $network
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
-# Description: Start the dovecot server
+# Short-Description: Dovecot IMAP/POP3/SASL server
+# Description: Dovecot IMAP/POP3/SASL server
### END INIT INFO
. /etc/rc.status
++++++ dovecot-sieve-1.0.2_pie.patch ++++++
Index: dovecot-sieve-1.0.2/configure.in
===================================================================
--- dovecot-sieve-1.0.2/configure.in.orig
+++ dovecot-sieve-1.0.2/configure.in
@@ -12,6 +12,37 @@
AC_PROG_YACC
AM_PROG_LIBTOOL
+AC_ARG_ENABLE(pie,
+[ --enable-pie Enable PIE support (default)],
+ if test x$enableval = xno; then
+ want_pie=no
+ else
+ want_pie=yes
+ fi,
+ want_pie=no)
+
+dnl **
+dnl ** PIE check
+dnl **
+
+if test $want_pie = yes; then
+ AC_MSG_CHECKING([if we can use PIE])
+ # try to compile something with pie
+ old_cflags=$CFLAGS
+ CFLAGS="-pie -fPIE -DPIE -Werror"
+ AC_TRY_LINK([],,[
+ LIBS="$LIBS -pie"
+ # enforce -fPIC so all objects are compiled with it
+ CFLAGS="$old_cflags -fPIC -DPIC"
+ ac_want_pie="yes"
+ ], [
+ # restore old CFLAGS
+ CFLAGS="$old_cflags"
+ ac_want_pie="no"
+ ])
+ AC_MSG_RESULT($ac_want_pie)
+fi
+
AC_ARG_WITH(dovecot,
[ --with-dovecot[=DIR] Dovecot base directory (../)],
dovecotdir="$withval",
++++++ dovecot-sieve-1.0.1.tar.gz -> dovecot-sieve-1.0.2.tar.gz ++++++
++++ 11478 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org