From bb1889f27c185c20c888f58ef51240ddcbf531068718bdc76f4aa8ae918a38a8 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 9 Mar 2018 10:07:58 +0000 Subject: [PATCH] Accepting request 583594 from GNOME:Next Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/583594 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=203 --- libsoup-2.60.3.tar.xz | 3 --- libsoup-2.61.91.tar.xz | 3 +++ libsoup-tld-parser-py3.patch | 27 -------------------- libsoup.changes | 49 ++++++++++++++++++++++++++++++++++++ libsoup.spec | 45 +++++++++++---------------------- 5 files changed, 67 insertions(+), 60 deletions(-) delete mode 100644 libsoup-2.60.3.tar.xz create mode 100644 libsoup-2.61.91.tar.xz delete mode 100644 libsoup-tld-parser-py3.patch diff --git a/libsoup-2.60.3.tar.xz b/libsoup-2.60.3.tar.xz deleted file mode 100644 index 5ff506d..0000000 --- a/libsoup-2.60.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b0dc762f23abe4e0d29b77370e539fd35f31d8e8e0318d6ddccff395be68a22 -size 1838640 diff --git a/libsoup-2.61.91.tar.xz b/libsoup-2.61.91.tar.xz new file mode 100644 index 0000000..bbdfb32 --- /dev/null +++ b/libsoup-2.61.91.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13314e6b96f4c6fc1c68905514283a867adb36bf471add0b8e64e565dae646d1 +size 1838092 diff --git a/libsoup-tld-parser-py3.patch b/libsoup-tld-parser-py3.patch deleted file mode 100644 index 8a0e44e..0000000 --- a/libsoup-tld-parser-py3.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 4b924e573da307436169d5ef7e04c0ab85b36ef9 Mon Sep 17 00:00:00 2001 -From: Ross Burton -Date: Wed, 2 Aug 2017 15:17:21 +0100 -Subject: tld-parser: use Python 3 - -The world is moving to Python 3 so do our bit by using Python 3 to run the TLD -parser. - -https://bugzilla.gnome.org/show_bug.cgi?id=785735 ---- - libsoup/tld-parser.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libsoup/tld-parser.py b/libsoup/tld-parser.py -index 5d9d2ba..a743471 100755 ---- a/libsoup/tld-parser.py -+++ b/libsoup/tld-parser.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - - # Generate tld rules - # Copyright (C) 2012 Red Hat, Inc. --- -cgit v0.12 - - diff --git a/libsoup.changes b/libsoup.changes index 32410a3..77af553 100644 --- a/libsoup.changes +++ b/libsoup.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Mon Mar 5 19:07:04 UTC 2018 - dimstar@opensuse.org + +- Update to version 2.61.91: + + Add limit to header length to avoid DOS attacks (bgo#792173). + + Update the public-suffix list. + + Revert "cookie-jar: use base domain to decide if cookie is + third party" (bgo#792130). + +------------------------------------------------------------------- +Wed Feb 28 16:36:32 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Tue Feb 6 03:17:15 UTC 2018 - luc14n0@linuxmail.org + +- Update to version 2.61.90: + + Various improvements to the WebSocket implementation + (bgo#792113). + + cookie-jar: use base domain to decide if cookie is third party + (bgo#792130). + + Add new API to create a new connection from a SoupSession + (bgo#792212). + + soup-headers: accept any 3 digit number as message status code + (bgo#792124). +- Remove unneeded %clean section: RPM does this kind of work itself + already. +- Adopt the use of %make_build macro rather than raw make command, + following the best practices. + +------------------------------------------------------------------- +Mon Jan 22 02:00:02 UTC 2018 - dimstar@opensuse.org + +- Update to version 2.61.2: + + Session: don't request Keep-Alive for upgraded connections + (bgo#788723). + +------------------------------------------------------------------- +Mon Jan 22 02:00:01 UTC 2018 - dimstar@opensuse.org + +- Update to version 2.61.1: + + tld-parser: use Python 3 (bgo#785735). + + Fix heap-buffer-overflow in soup_ntlm_parse_challenge() + (bgo#788037). + + Fix possibly uninitialized value in ssl-test. + + SoupCache: fix the timestamp for responses (bgo#791031). +- Drop libsoup-tld-parser-py3.patch: fixed upstream. + ------------------------------------------------------------------- Fri Jan 19 19:48:16 UTC 2018 - bjorn.lie@gmail.com diff --git a/libsoup.spec b/libsoup.spec index e2112a2..208a538 100644 --- a/libsoup.spec +++ b/libsoup.spec @@ -17,18 +17,17 @@ Name: libsoup -Summary: HTTP client/server library for GNOME -License: LGPL-2.1+ -Group: Development/Libraries/GNOME -Version: 2.60.3 +Version: 2.61.91 Release: 0 -Url: https://wiki.gnome.org/Projects/libsoup -Source: https://download.gnome.org/sources/libsoup/2.60/%{name}-%{version}.tar.xz +Summary: HTTP client/server library for GNOME +License: LGPL-2.1-or-later +Group: Development/Libraries/GNOME +URL: https://wiki.gnome.org/Projects/libsoup +Source: http://download.gnome.org/sources/libsoup/2.61/%{name}-%{version}.tar.xz Source99: baselibs.conf -# PATCH-FIX-UPSTREAM libsoup-tld-parser-py3.patch bgo#785735 dimstar@opensuse.org -- Use python3 for tld-parser -Patch0: libsoup-tld-parser-py3.patch BuildRequires: glib-networking BuildRequires: intltool >= 0.35.0 +BuildRequires: pkgconfig BuildRequires: python3-base BuildRequires: pkgconfig(gio-2.0) >= 2.38.0 BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0 @@ -43,7 +42,6 @@ BuildRequires: translation-update-upstream %endif # We do not need these dependencies needed only for tests. #BuildRequires: apache2-mod_php5 php5-xmlrpc -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libsoup is an HTTP client/server library for GNOME. It uses GObjects @@ -68,10 +66,6 @@ Suggests: samba-winbind # Needed for smooth upgrades and to make the lang package installable Provides: %{name} = %{version} Obsoletes: %{name} < %{version} -# bug437293 -%ifarch ppc64 -Obsoletes: libsoup-64bit -%endif %description 2_4-1 Libsoup is an HTTP client/server library for GNOME. It uses GObjects @@ -103,10 +97,6 @@ Requires: %{name} = %{version} Requires: typelib-1_0-Soup-2_4 = %{version} Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc < %{version} -# bug437293 -%ifarch ppc64 -Obsoletes: libsoup-devel-64bit -%endif %description devel Libsoup is an HTTP client/server library for GNOME. It uses GObjects @@ -122,9 +112,9 @@ Features: * XML-RPC support %lang_package + %prep %setup -q -%patch0 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif @@ -135,34 +125,27 @@ translation-update-upstream --enable-introspection \ --with-gssapi \ --with-krb5-config=%{_libexecdir}/mit/bin/krb5-config -make %{?_smp_mflags} +%make_build %install -%makeinstall +%make_install rm %{buildroot}/%{_libdir}/*.*a %find_lang %{name} %{?no_lang_C} -%clean -rm -rf %{buildroot} - %post 2_4-1 -p /sbin/ldconfig - %postun 2_4-1 -p /sbin/ldconfig %files 2_4-1 -%defattr(-, root, root) -%doc README COPYING NEWS AUTHORS +%license COPYING +%doc NEWS %{_libdir}/*.so.* %files -n typelib-1_0-Soup-2_4 -%defattr(-,root,root) %{_libdir}/girepository-1.0/Soup-2.4.typelib %{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib -%files lang -f %{name}.lang - %files devel -%defattr(-,root,root) +%doc AUTHORS README %{_includedir}/libsoup-2.4 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc @@ -174,4 +157,6 @@ rm -rf %{buildroot} %{_datadir}/vala/vapi/libsoup-2.4.vapi %{_datadir}/vala/vapi/libsoup-2.4.deps +%files lang -f %{name}.lang + %changelog