diff --git a/libsoup-2.66.3.tar.xz b/libsoup-2.66.3.tar.xz deleted file mode 100644 index f7c7202..0000000 --- a/libsoup-2.66.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56d2cffb845daf51317411a6c56fead9a586447667aa949c6db6a4fbcf996236 -size 1448924 diff --git a/libsoup-2.68.1.tar.xz b/libsoup-2.68.1.tar.xz new file mode 100644 index 0000000..5d70716 --- /dev/null +++ b/libsoup-2.68.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f0323e53b8e797baa972dfe25adf3cc6ceff06f0a26235b6c5c7b91403fbf8d +size 1486664 diff --git a/libsoup-disable-hsts-tests.patch b/libsoup-disable-hsts-tests.patch new file mode 100644 index 0000000..561946c --- /dev/null +++ b/libsoup-disable-hsts-tests.patch @@ -0,0 +1,12 @@ +diff -urp libsoup-2.67.92.orig/tests/meson.build libsoup-2.67.92/tests/meson.build +--- libsoup-2.67.92.orig/tests/meson.build 2019-08-20 08:06:39.000000000 -0500 ++++ libsoup-2.67.92/tests/meson.build 2019-08-30 20:06:14.780598736 -0500 +@@ -24,8 +24,6 @@ tests = [ + ['date', true, []], + ['forms', true, []], + ['header-parsing', true, []], +- ['hsts', true, []], +- ['hsts-db', true, []], + ['misc', true, []], + ['multipart', true, []], + ['no-ssl', true, []], diff --git a/libsoup.changes b/libsoup.changes index 3060f03..a1eedb1 100644 --- a/libsoup.changes +++ b/libsoup.changes @@ -1,3 +1,89 @@ +------------------------------------------------------------------- +Thu Sep 12 02:05:49 UTC 2019 - Michael Gorse + +- Update to version 2.68.1: + + Several memory leaks fixed in tests, examples, and parsing + code. + + SoupServer: Fixes to Windows path handling. + + Changes in version 2.68.0: + + Updated translations. + + Changes in version 2.67.93: + + SoupMessage: Handle Transfer-Encoding: identity for + compatibility reasons. + + WebSockets: Only poll IO stream when needed. + + WebSockets: Properly set cookies received during handshake. + + WebSockets: Plug a couple of memory leaks and fix a few + read-after-free memory errors. + + WebSockets: document how web socket extensions should treat + buffers in case of error. + + SoupSession: Don't reset user GCancellable internally. + + Tests: Make tests installable. + + Remove deprecate GTimeVal internal usage. + + CI: increase coverage by enabling all features during testing. + + Updated translations. + +------------------------------------------------------------------- +Wed Sep 11 15:01:18 UTC 2019 - mgorse@suse.com + +- Update to version 2.67.92: + + Silence GTimeVal deprecation warnings. + + API documentation and annotation fixes. + + Plug a couple of NTLM authentication memory leaks. + + Meson: Use feature options. + + Meson: Do not fallback to system krb5-config for + cross-compilation. + + NTLM: Fix build with NTLM enabled. + + Updated translations. +- Changes from version 2.67.91: + + HSTS: New API to retrieve information about existing HSTS + policies. + + Updated translations. +- Changes from version 2.67.90: + + WebSockets: add support for WebSocket extensions via new + SoupWebsocketExtensionManager and SoupWebsocketExtension API. + + WebSockets: add support for the permessage-deflate extension, + enabled by default in SoupServer and in the client side only if + SoupWebsocketExtensionManager is added to a session. + + WebSockets: Allow sending close frames with no body. + + WebSockets: ignore messages after close has been sent and + received. + + Meson: tls-check improved. + + Meson: improve Apache checks. +- Changes from version 2.67.3: + + WebSockets: allow sending empty binary data. + + WebSockets: fail and load the connection on invalid payload + length. + + WebSockets: allow NULL characters in text messages data. + + WebSockets: Close connection on wrongly masked/unmasked frame + as per RFC. + + WebSockets: other code fixes. + + NTLM: Fix NTLMv2 authentication. + + SoupMessage: fix several deprecation warnings related to + private data. +- Changes from version 2.67.2: + + gobject-introspection: Fix annotation for soup_auth_new(). + + brotli: Do not advertise the decoder as it's failing with some + websites. + + Meson: Fix xml2 and sqlite fallbacks. + + HSTS: Add SoupHSTSEnforcer:hsts-enforced signal. + + HSTS: Fixes to the types used to store policies in the SQLite + storage. + + HSTS: Accept Strict-Transport-Security regardless of casing. + + WebSockets: Ensure messages finishes when handshake fails. + + WebSockets: Fix critical warnings and test failures. +- Changes from version 2.67.1: + + Add a brotli decoder. This adds a new dependency on libbrotli. + + Add strict secure cookies support. + + Add HSTS enforcer SoupSession feature (with both memory and + sqlite backends). + + meson gtk-doc documentation fixes. +- Add libbrotlidec to BuildRequires. +- Adjust meson: need "enabled" rather than "true" in a few places. +- Add samba-winbind to BuildRequires: meson checks for ntlm_auth. +- Meson: doc option is now gtk_doc. +- Add libsoup-disable-hsts-tests.patch: these require *.localhost + to resolve. + ------------------------------------------------------------------- Wed Sep 11 15:01:17 UTC 2019 - Bjørn Lie diff --git a/libsoup.spec b/libsoup.spec index 76f7574..c5f5d49 100644 --- a/libsoup.spec +++ b/libsoup.spec @@ -17,18 +17,21 @@ Name: libsoup -Version: 2.66.3 +Version: 2.68.1 Release: 0 Summary: HTTP client/server library for GNOME License: LGPL-2.1-or-later Group: Development/Libraries/GNOME URL: https://wiki.gnome.org/Projects/libsoup -Source0: https://download.gnome.org/sources/libsoup/2.66/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/libsoup/2.68/%{name}-%{version}.tar.xz Source99: baselibs.conf +# PATCH-FIX-OPENSUSE libsoup-disable-hsts-tests.patch mgorse@suse.com -- disable hsts tests. +Patch0: libsoup-disable-hsts-tests.patch BuildRequires: glib-networking BuildRequires: meson BuildRequires: pkgconfig +BuildRequires: samba-winbind BuildRequires: translation-update-upstream BuildRequires: pkgconfig(gio-2.0) >= 2.38.0 BuildRequires: pkgconfig(glib-2.0) >= 2.38.0 @@ -36,6 +39,7 @@ BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5 BuildRequires: pkgconfig(gtk-doc) >= 1.20 BuildRequires: pkgconfig(krb5) +BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(libpsl) >= 0.20 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sqlite3) @@ -119,9 +123,9 @@ translation-update-upstream po libsoup %build %meson \ - -Dgssapi=true \ + -Dgssapi=enabled \ -Dkrb5_config='%{_libexecdir}/mit/bin/krb5-config' \ - -Dvapi=true \ + -Dvapi=enabled \ -Dgtk_doc=true \ %{nil} %meson_build