Hello community, here is the log from the commit of package glib-networking for openSUSE:Factory checked in at Tue May 31 12:55:45 CEST 2011.
-------- --- GNOME/glib-networking/glib-networking.changes 2011-05-04 16:19:12.000000000 +0200 +++ /mounts/work_src_done/STABLE/glib-networking/glib-networking.changes 2011-05-23 23:13:45.000000000 +0200 @@ -1,0 +2,9 @@ +Mon May 23 23:12:28 CEST 2011 - [email protected] + +- Update to version 2.28.7: + + Fixed a race condition in GProxyResolverGnome that caused + problems when making simultaneous connections from multiple + threads. + + Updated translations. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- glib-networking-2.28.6.1.tar.bz2 New: ---- glib-networking-2.28.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glib-networking.spec ++++++ --- /var/tmp/diff_new_pack.hIMBSY/_old 2011-05-31 12:54:57.000000000 +0200 +++ /var/tmp/diff_new_pack.hIMBSY/_new 2011-05-31 12:54:57.000000000 +0200 @@ -18,8 +18,8 @@ Name: glib-networking -Version: 2.28.6.1 -Release: 2 +Version: 2.28.7 +Release: 1 License: LGPLv2+ Summary: Network-related GIO modules for glib Group: System/Libraries ++++++ glib-networking-2.28.6.1.tar.bz2 -> glib-networking-2.28.7.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-networking-2.28.6.1/NEWS new/glib-networking-2.28.7/NEWS --- old/glib-networking-2.28.6.1/NEWS 2011-04-26 20:14:57.000000000 +0200 +++ new/glib-networking-2.28.7/NEWS 2011-05-23 21:44:45.000000000 +0200 @@ -1,3 +1,12 @@ +2.28.7 +====== + * Fixed a race condition in GProxyResolverGnome that caused problems + when making simultaneous corrections from multiple threads. (David + Zeuthen) + + * New translations: + Esperanto + 2.28.6.1 ======== * Fixed a bug in the gnutls backend introduced in 2.28.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-networking-2.28.6.1/configure new/glib-networking-2.28.7/configure --- old/glib-networking-2.28.6.1/configure 2011-04-26 20:16:04.000000000 +0200 +++ new/glib-networking-2.28.7/configure 2011-05-23 21:46:05.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.66 for glib-networking 2.28.6.1. +# Generated by GNU Autoconf 2.66 for glib-networking 2.28.7. # # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network>. # @@ -563,8 +563,8 @@ # Identity of this package. PACKAGE_NAME='glib-networking' PACKAGE_TARNAME='glib-networking' -PACKAGE_VERSION='2.28.6.1' -PACKAGE_STRING='glib-networking 2.28.6.1' +PACKAGE_VERSION='2.28.7' +PACKAGE_STRING='glib-networking 2.28.7' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network' PACKAGE_URL='' @@ -1365,7 +1365,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 glib-networking 2.28.6.1 to adapt to many kinds of systems. +\`configure' configures glib-networking 2.28.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1435,7 +1435,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of glib-networking 2.28.6.1:";; + short | recursive ) echo "Configuration of glib-networking 2.28.7:";; esac cat <<\_ACEOF @@ -1568,7 +1568,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -glib-networking configure 2.28.6.1 +glib-networking configure 2.28.7 generated by GNU Autoconf 2.66 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1937,7 +1937,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by glib-networking $as_me 2.28.6.1, which was +It was created by glib-networking $as_me 2.28.7, which was generated by GNU Autoconf 2.66. Invocation command line was $ $0 $@ @@ -2757,7 +2757,7 @@ # Define the identity of the package. PACKAGE='glib-networking' - VERSION='2.28.6.1' + VERSION='2.28.7' cat >>confdefs.h <<_ACEOF @@ -14364,7 +14364,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by glib-networking $as_me 2.28.6.1, which was +This file was extended by glib-networking $as_me 2.28.7, which was generated by GNU Autoconf 2.66. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14430,7 +14430,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -glib-networking config.status 2.28.6.1 +glib-networking config.status 2.28.7 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/glib-networking-2.28.6.1/configure.ac new/glib-networking-2.28.7/configure.ac --- old/glib-networking-2.28.6.1/configure.ac 2011-04-26 20:13:46.000000000 +0200 +++ new/glib-networking-2.28.7/configure.ac 2011-05-23 21:41:01.000000000 +0200 @@ -1,7 +1,7 @@ AC_PREREQ(2.65) AC_CONFIG_MACRO_DIR([m4]) -AC_INIT([glib-networking],[2.28.6.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network]) +AC_INIT([glib-networking],[2.28.7],[http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network]) AC_CONFIG_SRCDIR([proxy/libproxy/glibproxyresolver.h]) AC_CONFIG_HEADERS([config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-networking-2.28.6.1/po/LINGUAS new/glib-networking-2.28.7/po/LINGUAS --- old/glib-networking-2.28.6.1/po/LINGUAS 2011-04-07 15:04:37.000000000 +0200 +++ new/glib-networking-2.28.7/po/LINGUAS 2011-05-23 21:41:32.000000000 +0200 @@ -8,6 +8,7 @@ el en_CA en_GB +eo es et eu diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-networking-2.28.6.1/po/eo.po new/glib-networking-2.28.7/po/eo.po --- old/glib-networking-2.28.6.1/po/eo.po 1970-01-01 01:00:00.000000000 +0100 +++ new/glib-networking-2.28.7/po/eo.po 2011-05-23 21:41:37.000000000 +0200 @@ -0,0 +1,93 @@ +# Esperanto translation for glib-networking. +# Copyright (C) 2011 Free Software Foundation, Inc. +# This file is distributed under the same license as the glib-networking package. +# Kristjan SCHMIDT <[email protected]>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: glib-networking master\n" +"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" +"product=glib&component=network\n" +"POT-Creation-Date: 2011-02-15 22:47+0000\n" +"PO-Revision-Date: 2011-05-15 15:54+0200\n" +"Last-Translator: Kristjan SCHMIDT <[email protected]>\n" +"Language-Team: Esperanto <[email protected]>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../proxy/libproxy/glibproxyresolver.c:142 +msgid "Proxy resolver internal error." +msgstr "Interna eraro en la solvilo de la prokurilo." + +#: ../tls/gnutls/gtlscertificate-gnutls.c:173 +#, c-format +msgid "Could not parse DER certificate: %s" +msgstr "Ne eblis analizi la DER-atestilon: %s" + +#: ../tls/gnutls/gtlscertificate-gnutls.c:194 +#, c-format +msgid "Could not parse PEM certificate: %s" +msgstr "Ne eblis analizi la PEM-atestilon: %s" + +#: ../tls/gnutls/gtlscertificate-gnutls.c:214 +#, c-format +msgid "Could not parse DER private key: %s" +msgstr "Ne eblis analizi la privatan DER-ŝlosilon: %s" + +#: ../tls/gnutls/gtlscertificate-gnutls.c:234 +#, c-format +msgid "Could not parse PEM private key: %s" +msgstr "Ne eblis analizi la privatan PEM-ŝlosilon: %s" + +#: ../tls/gnutls/gtlscertificate-gnutls.c:275 +msgid "No certificate data provided" +msgstr "Neniu atestilo etas provizita" + +#: ../tls/gnutls/gtlsclientconnection-gnutls.c:356 +msgid "Server required TLS certificate" +msgstr "Servilo bezonas TLS-atestilon" + +#: ../tls/gnutls/gtlsconnection-gnutls.c:241 +#, c-format +msgid "Could not create TLS connection: %s" +msgstr "Ne eblis krei TLS-konekton: %s" + +#: ../tls/gnutls/gtlsconnection-gnutls.c:479 +msgid "Peer failed to perform TLS handshake" +msgstr "Samtavolano fiaskis efektivigi TLS-kvitancon" + +#: ../tls/gnutls/gtlsconnection-gnutls.c:497 +msgid "Peer requested illegal TLS rehandshake" +msgstr "Samtavolano petis kontraŭleĝan TLS-kvitancon" + +#: ../tls/gnutls/gtlsconnection-gnutls.c:511 +msgid "TLS connection closed unexpectedly" +msgstr "TLS-konekto fermiĝis senatendite" + +# Handshake ist ein Fachbegriff für den Vorgang der Verbindungsaushandlung +#: ../tls/gnutls/gtlsconnection-gnutls.c:799 +#: ../tls/gnutls/gtlsconnection-gnutls.c:825 +#, c-format +msgid "Error performing TLS handshake: %s" +msgstr "Eraro dum efektivigi TLS-kvitancon: %s" + +#: ../tls/gnutls/gtlsconnection-gnutls.c:876 +msgid "Unacceptable TLS certificate" +msgstr "Neakceptebla TLS-atestilo" + +#: ../tls/gnutls/gtlsconnection-gnutls.c:1023 +#, fuzzy, c-format +msgid "Error reading data from TLS socket: %s" +msgstr "Eraro dum legi de la datumoj el la TLS-ingo:%s\n" + +#: ../tls/gnutls/gtlsconnection-gnutls.c:1049 +#, fuzzy, c-format +msgid "Error writing data to TLS socket: %s" +msgstr "Eraro dum skribi de la datumoj el la TLS-ingo:%s\n" + +#: ../tls/gnutls/gtlsconnection-gnutls.c:1095 +#, c-format +msgid "Error performing TLS close: %s" +msgstr "Eraro dum fermi la TLS-konekto: %s" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glib-networking-2.28.6.1/proxy/gnome/gproxyresolvergnome.c new/glib-networking-2.28.7/proxy/gnome/gproxyresolvergnome.c --- old/glib-networking-2.28.6.1/proxy/gnome/gproxyresolvergnome.c 2011-03-22 03:20:29.000000000 +0100 +++ new/glib-networking-2.28.7/proxy/gnome/gproxyresolvergnome.c 2011-05-23 21:41:48.000000000 +0200 @@ -79,6 +79,8 @@ gchar *ftp_proxy, *socks_authority; GDBusProxy *pacrunner; + + GMutex *lock; }; static void g_proxy_resolver_gnome_iface_init (GProxyResolverInterface *iface); @@ -114,7 +116,9 @@ { GProxyResolverGnome *resolver = user_data; + g_mutex_lock (resolver->lock); resolver->need_update = TRUE; + g_mutex_unlock (resolver->lock); } static void @@ -155,12 +159,16 @@ if (resolver->pacrunner) g_object_unref (resolver->pacrunner); + g_mutex_free (resolver->lock); + G_OBJECT_CLASS (g_proxy_resolver_gnome_parent_class)->finalize (object); } static void g_proxy_resolver_gnome_init (GProxyResolverGnome *resolver) { + resolver->lock = g_mutex_new (); + resolver->proxy_settings = g_settings_new (GNOME_PROXY_SETTINGS_SCHEMA); g_signal_connect (resolver->proxy_settings, "changed", G_CALLBACK (gsettings_changed), resolver); @@ -180,6 +188,7 @@ resolver->need_update = TRUE; } +/* called with lock held */ static void update_settings (GProxyResolverGnome *resolver) { @@ -303,7 +312,8 @@ GError *error = NULL; resolver->pacrunner = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION, - G_DBUS_PROXY_FLAGS_NONE, + G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES | + G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS, NULL, "org.gtk.GLib.PACRunner", "/org/gtk/GLib/PACRunner", @@ -448,8 +458,10 @@ const gchar *proxy = "direct://"; gchar **proxies = NULL; + g_mutex_lock (resolver->lock); if (resolver->need_update) update_settings (resolver); + g_mutex_unlock (resolver->lock); if (resolver->mode == G_DESKTOP_PROXY_MODE_NONE) goto done; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
