Hello community, here is the log from the commit of package matrix-synapse for openSUSE:Factory checked in at 2019-01-21 10:52:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old) and /work/SRC/openSUSE:Factory/.matrix-synapse.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "matrix-synapse" Mon Jan 21 10:52:46 2019 rev:20 rq:665904 version:0.34.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes 2019-01-08 12:28:50.656248207 +0100 +++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.28833/matrix-synapse.changes 2019-01-21 10:52:57.759829489 +0100 @@ -1,0 +2,78 @@ +Mon Jan 14 07:44:26 UTC 2019 - ec...@opensuse.org + +- For test purpose a matrix server will be start. But never been + stopped. Fix that server will be stoped after test. + +------------------------------------------------------------------- +Sun Jan 13 18:22:20 UTC 2019 - Oliver Kurz <ok...@suse.com> + +- Update to 0.34.1.1 + This release fixes CVE-2019-5885 and is recommended for all users of Synapse + 0.34.1. This release is compatible with Python 2.7 and 3.5+. Python 3.7 is + fully supported. + * Bugfixes + - Fix spontaneous logout on upgrade (#4374) + * Internal Changes + - Add better logging for unexpected errors while sending transactions + (#4361, #4362) + - Getting URL previews of IP addresses no longer fails on Python 3. + (#4215) + - drop undocumented dependency on dateutil (#4266) + - Update the example systemd config to use a virtualenv (#4273) + - Update link to kernel DCO guide (#4274) + - Make isort tox check print diff when it fails (#4283) + - Log room_id in Unknown room errors (#4297) + - Documentation improvements for coturn setup. Contributed by Krithin + Sitaram. (#4333) + - Update pull request template to use absolute links (#4341) + - Update README to not lie about required restart when updating TLS + certificates (#4343) + - Update debian packaging for compatibility with transitional package + (#4349) + - Fix command hint to generate a config file when trying to start without + a config file (#4353) + - Add better logging for unexpected errors while sending transactions + (#4358) + * Features + - Special-case a support user for use in verifying behaviour of a given + server. The support user does not appear in user directory or monthly + active user counts. (#4141, #4344) + - Support for serving .well-known files (#4262) + - Rework SAML2 authentication (#4265, #4267) + - SAML2 authentication: Initialise user display name from SAML2 data + (#4272) + - Synapse can now have its conditional/extra dependencies installed by + pip. This functionality can be used by using `pip install + matrix-synapse[feature]`, where feature is a comma separated list with + the possible values `email.enable_notifs`, `matrix-synapse-ldap3`, + `postgres`, `resources.consent`, `saml2`, `url_preview`, and `test`. If + you want to install all optional dependencies, you can use "all" + instead. (#4298, #4325, #4327) + - Add routes for reading account data. (#4303) + - Add opt-in support for v2 rooms (#4307) + - Add a script to generate a clean config file (#4315) + - Return server data in /login response (#4319) + * Bugfixes + - Fix contains_url check to be consistent with other instances in + code-base and check that value is an instance of string. (#3405) + - Fix CAS login when username is not valid in an MXID (#4264) + - Send CORS headers for /media/config (#4279) + - Add 'sandbox' to CSP for media reprository (#4284) + - Make the new landing page prettier. (#4294) + - Fix deleting E2E room keys when using old SQLite versions. (#4295) + - The metric synapse_admin_mau:current previously did not update when + config.mau_stats_only was set to True (#4305) + - Fixed per-room account data filters (#4309) + - Fix indentation in default config (#4313) + - Fix synapse:latest docker upload (#4316) + - Fix test_metric.py compatibility with prometheus_client 0.5. Contributed + by Maarten de Vries <maar...@de-vri.es>. (#4317) + - Avoid packaging _trial_temp directory in -py3 debian packages (#4326) + - Check jinja version for consent resource (#4327) + - fix NPE in /messages by checking if all events were filtered out (#4330) + - Fix `python -m synapse.config` on Python 3. (#4356) + * Deprecations and Removals + - Remove the deprecated v1/register API on Python 2. It was never ported + to Python 3. (#4334) + +------------------------------------------------------------------- Old: ---- matrix-synapse-0.34.0.obscpio New: ---- matrix-synapse-0.34.1.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ matrix-synapse.spec ++++++ --- /var/tmp/diff_new_pack.FcEJkT/_old 2019-01-21 10:53:00.179826562 +0100 +++ /var/tmp/diff_new_pack.FcEJkT/_new 2019-01-21 10:53:00.183826557 +0100 @@ -1,7 +1,7 @@ # # spec file for package matrix # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -51,7 +51,7 @@ %define modname synapse %define short_name matrix-synapse Name: %{short_name}%{?name_ext} -Version: 0.34.0 +Version: 0.34.1.1 Release: 0 Summary: Matrix protocol reference homeserver License: Apache-2.0 @@ -142,14 +142,15 @@ done for i in scripts/move_remote_media_to_new_store.py do - sed -i 's@#!/usr/bin/env python@#!/usr/bin/python@g' $i + sed -i '1s@#!/usr/bin/env python@#!/usr/bin/python@g' $i done -sed -i '1 s@#!/usr/bin/env perl@#!/usr/bin/perl@g' scripts/sync_room_to_group.pl +sed -i '1s@#!/usr/bin/env perl@#!/usr/bin/perl@g' scripts/sync_room_to_group.pl +sed -i 's@msgpack-python@msgpack@g' synapse/python_dependencies.py %endif %build %if 0%{?_test} -[ -e $(readlink -f /usr/lib/systemd/system/synapse.service) ] || (echo "systemd service symlink is broken" && exit 1) +[ -e $(readlink -f /usr/lib/systemd/system/%{short_name}.service) ] || (echo "systemd service symlink is broken" && exit 1) %{default_python_version} -m synapse.app.homeserver --generate-config --server localhost --config-path homeserver.yaml --report-stats=no # Disable the web client which would need python-matrix-synapse-angular-client # as a dependency for this test which is not available in all repos and we do @@ -158,6 +159,7 @@ sed -e 's/\(web_client: \).*$/\1False/' -e '/- webclient # The bundled webclient/d' -e 's/- names: \[client, webclient\]/- names: [client]/' -i homeserver.yaml synctl start register_new_matrix_user --config homeserver.yaml --user opensuse --password opensuse --admin https://localhost:8448 +synctl stop %else %python_build %endif @@ -173,10 +175,10 @@ install -m 0644 contrib/systemd/log_config.yaml \ "%{buildroot}%{_sysconfdir}/synapse" mkdir -p %{buildroot}%{_sbindir} -ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcsynapse +ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{short_name} mkdir -p "%{buildroot}%{_unitdir}" -install -m 0644 contrib/systemd/synapse.service \ +install -m 0644 contrib/systemd/%{short_name}.service \ "%{buildroot}%{_unitdir}" mkdir -p "%{buildroot}%{_rundir}/synapse" @@ -185,8 +187,8 @@ for p in hash_password register_new_matrix_user synapse_port_db synctl ; do %python_clone -a %{buildroot}%{_bindir}/$p done -%python_clone -a %{buildroot}%{_sbindir}/rcsynapse -%python_clone -a %{buildroot}%{_unitdir}/synapse.service +%python_clone -a %{buildroot}%{_sbindir}/rc%{short_name} +%python_clone -a %{buildroot}%{_unitdir}/%{short_name}.service %python_clone -a %{buildroot}%{_sysconfdir}/synapse/log_config.yaml # User Directory @@ -197,18 +199,18 @@ getent passwd synapse >/dev/null || \ /usr/sbin/useradd -r -g synapse -s /sbin/nologin -c 'Matrix Synapse' \ -d %{_localstatedir}/lib/synapse synapse -%service_add_pre synapse.service +%service_add_pre %{short_name}.service %post -%{python_install_alternative synctl hash_password register_new_matrix_user synapse_port_db %{_sbindir}/rcsynapse %{_unitdir}/synapse.service %{_sysconfdir}/synapse/log_config.yaml} -%service_add_post synapse.service +%{python_install_alternative synctl hash_password register_new_matrix_user synapse_port_db %{_sbindir}/rc%{short_name} %{_unitdir}/%{short_name}.service %{_sysconfdir}/synapse/log_config.yaml} +%service_add_post %{short_name}.service %preun -%service_del_preun synapse.service +%service_del_preun %{short_name}.service %postun %python_uninstall_alternative synctl -%service_del_postun synapse.service +%service_del_postun %{short_name}.service %if 0%{?suse_version} < 1500 %files -n %name @@ -225,10 +227,11 @@ %python_alternative %{_bindir}/register_new_matrix_user %python_alternative %{_bindir}/synapse_port_db %python_alternative %{_bindir}/synctl -%python_alternative %{_sbindir}/rcsynapse -%python_alternative %{_unitdir}/synapse.service +%python_alternative %{_sbindir}/rc%{short_name} +%python_alternative %{_unitdir}/%{short_name}.service %config %python_alternative %{_sysconfdir}/synapse/log_config.yaml %if "%{python_flavor}" == "%{default_python_version}" +%{_bindir}/generate_config %{_bindir}/sync_room_to_group.pl %{_bindir}/move_remote_media_to_new_store.py %endif ++++++ _service ++++++ --- /var/tmp/diff_new_pack.FcEJkT/_old 2019-01-21 10:53:00.235826494 +0100 +++ /var/tmp/diff_new_pack.FcEJkT/_new 2019-01-21 10:53:00.235826494 +0100 @@ -5,7 +5,7 @@ <param name="url">git://github.com/matrix-org/synapse.git</param> <param name="scm">git</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="revision">v0.34.0</param> + <param name="revision">v0.34.1.1</param> <!-- The git changelog of matrix-org/synapse does not seem to be very usable. Use the changelog provided on the github release page --> <param name="changesgenerate">disable</param> <param name="changesauthor">ok...@suse.com</param> ++++++ matrix-synapse-0.34.0.obscpio -> matrix-synapse-0.34.1.1.obscpio ++++++ ++++ 6367 lines of diff (skipped) ++++++ matrix-synapse.obsinfo ++++++ --- /var/tmp/diff_new_pack.FcEJkT/_old 2019-01-21 10:53:00.563826098 +0100 +++ /var/tmp/diff_new_pack.FcEJkT/_new 2019-01-21 10:53:00.567826093 +0100 @@ -1,5 +1,5 @@ name: matrix-synapse -version: 0.34.0 -mtime: 1545317741 -commit: d731b75c7bcada708f1acbb83e2521da6a7d97a9 +version: 0.34.1.1 +mtime: 1547132350 +commit: 5c792ee5c39d0660c7ca1341ee12556358a262c8