diff --git a/libsoup-2.32.2.tar.bz2 b/libsoup-2.32.2.tar.bz2 deleted file mode 100644 index d4e0c97..0000000 --- a/libsoup-2.32.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96e6973c8b7459523c0f44e7aec69528ff2fbd388e8ddc415f91bcc42f50777f -size 668131 diff --git a/libsoup-2.34.0.tar.bz2 b/libsoup-2.34.0.tar.bz2 new file mode 100644 index 0000000..44411b7 --- /dev/null +++ b/libsoup-2.34.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb7b8f4ab72923c8bdaf83ad9655e946c4c68ee6957b82eb0e20586c1ad627e7 +size 682506 diff --git a/libsoup-gnutls-allow-tls.patch b/libsoup-gnutls-allow-tls.patch deleted file mode 100644 index 9dbeacf..0000000 --- a/libsoup-gnutls-allow-tls.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: libsoup-2.31.92/libsoup/soup-gnutls.c -=================================================================== ---- libsoup-2.31.92.orig/libsoup/soup-gnutls.c -+++ libsoup-2.31.92/libsoup/soup-gnutls.c -@@ -477,7 +477,8 @@ soup_ssl_wrap_iochannel (GIOChannel *soc - goto THROW_CREATE_ERROR; - - /* See http://bugzilla.gnome.org/show_bug.cgi?id=581342 */ -- if (gnutls_priority_set_direct (session, "NORMAL:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0", NULL) != 0) -+ /* This is what nss uses by default, see https://bugzilla.novell.com/show_bug.cgi?id=634040#c7 */ -+ if (gnutls_priority_set_direct (session, "NORMAL:%COMPAT:!VERS-TLS1.1", NULL) != 0) - goto THROW_CREATE_ERROR; - - if (gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, diff --git a/libsoup.changes b/libsoup.changes index c66dde4..e5b3e4c 100644 --- a/libsoup.changes +++ b/libsoup.changes @@ -1,3 +1,117 @@ +------------------------------------------------------------------- +Tue Apr 5 11:46:27 UTC 2011 - fcrozat@novell.com + +- Update to version 2.34.0: + + Fixed the GMainContext handling of the new + SoupProxyResolverDefault (which among other things fixes + gstreamer usage inside epiphany). bgo#646201 + + Tweaked the introspection Makefile rules to fix a problem + building on Debian/Ubuntu. bgo#645505 + + Belated bumped the shared library versioning to reflect the + API additions since 2.32.0 + +------------------------------------------------------------------- +Tue Mar 22 13:15:30 UTC 2011 - fcrozat@novell.com + +- Update to version 2.33.92: + + LIBSOUP NO LONGER DEPENDS ON GCONF OR LIBPROXY. (see below). + + Added SoupProxyResolverDefault, which uses uses gio's + GProxyResolver to resolve proxies [bgo#642982] + Despite the "default" in the name, it is not used by + default, for compatibility reasons, but it is available in + plain libsoup, not libsoup-gnome. (Of course, it depends on + having glib-networking installed.) + + Updated SoupProxyResolverGNOME to be based on + SoupProxyResolverDefault, but explicitly requesting the + "gnome" GProxyResolver if it is available [bgo#625898], and + removed the old code that used GConf and libproxy directly. + + Added soup_server_disconnect(), to explicitly disconnect a + SoupServer, since it is not possible to g_object_unref() it + from memory-managed language bindings. [bgo#638576] + + SoupDate now parses month names case-insensitively [bgo#644048] + + Avoid a g_return_if_fail() when using + SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY with non-http URIs + (file:, data:, etc). [bgo#643226] + + SoupCookieJar now catches overflows when parsing very + distant dates [bgo#643462] + + Fixed a buggy interaction between request body streaming and + restarted requests. Added some new tests + to tests/chunk-test.c to make sure that a specific + (unsupported!) way of using those methods would not get + broken in the future. + + Fixed soup_socket_get_remote_address(), which had been + broken since 2.33.4 (and which in turn caused + soup_client_context_get_address/_get_host to be broken). + [bgo#645227] +- Drop libproxy-devel BuildRequires. + +------------------------------------------------------------------- +Tue Feb 22 18:09:27 UTC 2011 - fcrozat@novell.com + +- Update to version 2.33.90: + + glib-networking is a compile and runtime dependency now. + + bgo#642075: fixed a bug in talking to servers with virtual + hosts with Unicode names (IDNs). + + bgo#640414: added a "Connection: Keep-Alive" header when + talking to HTTP/1.0 hosts, to improve performance. + + bgo#642028: changed SoupCache to not cache + multipart/x-mixed-replace content. +- Changes from version 2.33.6: + + bgo#639768: made SoupSessionAsync do idle-connection cleanup + more sanely, resulting in faster load times for pages with lots + of subresources. + + bgo#639783: fixed soup_form_decode()'s behavior (and by + extension, SoupServer query string handling) with datasets that + contain multiple values for the same key, and added a test + case. + + bgo#640556: fixed warnings pointed out by gcc 4.6, including a + bug in SoupCache that would cause unnecessary revalidations. + + bgo#641022: belated copied a fix from the WebKit copy of + soup-cache.c into ours, and fixed a bug in the local copy of + soup-request-data.c, in preparation for making WebKit use + the libsoup versions. +- Changes from version 2.33.5: + + bgo#637741: fixed certain cases of + soup_session_cancel_message() with SoupSessionSync that could + previously cause warnings or crashes. +- Changes from version 2.33.4: + + SoupSocket now uses GSocketConnection and GTlsConnection + internally rather than making socket calls directly and + using GIOStream, and TLS is handled via glib's APIs rather + than using gnutls directly. + + The gzip Content-Encoding handler is now implemented using + GZlibDecompressor + + As a result of the above two changes, libsoup no longer + directly depends on gnutls, libgcrypt, or zlib, though it + still indirectly depends on zlib via glib and libxml2. Also, + although libsoup does not depend on glib-networking as a + build-time dependency, some "make check" tests will be + skipped if it is not installed. + + bgo#523100: the SoupRequest/SoupCache code from WebKit has + been imported, but it is not yet recommended for general use, + and is not necessarily API stable. + + Added SoupMessage:tls-certificate and SoupMessage:tls-errors, + which give more information about the certificate used to + authenticate a TLS connection. + + It is now possible to disable Basic or Digest auth in a + session by using soup_session_remove_feature_by_type() with + SOUP_TYPE_AUTH_BASIC or SOUP_TYPE_AUTH_DIGEST. Likewise, the + right way to enable NTLM support now is to call + soup_session_add_feature_by_type() with SOUP_TYPE_AUTH_NTLM; + SOUP_SESSION_USE_NTLM is now deprecated. + + bgo#603825: allow setting cookies on file:// URIs, since other + browsers do, and WebKit has a test for it. + + bgo#635395: .gir/.typelib files now include C header/library + information (needed by vala and some other bindings) + + Added annotations on soup_message_headers_get_content_type() + and SoupHTTPVersion + + bgo#636741: fixed a Set-Cookie processing leak. +- Add glib-networking BuildRequires, and explicit Requires in + libsoup-2_4-1 since we need the gio module for TLS support. +- Remove now unneeded gnutls-devel BuildRequires. +- Drop libsoup-gnutls-allow-tls.patch: the TLS handling is now done + in glib-networking. + ------------------------------------------------------------------- Tue Nov 30 09:02:31 CET 2010 - dimstar@opensuse.org diff --git a/libsoup.spec b/libsoup.spec index 2c9fa70..7f89f16 100644 --- a/libsoup.spec +++ b/libsoup.spec @@ -1,7 +1,7 @@ # -# spec file for package libsoup (Version 2.32.2) +# spec file for package libsoup # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -20,22 +20,19 @@ Name: libsoup Summary: HTTP client/server library for GNOME -Version: 2.32.2 +Version: 2.34.0 Release: 1 License: LGPLv2.1+ Group: Development/Libraries/GNOME Url: http://www.gnome.org Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name}-%{version}.tar.bz2 Source99: baselibs.conf -# PATCH-FIX-OPENSUSE libsoup-gnutls-allow-tls.patch bnc#634040 vuntz@opensuse.org -- Allow TLS usage instead of being SSL 3.0-only. Upstream does not want this, and rewriting a lot of code is needed to fix this correctly. However, the openSUSE security team wants TLS to be used if possible. This might lead to some websites being not accessible with libsoup. -Patch0: libsoup-gnutls-allow-tls.patch BuildRequires: gconf2-devel BuildRequires: glib2-devel -BuildRequires: gnutls-devel +BuildRequires: glib-networking BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: libgnome-keyring-devel -BuildRequires: libproxy-devel BuildRequires: libxml2-devel BuildRequires: sqlite3-devel # We do not need these dependencies needed only for tests. @@ -65,6 +62,7 @@ Features: License: LGPLv2.1+ Summary: HTTP client/server library for GNOME Group: Development/Libraries/GNOME +Requires: glib-networking >= 2.27.90 Provides: %{name} = %{version} Obsoletes: %{name} < %{version} # bug437293 @@ -114,7 +112,6 @@ Features: %prep %setup -q -%patch0 -p1 %build %configure\