rpms/mail-notification/devel mail-notification-5.4-sasl_encode64.patch, NONE, 1.1 mail-notification.spec, 1.67, 1.68

Dmitry Butskoy buc at fedoraproject.org
Tue May 19 17:22:43 UTC 2009


Author: buc

Update of /cvs/extras/rpms/mail-notification/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13193

Modified Files:
	mail-notification.spec 
Added Files:
	mail-notification-5.4-sasl_encode64.patch 
Log Message:


mail-notification-5.4-sasl_encode64.patch:

--- NEW FILE mail-notification-5.4-sasl_encode64.patch ---
diff -up mail-notification-5.4/build/src/mn-pop3-mailbox.c.sasle64 mail-notification-5.4/build/src/mn-pop3-mailbox.c
--- mail-notification-5.4/build/src/mn-pop3-mailbox.c.sasle64	2009-05-19 10:29:58.448201837 +0200
+++ mail-notification-5.4/build/src/mn-pop3-mailbox.c	2009-05-19 10:23:29.356204287 +0200
@@ -619,7 +619,7 @@ mn_pop3_mailbox_enter_auth_cb (MNClientS
 
 	if (initial_clientoutlen > 0)
 	  {
-	    char buf64[initial_clientoutlen * 2]; /* Base64 is 33% larger than the data it encodes */
+	    char buf64[initial_clientoutlen * 2 + 1]; /* Base64 is 33% larger than the data it encodes */
 	    unsigned int outlen;
 	    int result;
 	    char *str;
diff -up mail-notification-5.4/src/mn-client-session.c.sasle64 mail-notification-5.4/src/mn-client-session.c
--- mail-notification-5.4/src/mn-client-session.c.sasle64	2008-05-22 17:45:35.000000000 +0200
+++ mail-notification-5.4/src/mn-client-session.c	2009-05-19 10:29:09.112211055 +0200
@@ -1030,7 +1030,7 @@ mn_client_session_write (MNClientSession
 static int
 write_base64 (MNClientSession *session, const char *buf, unsigned int len)
 {
-  char buf64[len * 2];		/* Base64 is 33% larger than the data it encodes */
+  char buf64[len * 2 + 1];		/* Base64 is 33% larger than the data it encodes */
   unsigned int outlen;
   int result;
   char *str;
diff -up mail-notification-5.4/src/mn-pop3-mailbox.gob.sasle64 mail-notification-5.4/src/mn-pop3-mailbox.gob
--- mail-notification-5.4/src/mn-pop3-mailbox.gob.sasle64	2008-05-22 17:45:36.000000000 +0200
+++ mail-notification-5.4/src/mn-pop3-mailbox.gob	2009-05-19 10:28:12.007226236 +0200
@@ -438,7 +438,7 @@ class MN:POP3:Mailbox from MN:PI:Mailbox
 
 	if (initial_clientoutlen > 0)
 	  {
-	    char buf64[initial_clientoutlen * 2]; /* Base64 is 33% larger than the data it encodes */
+	    char buf64[initial_clientoutlen * 2 + 1]; /* Base64 is 33% larger than the data it encodes */
 	    unsigned int outlen;
 	    int result;
 	    char *str;


Index: mail-notification.spec
===================================================================
RCS file: /cvs/extras/rpms/mail-notification/devel/mail-notification.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -p -r1.67 -r1.68
--- mail-notification.spec	25 Feb 2009 22:53:12 -0000	1.67
+++ mail-notification.spec	19 May 2009 17:22:13 -0000	1.68
@@ -1,6 +1,6 @@
 Name:           mail-notification
 Version:        5.4
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Status icon that informs you if you have new mail
 
 Group:          Applications/Internet
@@ -9,6 +9,7 @@ URL:            http://www.nongnu.org/ma
 Source0:        http://savannah.nongnu.org/download/mailnotify/mail-notification-%{version}.tar.bz2
 Patch0:		mail-notification-5.4-evolution.patch
 Patch1:		mail-notification-5.4-gmime.patch
+Patch2:		mail-notification-5.4-sasl_encode64.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gettext
@@ -57,6 +58,7 @@ Evolution support for Mail Notification.
 %setup -q
 %patch0 -p0 -b .evolution
 %patch1 -p1 -b .gmime
+%patch1 -p1 -b .sasl64
 
 #  Drop #line statements in C sources generated bu .gob,
 #  for the proper debuginfo package
@@ -181,6 +183,9 @@ export GCONF_CONFIG_SOURCE=`gconftool-2 
 
 
 %changelog
+* Tue May 19 2009 Dmitry Butskoy <Dmitry at Butskoy.name> - 5.4-11
+- add patch for new cyrus-sasl's ABI (Jan F. Chadima, #501456)
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.4-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list