rpms/dovecot/devel dovecot-2.0-betahotfix.patch, NONE, 1.1 .cvsignore, 1.72, 1.73 dovecot.spec, 1.166, 1.167 sources, 1.76, 1.77

Michal Hlavinka mhlavink at fedoraproject.org
Tue Apr 6 12:04:24 UTC 2010


Author: mhlavink

Update of /cvs/pkgs/rpms/dovecot/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26595

Modified Files:
	.cvsignore dovecot.spec sources 
Added Files:
	dovecot-2.0-betahotfix.patch 
Log Message:
* Tue Mar 30 2010 Michal Hlavinka <mhlavink at redhat.com> - 1:2.0-0.4.beta4.20100406
- updated to snapshot 20100406
- auth: If userdb lookup fails internally, don't cache the result.
- Added support for userdb lookup to fail with a reason
- sdbox: mailbox_update() could have changed UIDVALIDITY incorrectly
- layout=maildir++: Fixed deleting mailboxes with mailbox=file storages
- Fixed potential problems with parsing invalid address groups.
- dsync: Don't repeatedly try to keep opening the same failing mailbox
- lib-storage: Don't crash if root mail directory isn't given.


dovecot-2.0-betahotfix.patch:
 main.c |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

--- NEW FILE dovecot-2.0-betahotfix.patch ---
diff -up dovecot-2.0.beta4/dovecot-2-0-pigeonhole-940554ef4a55/src/managesieve/main.c.betahotfix dovecot-2.0.beta4/dovecot-2-0-pigeonhole-940554ef4a55/src/managesieve/main.c
--- dovecot-2.0.beta4/dovecot-2-0-pigeonhole-940554ef4a55/src/managesieve/main.c.betahotfix	2010-04-06 11:00:28.995085479 +0200
+++ dovecot-2.0.beta4/dovecot-2-0-pigeonhole-940554ef4a55/src/managesieve/main.c	2010-04-06 11:13:50.448016048 +0200
@@ -231,6 +231,14 @@ static void client_connected(const struc
 	}
 }
 
+static void login_client_failed(const struct master_login_client *client,
+				const char *errormsg)
+{
+	const char *msg;
+	msg = t_strdup_printf("* BAD %s\r\n", errormsg);
+	(void)write(client->fd, msg, strlen(msg));
+}
+
 int main(int argc, char *argv[])
 {
 	static const struct setting_parser_info *set_roots[] = {
@@ -284,7 +292,8 @@ int main(int argc, char *argv[])
 	} else {
 		master_login = master_login_init(master_service, "auth-master",
 						 postlogin_socket_path,
-						 login_client_connected);
+						 login_client_connected,
+						 login_client_failed);
 		io_loop_set_running(current_ioloop);
 	}
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/dovecot/devel/.cvsignore,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -p -r1.72 -r1.73
--- .cvsignore	30 Mar 2010 09:40:11 -0000	1.72
+++ .cvsignore	6 Apr 2010 12:04:23 -0000	1.73
@@ -1,2 +1,2 @@
-dovecot-20100330.tar.gz
+dovecot-20100406.tar.gz
 pigeonhole-snap940554ef4a55.tar.bzip2


Index: dovecot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dovecot/devel/dovecot.spec,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -p -r1.166 -r1.167
--- dovecot.spec	30 Mar 2010 09:40:11 -0000	1.166
+++ dovecot.spec	6 Apr 2010 12:04:23 -0000	1.167
@@ -1,11 +1,11 @@
 %global betasuffix .beta4
-%global snapsuffix 20100330
+%global snapsuffix 20100406
 
 Summary: Secure imap and pop3 server
 Name: dovecot
 Epoch: 1
 Version: 2.0
-Release: 0.3%{?betasuffix}.%{?snapsuffix}%{?dist}
+Release: 0.4%{?betasuffix}.%{?snapsuffix}%{?dist}
 #dovecot itself is MIT, a few sources are PD, (manage)sieve is LGPLv2, perfect_maildir.pl is GPLv2+
 License: MIT and LGPLv2 and GPLv2+
 Group: System Environment/Daemons
@@ -41,6 +41,8 @@ Patch1: dovecot-2.0-defaultconfig.patch
 Patch2: dovecot-1.0.beta2-mkcert-permissions.patch
 Patch3: dovecot-1.0.rc7-mkcert-paths.patch
 
+Patch4: dovecot-2.0-betahotfix.patch
+
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: openssl-devel, pam-devel, zlib-devel, bzip2-devel, libcap-devel
 BuildRequires: libtool, autoconf, automake, pkgconfig
@@ -112,6 +114,7 @@ This package provides the development fi
 #%patch1 -p1 -b .default-settings
 %patch2 -p1 -b .mkcert-permissions
 %patch3 -p1 -b .mkcert-paths
+%patch4 -p1 -b .betahotfix
 
 %build
 #autotools hacks can be removed later, nightly does not support --docdir
@@ -362,6 +365,16 @@ fi
 %{_libdir}/%{name}/dict/libdriver_pgsql.so
 
 %changelog
+* Tue Mar 30 2010 Michal Hlavinka <mhlavink at redhat.com> - 1:2.0-0.4.beta4.20100406
+- updated to snapshot 20100406
+- auth: If userdb lookup fails internally, don't cache the result.
+- Added support for userdb lookup to fail with a reason
+- sdbox: mailbox_update() could have changed UIDVALIDITY incorrectly
+- layout=maildir++: Fixed deleting mailboxes with mailbox=file storages
+- Fixed potential problems with parsing invalid address groups.
+- dsync: Don't repeatedly try to keep opening the same failing mailbox
+- lib-storage: Don't crash if root mail directory isn't given.
+
 * Tue Mar 30 2010 Michal Hlavinka <mhlavink at redhat.com> - 1:2.0-0.3.beta4.20100330
 - fix certs location in ssl.conf
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/dovecot/devel/sources,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -p -r1.76 -r1.77
--- sources	30 Mar 2010 09:40:11 -0000	1.76
+++ sources	6 Apr 2010 12:04:23 -0000	1.77
@@ -1,2 +1,2 @@
-6f20b2963795df22772d2c74a5036838  dovecot-20100330.tar.gz
+1741ee74a123e22047f90a723af8cf10  dovecot-20100406.tar.gz
 c096447bc5bc6da3a816e23a66016d7b  pigeonhole-snap940554ef4a55.tar.bzip2



More information about the scm-commits mailing list