Hello community,

here is the log from the commit of package claws-mail for openSUSE:Factory 
checked in at 2017-06-20 09:38:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/claws-mail (Old)
 and      /work/SRC/openSUSE:Factory/.claws-mail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "claws-mail"

Tue Jun 20 09:38:48 2017 rev:76 rq:494913 version:3.15.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/claws-mail/claws-mail.changes    2017-03-20 
17:13:24.121344423 +0100
+++ /work/SRC/openSUSE:Factory/.claws-mail.new/claws-mail.changes       
2017-06-20 09:38:50.789170752 +0200
@@ -1,0 +2,131 @@
+Wed May  3 09:14:45 UTC 2017 - o...@aepfle.de
+
+- Fix bug in imap_session_authenticate with imap-Fix-use-after-free.patch
+
+-------------------------------------------------------------------
+Fri Apr 28 19:36:02 UTC 2017 - jeng...@inai.de
+
+- Ensure neutrality of descriptions.
+  Trim instructions and redundant mentions of license.
+
+-------------------------------------------------------------------
+Fri Apr 21 01:32:06 UTC 2017 - mrueck...@suse.de
+
+- add conditional handling for vcalendar plugins to only build on
+  distros which still support it
+- also prepared conditional build support for tnef
+
+-------------------------------------------------------------------
+Fri Apr 21 00:36:19 UTC 2017 - mrueck...@suse.de
+
+- update to 3.15.0
+  * More granular options on when to open a selected message have
+    been added. There are now several checkboxes on the
+    Display/Summaries page of the Preferences which allow a greater
+    flexibility.
+  * Compose window: Show the total size of attachments on the
+    Attachments tab.
+  * Compose window: Bcc has been added to the headers drop-down
+    list.
+  * Folder list: Top-level folders can now be copied.  They are
+    created as regular folders in the target mailbox.
+  * Folder selection dialogue: Left/right keys collapse/expand
+    rows.  Further keypress will move the cursor to parent or first
+    child, respectively.
+  * Menu items: 'Mark all unread [recursively]' has been added to
+    the folder context menu, message list menu, and the main window
+    menu and toolbar.
+  * Toolbar actions: Mark, Unmark, Lock, Unlock, Mark [all] read,
+    Mark [all] unread, Ignore Thread, Watch Thread, and Delete
+    Duplicate Messages have been added to the main window toolbar's
+    Actions list.
+  * Account compose signature: The value of the signature file now
+    takes a path relative to the user's home directory in addition
+    to a full path.
+  * Icon Themes: Support for SVG themes with icon scaling
+    capabilities has been added. This requires libRSVG 2.40.5 or
+    newer.
+  * Hidden preferences: colours for specifying Tags, QuickSearch,
+    and auto-filled header values have been added, both foreground
+    and background. Respectively, tags_color, tags_bgcolor,
+    qs_active_color, qs_active_bgcolor, qs_error_color,
+    qs_error_bgcolor, default_header_color, and
+    default_header_bgcolor.
+  * Hidden preferences: warn_sending_many_recipients_num, if
+    greater than zero, a warning dialogue is shown when the number
+    of recipients exceeds the number given.
+  * GData plugin: This plugin now requires libgdata version 0.17.2
+    or newer.
+  * TNEF parser plugin: This plugin now uses an external libytnef.
+  * vCalendar plugin: This plugin now uses an external libical,
+    version 2.0.0 or newer is required.
+  * Mail Archiver plugin: - updated to support some of the
+    compression formats up to libarchive 3.2.2
+  * Several minor UI improvements.
+  * Updated manual in English and Spanish.
+  * Updated man page.
+  * Updated translations: Brazilian Portuguese, Catalan, Danish,
+    Dutch, French, German, Hungarian, Italian, Norwegian Bokmål,
+    Russian, Spanish, Swedish, Traditional Chinese, and Turkish.
+  * Bug fixes:
+    o bug 3251, 'A translated In-Reply-To header is sent
+           translated'
+    o bug 3571, 'recipient list lost and truncated'
+    o bug 3574, 'Template addressing'
+    o bug 3582, 'Select folder dialogue does not tell what is
+           selecting for'
+    o bug 3673, 'Be more friendly instead of "configure: error:
+           'encrypt'-function not found."'
+    o bug 3734, 'undefined symbol error with flex-2.6.2'
+    o bug 3740, 'Templates information dialog can't be closed
+           with WM button'
+    0 bug 3741, 'Deleting an account doesn't delete imapcache'
+    o bug 3742, 'Attaching file with plus sign in filename via
+           drag and drop doesn't work'
+    o bug 3762, 'redirect fails'
+    o bug 3764, 'Use external libical instead of the internal
+           copy'
+    o bug 3775, 'Error in string at src/mainwindow.c:4726?'
+    o bug 3777, 'Weird news dates for some RSS feeds'
+    o Debian bug 846170, 'incorrect IMAP UID handling'
+    o Allow sending empty messages in Session (just \r\n).
+    o fix some main window menu sensitivity issues
+    o make up/down key navigation obey 'always_show_msg'
+    o fix text selection when double-clicking quoted text and
+      'collapse quoted text on double click' is turned off
+    o fix 'Go to' moving off current, unopened msg, and dialogue
+      to go to next folder
+    o obey 'always_show_msg' on "no more [...] msgs. go to next
+      folder?"
+    o make Go to/[Next|Prev] sort order aware
+    o don't ignore auto-account selection when forwarding on IMAP
+      and NNTP accounts
+    o on first run, use --alternate-config-dir (if set) on prefs
+      migration. prevents useless creation of ~/.claws-mail
+      directory
+    o fix colouring of auto-filled headers
+    o don't remove the To when changing account
+    o Honour autosave_encrypted preference when using external
+      editor.
+    o Fix 'search folder' not working in some cases
+    o Fix build on OSX.
+    o fix memory leaks
+    o when renaming folder, only update summaryview folder name
+      if the current folder is being renamed
+    o sensitise trayicon's 'get mail' and 'exit'
+    o Handle timezones correctly in vCalendar.
+    o Do not hardcode resolv.conf location
+    o fix building with --disable-deprecated
+- added BR to enable more features:
+  - libical-devel (vcalendar plugin)
+  - libgdata-devel (google data plugin)
+  - librsvg-devel (scalabable icons support)
+  - libcanberra-gtk{,3}-devel enhanced notifications support
+- disable the tnef_parse as we are lacking the required library
+- drop use-xdg-open-as-default-mime_open_command.patch:
+  included upstream
+- added claws-mail-3.15.0_libcanberra-gtk3.patch:
+  allow finding the gtk3 version of the library if we build with
+  gtk3
+
+-------------------------------------------------------------------

