rpms/dovecot/FC-5 dovecot-1.0.beta8-master-login-fix.patch, NONE, 1.1 dovecot.spec, 1.53, 1.54

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Mar 2 12:04:57 UTC 2007


Author: tjanouse

Update of /cvs/dist/rpms/dovecot/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv21106

Modified Files:
	dovecot.spec 
Added Files:
	dovecot-1.0.beta8-master-login-fix.patch 
Log Message:
* Fri Mar 02 2007 Tomas Janousek <tjanouse at redhat.com> - 1.0-0.beta8.4.fc5
- a little master login fix (#224925)


dovecot-1.0.beta8-master-login-fix.patch:
 mech-plain.c |    5 +++++
 1 files changed, 5 insertions(+)

--- NEW FILE dovecot-1.0.beta8-master-login-fix.patch ---
--- dovecot-1.0.beta8/src/auth/mech-plain.c.master-login-fix	2006-02-21 04:00:17.000000000 +0100
+++ dovecot-1.0.beta8/src/auth/mech-plain.c	2007-02-28 15:43:50.000000000 +0100
@@ -50,6 +50,11 @@
 		}
 	}
 
+	if (strcmp(authid, authenid) == 0) {
+		/* the login username isn't different */
+		authid = "";
+	}
+
 	if (count != 2) {
 		/* invalid input */
 		auth_request_log_info(request, "plain", "invalid input");


Index: dovecot.spec
===================================================================
RCS file: /cvs/dist/rpms/dovecot/FC-5/dovecot.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- dovecot.spec	21 Dec 2006 13:32:56 -0000	1.53
+++ dovecot.spec	2 Mar 2007 12:04:55 -0000	1.54
@@ -1,7 +1,7 @@
 Summary: Dovecot Secure imap server
 Name: dovecot
 Version: 1.0
-Release: 0.beta8.3.fc5
+Release: 0.beta8.4.fc5
 License: LGPL
 Group: System Environment/Daemons
 
@@ -30,6 +30,8 @@
 #Patch105: dovecot-auth-log.patch
 
 # Patches 500+ from upstream fixes
+Patch500: dovecot-1.0.beta8-master-login-fix.patch
+
 URL: http://www.dovecot.org/
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: openssl-devel
@@ -76,6 +78,7 @@
 #%patch105 -p1 -b .sqlite-check
 %patch106 -p1 -b .mkcert-paths
 %patch107 -p1 -b .file-cache-bof
+%patch500 -p1 -b .master-login-fix
 
 %build
 rm -f ./configure
@@ -216,6 +219,9 @@
 
 
 %changelog
+* Fri Mar 02 2007 Tomas Janousek <tjanouse at redhat.com> - 1.0-0.beta8.4.fc5
+- a little master login fix (#224925)
+
 * Thu Dec 21 2006 Tomas Janousek <tjanouse at redhat.com> - 1.0-0.beta8.3.fc5
 - fixed default paths in the example mkcert.sh to match configuration
   defaults (fixes #183151)




More information about the fedora-cvs-commits mailing list