Hello community,

here is the log from the commit of package gnome-online-accounts.1315 for 
openSUSE:12.1:Update checked in at 2013-02-15 11:46:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update/gnome-online-accounts.1315 (Old)
 and      /work/SRC/openSUSE:12.1:Update/.gnome-online-accounts.1315.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-online-accounts.1315", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-02-09 11:18:20.872010756 +0100
+++ 
/work/SRC/openSUSE:12.1:Update/.gnome-online-accounts.1315.new/gnome-online-accounts.changes
        2013-02-15 11:46:46.000000000 +0100
@@ -0,0 +1,61 @@
+-------------------------------------------------------------------
+Wed Feb  6 19:59:21 UTC 2013 - [email protected]
+
+- Add gnome-online-accounts-CVE-2013-0240.patch: goa fails to
+  verify SSL certificates when creating accounts (bnc#802409,
+  bgo#693214, CVE-2013--240).
+
+-------------------------------------------------------------------
+Mon Oct 17 19:33:49 UTC 2011 - [email protected]
+
+- Update to version 3.2.1:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Wed Sep 28 06:09:12 UTC 2011 - [email protected]
+
+- Update to version 3.2.0.1:
+  + Fix a crash when launching preferences from notifications
+
+-------------------------------------------------------------------
+Mon Sep 26 21:55:56 UTC 2011 - [email protected]
+
+- Update to version 3.2.0:
+  + Let authentication webkit window inherit from GNOME proxy
+    settings (bgo#658444)
+  + Updated translations.
+- Add pkgconfig(libsoup-gnome-2.4) BuildRequires: new dependency.
+
+-------------------------------------------------------------------
+Tue Sep 20 07:16:28 UTC 2011 - [email protected]
+
+- Update to version 3.1.91:
+  + String fixes.
+  + Build fixes.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Tue Aug 30 15:47:28 CEST 2011 - [email protected]
+
+- Update to version 3.1.90:
+  + Add a Documents account type.
+  + Updated translations.
+- Remove have_lang macro now that there are translations.
+
+-------------------------------------------------------------------
+Mon Jul 18 22:25:32 UTC 2011 - [email protected]
+
+- Add libsocialweb-branding-openSUSE BuildRequires. This package
+  contains our API keys for the various backends.
+- Pass --enable-twitter and the corresponding keys to configure.
+  This allows us to enable the twitter backend for
+  gnome-online-accounts. Part of bnc#703759.
+- For completeness pass --enable-google to configure. It's there by
+  default and it does not require API keys; anonymous works just
+  fine.
+
+-------------------------------------------------------------------
+Sun Jul  3 12:39:36 CEST 2011 - [email protected]
+
+- Initial package (version 3.1.1).
+

New:
----
  gnome-online-accounts-3.2.1.tar.bz2
  gnome-online-accounts-CVE-2013-0240.patch
  gnome-online-accounts.changes
  gnome-online-accounts.spec

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

Other differences:
------------------
++++++ gnome-online-accounts.spec ++++++
#
# spec file for package gnome-online-accounts
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           gnome-online-accounts
Version:        3.2.1
Release:        0
Summary:        GNOME service to access online accounts
License:        LGPL-2.1+
Group:          System/GUI/GNOME
Url:            http://www.gnome.org
Source:         
http://download.gnome.org/sources/gnome-online-accounts/3.2/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gnome-online-accounts-CVE-2013-0240.patch CVE-2013-0240 
bnc#802409 bgo#693214 -- goa fails to verify SSL certificates when creating 
accounts
Patch0:         gnome-online-accounts-CVE-2013-0240.patch
BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  gobject-introspection-devel
BuildRequires:  gtk-doc
BuildRequires:  intltool
# libsocialweb-branding-openSUSE is a package that already contains the right 
API keys. Instead of
# duplicating them in the .spec file here, we include them from 
libsocialweb-branding.
BuildRequires:  libsocialweb-branding-openSUSE
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gnome-keyring-1)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(json-glib-1.0)
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(libsoup-gnome-2.4) >= 2.26
BuildRequires:  pkgconfig(rest-0.7)
BuildRequires:  pkgconfig(webkitgtk-3.0)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.

%package -n libgoa-1_0-0
Summary:        GNOME service to access online accounts -- Client Library
Group:          System/Libraries
Recommends:     %{name}

%description -n libgoa-1_0-0
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.

%package -n libgoa-backend-1_0-0
Summary:        GNOME service to access online accounts -- Backend Library
Group:          System/Libraries
Recommends:     %{name}

%description -n libgoa-backend-1_0-0
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.

%package devel
Summary:        GNOME service to access online accounts -- Development Files
Group:          Development/Libraries/GNOME
Requires:       libgoa-1_0-0 = %{version}
Requires:       libgoa-backend-1_0-0 = %{version}

%description devel
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.

%lang_package
%prep
%setup -q
%patch0 -p1

%build
TWITTER=$(cat %{_datadir}/libsocialweb/keys/twitter)
if test "x$TWITTER" = "x"; then
    echo "No API keys for twitter."
    false
fi
TWITTER_KEY=$(echo $TWITTER | awk '{print $1}')
TWITTER_SECRET=$(echo $TWITTER | awk '{print $2}')
%configure \
        --disable-static \
        --enable-gtk-doc \
        --enable-twitter \
        --with-twitter-consumer-key=$TWITTER_KEY \
        --with-twitter-consumer-secret=$TWITTER_SECRET \
        --enable-google
make %{?_smp_mflags}

%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name} %{?no_lang_C}

