Hello community, here is the log from the commit of package courier-imap for openSUSE:Factory checked in at Mon Jul 11 10:30:47 CEST 2011.
-------- --- courier-imap/courier-imap.changes 2011-05-01 22:47:08.000000000 +0200 +++ /mounts/work_src_done/STABLE/courier-imap/courier-imap.changes 2011-05-27 21:24:20.000000000 +0200 @@ -1,0 +2,12 @@ +Fri May 27 19:16:25 UTC 2011 - ch...@computersalat.de + +- update to 4.9.3 + * msgenvelope.c (msgappends): Fix a fatal error upon encountering + 8-bit header content. Heuristically try to interpret it as UTF-8, and + just ignore invalid UTF-8 sequences. + - 4.9.2 + * rfc2045/rfc2045cdecode.c: Tolerate lowercase hexadecimal characters + in quoted-printable-encoded content. + * unicode/unicode.c: Compilation fixes. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- courier-imap-4.9.1.tar.bz2 New: ---- courier-imap-4.9.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ courier-imap.spec ++++++ --- /var/tmp/diff_new_pack.Pkaii0/_old 2011-07-11 10:30:26.000000000 +0200 +++ /var/tmp/diff_new_pack.Pkaii0/_new 2011-07-11 10:30:26.000000000 +0200 @@ -20,7 +20,7 @@ Name: courier-imap Summary: An IMAP and POP3 Server for Maildir MTAs -Version: 4.9.1 +Version: 4.9.3 Release: 1 License: GPLv3 Group: Productivity/Networking/Email/Servers ++++++ courier-imap-4.9.1.tar.bz2 -> courier-imap-4.9.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/configure new/courier-imap-4.9.3/configure --- old/courier-imap-4.9.1/configure 2011-04-13 18:42:25.000000000 +0200 +++ new/courier-imap-4.9.3/configure 2011-05-23 04:08:17.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.66 for courier-imap 4.9.1. +# Generated by GNU Autoconf 2.66 for courier-imap 4.9.3. # # Report bugs to <courier-i...@lists.sourceforge.net>. # @@ -562,8 +562,8 @@ # Identity of this package. PACKAGE_NAME='courier-imap' PACKAGE_TARNAME='courier-imap' -PACKAGE_VERSION='4.9.1' -PACKAGE_STRING='courier-imap 4.9.1' +PACKAGE_VERSION='4.9.3' +PACKAGE_STRING='courier-imap 4.9.3' PACKAGE_BUGREPORT='courier-i...@lists.sourceforge.net' PACKAGE_URL='' @@ -1304,7 +1304,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures courier-imap 4.9.1 to adapt to many kinds of systems. +\`configure' configures courier-imap 4.9.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1374,7 +1374,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of courier-imap 4.9.1:";; + short | recursive ) echo "Configuration of courier-imap 4.9.3:";; esac cat <<\_ACEOF @@ -1479,7 +1479,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -courier-imap configure 4.9.1 +courier-imap configure 4.9.3 generated by GNU Autoconf 2.66 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1757,7 +1757,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by courier-imap $as_me 4.9.1, which was +It was created by courier-imap $as_me 4.9.3, which was generated by GNU Autoconf 2.66. Invocation command line was $ $0 $@ @@ -2575,7 +2575,7 @@ # Define the identity of the package. PACKAGE='courier-imap' - VERSION='4.9.1' + VERSION='4.9.3' cat >>confdefs.h <<_ACEOF @@ -11783,7 +11783,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by courier-imap $as_me 4.9.1, which was +This file was extended by courier-imap $as_me 4.9.3, which was generated by GNU Autoconf 2.66. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -11849,7 +11849,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -courier-imap config.status 4.9.1 +courier-imap config.status 4.9.3 configured by $0, generated by GNU Autoconf 2.66, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/configure.in new/courier-imap-4.9.3/configure.in --- old/courier-imap-4.9.1/configure.in 2011-04-13 18:41:52.000000000 +0200 +++ new/courier-imap-4.9.3/configure.in 2011-05-23 04:07:50.000000000 +0200 @@ -4,7 +4,7 @@ dnl distribution information. AC_PREREQ(2.59) -AC_INIT(courier-imap, 4.9.1, [courier-i...@lists.sourceforge.net]) +AC_INIT(courier-imap, 4.9.3, [courier-i...@lists.sourceforge.net]) AC_CONFIG_SRCDIR(imap/imapd.c) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/courier-imap.lpspec new/courier-imap-4.9.3/courier-imap.lpspec --- old/courier-imap-4.9.1/courier-imap.lpspec 2011-04-13 18:49:25.000000000 +0200 +++ new/courier-imap-4.9.3/courier-imap.lpspec 2011-05-23 04:15:55.000000000 +0200 @@ -13,9 +13,9 @@ %define _unpackaged_files_terminate_build 1 Name: courier-imap -Version: 4.9.1 +Version: 4.9.3 Release: 1 -Source: %{__name}-4.9.1.tar.bz2 +Source: %{__name}-4.9.3.tar.bz2 Repository(pgpkeys.txt): http://www.lpmtool.com/repositories/courier-imap BuildRequires: textutils fileutils perl BuildRequires: courier-authlib-devel >= 0.55 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/courier-imap.spec new/courier-imap-4.9.3/courier-imap.spec --- old/courier-imap-4.9.1/courier-imap.spec 2011-04-13 18:49:25.000000000 +0200 +++ new/courier-imap-4.9.3/courier-imap.spec 2011-05-23 04:15:55.000000000 +0200 @@ -24,13 +24,13 @@ %define _missing_doc_files_terminate_build 1 %define _unpackaged_files_terminate_build 1 -Summary: Courier-IMAP 4.9.1 IMAP server +Summary: Courier-IMAP 4.9.3 IMAP server Name: courier-imap -Version: 4.9.1 +Version: 4.9.3 Release: 1%{courier_release} License: GPL Group: Applications/Mail -Source: %{name}-4.9.1.tar.bz2 +Source: %{name}-4.9.3.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: /sbin/chkconfig fileutils textutils sh-utils sed Requires: courier-authlib-devel >= 0.60.6.20080629 @@ -74,7 +74,7 @@ # SuSE specific settings %if %suse_version # some templates for SuSE distribs. -%define templdir ${RPM_BUILD_DIR}/%{name}-4.9.1/packaging/suse +%define templdir ${RPM_BUILD_DIR}/%{name}-4.9.3/packaging/suse %define _sysconfdir /etc/courier-imap %define _mandir /usr/share/man %define initlndir /usr/sbin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/imap/ChangeLog new/courier-imap-4.9.3/imap/ChangeLog --- old/courier-imap-4.9.1/imap/ChangeLog 2011-04-13 18:41:41.000000000 +0200 +++ new/courier-imap-4.9.3/imap/ChangeLog 2011-05-23 04:05:28.000000000 +0200 @@ -1,3 +1,22 @@ +4.9.3 + +2011-05-22 Sam Varshavchik <mr...@courier-mta.com> + + * msgenvelope.c (msgappends): Fix a fatal error upon encountering + 8-bit header content. Heuristically try to interpret it as UTF-8, and + just ignore invalid UTF-8 sequences. + +4.9.2 + +2011-05-17 Sam Varshavchik <mr...@courier-mta.com> + + * rfc2045/rfc2045cdecode.c: Tolerate lowercase hexadecimal characters + in quoted-printable-encoded content. + +2011-05-06 Thomas Jacob <ja...@internet24.de> + + * unicode/unicode.c: Compilation fixes. + 4.9.1 2011-04-11 Sam Varshavchik <mr...@courier-mta.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/imap/configure new/courier-imap-4.9.3/imap/configure --- old/courier-imap-4.9.1/imap/configure 2011-04-13 18:42:41.000000000 +0200 +++ new/courier-imap-4.9.3/imap/configure 2011-05-23 04:08:29.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.66 for courier-imap 4.9.1. +# Generated by GNU Autoconf 2.66 for courier-imap 4.9.3. # # Report bugs to <courier-us...@lists.sourceforge.net>. # @@ -562,8 +562,8 @@ # Identity of this package. PACKAGE_NAME='courier-imap' PACKAGE_TARNAME='courier-imap' -PACKAGE_VERSION='4.9.1' -PACKAGE_STRING='courier-imap 4.9.1' +PACKAGE_VERSION='4.9.3' +PACKAGE_STRING='courier-imap 4.9.3' PACKAGE_BUGREPORT='courier-us...@lists.sourceforge.net' PACKAGE_URL='' @@ -1323,7 +1323,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures courier-imap 4.9.1 to adapt to many kinds of systems. +\`configure' configures courier-imap 4.9.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1394,7 +1394,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of courier-imap 4.9.1:";; + short | recursive ) echo "Configuration of courier-imap 4.9.3:";; esac cat <<\_ACEOF @@ -1509,7 +1509,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -courier-imap configure 4.9.1 +courier-imap configure 4.9.3 generated by GNU Autoconf 2.66 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2053,7 +2053,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by courier-imap $as_me 4.9.1, which was +It was created by courier-imap $as_me 4.9.3, which was generated by GNU Autoconf 2.66. Invocation command line was $ $0 $@ @@ -2982,7 +2982,7 @@ # Define the identity of the package. PACKAGE='courier-imap' - VERSION='4.9.1' + VERSION='4.9.3' # Some tools Automake needs. @@ -17170,7 +17170,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by courier-imap $as_me 4.9.1, which was +This file was extended by courier-imap $as_me 4.9.3, which was generated by GNU Autoconf 2.66. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17236,7 +17236,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -courier-imap config.status 4.9.1 +courier-imap config.status 4.9.3 configured by $0, generated by GNU Autoconf 2.66, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/imap/configure.in new/courier-imap-4.9.3/imap/configure.in --- old/courier-imap-4.9.1/imap/configure.in 2011-04-13 18:41:56.000000000 +0200 +++ new/courier-imap-4.9.3/imap/configure.in 2011-05-23 04:05:28.000000000 +0200 @@ -1,10 +1,10 @@ dnl Process this file with autoconf to produce a configure script. dnl dnl -dnl Copyright 1998 - 2010 Double Precision, Inc. See COPYING for +dnl Copyright 1998 - 2011 Double Precision, Inc. See COPYING for dnl distribution information. -AC_INIT(courier-imap, 4.9.1, [courier-us...@lists.sourceforge.net]) +AC_INIT(courier-imap, 4.9.3, [courier-us...@lists.sourceforge.net]) >confdefs.h # Kill PACKAGE_ macros diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/imap/msgenvelope.c new/courier-imap-4.9.3/imap/msgenvelope.c --- old/courier-imap-4.9.1/imap/msgenvelope.c 2011-04-04 17:02:32.000000000 +0200 +++ new/courier-imap-4.9.3/imap/msgenvelope.c 2011-05-23 04:05:28.000000000 +0200 @@ -71,7 +71,9 @@ if (l) memcpy(p, s, l); p[l]=0; - q=rfc2047_encode_str(p, "x-unknown", + + /* Assume UTF-8, if not, well, GIGO */ + q=rfc2047_encode_str(p, "utf-8", rfc2047_qp_allow_any); free(p); if (!q) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/rfc2045/rfc2045cdecode.c new/courier-imap-4.9.3/rfc2045/rfc2045cdecode.c --- old/courier-imap-4.9.1/rfc2045/rfc2045cdecode.c 2011-04-04 17:03:42.000000000 +0200 +++ new/courier-imap-4.9.3/rfc2045/rfc2045cdecode.c 2011-05-17 20:26:52.000000000 +0200 @@ -21,6 +21,13 @@ static const char xdigit[]="0123456789ABCDEF"; +static int tou(char c) +{ + if (c >= 'a' && c <= 'f') + return c + ('A'-'a'); + return c; +} + static int do_decode_qp(struct rfc2045 *p) { char *a, *b, *c, *end; @@ -38,12 +45,12 @@ if (!*a || a >= end || isspace((int)(unsigned char)*a)) break; - if ((c=strchr(xdigit, *a)) == 0) continue; + if ((c=strchr(xdigit, tou(*a))) == 0) continue; d= (c-xdigit)*16; ++a; if (!*a || a >= end) break; - if ((c=strchr(xdigit, *a)) == 0) continue; + if ((c=strchr(xdigit, tou(*a))) == 0) continue; d += c-xdigit; ++a; *b++=d; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/rpm.release new/courier-imap-4.9.3/rpm.release --- old/courier-imap-4.9.1/rpm.release 2011-04-13 18:49:25.000000000 +0200 +++ new/courier-imap-4.9.3/rpm.release 2011-05-23 04:15:54.000000000 +0200 @@ -1,2 +1,2 @@ -VERSION=4.9.1 +VERSION=4.9.3 RELEASE=1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/courier-imap-4.9.1/unicode/unicode.c new/courier-imap-4.9.3/unicode/unicode.c --- old/courier-imap-4.9.1/unicode/unicode.c 2011-04-04 17:04:04.000000000 +0200 +++ new/courier-imap-4.9.3/unicode/unicode.c 2011-05-06 16:07:39.000000000 +0200 @@ -198,13 +198,13 @@ size_t utf7encodebuf_cnt; /* Accumulated bits for base64 encoding */ - u_int32_t utf7bits; + uint32_t utf7bits; /* How many bits in utf7bits */ - u_int16_t utf7bitcount; + uint16_t utf7bitcount; /* Flag: in base64mode */ - u_int16_t utfmode; + uint16_t utfmode; int errflag; @@ -343,7 +343,7 @@ /* We better be getting UCS-2 here! */ - const u_int16_t *utext=(const u_int16_t *)text; + const uint16_t *utext=(const uint16_t *)text; cnt /= 2; while (cnt) @@ -381,7 +381,7 @@ } toutf7->utf7bits = (toutf7->utf7bits << 16) | - (((u_int32_t)*utext) & 0xFFFF); + (((uint32_t)*utext) & 0xFFFF); toutf7->utf7bitcount += 16; ++utext; @@ -391,7 +391,7 @@ while (toutf7->utf7bitcount >= 6) { - u_int32_t v; + uint32_t v; int n; if (toutf7->errflag) @@ -453,11 +453,11 @@ struct libmail_u_convert_hdr hdr; /* Accumulated UCS-2 stream */ - u_int16_t convbuf[512]; + uint16_t convbuf[512]; size_t convbuf_cnt; /* Accumulated base64 bits */ - u_int32_t modbits; + uint32_t modbits; /* How many bits extracted from a base64 stream */ @@ -583,7 +583,7 @@ /* Not in the base64 encoded stream */ convert_fromutf7_add(fromutf7, - ((u_int16_t)*text) & 0xFFFF); + ((uint16_t)*text) & 0xFFFF); ++text; --cnt; continue; @@ -619,7 +619,7 @@ /* Got a UCS-2 char */ int shiftcnt=fromutf7->modcnt - 16; - u_int32_t v=fromutf7->modbits; + uint32_t v=fromutf7->modbits; if (shiftcnt) v >>= shiftcnt; @@ -799,7 +799,7 @@ } static void convert_flush(struct libmail_u_convert_iconv *); -static void convert_flush_iconv(struct libmail_u_convert_iconv *, char **, +static void convert_flush_iconv(struct libmail_u_convert_iconv *, const char **, size_t *); /* @@ -883,7 +883,7 @@ static void convert_flush(struct libmail_u_convert_iconv *h) { - char *p; + const char *p; size_t n; if (h->bufcnt == 0 || h->errflag) @@ -917,7 +917,7 @@ */ static void convert_flush_iconv(struct libmail_u_convert_iconv *h, - char **inbuf, size_t *inbytesleft) + const char **inbuf, size_t *inbytesleft) { int save_errno; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org