Hello community, here is the log from the commit of package alpine for openSUSE:Factory checked in at 2014-01-22 23:15:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alpine (Old) and /work/SRC/openSUSE:Factory/.alpine.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alpine" Changes: -------- --- /work/SRC/openSUSE:Factory/alpine/alpine.changes 2013-09-04 13:16:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.alpine.new/alpine.changes 2014-01-23 15:39:34.000000000 +0100 @@ -1,0 +2,10 @@ +Wed Jan 22 11:43:51 UTC 2014 - [email protected] + +- 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. + +------------------------------------------------------------------- New: ---- alpine-mime-type-workaround.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alpine.spec ++++++ --- /var/tmp/diff_new_pack.Fg5pSp/_old 2014-01-23 15:39:35.000000000 +0100 +++ /var/tmp/diff_new_pack.Fg5pSp/_new 2014-01-23 15:39:35.000000000 +0100 @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -39,6 +39,7 @@ Patch20: pine-expression-warnings.diff Patch40: pico-stripwhitespace.diff Patch60: signal-and-panic-improvements.diff +Patch61: alpine-mime-type-workaround.patch # # Eduardo Chappa's patches. # http://patches.freeiz.com/alpine/ @@ -138,6 +139,7 @@ %patch20 -p1 %patch40 -p1 %patch60 -p1 +%patch61 -p1 %endif # End of "if !{build_vanilla}" %build ++++++ alpine-mime-type-workaround.patch ++++++ --- 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){ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