Old:
----
  claws-mail-3.14.1.tar.xz
  use-xdg-open-as-default-mime_open_command.patch

New:
----
  claws-mail-3.15.0.tar.xz
  claws-mail-3.15.0_libcanberra-gtk3.patch
  imap-Fix-use-after-free.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ claws-mail.spec ++++++
--- /var/tmp/diff_new_pack.TW3MUh/_old  2017-06-20 09:38:51.733037675 +0200
+++ /var/tmp/diff_new_pack.TW3MUh/_new  2017-06-20 09:38:51.733037675 +0200
@@ -21,15 +21,23 @@
 %define favor_gtk2 1
 %endif
 
+%if 0%{?suse_version} >= 1330
+%bcond_without vcalendar
+%else
+%bcond_with    vcalendar
+%endif
+%bcond_with    tnef
+
 Name:           claws-mail
-Version:        3.14.1
+Version:        3.15.0
 Release:        0
 Url:            http://www.claws-mail.org/
-Summary:        A lightweight and highly configurable email client
+Summary:        A configurable email client
 License:        GPL-3.0+
 Group:          Productivity/Networking/Email/Clients
 Source:         
http://www.claws-mail.org/download.php?file=releases/%{name}-%{version}.tar.xz
-Patch0:         use-xdg-open-as-default-mime_open_command.patch
+Patch:          claws-mail-3.15.0_libcanberra-gtk3.patch
+Patch1:         imap-Fix-use-after-free.patch
 BuildRequires:  NetworkManager-devel
 BuildRequires:  compface-devel
 BuildRequires:  db-devel
@@ -41,8 +49,10 @@
 BuildRequires:  gpgme-devel
 %if 0%{?favor_gtk2}
 BuildRequires:  gtk2-devel
+BuildRequires:  libcanberra-gtk-devel >= 0.6
 %else
 BuildRequires:  gtk3-devel
+BuildRequires:  libcanberra-gtk3-devel >= 0.6
 %endif
 BuildRequires:  libarchive-devel
 BuildRequires:  libcanberra-devel >= 0.6
@@ -50,10 +60,18 @@
 BuildRequires:  libetpan-devel >= 0.57
 BuildRequires:  libexpat-devel
 BuildRequires:  libgcrypt-devel
+BuildRequires:  libgdata-devel >= 0.17.2
+%if %{with vcalendar}
+BuildRequires:  libical-devel >= 2.0.0
+%endif
 BuildRequires:  libpoppler-glib-devel
+BuildRequires:  librsvg-devel >= 2.40.5
 BuildRequires:  libwebkit-devel
 BuildRequires:  openldap2-devel
 BuildRequires:  pilot-link-devel
+%if %{with tnef}
+BuildRequires:  libytnef-devel
+%endif
 BuildRequires:  pkgconfig
 BuildRequires:  python-gtk-devel
 BuildRequires:  startup-notification-devel
@@ -78,22 +96,18 @@
 Provides:       claws-mail-extra-plugins-lang = %{version}
 
 %description
-Claws Mail (previously known as Sylpheed-Claws) is a lightweight and
-highly configurable email client and news reader based on the GTK+ GUI
-toolkit, it runs on the X Window System.
-
-Claws Mail is free software distributed under the GNU GPL.
+Claws Mail (previously known as Sylpheed-Claws) is a
+configurable email client and news reader based on the GTK+ GUI
+toolkit, and it runs on the X Window System.
 
