rpms/claws-mail/F-10 claws-mail-gssapi.patch, NONE, 1.1 claws-mail.spec, 1.41, 1.42

Andreas Bierfert awjb at fedoraproject.org
Wed Jun 17 11:20:09 UTC 2009


Author: awjb

Update of /cvs/pkgs/rpms/claws-mail/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11718/F-10

Modified Files:
	claws-mail.spec 
Added Files:
	claws-mail-gssapi.patch 
Log Message:
- fix gssapi auth (#486422)


claws-mail-gssapi.patch:

--- NEW FILE claws-mail-gssapi.patch ---
Index: src/imap.c
===================================================================
RCS file: /srv/cvs/claws-mail/claws/src/imap.c,v
retrieving revision 1.179.2.233
retrieving revision 1.179.2.234
diff -u -p -u -r1.179.2.233 -r1.179.2.234
--- src/imap.c	1 Oct 2008 07:07:21 -0000	1.179.2.233
+++ src/imap.c	7 Oct 2008 16:15:27 -0000	1.179.2.234
@@ -1163,7 +1163,7 @@ static gint imap_session_authenticate(IM
 	acc_pass = account->passwd;
 try_again:
 	pass = acc_pass;
-	if (!pass && account->imap_auth_type != IMAP_AUTH_ANON) {
+	if (!pass && account->imap_auth_type != IMAP_AUTH_ANON && account->imap_auth_type != IMAP_AUTH_GSSAPI) {
 		gchar *tmp_pass;
 		tmp_pass = input_dialog_query_password_keep(account->recv_server, 
 							    account->userid,
@@ -1172,7 +1172,7 @@ try_again:
 			return MAILIMAP_NO_ERROR;
 		Xstrdup_a(pass, tmp_pass, {g_free(tmp_pass); return MAILIMAP_NO_ERROR;});
 		g_free(tmp_pass);
-	} else if (account->imap_auth_type == IMAP_AUTH_ANON) {
+	} else if (account->imap_auth_type == IMAP_AUTH_ANON || account->imap_auth_type == IMAP_AUTH_GSSAPI) {
 		pass = "";
 	}
 	statuswindow_print_all(_("Connecting to IMAP4 server %s...\n"),


Index: claws-mail.spec
===================================================================
RCS file: /cvs/pkgs/rpms/claws-mail/F-10/claws-mail.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -p -r1.41 -r1.42
--- claws-mail.spec	27 Mar 2009 20:00:55 -0000	1.41
+++ claws-mail.spec	17 Jun 2009 11:19:39 -0000	1.42
@@ -1,12 +1,14 @@
 Name:           claws-mail
 Version:        3.7.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The extended version of Sylpheed
 Group:          Applications/Internet
 License:        GPLv3+
 URL:            http://claws-mail.org
 Source0:        http://downloads.sourceforge.net/sylpheed-claws/claws-mail-3.7.1.tar.bz2
 Source1:        claws-mail.desktop
+# fix gssapi auth (#486422)
+Patch1:         claws-mail-gssapi.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  flex, bison
@@ -114,6 +116,7 @@ mails, verify signatures or sign and enc
 
 %prep
 %setup -q
+%patch1 -b .gssapi
 
 %build
 %configure --disable-openssl --enable-ipv6 \
@@ -223,6 +226,10 @@ touch -r NEWS ${RPM_BUILD_ROOT}%{_includ
 %{_libdir}/claws-mail/plugins/smime.so
 
 %changelog
+* Wed Jun 17 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 3.7.1-2
+- fix gssapi auth (#486422)
+
 * Fri Mar 27 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 - 3.7.1-1
 - version upgrade




More information about the fedora-extras-commits mailing list