%clean
rm -rf %{buildroot}

%post -n libgoa-1_0-0 -p /sbin/ldconfig

%postun -n libgoa-1_0-0 -p /sbin/ldconfig

%post -n libgoa-backend-1_0-0 -p /sbin/ldconfig

%postun -n libgoa-backend-1_0-0 -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc COPYING NEWS
%{_libdir}/girepository-1.0/Goa-1.0.typelib
%{_libexecdir}/goa-daemon
%{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service
%{_datadir}/icons/hicolor/*/apps/goa-account*.png
%{_mandir}/man8/goa-daemon.8%{?ext_man}

%files -n libgoa-1_0-0
%defattr(-,root,root)
%{_libdir}/libgoa-1.0.so.*

%files -n libgoa-backend-1_0-0
%defattr(-,root,root)
%{_libdir}/libgoa-backend-1.0.so.*

%files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/goa/
%{_includedir}/goa-1.0/
%{_libdir}/libgoa-1.0.so
%{_libdir}/libgoa-backend-1.0.so
%{_libdir}/pkgconfig/goa-1.0.pc
%{_libdir}/pkgconfig/goa-backend-1.0.pc
%{_datadir}/gir-1.0/*.gir

%files lang -f %{name}.lang

%changelog
++++++ gnome-online-accounts-CVE-2013-0240.patch ++++++
>From 407c4cf96519cd9801cec4bc630c6e0d451c82a3 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[email protected]>
Date: Tue, 5 Feb 2013 13:43:34 +0000
Subject: [PATCH] CVE-2013-0240: Do not allow invalid SSL certificates

None of the branded providers (eg., Google, Facebook and Windows Live)
should ever have an invalid certificate; and in this version of GOA,
that's all we have. So set "ssl-strict" on the SoupSession object
being used by GoaWebView.
---
 src/goabackend/goaoauth2provider.c |    6 ++++++
 src/goabackend/goaoauthprovider.c  |    6 ++++++
 2 files changed, 12 insertions(+)

Index: gnome-online-accounts-3.2.1/src/goabackend/goaoauth2provider.c
===================================================================
--- gnome-online-accounts-3.2.1.orig/src/goabackend/goaoauth2provider.c
+++ gnome-online-accounts-3.2.1/src/goabackend/goaoauth2provider.c
@@ -685,6 +685,11 @@ get_tokens_and_identity (GoaOAuth2Provid
       SoupCookieJar *cookie_jar;
 
       webkit_soup_session = webkit_get_default_session ();
+
+      g_object_set (webkit_soup_session,
+          SOUP_SESSION_SSL_STRICT, TRUE,
+          NULL);
+
       /* Get the proxy configuration from the GNOME settings */
       soup_session_add_feature_by_type (webkit_soup_session, 
SOUP_TYPE_PROXY_RESOLVER_GNOME);
 
Index: gnome-online-accounts-3.2.1/src/goabackend/goaoauthprovider.c
===================================================================
--- gnome-online-accounts-3.2.1.orig/src/goabackend/goaoauthprovider.c
+++ gnome-online-accounts-3.2.1/src/goabackend/goaoauthprovider.c
@@ -708,6 +708,11 @@ get_tokens_and_identity (GoaOAuthProvide
       SoupCookieJar *cookie_jar;
 
       webkit_soup_session = webkit_get_default_session ();
+
+      g_object_set (webkit_soup_session,
+          SOUP_SESSION_SSL_STRICT, TRUE,
+          NULL);
+
       /* Get the proxy configuration from the GNOME settings */
       soup_session_add_feature_by_type (webkit_soup_session, 
SOUP_TYPE_PROXY_RESOLVER_GNOME);
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to