-To run Claws Mail use 'claws-mail' on the command line.
-
-When claws-mail is executed for the first time a configuration 'Wizard'
-will appear prompting you for the minimum information necessary to
+When claws-mail is executed for the first time, a configuration "wizard"
+(dialog) will appear prompting you for the minimum information necessary to
 create a new account.
 
 %package devel
-Summary:        A lightweight and highly configurable email client
+Summary:        Development files for claws-mail
 License:        GPL-2.0+
-Group:          Development/Libraries/Other
+Group:          Development/Libraries/C and C++
 Provides:       claws-mail:/usr/include/claws-mail/main.h
 # The extra-plugin package was merged with version 3.9.1; as such, also the 
-devel package merged
 Obsoletes:      claws-mail-extra-plugins-devel < %{version}
@@ -108,22 +122,19 @@
 Requires:       openldap2-devel
 
 %description devel
-Claws Mail (previously known as Sylpheed-Claws) is a lightweight and
-highly configurable email client and news reader based on the GTK+ GUI
-toolkit, it runs on the X Window System.
-
-Claws Mail is free software distributed under the GNU GPL.
+Claws Mail (previously known as Sylpheed-Claws) is a
+configurable email client and news reader based on the GTK+ GUI
+toolkit, and it runs on the X Window System.
 
-To run Claws Mail use 'claws-mail' on the command line.
-
-When claws-mail is executed for the first time a configuration 'Wizard'
-will appear prompting you for the minimum information necessary to
-create a new account.
+This package contains header files for building plugins.
 
 %lang_package
 %prep
 %setup -q
-%patch0 -p1
+%if ! 0%{?favor_gtk2}
+%patch -p1
+%endif
+%patch1 -p1
 
 %build
 %configure \
@@ -158,8 +169,16 @@
         --enable-smime-plugin \
         --enable-spamassassin-plugin \
         --enable-spam_report-plugin \
+        %if %{with tnef}
         --enable-tnef_parse-plugin \
+        %else
+        --disable-tnef_parse-plugin \
+        %endif
+        %if %{with vcalendar}
         --enable-vcalendar-plugin \
+        %else
+        --disable-vcalendar-plugin \
+        %endif
         --disable-demo-plugin \
         --enable-crash-dialog \
         --enable-startup-notification \

++++++ claws-mail-3.14.1.tar.xz -> claws-mail-3.15.0.tar.xz ++++++
++++ 390200 lines of diff (skipped)

++++++ claws-mail-3.15.0_libcanberra-gtk3.patch ++++++
Index: claws-mail-3.15.0/configure
===================================================================
--- claws-mail-3.15.0.orig/configure
+++ claws-mail-3.15.0/configure
@@ -22584,12 +22584,12 @@ if test -n "$libcanberra_gtk_CFLAGS"; th
     pkg_cv_libcanberra_gtk_CFLAGS="$libcanberra_gtk_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libcanberra-gtk >= 0.6\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= 0.6") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libcanberra-gtk3 >= 0.6\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libcanberra-gtk3 >= 0.6") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_libcanberra_gtk_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk >= 0.6" 
2>/dev/null`
+  pkg_cv_libcanberra_gtk_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk3 >= 
0.6" 2>/dev/null`
                      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -22601,12 +22601,12 @@ if test -n "$libcanberra_gtk_LIBS"; then
     pkg_cv_libcanberra_gtk_LIBS="$libcanberra_gtk_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libcanberra-gtk >= 0.6\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= 0.6") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libcanberra-gtk3 >= 0.6\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libcanberra-gtk3 >= 0.6") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_libcanberra_gtk_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk >= 0.6" 
2>/dev/null`
+  pkg_cv_libcanberra_gtk_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk3 >= 0.6" 
2>/dev/null`
                      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -22627,9 +22627,9 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors 
--print-errors --cflags --libs "libcanberra-gtk >= 0.6" 2>&1`
+               libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors 
--print-errors --cflags --libs "libcanberra-gtk3 >= 0.6" 2>&1`
         else
-               libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags 
--libs "libcanberra-gtk >= 0.6" 2>&1`
+               libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags 
--libs "libcanberra-gtk3 >= 0.6" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$libcanberra_gtk_PKG_ERRORS" >&5
++++++ imap-Fix-use-after-free.patch ++++++
>From da97dac531e28bb8f607b02c14adfc738fb2b86d Mon Sep 17 00:00:00 2001
From: Ricardo Mones <rica...@mones.org>
Date: Tue, 18 Apr 2017 12:13:33 +0200
Subject: [PATCH] Fix use after free

---
 src/imap.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/imap.c b/src/imap.c
index eb810a3aa..0e1e777aa 100644
--- a/src/imap.c
+++ b/src/imap.c
@@ -1320,8 +1320,9 @@ try_again:
                }
 
                if (acc_pass != NULL) {
-                       g_free(acc_pass);
                        memset(acc_pass, 0, strlen(acc_pass));
+                       g_free(acc_pass);
+                       acc_pass = NULL;
                }
 
                return ok;

Reply via email to