Updating link to change in openSUSE:Factory/alpine revision 35.0

OBS-URL: https://build.opensuse.org/package/show/server:mail/alpine?expand=0&rev=405bde07b5215f516d71e8da502d0a7c
This commit is contained in:
OBS User buildservice-autocommit 2014-01-22 22:15:57 +00:00 committed by Git OBS Bridge
parent 00a5ea48e2
commit 8aa24cb643
3 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,36 @@
--- alpine-2.11/pith/send.c 2013-08-15 06:36:22.000000000 +0200
+++ alpine-2.19.4/pith/send.c 2013-12-27 20:23:54.000000000 +0100
@@ -4419,6 +4423,17 @@
return(1);
}
+char *
+ToLower(char *s, char *t)
+{
+ int i;
+
+ for(i = 0; s != NULL && s[i] != '\0'; i++)
+ t[i] = s[i] + ((s[i] >= 'A' && s[i] <= 'Z') ? ('a' - 'A') : 0);
+ t[i] = '\0';
+
+ return t;
+}
/*
* pine_write_body_header - another c-client clone. This time
@@ -4441,11 +4456,11 @@
if((so = so_get(CharStar, NULL, WRITE_ACCESS)) != NULL){
if(!(so_puts(so, "Content-Type: ")
- && so_puts(so, body_types[body->type])
+ && so_puts(so, ToLower(body_types[body->type], tmp))
&& so_puts(so, "/")
- && so_puts(so, body->subtype
- ? body->subtype
- : rfc822_default_subtype (body->type))))
+ && so_puts(so, ToLower(body->subtype
+ ? body->subtype
+ : rfc822_default_subtype (body->type),tmp))))
return(pwbh_finish(0, so));
if(body->parameter){

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jan 22 11:43:51 UTC 2014 - max@suse.com
- Add alpine-mime-type-workaround.patch:
Send mime type in lowercase to work around MUAs that can't cope
with upper case mime type strings in the Content-Type header
such as the webmailer of GMX. This is a backport from the
current development release and will become obsolete with the
next version upgrade.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 2 14:07:32 UTC 2013 - jengelh@inai.de Mon Sep 2 14:07:32 UTC 2013 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package alpine # spec file for package alpine
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -39,6 +39,7 @@ Patch10: pico-fix-spurious-undef-warnings.diff
Patch20: pine-expression-warnings.diff Patch20: pine-expression-warnings.diff
Patch40: pico-stripwhitespace.diff Patch40: pico-stripwhitespace.diff
Patch60: signal-and-panic-improvements.diff Patch60: signal-and-panic-improvements.diff
Patch61: alpine-mime-type-workaround.patch
# #
# Eduardo Chappa's patches. # Eduardo Chappa's patches.
# http://patches.freeiz.com/alpine/ # http://patches.freeiz.com/alpine/
@ -138,6 +139,7 @@ fi
%patch20 -p1 %patch20 -p1
%patch40 -p1 %patch40 -p1
%patch60 -p1 %patch60 -p1
%patch61 -p1
%endif # End of "if !{build_vanilla}" %endif # End of "if !{build_vanilla}"
%build %build