openSUSE Commits
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
June 2019
- 1 participants
- 2296 discussions
Hello community,
here is the log from the commit of package qperf for openSUSE:Factory checked in at 2019-06-01 09:47:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qperf (Old)
and /work/SRC/openSUSE:Factory/.qperf.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qperf"
Sat Jun 1 09:47:16 2019 rev:2 rq:705812 version:0.4.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/qperf/qperf.changes 2018-01-17 21:55:26.971253744 +0100
+++ /work/SRC/openSUSE:Factory/.qperf.new.5148/qperf.changes 2019-06-01 09:47:18.151369295 +0200
@@ -1,0 +2,6 @@
+Tue May 28 07:41:00 UTC 2019 - Nicolas Morey-Chaisemartin <nmoreychaisemartin(a)suse.com>
+
+- Fix typo in patchname previous log entry
+- Use %license for COPYING
+
+-------------------------------------------------------------------
@@ -6 +12 @@
-- Drop perf-autoconf.patch and qperf-add_missing_lib.patch
+- Drop qperf-autoconf.patch and qperf-add_missing_lib.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qperf.spec ++++++
--- /var/tmp/diff_new_pack.GYbrNQ/_old 2019-06-01 09:47:18.891369042 +0200
+++ /var/tmp/diff_new_pack.GYbrNQ/_new 2019-06-01 09:47:18.891369042 +0200
@@ -1,7 +1,7 @@
#
# spec file for package qperf
#
-# Copyright (c) 2014 SUSE LINUX Products 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,22 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
%define git_ver .0.aa644b22fff9
Name: qperf
Summary: Measure socket and RDMA performance
+License: BSD-2-Clause OR GPL-2.0-only
+Group: Productivity/Networking/Diagnostic
Version: 0.4.10
Release: 0
-License: BSD-2-Clause or GPL-2.0
-Group: Productivity/Networking/Diagnostic
Source: %{name}-%{version}%{git_ver}.tar.bz2
Url: http://github.com/linux-rdma/qperf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: libibverbs-devel librdmacm-devel
-BuildRequires: autoconf automake libtool
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libibverbs-devel
+BuildRequires: librdmacm-devel
+BuildRequires: libtool
%description
qperf measures bandwidth and latency between two nodes. It can work over TCP/IP as well as the RDMA transports.
@@ -48,7 +52,7 @@
%files
%defattr(-, root, root)
-%doc COPYING
+%license COPYING
%_bindir/qperf
%_mandir/man1/qperf.1*
1
0
Hello community,
here is the log from the commit of package python-Flask-Migrate for openSUSE:Factory checked in at 2019-06-01 09:47:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Migrate (Old)
and /work/SRC/openSUSE:Factory/.python-Flask-Migrate.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-Migrate"
Sat Jun 1 09:47:07 2019 rev:4 rq:705809 version:2.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Flask-Migrate/python-Flask-Migrate.changes 2019-02-24 17:18:05.552421779 +0100
+++ /work/SRC/openSUSE:Factory/.python-Flask-Migrate.new.5148/python-Flask-Migrate.changes 2019-06-01 09:47:12.823371114 +0200
@@ -1,0 +2,11 @@
+Tue May 28 07:36:48 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to 2.5.2:
+ * add python 3.7 builds, remove 3.4 (commit)
+ * auto-generate change log during release (commit)
+ * helper release script (commit)
+ * support % character in database URLs #59 (commit)
+ * log command output in unit tests (commit)
+ * add a section on why use this extension to the docs #101 (commit)
+
+-------------------------------------------------------------------
Old:
----
Flask-Migrate-2.4.0.tar.gz
New:
----
Flask-Migrate-2.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Flask-Migrate.spec ++++++
--- /var/tmp/diff_new_pack.PxIEK7/_old 2019-06-01 09:47:13.991370715 +0200
+++ /var/tmp/diff_new_pack.PxIEK7/_new 2019-06-01 09:47:14.031370701 +0200
@@ -17,15 +17,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
Name: python-Flask-Migrate
-Version: 2.4.0
+Version: 2.5.2
Release: 0
Summary: SQLAlchemy database migrations for Flask applications using Alembic
License: MIT
Group: Development/Languages/Python
URL: http://github.com/miguelgrinberg/flask-migrate/
Source: https://files.pythonhosted.org/packages/source/F/Flask-Migrate/Flask-Migrat…
+BuildRequires: %{python_module Flask >= 0.9}
+BuildRequires: %{python_module Flask-SQLAlchemy >= 1.0}
+BuildRequires: %{python_module Flask-Script >= 0.6}
+BuildRequires: %{python_module alembic >= 0.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -34,12 +37,6 @@
Requires: python-Flask-Script >= 0.6
Requires: python-alembic >= 0.7
BuildArch: noarch
-%if %{with test}
-BuildRequires: %{python_module Flask >= 0.9}
-BuildRequires: %{python_module Flask-SQLAlchemy >= 1.0}
-BuildRequires: %{python_module Flask-Script >= 0.6}
-BuildRequires: %{python_module alembic >= 0.7}
-%endif
%python_subpackages
%description
@@ -57,11 +54,9 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
export LC_CTYPE=en_US.UTF-8
%python_exec setup.py test
-%endif
%files %{python_files}
%doc README.md
++++++ Flask-Migrate-2.4.0.tar.gz -> Flask-Migrate-2.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/Flask_Migrate.egg-info/PKG-INFO new/Flask-Migrate-2.5.2/Flask_Migrate.egg-info/PKG-INFO
--- old/Flask-Migrate-2.4.0/Flask_Migrate.egg-info/PKG-INFO 2019-02-16 13:13:50.000000000 +0100
+++ new/Flask-Migrate-2.5.2/Flask_Migrate.egg-info/PKG-INFO 2019-05-25 21:11:40.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: Flask-Migrate
-Version: 2.4.0
+Version: 2.5.2
Summary: SQLAlchemy database migrations for Flask applications using Alembic
Home-page: http://github.com/miguelgrinberg/flask-migrate/
Author: Miguel Grinberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/Flask_Migrate.egg-info/SOURCES.txt new/Flask-Migrate-2.5.2/Flask_Migrate.egg-info/SOURCES.txt
--- old/Flask-Migrate-2.4.0/Flask_Migrate.egg-info/SOURCES.txt 2019-02-16 13:13:50.000000000 +0100
+++ new/Flask-Migrate-2.5.2/Flask_Migrate.egg-info/SOURCES.txt 2019-05-25 21:11:40.000000000 +0200
@@ -1,6 +1,7 @@
LICENSE
MANIFEST.in
README.md
+__version__
setup.py
Flask_Migrate.egg-info/PKG-INFO
Flask_Migrate.egg-info/SOURCES.txt
@@ -20,6 +21,7 @@
flask_migrate/templates/flask-multidb/env.py
flask_migrate/templates/flask-multidb/script.py.mako
tests/__init__.py
+tests/app.db
tests/app.py
tests/app_compare_type1.py
tests/app_compare_type2.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/MANIFEST.in new/Flask-Migrate-2.5.2/MANIFEST.in
--- old/Flask-Migrate-2.4.0/MANIFEST.in 2018-08-12 00:10:47.000000000 +0200
+++ new/Flask-Migrate-2.5.2/MANIFEST.in 2019-05-20 10:43:37.000000000 +0200
@@ -1,3 +1,3 @@
-include README.md LICENSE flask_migrate/templates/flask/* \
+include __version__ README.md LICENSE flask_migrate/templates/flask/* \
flask_migrate/templates/flask-multidb/* tests/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/PKG-INFO new/Flask-Migrate-2.5.2/PKG-INFO
--- old/Flask-Migrate-2.4.0/PKG-INFO 2019-02-16 13:13:50.000000000 +0100
+++ new/Flask-Migrate-2.5.2/PKG-INFO 2019-05-25 21:11:40.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: Flask-Migrate
-Version: 2.4.0
+Version: 2.5.2
Summary: SQLAlchemy database migrations for Flask applications using Alembic
Home-page: http://github.com/miguelgrinberg/flask-migrate/
Author: Miguel Grinberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/README.md new/Flask-Migrate-2.5.2/README.md
--- old/Flask-Migrate-2.4.0/README.md 2018-08-12 00:10:47.000000000 +0200
+++ new/Flask-Migrate-2.5.2/README.md 2019-05-25 20:21:02.000000000 +0200
@@ -3,7 +3,7 @@
[![Build Status](https://travis-ci.org/miguelgrinberg/Flask-Migrate.png?branch=maste…
-Flask-Migrate is an extension that handles SQLAlchemy database migrations for Flask applications using Alembic. The database operations are provided as command line arguments for Flask-Script.
+Flask-Migrate is an extension that handles SQLAlchemy database migrations for Flask applications using Alembic. The database operations are provided as command-line arguments under the `flask db` command.
Installation
------------
@@ -62,4 +62,4 @@
- [Documentation](http://flask-migrate.readthedocs.io/en/latest/)
- [pypi](https://pypi.python.org/pypi/Flask-Migrate)
-- [Change Log](https://github.com/miguelgrinberg/Flask-Migrate/blob/master/CHANGELOG.…
+- [Change Log](https://github.com/miguelgrinberg/Flask-Migrate/blob/master/CHANGES.md)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/__version__ new/Flask-Migrate-2.5.2/__version__
--- old/Flask-Migrate-2.4.0/__version__ 1970-01-01 01:00:00.000000000 +0100
+++ new/Flask-Migrate-2.5.2/__version__ 2019-05-25 21:11:32.000000000 +0200
@@ -0,0 +1 @@
+2.5.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/flask_migrate/templates/flask/env.py new/Flask-Migrate-2.5.2/flask_migrate/templates/flask/env.py
--- old/Flask-Migrate-2.4.0/flask_migrate/templates/flask/env.py 2019-02-16 13:08:47.000000000 +0100
+++ new/Flask-Migrate-2.5.2/flask_migrate/templates/flask/env.py 2019-05-19 17:11:53.000000000 +0200
@@ -22,8 +22,9 @@
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata
from flask import current_app
-config.set_main_option('sqlalchemy.url',
- current_app.config.get('SQLALCHEMY_DATABASE_URI'))
+config.set_main_option(
+ 'sqlalchemy.url', current_app.config.get(
+ 'SQLALCHEMY_DATABASE_URI').replace('%', '%%'))
target_metadata = current_app.extensions['migrate'].db.metadata
# other values from the config, defined by the needs of env.py,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/flask_migrate/templates/flask-multidb/env.py new/Flask-Migrate-2.5.2/flask_migrate/templates/flask-multidb/env.py
--- old/Flask-Migrate-2.4.0/flask_migrate/templates/flask-multidb/env.py 2019-02-16 13:08:47.000000000 +0100
+++ new/Flask-Migrate-2.5.2/flask_migrate/templates/flask-multidb/env.py 2019-05-19 17:11:11.000000000 +0200
@@ -26,11 +26,13 @@
# for 'autogenerate' support
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata
-config.set_main_option('sqlalchemy.url',
- current_app.config.get('SQLALCHEMY_DATABASE_URI'))
+config.set_main_option(
+ 'sqlalchemy.url', current_app.config.get(
+ 'SQLALCHEMY_DATABASE_URI').replace('%', '%%'))
bind_names = []
for name, url in current_app.config.get("SQLALCHEMY_BINDS").items():
- context.config.set_section_option(name, "sqlalchemy.url", url)
+ context.config.set_section_option(name, "sqlalchemy.url", url.replace(
+ '%', '%%'))
bind_names.append(name)
target_metadata = current_app.extensions['migrate'].db.metadata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/setup.py new/Flask-Migrate-2.5.2/setup.py
--- old/Flask-Migrate-2.4.0/setup.py 2019-02-16 13:08:47.000000000 +0100
+++ new/Flask-Migrate-2.5.2/setup.py 2019-05-19 17:29:47.000000000 +0200
@@ -7,9 +7,11 @@
from setuptools import setup
+VERSION = open('__version__').read()
+
setup(
name='Flask-Migrate',
- version='2.4.0',
+ version=VERSION,
url='http://github.com/miguelgrinberg/flask-migrate/',
license='MIT',
author='Miguel Grinberg',
Binary files old/Flask-Migrate-2.4.0/tests/app.db and new/Flask-Migrate-2.5.2/tests/app.db differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/tests/test_migrate.py new/Flask-Migrate-2.5.2/tests/test_migrate.py
--- old/Flask-Migrate-2.4.0/tests/test_migrate.py 2018-08-12 00:10:47.000000000 +0200
+++ new/Flask-Migrate-2.5.2/tests/test_migrate.py 2019-05-19 17:26:10.000000000 +0200
@@ -10,6 +10,9 @@
process = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
(stdout, stderr) = process.communicate()
+ print('\n$ ' + cmd)
+ print(stdout.decode('utf-8'))
+ print(stderr.decode('utf-8'))
return stdout, stderr, process.wait()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Migrate-2.4.0/tests/test_migrate_flaskcli.py new/Flask-Migrate-2.5.2/tests/test_migrate_flaskcli.py
--- old/Flask-Migrate-2.4.0/tests/test_migrate_flaskcli.py 2018-08-12 00:10:47.000000000 +0200
+++ new/Flask-Migrate-2.5.2/tests/test_migrate_flaskcli.py 2019-05-19 17:26:24.000000000 +0200
@@ -11,6 +11,9 @@
process = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
(stdout, stderr) = process.communicate()
+ print('\n$ ' + cmd)
+ print(stdout.decode('utf-8'))
+ print(stderr.decode('utf-8'))
return stdout, stderr, process.wait()
1
0
Hello community,
here is the log from the commit of package python-Flask-HTTPAuth for openSUSE:Factory checked in at 2019-06-01 09:47:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-HTTPAuth (Old)
and /work/SRC/openSUSE:Factory/.python-Flask-HTTPAuth.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-HTTPAuth"
Sat Jun 1 09:47:01 2019 rev:2 rq:705806 version:3.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Flask-HTTPAuth/python-Flask-HTTPAuth.changes 2018-10-31 13:21:11.799071040 +0100
+++ /work/SRC/openSUSE:Factory/.python-Flask-HTTPAuth.new.5148/python-Flask-HTTPAuth.changes 2019-06-01 09:47:03.631374252 +0200
@@ -1,0 +2,8 @@
+Tue May 28 07:33:27 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to 3.3.0:
+ * Use constant time string comparisons #82 (commit1, commit2) (thanks Brendan Long!)
+ * Edited and changed the usage of JWT, because in fact the code and documentation uses JWS tokens. #79 (commit) (thanks unuseless!)
+ * Documentation improvements #77 (commit)
+
+-------------------------------------------------------------------
Old:
----
Flask-HTTPAuth-3.2.4.tar.gz
New:
----
Flask-HTTPAuth-3.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Flask-HTTPAuth.spec ++++++
--- /var/tmp/diff_new_pack.Wx16wU/_old 2019-06-01 09:47:05.075373759 +0200
+++ /var/tmp/diff_new_pack.Wx16wU/_new 2019-06-01 09:47:05.075373759 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-HTTPAuth
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname Flask-HTTPAuth
Name: python-%{modname}
-Version: 3.2.4
+Version: 3.3.0
Release: 0
Summary: Basic and Digest HTTP authentication for Flask routes
License: MIT
++++++ Flask-HTTPAuth-3.2.4.tar.gz -> Flask-HTTPAuth-3.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-HTTPAuth-3.2.4/Flask_HTTPAuth.egg-info/PKG-INFO new/Flask-HTTPAuth-3.3.0/Flask_HTTPAuth.egg-info/PKG-INFO
--- old/Flask-HTTPAuth-3.2.4/Flask_HTTPAuth.egg-info/PKG-INFO 2018-06-18 00:28:40.000000000 +0200
+++ new/Flask-HTTPAuth-3.3.0/Flask_HTTPAuth.egg-info/PKG-INFO 2019-05-19 12:24:54.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: Flask-HTTPAuth
-Version: 3.2.4
+Version: 3.3.0
Summary: Basic and Digest HTTP authentication for Flask routes
Home-page: http://github.com/miguelgrinberg/flask-httpauth/
Author: Miguel Grinberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-HTTPAuth-3.2.4/PKG-INFO new/Flask-HTTPAuth-3.3.0/PKG-INFO
--- old/Flask-HTTPAuth-3.2.4/PKG-INFO 2018-06-18 00:28:40.000000000 +0200
+++ new/Flask-HTTPAuth-3.3.0/PKG-INFO 2019-05-19 12:24:55.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: Flask-HTTPAuth
-Version: 3.2.4
+Version: 3.3.0
Summary: Basic and Digest HTTP authentication for Flask routes
Home-page: http://github.com/miguelgrinberg/flask-httpauth/
Author: Miguel Grinberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-HTTPAuth-3.2.4/docs/index.rst new/Flask-HTTPAuth-3.3.0/docs/index.rst
--- old/Flask-HTTPAuth-3.2.4/docs/index.rst 2018-06-15 08:18:36.000000000 +0200
+++ new/Flask-HTTPAuth-3.3.0/docs/index.rst 2019-05-19 11:33:53.000000000 +0200
@@ -44,7 +44,7 @@
@auth.hash_password
def hash_pw(password):
- return md5(password).hexdigest()
+ return md5(password.encode('utf-8')).hexdigest()
When the ``hash_password`` callback is provided access will be granted when ``get_password(username) == hash_password(password)``.
@@ -162,12 +162,17 @@
The ``verify_token`` callback receives the authentication credentials provided by the client on the ``Authorization`` header. This can be a simple token, or can contain multiple arguments, which the function will have to parse and extract from the string.
-In the examples directory you can find a complete example that uses JWT tokens.
+In the examples directory you can find a complete example that uses
+JWS tokens. JWS tokens are similar to JWT tokens. However using JWT
+tokens would require an external dependency to handle JWT.
Using Multiple Authentication Schemes
-------------------------------------
-Applications sometimes need to support a combination of authentication methods. For example, a web application could be authenticated by sending client id and secret over basic authentication, while third party API clients use a JWT bearer token. The `MultiAuth` class allows you to protect a route with more than one authentication object. To grant access to the endpoint, one of the authentication methods must validate.
+Applications sometimes need to support a combination of authentication
+methods. For example, a web application could be authenticated by
+sending client id and secret over basic authentication, while third
+party API clients use a JWS or JWT bearer token. The `MultiAuth` class allows you to protect a route with more than one authentication object. To grant access to the endpoint, one of the authentication methods must validate.
In the examples directory you can find a complete example that uses basic and token authentication.
@@ -327,11 +332,11 @@
This class handles HTTP authentication with custom schemes for Flask routes.
- .. method:: __init__(scheme, realm=None)
+ .. method:: __init__(scheme='Bearer', realm=None)
Create a token authentication object.
- The ``scheme`` argument must be provided to be used in the ``WWW-Authenticate`` response.
+ The ``scheme`` argument can be use to specify the scheme to be used in the ``WWW-Authenticate`` response.
The ``realm`` argument can be used to provide an application defined realm with the ``WWW-Authenticate`` header.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-HTTPAuth-3.2.4/flask_httpauth.py new/Flask-HTTPAuth-3.3.0/flask_httpauth.py
--- old/Flask-HTTPAuth-3.2.4/flask_httpauth.py 2018-06-18 00:27:44.000000000 +0200
+++ new/Flask-HTTPAuth-3.3.0/flask_httpauth.py 2019-05-19 12:24:47.000000000 +0200
@@ -13,8 +13,9 @@
from random import Random, SystemRandom
from flask import request, make_response, session
from werkzeug.datastructures import Authorization
+from werkzeug.security import safe_str_cmp
-__version__ = '3.2.4'
+__version__ = '3.3.0'
class HTTPAuth(object):
@@ -143,7 +144,8 @@
client_password = self.hash_password_callback(username,
client_password)
return client_password is not None and \
- client_password == stored_password
+ stored_password is not None and \
+ safe_str_cmp(client_password, stored_password)
class HTTPDigestAuth(HTTPAuth):
@@ -169,14 +171,20 @@
return session["auth_nonce"]
def default_verify_nonce(nonce):
- return nonce == session.get("auth_nonce")
+ session_nonce = session.get("auth_nonce")
+ if nonce is None or session_nonce is None:
+ return False
+ return safe_str_cmp(nonce, session_nonce)
def default_generate_opaque():
session["auth_opaque"] = _generate_random()
return session["auth_opaque"]
def default_verify_opaque(opaque):
- return opaque == session.get("auth_opaque")
+ session_opaque = session.get("auth_opaque")
+ if opaque is None or session_opaque is None:
+ return False
+ return safe_str_cmp(opaque, session_opaque)
self.generate_nonce(default_generate_nonce)
self.generate_opaque(default_generate_opaque)
@@ -235,7 +243,7 @@
ha2 = md5(a2.encode('utf-8')).hexdigest()
a3 = ha1 + ":" + auth.nonce + ":" + ha2
response = md5(a3.encode('utf-8')).hexdigest()
- return response == auth.response
+ return safe_str_cmp(response, auth.response)
class HTTPTokenAuth(HTTPAuth):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-HTTPAuth-3.2.4/setup.cfg new/Flask-HTTPAuth-3.3.0/setup.cfg
--- old/Flask-HTTPAuth-3.2.4/setup.cfg 2018-06-18 00:28:40.000000000 +0200
+++ new/Flask-HTTPAuth-3.3.0/setup.cfg 2019-05-19 12:24:55.000000000 +0200
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
1
0
Hello community,
here is the log from the commit of package gthumb for openSUSE:Factory checked in at 2019-06-01 09:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gthumb (Old)
and /work/SRC/openSUSE:Factory/.gthumb.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gthumb"
Sat Jun 1 09:46:56 2019 rev:94 rq:705803 version:3.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/gthumb/gthumb.changes 2019-04-19 18:39:04.663237649 +0200
+++ /work/SRC/openSUSE:Factory/.gthumb.new.5148/gthumb.changes 2019-06-01 09:46:58.151376123 +0200
@@ -1,0 +2,8 @@
+Mon May 27 18:56:54 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.8.0:
+ + Delete dialog: make the delete button red.
+ + Bugs fixed: build error when JPEG_LIB_VERSION < 80.
+- Drop gthumb-exiv-0.27.patch: Fixed upstream.
+
+-------------------------------------------------------------------
Old:
----
gthumb-3.7.1.tar.xz
gthumb-exiv-0.27.patch
New:
----
gthumb-3.8.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gthumb.spec ++++++
--- /var/tmp/diff_new_pack.cIoD7F/_old 2019-06-01 09:46:58.775375910 +0200
+++ /var/tmp/diff_new_pack.cIoD7F/_new 2019-06-01 09:46:58.779375908 +0200
@@ -17,16 +17,15 @@
Name: gthumb
-Version: 3.7.1
+Version: 3.8.0
Release: 0
# FIXME: Add libchamplain BuildRequires once the map feature is considered stable.
Summary: An Image Viewer and Browser for GNOME
License: GPL-2.0-or-later
Group: Productivity/Graphics/Viewers
URL: https://wiki.gnome.org/Apps/gthumb
-Source0: https://download.gnome.org/sources/gthumb/3.7/%{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM gthumb-exiv-0.27.patch glgo#GNOME/gthumb#30 - Fix build against exiv 0.27
-Patch1: gthumb-exiv-0.27.patch
+Source0: https://download.gnome.org/sources/gthumb/3.8/%{name}-%{version}.tar.xz
+
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex
@@ -112,14 +111,14 @@
%doc AUTHORS NEWS README
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/gthumb
-%{_libexecdir}/gthumb/
+%{_datadir}/gthumb/
+%{_libdir}/gthumb/
%dir %{_datadir}/metainfo/
%{_datadir}/metainfo/org.gnome.gThumb.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/gthumb.png
%{_datadir}/icons/hicolor/*/apps/gthumb.svg
%{_datadir}/icons/hicolor/*/apps/gthumb-symbolic.svg
-%{_datadir}/gthumb/
%{_datadir}/glib-2.0/schemas/org.gnome.gthumb.*.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.gthumb.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.gthumb.gschema.xml
++++++ gthumb-3.7.1.tar.xz -> gthumb-3.8.0.tar.xz ++++++
++++ 44221 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-parallax for openSUSE:Factory checked in at 2019-06-01 09:46:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
and /work/SRC/openSUSE:Factory/.python-parallax.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parallax"
Sat Jun 1 09:46:51 2019 rev:13 rq:705801 version:1.0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes 2019-01-03 18:06:32.712144778 +0100
+++ /work/SRC/openSUSE:Factory/.python-parallax.new.5148/python-parallax.changes 2019-06-01 09:46:55.291377099 +0200
@@ -1,0 +2,5 @@
+Tue May 28 07:12:30 UTC 2019 - Kristoffer Gronlund <kgronlund(a)suse.com>
+
+- Work around hidden python packaging magic (bsc#1131136)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-parallax.spec ++++++
--- /var/tmp/diff_new_pack.bKRCVs/_old 2019-06-01 09:46:55.783376931 +0200
+++ /var/tmp/diff_new_pack.bKRCVs/_new 2019-06-01 09:46:55.787376930 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-parallax
#
-# 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
@@ -28,7 +28,8 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Obsoletes: python-parallax < %{version}
+%define oldpython python
+Obsoletes: %{oldpython}-parallax < %{version}
Requires: openssh
BuildArch: noarch
%if 0%{?suse_version}
1
0
Hello community,
here is the log from the commit of package datovka for openSUSE:Factory checked in at 2019-06-01 09:46:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/datovka (Old)
and /work/SRC/openSUSE:Factory/.datovka.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "datovka"
Sat Jun 1 09:46:46 2019 rev:32 rq:705799 version:4.13.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/datovka/datovka.changes 2019-04-18 09:56:47.433355107 +0200
+++ /work/SRC/openSUSE:Factory/.datovka.new.5148/datovka.changes 2019-06-01 09:46:47.523379751 +0200
@@ -1,0 +2,6 @@
+Tue May 28 07:13:58 UTC 2019 - Jiri Slaby <jslaby(a)suse.com>
+
+- Update to 4.13.1
+ * Fixes crashes during account synchronization.
+
+-------------------------------------------------------------------
Old:
----
datovka-4.13.0.tar.xz
datovka-4.13.0.tar.xz.sha256
New:
----
datovka-4.13.1.tar.xz
datovka-4.13.1.tar.xz.sha256
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ datovka.spec ++++++
--- /var/tmp/diff_new_pack.exjB2H/_old 2019-06-01 09:46:47.971379598 +0200
+++ /var/tmp/diff_new_pack.exjB2H/_new 2019-06-01 09:46:47.971379598 +0200
@@ -1,7 +1,7 @@
#
# spec file for package datovka
#
-# 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
@@ -17,7 +17,7 @@
Name: datovka
-Version: 4.13.0
+Version: 4.13.1
Release: 0
Summary: Library to access Czech eGov system "Datove schranky"
License: GPL-3.0-or-later
++++++ datovka-4.13.0.tar.xz -> datovka-4.13.1.tar.xz ++++++
++++ 2212 lines of diff (skipped)
++++++ datovka-4.13.0.tar.xz.sha256 -> datovka-4.13.1.tar.xz.sha256 ++++++
--- /work/SRC/openSUSE:Factory/datovka/datovka-4.13.0.tar.xz.sha256 2019-04-18 09:56:47.277355009 +0200
+++ /work/SRC/openSUSE:Factory/.datovka.new.5148/datovka-4.13.1.tar.xz.sha256 2019-06-01 09:46:47.495379761 +0200
@@ -1 +1 @@
-f091cda00a2b138578c1b1b05f76b22871dc37669db17af723d7918fde0f605e
+b6f030253200b55bd8b13b124b0b8aaa1c6f7dc27e2e84c6a8abe0ab90986d96
1
0
Hello community,
here is the log from the commit of package python-wsgi_intercept for openSUSE:Factory checked in at 2019-06-01 09:46:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wsgi_intercept (Old)
and /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wsgi_intercept"
Sat Jun 1 09:46:41 2019 rev:21 rq:705798 version:1.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wsgi_intercept/python-wsgi_intercept.changes 2019-05-27 08:38:21.767071503 +0200
+++ /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.5148/python-wsgi_intercept.changes 2019-06-01 09:46:41.779381712 +0200
@@ -1,0 +2,5 @@
+Tue May 28 06:48:33 UTC 2019 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Use noun phrase in descriptions.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wsgi_intercept.spec ++++++
--- /var/tmp/diff_new_pack.wok6KC/_old 2019-06-01 09:46:42.211381565 +0200
+++ /var/tmp/diff_new_pack.wok6KC/_new 2019-06-01 09:46:42.215381563 +0200
@@ -20,7 +20,7 @@
Name: python-wsgi_intercept
Version: 1.8.1
Release: 0
-Summary: Installs a WSGI application in place of a real URI for testing
+Summary: Library for installing a WSGI application in place of a real URI for testing
License: MIT
Group: Development/Languages/Python
URL: https://github.com/cdent/python3-wsgi-intercept
1
0
Hello community,
here is the log from the commit of package python-xarray for openSUSE:Factory checked in at 2019-06-01 09:46:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xarray (Old)
and /work/SRC/openSUSE:Factory/.python-xarray.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xarray"
Sat Jun 1 09:46:37 2019 rev:11 rq:705797 version:0.12.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xarray/python-xarray.changes 2019-05-13 14:48:40.402506854 +0200
+++ /work/SRC/openSUSE:Factory/.python-xarray.new.5148/python-xarray.changes 2019-06-01 09:46:41.179381917 +0200
@@ -1,0 +2,6 @@
+Tue May 28 01:54:37 UTC 2019 - Todd R <toddrme2178(a)gmail.com>
+
+- Disable known failing tests on arm.
+ See gh#pydata/xarray#2334
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-xarray.spec ++++++
--- /var/tmp/diff_new_pack.io6Lqx/_old 2019-06-01 09:46:41.655381754 +0200
+++ /var/tmp/diff_new_pack.io6Lqx/_new 2019-06-01 09:46:41.659381753 +0200
@@ -65,7 +65,8 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pytest
+# Tests are xfail on aarch64: gh#pydata/xarray#2334
+%pytest -k "not test_datetime_reduce and not test_roundtrip_numpy_datetime_data"
%files %{python_files}
%doc README.rst
1
0
Hello community,
here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2019-06-01 09:46:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
and /work/SRC/openSUSE:Factory/.kernel-source.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source"
Sat Jun 1 09:46:21 2019 rev:490 rq:705617 version:5.1.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2019-05-24 11:31:19.245407460 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new.5148/dtb-aarch64.changes 2019-06-01 09:46:22.675388234 +0200
@@ -1,0 +2,231 @@
+Mon May 27 09:14:33 CEST 2019 - jslaby(a)suse.cz
+
+- Update config files.
+- commit 6ad4f79
+
+-------------------------------------------------------------------
+Sun May 26 10:57:36 CEST 2019 - jslaby(a)suse.cz
+
+- Linux 5.1.5 (bnc#1012628).
+- ipv6: fix src addr routing with the exception table
+ (bnc#1012628).
+- ipv6: prevent possible fib6 leaks (bnc#1012628).
+- net: Always descend into dsa/ (bnc#1012628).
+- net: avoid weird emergency message (bnc#1012628).
+- net/mlx4_core: Change the error print to info print
+ (bnc#1012628).
+- net: test nouarg before dereferencing zerocopy pointers
+ (bnc#1012628).
+- net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
+ (bnc#1012628).
+- nfp: flower: add rcu locks when accessing netdev for tunnels
+ (bnc#1012628).
+- ppp: deflate: Fix possible crash in deflate_init (bnc#1012628).
+- rtnetlink: always put IFLA_LINK for links with a link-netnsid
+ (bnc#1012628).
+- tipc: switch order of device registration to fix a crash
+ (bnc#1012628).
+- vsock/virtio: free packets during the socket release
+ (bnc#1012628).
+- tipc: fix modprobe tipc failed after switch order of device
+ registration (bnc#1012628).
+- mlxsw: core: Prevent QSFP module initialization for old hardware
+ (bnc#1012628).
+- mlxsw: core: Prevent reading unsupported slave address from
+ SFP EEPROM (bnc#1012628).
+- flow_offload: support CVLAN match (bnc#1012628).
+- net/mlx5e: Fix calling wrong function to get inner vlan key
+ and mask (bnc#1012628).
+- net/mlx5: Fix peer pf disable hca command (bnc#1012628).
+- vsock/virtio: Initialize core virtio vsock before registering
+ the driver (bnc#1012628).
+- net/mlx5e: Add missing ethtool driver info for representors
+ (bnc#1012628).
+- net/mlx5e: Additional check for flow destination comparison
+ (bnc#1012628).
+- net/mlx5: Imply MLXFW in mlx5_core (bnc#1012628).
+- net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC
+ is disabled (bnc#1012628).
+- blk-mq: free hw queue's resource in hctx's release handler
+ (bnc#1012628).
+- regulator: core: fix error path for
+ regulator_set_voltage_unlocked (bnc#1012628).
+- parisc: Export running_on_qemu symbol for modules (bnc#1012628).
+- parisc: Add memory clobber to TLB purges (bnc#1012628).
+- parisc: Skip registering LED when running in QEMU (bnc#1012628).
+- parisc: Add memory barrier to asm pdc and sync instructions
+ (bnc#1012628).
+- parisc: Allow live-patching of __meminit functions
+ (bnc#1012628).
+- parisc: Use PA_ASM_LEVEL in boot code (bnc#1012628).
+- parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with
+ DRBD code (bnc#1012628).
+- stm class: Fix channel free in stm output free path
+ (bnc#1012628).
+- stm class: Fix channel bitmap on 32-bit systems (bnc#1012628).
+- brd: re-enable __GFP_HIGHMEM in brd_insert_page() (bnc#1012628).
+- proc: prevent changes to overridden credentials (bnc#1012628).
+- Revert "MD: fix lock contention for flush bios" (bnc#1012628).
+- md: batch flush requests (bnc#1012628).
+- md: add mddev->pers to avoid potential NULL pointer dereference
+ (bnc#1012628).
+- md: add a missing endianness conversion in check_sb_changes
+ (bnc#1012628).
+- dcache: sort the freeing-without-RCU-delay mess for good
+ (bnc#1012628).
+- intel_th: msu: Fix single mode with IOMMU (bnc#1012628).
+- p54: drop device reference count if fails to enable device
+ (bnc#1012628).
+- of: fix clang -Wunsequenced for be32_to_cpu() (bnc#1012628).
+- brcmfmac: Add DMI nvram filename quirk for ACEPC T8 and T11
+ mini PCs (bnc#1012628).
+- cifs: fix credits leak for SMB1 oplock breaks (bnc#1012628).
+- cifs: fix strcat buffer overflow and reduce raciness in
+ smb21_set_oplock_level() (bnc#1012628).
+- phy: ti-pipe3: fix missing bit-wise or operator when assigning
+ val (bnc#1012628).
+- media: ov6650: Fix sensor possibly not detected on probe
+ (bnc#1012628).
+- media: seco-cec: fix building with RC_CORE=m (bnc#1012628).
+- media: imx: csi: Allow unknown nearest upstream entities
+ (bnc#1012628).
+- media: imx: Clear fwnode link struct for each endpoint iteration
+ (bnc#1012628).
+- media: imx: Rename functions that add IPU-internal subdevs
+ (bnc#1012628).
+- media: imx: Don't register IPU subdevs/links if CSI port missing
+ (bnc#1012628).
+- RDMA/mlx5: Use get_zeroed_page() for clock_info (bnc#1012628).
+- RDMA/ipoib: Allow user space differentiate between valid
+ dev_port (bnc#1012628).
+- NFS4: Fix v4.0 client state corruption when mount (bnc#1012628).
+- PNFS fallback to MDS if no deviceid found (bnc#1012628).
+- clk: hi3660: Mark clk_gate_ufs_subsys as critical (bnc#1012628).
+- clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides
+ divider (bnc#1012628).
+- clk: mediatek: Disable tuner_en before change PLL rate
+ (bnc#1012628).
+- clk: rockchip: fix wrong clock definitions for rk3328
+ (bnc#1012628).
+- udlfb: delete the unused parameter for dlfb_handle_damage
+ (bnc#1012628).
+- udlfb: fix sleeping inside spinlock (bnc#1012628).
+- udlfb: introduce a rendering mutex (bnc#1012628).
+- fuse: fix writepages on 32bit (bnc#1012628).
+- fuse: honor RLIMIT_FSIZE in fuse_file_fallocate (bnc#1012628).
+- ovl: fix missing upper fs freeze protection on copy up for ioctl
+ (bnc#1012628).
+- fsnotify: fix unlink performance regression (bnc#1012628).
+- gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6
+ (bnc#1012628).
+- iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
+ (bnc#1012628).
+- ceph: flush dirty inodes before proceeding with remount
+ (bnc#1012628).
+- x86_64: Add gap to int3 to allow for call emulation
+ (bnc#1012628).
+- x86_64: Allow breakpoints to emulate call instructions
+ (bnc#1012628).
+- ftrace/x86_64: Emulate call function while updating in
+ breakpoint handler (bnc#1012628).
+- tracing: Fix partial reading of trace event's id file
+ (bnc#1012628).
+- tracing: probeevent: Fix to make the type of $comm string
+ (bnc#1012628).
+- memory: tegra: Fix integer overflow on tick value calculation
+ (bnc#1012628).
+- perf intel-pt: Fix instructions sampling rate (bnc#1012628).
+- perf intel-pt: Fix improved sample timestamp (bnc#1012628).
+- perf intel-pt: Fix sample timestamp wrt non-taken branches
+ (bnc#1012628).
+- MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
+ (bnc#1012628).
+- objtool: Allow AR to be overridden with HOSTAR (bnc#1012628).
+- x86/mpx, mm/core: Fix recursive munmap() corruption
+ (bnc#1012628).
+- fbdev/efifb: Ignore framebuffer memmap entries that lack any
+ memory types (bnc#1012628).
+- fbdev: sm712fb: fix brightness control on reboot, don't set SR30
+ (bnc#1012628).
+- fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
+ (bnc#1012628).
+- fbdev: sm712fb: fix white screen of death on reboot, don't
+ set CR3B-CR3F (bnc#1012628).
+- fbdev: sm712fb: fix boot screen glitch when sm712fb replaces
+ VGA (bnc#1012628).
+- fbdev: sm712fb: fix crashes during framebuffer writes by
+ correctly mapping VRAM (bnc#1012628).
+- fbdev: sm712fb: fix support for 1024x768-16 mode (bnc#1012628).
+- fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix
+ garbled display (bnc#1012628).
+- fbdev: sm712fb: fix crashes and garbled display during DPMS
+ modesetting (bnc#1012628).
+- PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken (bnc#1012628).
+- PCI: Mark Atheros AR9462 to avoid bus reset (bnc#1012628).
+- PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
+ (bnc#1012628).
+- PCI: Init PCIe feature bits for managed host bridge alloc
+ (bnc#1012628).
+- PCI/AER: Change pci_aer_init() stub to return void
+ (bnc#1012628).
+- PCI: rcar: Add the initialization of PCIe link in resume_noirq()
+ (bnc#1012628).
+- PCI: Factor out pcie_retrain_link() function (bnc#1012628).
+- PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
+ (bnc#1012628).
+- dm cache metadata: Fix loading discard bitset (bnc#1012628).
+- dm zoned: Fix zone report handling (bnc#1012628).
+- dm init: fix max devices/targets checks (bnc#1012628).
+- dm delay: fix a crash when invalid device is specified
+ (bnc#1012628).
+- dm crypt: move detailed message into debug level (bnc#1012628).
+- dm integrity: correctly calculate the size of metadata area
+ (bnc#1012628).
+- dm ioctl: fix hang in early create error condition
+ (bnc#1012628).
+- dm mpath: always free attached_handler_name in parse_path()
+ (bnc#1012628).
+- fuse: Add FOPEN_STREAM to use stream_open() (bnc#1012628).
+- md/raid: raid5 preserve the writeback action after the parity
+ check (bnc#1012628).
+- dmaengine: imx-sdma: Only check ratio on parts that support 1:1
+ (bnc#1012628).
+- driver core: Postpone DMA tear-down until after devres release
+ for probe failure (bnc#1012628).
+- bpf: relax inode permission check for retrieving bpf program
+ (bnc#1012628).
+- bpf: add map_lookup_elem_sys_only for lookups from syscall side
++++ 34 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.5148/dtb-aarch64.changes
dtb-armv6l.changes: same change
dtb-armv7l.changes: same change
kernel-64kb.changes: same change
kernel-debug.changes: same change
kernel-default.changes: same change
kernel-docs.changes: same change
kernel-kvmsmall.changes: same change
kernel-lpae.changes: same change
kernel-obs-build.changes: same change
kernel-obs-qa.changes: same change
kernel-pae.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-vanilla.changes: same change
kernel-zfcpdump.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dtb-aarch64.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:36.131383640 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:36.167383628 +0200
@@ -17,7 +17,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -29,9 +29,9 @@
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: dtb-aarch64
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
dtb-armv6l.spec: same change
dtb-armv7l.spec: same change
++++++ kernel-64kb.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:36.563383493 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:36.591383484 +0200
@@ -18,7 +18,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%define vanilla_only 0
@@ -62,9 +62,9 @@
Summary: Kernel with 64kb PAGE_SIZE
License: GPL-2.0
Group: System/Kernel
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -169,10 +169,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
-Provides: kernel-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: kernel-%build_flavor-base-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
+Provides: kernel-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
# END COMMON DEPS
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:36.707383444 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:36.719383440 +0200
@@ -18,7 +18,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%define vanilla_only 0
@@ -62,9 +62,9 @@
Summary: A Debug Version of the Kernel
License: GPL-2.0
Group: System/Kernel
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -169,10 +169,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
-Provides: kernel-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: kernel-%build_flavor-base-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
+Provides: kernel-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
# END COMMON DEPS
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
%ifarch ppc64
Provides: kernel-kdump = 2.6.28
Obsoletes: kernel-kdump <= 2.6.28
++++++ kernel-default.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:36.799383412 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:36.803383411 +0200
@@ -18,7 +18,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%define vanilla_only 0
@@ -62,9 +62,9 @@
Summary: The Standard Kernel
License: GPL-2.0
Group: System/Kernel
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -169,10 +169,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
-Provides: kernel-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: kernel-%build_flavor-base-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
+Provides: kernel-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
# END COMMON DEPS
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
%ifarch %ix86
Provides: kernel-smp = 2.6.17
Obsoletes: kernel-smp <= 2.6.17
++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:36.863383391 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:36.871383388 +0200
@@ -17,7 +17,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -31,9 +31,9 @@
Summary: Kernel Documentation
License: GPL-2.0
Group: Documentation/Man
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -63,7 +63,7 @@
%endif
Url: http://www.kernel.org/
Provides: %name = %version-%source_rel
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
++++++ kernel-kvmsmall.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:36.915383373 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:36.927383369 +0200
@@ -18,7 +18,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%define vanilla_only 0
@@ -62,9 +62,9 @@
Summary: The Small Developer Kernel for KVM
License: GPL-2.0
Group: System/Kernel
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -169,10 +169,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
-Provides: kernel-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: kernel-%build_flavor-base-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
+Provides: kernel-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
# END COMMON DEPS
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
kernel-lpae.spec: same change
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:37.187383280 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:37.203383274 +0200
@@ -19,7 +19,7 @@
#!BuildIgnore: post-build-checks
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%define vanilla_only 0
@@ -45,7 +45,7 @@
%endif
%endif
%endif
-BuildRequires: kernel%kernel_flavor-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+BuildRequires: kernel%kernel_flavor-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
%if 0%{?rhel_version}
BuildRequires: kernel
@@ -64,9 +64,9 @@
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0
Group: SLES
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:37.303383240 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:37.315383236 +0200
@@ -17,7 +17,7 @@
# needsrootforbuild
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -36,9 +36,9 @@
Summary: Basic QA tests for the kernel
License: GPL-2.0
Group: SLES
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:37.395383209 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:37.415383202 +0200
@@ -18,7 +18,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%define vanilla_only 0
@@ -62,9 +62,9 @@
Summary: Kernel with PAE Support
License: GPL-2.0
Group: System/Kernel
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -169,10 +169,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
-Provides: kernel-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: kernel-%build_flavor-base-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
+Provides: kernel-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
# END COMMON DEPS
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
%ifarch %ix86
Provides: kernel-bigsmp = 2.6.17
Obsoletes: kernel-bigsmp <= 2.6.17
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:37.523383165 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:37.539383160 +0200
@@ -18,7 +18,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%define vanilla_only 0
@@ -30,9 +30,9 @@
Summary: The Linux Kernel Sources
License: GPL-2.0
Group: Development/Sources
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -43,7 +43,7 @@
BuildRequires: sed
Requires(post): coreutils sed
Provides: %name = %version-%source_rel
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
Provides: linux
Provides: multiversion(kernel)
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:37.631383128 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:37.639383125 +0200
@@ -24,10 +24,10 @@
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0
Group: Development/Sources
-Version: 5.1.4
+Version: 5.1.5
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -55,7 +55,7 @@
%endif
Requires: pesign-obs-integration
Provides: %name = %version-%source_rel
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:37.683383111 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:37.699383105 +0200
@@ -18,7 +18,7 @@
%define srcversion 5.1
-%define patchversion 5.1.4
+%define patchversion 5.1.5
%define variant %{nil}
%define vanilla_only 0
@@ -62,9 +62,9 @@
Summary: The Standard Kernel - without any SUSE patches
License: GPL-2.0
Group: System/Kernel
-Version: 5.1.4
+Version: 5.1.5
%if 0%{?is_kotd}
-Release: <RELEASE>.g0739fa4
+Release: <RELEASE>.g6ad4f79
%else
Release: 0
%endif
@@ -169,10 +169,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
-Provides: kernel-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: kernel-%build_flavor-base-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
+Provides: kernel-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
# END COMMON DEPS
-Provides: %name-srchash-0739fa4bcf7a21941c7e28c52b33b0f531044868
+Provides: %name-srchash-6ad4f795771291a7cc9b088361b4015581b57ca4
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
kernel-zfcpdump.spec: same change
++++++ config.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/arm64/default new/config/arm64/default
--- old/config/arm64/default 2019-05-22 13:11:40.000000000 +0200
+++ new/config/arm64/default 2019-05-27 09:14:33.000000000 +0200
@@ -399,7 +399,8 @@
CONFIG_RELOCATABLE=y
CONFIG_RANDOMIZE_BASE=y
CONFIG_RANDOMIZE_MODULE_REGION_FULL=y
-# CONFIG_CC_HAVE_STACKPROTECTOR_SYSREG is not set
+CONFIG_CC_HAVE_STACKPROTECTOR_SYSREG=y
+CONFIG_STACKPROTECTOR_PER_TASK=y
#
# Boot options
@@ -714,7 +715,7 @@
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set
CONFIG_HAVE_ARCH_VMAP_STACK=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv6hl/default new/config/armv6hl/default
--- old/config/armv6hl/default 2019-05-22 13:11:40.000000000 +0200
+++ new/config/armv6hl/default 2019-05-27 09:14:33.000000000 +0200
@@ -644,7 +644,7 @@
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set
# CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/default new/config/armv7hl/default
--- old/config/armv7hl/default 2019-05-22 13:11:40.000000000 +0200
+++ new/config/armv7hl/default 2019-05-27 09:14:33.000000000 +0200
@@ -924,7 +924,7 @@
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set
# CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/lpae new/config/armv7hl/lpae
--- old/config/armv7hl/lpae 2019-05-22 13:11:40.000000000 +0200
+++ new/config/armv7hl/lpae 2019-05-27 09:14:33.000000000 +0200
@@ -883,7 +883,7 @@
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set
# CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/i386/pae new/config/i386/pae
--- old/config/i386/pae 2019-05-22 13:11:40.000000000 +0200
+++ new/config/i386/pae 2019-05-27 09:14:33.000000000 +0200
@@ -789,7 +789,7 @@
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set
# CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64/default new/config/ppc64/default
--- old/config/ppc64/default 2019-05-22 13:11:40.000000000 +0200
+++ new/config/ppc64/default 2019-05-27 09:14:33.000000000 +0200
@@ -607,7 +607,7 @@
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND=y
CONFIG_COMPAT_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set
# CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64le/default new/config/ppc64le/default
--- old/config/ppc64le/default 2019-05-22 13:11:40.000000000 +0200
+++ new/config/ppc64le/default 2019-05-27 09:14:33.000000000 +0200
@@ -549,7 +549,7 @@
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND=y
CONFIG_COMPAT_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set
# CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/default new/config/s390x/default
--- old/config/s390x/default 2019-05-22 13:11:40.000000000 +0200
+++ new/config/s390x/default 2019-05-27 09:14:33.000000000 +0200
@@ -432,7 +432,7 @@
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
CONFIG_COMPAT_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
CONFIG_CPU_NO_EFFICIENT_FFS=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/zfcpdump new/config/s390x/zfcpdump
--- old/config/s390x/zfcpdump 2019-05-22 13:11:40.000000000 +0200
+++ new/config/s390x/zfcpdump 2019-05-27 09:14:33.000000000 +0200
@@ -366,7 +366,7 @@
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
CONFIG_COMPAT_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
CONFIG_CPU_NO_EFFICIENT_FFS=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/x86_64/default new/config/x86_64/default
--- old/config/x86_64/default 2019-05-22 13:11:40.000000000 +0200
+++ new/config/x86_64/default 2019-05-27 09:14:33.000000000 +0200
@@ -778,7 +778,7 @@
CONFIG_ISA_BUS_API=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y
-# CONFIG_64BIT_TIME is not set
+CONFIG_64BIT_TIME=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set
CONFIG_HAVE_ARCH_VMAP_STACK=y
++++++ patches.kernel.org.tar.bz2 ++++++
++++ 10531 lines of diff (skipped)
++++++ patches.suse.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/RFC-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pairing-is-enabled.patch new/patches.suse/RFC-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pairing-is-enabled.patch
--- old/patches.suse/RFC-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pairing-is-enabled.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/RFC-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pairing-is-enabled.patch 2019-05-26 11:03:25.000000000 +0200
@@ -0,0 +1,42 @@
+From: Marcel Holtmann <marcel(a)holtmann.org>
+Subject: [RFC] Bluetooth: Check key sizes only when Secure Simple Pairing is enabled
+Date: Wed, 22 May 2019 09:05:40 +0200
+Message-id: <20190522070540.48895-1-marcel(a)holtmann.org>
+Patch-mainline: No, RFC
+References: bsc#1135556
+
+The encryption is only mandatory to be enforced when both sides are using
+Secure Simple Pairing and this means the key size check makes only sense
+in that case.
+
+On legacy Bluetooth 2.0 and earlier devices like mice the encryption was
+optional and thus causing an issue if the key size check is not bound to
+using Secure Simple Pairing.
+
+Fixes: d5bb334a8e17 ("Bluetooth: Align minimum encryption key size for LE and BR/EDR connections")
+Signed-off-by: Marcel Holtmann <marcel(a)holtmann.org>
+Cc: stable(a)vger.kernel.org
+Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
+
+---
+ net/bluetooth/hci_conn.c | 9 +++++++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+--- a/net/bluetooth/hci_conn.c
++++ b/net/bluetooth/hci_conn.c
+@@ -1272,8 +1272,13 @@ int hci_conn_check_link_mode(struct hci_
+ return 0;
+ }
+
+- if (hci_conn_ssp_enabled(conn) &&
+- !test_bit(HCI_CONN_ENCRYPT, &conn->flags))
++ /* If Secure Simple Pairing is not enabled, then legacy connection
++ * setup is used and no encryption or key sizes can be enforced.
++ */
++ if (!hci_conn_ssp_enabled(conn))
++ return 1;
++
++ if (!test_bit(HCI_CONN_ENCRYPT, &conn->flags))
+ return 0;
+
+ /* The minimum encryption key size needs to be enforced by the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-Bluetooth-btusb-driver-to-enable-the-usb-wake.patch new/patches.suse/Revert-Bluetooth-btusb-driver-to-enable-the-usb-wake.patch
--- old/patches.suse/Revert-Bluetooth-btusb-driver-to-enable-the-usb-wake.patch 2019-05-22 11:07:33.000000000 +0200
+++ new/patches.suse/Revert-Bluetooth-btusb-driver-to-enable-the-usb-wake.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-From 2292984907bdca09396f25c90bc1d30478d34fd5 Mon Sep 17 00:00:00 2001
-From: Michal Suchanek <msuchanek(a)suse.de>
-Date: Tue, 26 Mar 2019 22:37:42 +0100
-Subject: [PATCH] Revert "Bluetooth: btusb: driver to enable the usb-wakeup
- feature"
-
-Patch-mainline: no, testing
-References: boo#1130448
-
-This reverts commit a0085f2510e8976614ad8f766b209448b385492f.
-
-Signed-off-by: Michal Suchanek <msuchanek(a)suse.de>
----
- drivers/bluetooth/btusb.c | 5 -----
- 1 file changed, 5 deletions(-)
-
-diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
-index 4761499db9ee..6d35cdb99c5e 100644
---- a/drivers/bluetooth/btusb.c
-+++ b/drivers/bluetooth/btusb.c
-@@ -1138,10 +1138,6 @@ static int btusb_open(struct hci_dev *hdev)
- }
-
- data->intf->needs_remote_wakeup = 1;
-- /* device specific wakeup source enabled and required for USB
-- * remote wakeup while host is suspended
-- */
-- device_wakeup_enable(&data->udev->dev);
-
- if (test_and_set_bit(BTUSB_INTR_RUNNING, &data->flags))
- goto done;
-@@ -1205,7 +1201,6 @@ static int btusb_close(struct hci_dev *hdev)
- goto failed;
-
- data->intf->needs_remote_wakeup = 0;
-- device_wakeup_disable(&data->udev->dev);
- usb_autopm_put_interface(data->intf);
-
- failed:
---
-2.20.1
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch new/patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch
--- old/patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch 2019-05-22 11:07:33.000000000 +0200
+++ new/patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,56 +0,0 @@
-From: Song Liu <songliubraving(a)fb.com>
-Date: Tue, 16 Apr 2019 09:34:21 -0700
-Subject: Revert "Don't jump to compute_result state from check_result state"
-Git-commit: a25d8c327bb41742dbd59f8c545f59f3b9c39983
-Patch-mainline: 5.2-rc1
-References: git-fixes
-
-This reverts commit 4f4fd7c5798bbdd5a03a60f6269cf1177fbd11ef.
-
-Cc: Dan Williams <dan.j.williams(a)intel.com>
-Cc: Nigel Croxon <ncroxon(a)redhat.com>
-Cc: Xiao Ni <xni(a)redhat.com>
-Signed-off-by: Song Liu <songliubraving(a)fb.com>
-Signed-off-by: Jiri Slaby <jslaby(a)suse.cz>
----
- drivers/md/raid5.c | 19 +++++++++++++++----
- 1 file changed, 15 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
-index 2b0a715e70c9..b5742d07662d 100644
---- a/drivers/md/raid5.c
-+++ b/drivers/md/raid5.c
-@@ -4227,15 +4227,26 @@ static void handle_parity_checks6(struct r5conf *conf, struct stripe_head *sh,
- case check_state_check_result:
- sh->check_state = check_state_idle;
-
-- if (s->failed > 1)
-- break;
- /* handle a successful check operation, if parity is correct
- * we are done. Otherwise update the mismatch count and repair
- * parity if !MD_RECOVERY_CHECK
- */
- if (sh->ops.zero_sum_result == 0) {
-- /* Any parity checked was correct */
-- set_bit(STRIPE_INSYNC, &sh->state);
-+ /* both parities are correct */
-+ if (!s->failed)
-+ set_bit(STRIPE_INSYNC, &sh->state);
-+ else {
-+ /* in contrast to the raid5 case we can validate
-+ * parity, but still have a failure to write
-+ * back
-+ */
-+ sh->check_state = check_state_compute_result;
-+ /* Returning at this point means that we may go
-+ * off and bring p and/or q uptodate again so
-+ * we make sure to check zero_sum_result again
-+ * to verify if p or q need writeback
-+ */
-+ }
- } else {
- atomic64_add(STRIPE_SECTORS, &conf->mddev->resync_mismatches);
- if (test_bit(MD_RECOVERY_CHECK, &conf->mddev->recovery)) {
---
-2.21.0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/dm-make-sure-to-obey-max_io_len_target_boundary.patch new/patches.suse/dm-make-sure-to-obey-max_io_len_target_boundary.patch
--- old/patches.suse/dm-make-sure-to-obey-max_io_len_target_boundary.patch 2019-05-22 11:07:33.000000000 +0200
+++ new/patches.suse/dm-make-sure-to-obey-max_io_len_target_boundary.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,47 +0,0 @@
-From: Michael Lass <bevan(a)bi-co.net>
-Date: Tue, 21 May 2019 21:58:07 +0200
-Subject: dm: make sure to obey max_io_len_target_boundary
-Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git#fo…
-Git-commit: 51b86f9a8d1c4bb4e3862ee4b4c5f46072f7520d
-Patch-mainline: Queued in subsystem maintainer repository
-References: bnc#1135868
-
-Commit 61697a6abd24 ("dm: eliminate 'split_discard_bios' flag from DM
-target interface") incorrectly removed code from
-__send_changing_extent_only() that is required to impose a per-target IO
-boundary on IO that exceeds max_io_len_target_boundary(). Otherwise
-"special" IO (e.g. DISCARD, WRITE SAME, WRITE ZEROES) can write beyond
-where allowed.
-
-Fix this by restoring the max_io_len_target_boundary() limit in
-__send_changing_extent_only()
-
-Fixes: 61697a6abd24 ("dm: eliminate 'split_discard_bios' flag from DM target interface")
-Cc: stable(a)vger.kernel.org # 5.1+
-Signed-off-by: Michael Lass <bevan(a)bi-co.net>
-Signed-off-by: Mike Snitzer <snitzer(a)redhat.com>
-Signed-off-by: Jiri Slaby <jslaby(a)suse.cz>
----
- drivers/md/dm.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
---- a/drivers/md/dm.c
-+++ b/drivers/md/dm.c
-@@ -1483,7 +1483,7 @@ static unsigned get_num_write_zeroes_bio
- static int __send_changing_extent_only(struct clone_info *ci, struct dm_target *ti,
- unsigned num_bios)
- {
-- unsigned len = ci->sector_count;
-+ unsigned len;
-
- /*
- * Even though the device advertised support for this type of
-@@ -1494,6 +1494,8 @@ static int __send_changing_extent_only(s
- if (!num_bios)
- return -EOPNOTSUPP;
-
-+ len = min((sector_t)ci->sector_count, max_io_len_target_boundary(ci->sector, ti));
-+
- __send_duplicate_bios(ci, ti, num_bios, &len);
-
- ci->sector += len;
++++++ series.conf ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:40.875382021 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:40.875382021 +0200
@@ -256,6 +256,130 @@
patches.kernel.org/5.1.4-124-s390-mm-make-the-pxd_offset-functions-more-rob…
patches.kernel.org/5.1.4-125-s390-mm-convert-to-the-generic-get_user_pages_…
patches.kernel.org/5.1.4-126-Linux-5.1.4.patch
+ patches.kernel.org/5.1.5-001-ipv6-fix-src-addr-routing-with-the-exception-t…
+ patches.kernel.org/5.1.5-002-ipv6-prevent-possible-fib6-leaks.patch
+ patches.kernel.org/5.1.5-003-net-Always-descend-into-dsa.patch
+ patches.kernel.org/5.1.5-004-net-avoid-weird-emergency-message.patch
+ patches.kernel.org/5.1.5-005-net-mlx4_core-Change-the-error-print-to-info-p…
+ patches.kernel.org/5.1.5-006-net-test-nouarg-before-dereferencing-zerocopy-…
+ patches.kernel.org/5.1.5-007-net-usb-qmi_wwan-add-Telit-0x1260-and-0x1261-c…
+ patches.kernel.org/5.1.5-008-nfp-flower-add-rcu-locks-when-accessing-netdev…
+ patches.kernel.org/5.1.5-009-ppp-deflate-Fix-possible-crash-in-deflate_init…
+ patches.kernel.org/5.1.5-010-rtnetlink-always-put-IFLA_LINK-for-links-with-…
+ patches.kernel.org/5.1.5-011-tipc-switch-order-of-device-registration-to-fi…
+ patches.kernel.org/5.1.5-012-vsock-virtio-free-packets-during-the-socket-re…
+ patches.kernel.org/5.1.5-013-tipc-fix-modprobe-tipc-failed-after-switch-ord…
+ patches.kernel.org/5.1.5-014-mlxsw-core-Prevent-QSFP-module-initialization-…
+ patches.kernel.org/5.1.5-015-mlxsw-core-Prevent-reading-unsupported-slave-a…
+ patches.kernel.org/5.1.5-016-flow_offload-support-CVLAN-match.patch
+ patches.kernel.org/5.1.5-017-net-mlx5e-Fix-calling-wrong-function-to-get-in…
+ patches.kernel.org/5.1.5-018-net-mlx5-Fix-peer-pf-disable-hca-command.patch
+ patches.kernel.org/5.1.5-019-vsock-virtio-Initialize-core-virtio-vsock-befo…
+ patches.kernel.org/5.1.5-020-net-mlx5e-Add-missing-ethtool-driver-info-for-…
+ patches.kernel.org/5.1.5-021-net-mlx5e-Additional-check-for-flow-destinatio…
+ patches.kernel.org/5.1.5-022-net-mlx5-Imply-MLXFW-in-mlx5_core.patch
+ patches.kernel.org/5.1.5-023-net-mlx5e-Fix-ethtool-rxfh-commands-when-CONFI…
+ patches.kernel.org/5.1.5-024-blk-mq-free-hw-queue-s-resource-in-hctx-s-rele…
+ patches.kernel.org/5.1.5-025-regulator-core-fix-error-path-for-regulator_se…
+ patches.kernel.org/5.1.5-026-parisc-Export-running_on_qemu-symbol-for-modul…
+ patches.kernel.org/5.1.5-027-parisc-Add-memory-clobber-to-TLB-purges.patch
+ patches.kernel.org/5.1.5-028-parisc-Skip-registering-LED-when-running-in-QE…
+ patches.kernel.org/5.1.5-029-parisc-Add-memory-barrier-to-asm-pdc-and-sync-…
+ patches.kernel.org/5.1.5-030-parisc-Allow-live-patching-of-__meminit-functi…
+ patches.kernel.org/5.1.5-031-parisc-Use-PA_ASM_LEVEL-in-boot-code.patch
+ patches.kernel.org/5.1.5-032-parisc-Rename-LEVEL-to-PA_ASM_LEVEL-to-avoid-n…
+ patches.kernel.org/5.1.5-033-stm-class-Fix-channel-free-in-stm-output-free-…
+ patches.kernel.org/5.1.5-034-stm-class-Fix-channel-bitmap-on-32-bit-systems…
+ patches.kernel.org/5.1.5-035-brd-re-enable-__GFP_HIGHMEM-in-brd_insert_page…
+ patches.kernel.org/5.1.5-036-proc-prevent-changes-to-overridden-credentials…
+ patches.kernel.org/5.1.5-037-Revert-MD-fix-lock-contention-for-flush-bios.p…
+ patches.kernel.org/5.1.5-038-md-batch-flush-requests.patch
+ patches.kernel.org/5.1.5-039-md-add-mddev-pers-to-avoid-potential-NULL-poin…
+ patches.kernel.org/5.1.5-040-md-add-a-missing-endianness-conversion-in-chec…
+ patches.kernel.org/5.1.5-041-dcache-sort-the-freeing-without-RCU-delay-mess…
+ patches.kernel.org/5.1.5-042-intel_th-msu-Fix-single-mode-with-IOMMU.patch
+ patches.kernel.org/5.1.5-043-p54-drop-device-reference-count-if-fails-to-en…
+ patches.kernel.org/5.1.5-044-of-fix-clang-Wunsequenced-for-be32_to_cpu.patch
+ patches.kernel.org/5.1.5-045-brcmfmac-Add-DMI-nvram-filename-quirk-for-ACEP…
+ patches.kernel.org/5.1.5-046-cifs-fix-credits-leak-for-SMB1-oplock-breaks.p…
+ patches.kernel.org/5.1.5-047-cifs-fix-strcat-buffer-overflow-and-reduce-rac…
+ patches.kernel.org/5.1.5-048-phy-ti-pipe3-fix-missing-bit-wise-or-operator-…
+ patches.kernel.org/5.1.5-049-media-ov6650-Fix-sensor-possibly-not-detected-…
+ patches.kernel.org/5.1.5-050-media-seco-cec-fix-building-with-RC_CORE-m.pat…
+ patches.kernel.org/5.1.5-051-media-imx-csi-Allow-unknown-nearest-upstream-e…
+ patches.kernel.org/5.1.5-052-media-imx-Clear-fwnode-link-struct-for-each-en…
+ patches.kernel.org/5.1.5-053-media-imx-Rename-functions-that-add-IPU-intern…
+ patches.kernel.org/5.1.5-054-media-imx-Don-t-register-IPU-subdevs-links-if-…
+ patches.kernel.org/5.1.5-055-RDMA-mlx5-Use-get_zeroed_page-for-clock_info.p…
+ patches.kernel.org/5.1.5-056-RDMA-ipoib-Allow-user-space-differentiate-betw…
+ patches.kernel.org/5.1.5-057-NFS4-Fix-v4.0-client-state-corruption-when-mou…
+ patches.kernel.org/5.1.5-058-PNFS-fallback-to-MDS-if-no-deviceid-found.patch
+ patches.kernel.org/5.1.5-059-clk-hi3660-Mark-clk_gate_ufs_subsys-as-critica…
+ patches.kernel.org/5.1.5-060-clk-tegra-Fix-PLLM-programming-on-Tegra124-whe…
+ patches.kernel.org/5.1.5-061-clk-mediatek-Disable-tuner_en-before-change-PL…
+ patches.kernel.org/5.1.5-062-clk-rockchip-fix-wrong-clock-definitions-for-r…
+ patches.kernel.org/5.1.5-063-udlfb-delete-the-unused-parameter-for-dlfb_han…
+ patches.kernel.org/5.1.5-064-udlfb-fix-sleeping-inside-spinlock.patch
+ patches.kernel.org/5.1.5-065-udlfb-introduce-a-rendering-mutex.patch
+ patches.kernel.org/5.1.5-066-fuse-fix-writepages-on-32bit.patch
+ patches.kernel.org/5.1.5-067-fuse-honor-RLIMIT_FSIZE-in-fuse_file_fallocate…
+ patches.kernel.org/5.1.5-068-ovl-fix-missing-upper-fs-freeze-protection-on-…
+ patches.kernel.org/5.1.5-069-fsnotify-fix-unlink-performance-regression.pat…
+ patches.kernel.org/5.1.5-070-gcc-plugins-arm_ssp_per_task_plugin-Fix-for-ol…
+ patches.kernel.org/5.1.5-071-iommu-tegra-smmu-Fix-invalid-ASID-bits-on-Tegr…
+ patches.kernel.org/5.1.5-072-ceph-flush-dirty-inodes-before-proceeding-with…
+ patches.kernel.org/5.1.5-073-x86_64-Add-gap-to-int3-to-allow-for-call-emula…
+ patches.kernel.org/5.1.5-074-x86_64-Allow-breakpoints-to-emulate-call-instr…
+ patches.kernel.org/5.1.5-075-ftrace-x86_64-Emulate-call-function-while-upda…
+ patches.kernel.org/5.1.5-076-tracing-Fix-partial-reading-of-trace-event-s-i…
+ patches.kernel.org/5.1.5-077-tracing-probeevent-Fix-to-make-the-type-of-com…
+ patches.kernel.org/5.1.5-078-memory-tegra-Fix-integer-overflow-on-tick-valu…
+ patches.kernel.org/5.1.5-079-perf-intel-pt-Fix-instructions-sampling-rate.p…
+ patches.kernel.org/5.1.5-080-perf-intel-pt-Fix-improved-sample-timestamp.pa…
+ patches.kernel.org/5.1.5-081-perf-intel-pt-Fix-sample-timestamp-wrt-non-tak…
+ patches.kernel.org/5.1.5-082-MIPS-perf-Fix-build-with-CONFIG_CPU_BMIPS5000-…
+ patches.kernel.org/5.1.5-083-objtool-Allow-AR-to-be-overridden-with-HOSTAR.…
+ patches.kernel.org/5.1.5-084-x86-mpx-mm-core-Fix-recursive-munmap-corruptio…
+ patches.kernel.org/5.1.5-085-fbdev-efifb-Ignore-framebuffer-memmap-entries-…
+ patches.kernel.org/5.1.5-086-fbdev-sm712fb-fix-brightness-control-on-reboot…
+ patches.kernel.org/5.1.5-087-fbdev-sm712fb-fix-VRAM-detection-don-t-set-SR7…
+ patches.kernel.org/5.1.5-088-fbdev-sm712fb-fix-white-screen-of-death-on-reb…
+ patches.kernel.org/5.1.5-089-fbdev-sm712fb-fix-boot-screen-glitch-when-sm71…
+ patches.kernel.org/5.1.5-090-fbdev-sm712fb-fix-crashes-during-framebuffer-w…
+ patches.kernel.org/5.1.5-091-fbdev-sm712fb-fix-support-for-1024x768-16-mode…
+ patches.kernel.org/5.1.5-092-fbdev-sm712fb-use-1024x768-by-default-on-non-M…
+ patches.kernel.org/5.1.5-093-fbdev-sm712fb-fix-crashes-and-garbled-display-…
+ patches.kernel.org/5.1.5-094-PCI-Mark-AMD-Stoney-Radeon-R7-GPU-ATS-as-broke…
+ patches.kernel.org/5.1.5-095-PCI-Mark-Atheros-AR9462-to-avoid-bus-reset.pat…
+ patches.kernel.org/5.1.5-096-PCI-Reset-Lenovo-ThinkPad-P50-nvgpu-at-boot-if…
+ patches.kernel.org/5.1.5-097-PCI-Init-PCIe-feature-bits-for-managed-host-br…
+ patches.kernel.org/5.1.5-098-PCI-AER-Change-pci_aer_init-stub-to-return-voi…
+ patches.kernel.org/5.1.5-099-PCI-rcar-Add-the-initialization-of-PCIe-link-i…
+ patches.kernel.org/5.1.5-100-PCI-Factor-out-pcie_retrain_link-function.patch
+ patches.kernel.org/5.1.5-101-PCI-Work-around-Pericom-PCIe-to-PCI-bridge-Ret…
+ patches.kernel.org/5.1.5-102-dm-cache-metadata-Fix-loading-discard-bitset.p…
+ patches.kernel.org/5.1.5-103-dm-zoned-Fix-zone-report-handling.patch
+ patches.kernel.org/5.1.5-104-dm-init-fix-max-devices-targets-checks.patch
+ patches.kernel.org/5.1.5-105-dm-delay-fix-a-crash-when-invalid-device-is-sp…
+ patches.kernel.org/5.1.5-106-dm-crypt-move-detailed-message-into-debug-leve…
+ patches.kernel.org/5.1.5-107-dm-integrity-correctly-calculate-the-size-of-m…
+ patches.kernel.org/5.1.5-108-dm-ioctl-fix-hang-in-early-create-error-condit…
+ patches.kernel.org/5.1.5-109-dm-mpath-always-free-attached_handler_name-in-…
+ patches.kernel.org/5.1.5-110-fuse-Add-FOPEN_STREAM-to-use-stream_open.patch
+ patches.kernel.org/5.1.5-111-dm-make-sure-to-obey-max_io_len_target_boundar…
+ patches.kernel.org/5.1.5-112-Revert-Don-t-jump-to-compute_result-state-from…
+ patches.kernel.org/5.1.5-113-md-raid-raid5-preserve-the-writeback-action-af…
+ patches.kernel.org/5.1.5-114-dmaengine-imx-sdma-Only-check-ratio-on-parts-t…
+ patches.kernel.org/5.1.5-115-driver-core-Postpone-DMA-tear-down-until-after…
+ patches.kernel.org/5.1.5-116-bpf-relax-inode-permission-check-for-retrievin…
+ patches.kernel.org/5.1.5-117-bpf-add-map_lookup_elem_sys_only-for-lookups-f…
+ patches.kernel.org/5.1.5-118-bpf-lru-avoid-messing-with-eviction-heuristics…
+ patches.kernel.org/5.1.5-119-y2038-Make-CONFIG_64BIT_TIME-unconditional.pat…
+ patches.kernel.org/5.1.5-120-btrfs-reloc-Fix-NULL-pointer-dereference-due-t…
+ patches.kernel.org/5.1.5-121-ARM-dts-imx6q-logicpd-Reduce-inrush-current-on…
+ patches.kernel.org/5.1.5-122-ARM-dts-imx6q-logicpd-Reduce-inrush-current-on…
+ patches.kernel.org/5.1.5-123-fbdev-sm712fb-fix-memory-frequency-by-avoiding…
+ patches.kernel.org/5.1.5-124-Linux-5.1.5.patch
########################################################
# Build fixes that apply to the vanilla kernel too.
@@ -524,6 +648,7 @@
# Wireless Networking
########################################################
patches.suse/b43-missing-firmware-info.patch
+ patches.suse/RFC-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pairing-is-enabled.patch
########################################################
# ISDN
@@ -546,8 +671,6 @@
# USB
########################################################
- patches.suse/Revert-Bluetooth-btusb-driver-to-enable-the-usb-wake.patch
-
########################################################
# I2C
########################################################
@@ -584,12 +707,10 @@
patches.suse/dm-mpath-leastpending-path-update
patches.suse/dm-table-switch-to-readonly
patches.suse/dm-mpath-no-partitions-feature
- patches.suse/dm-make-sure-to-obey-max_io_len_target_boundary.patch
########################################################
# md
########################################################
- patches.suse/Revert-Don-t-jump-to-compute_result-state-from-check.patch
##########################################################
#
++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.J1S5OF/_old 2019-06-01 09:46:40.907382010 +0200
+++ /var/tmp/diff_new_pack.J1S5OF/_new 2019-06-01 09:46:40.907382010 +0200
@@ -1,3 +1,3 @@
-2019-05-22 11:11:40 +0000
-GIT Revision: 0739fa4bcf7a21941c7e28c52b33b0f531044868
+2019-05-27 07:14:33 +0000
+GIT Revision: 6ad4f795771291a7cc9b088361b4015581b57ca4
GIT Branch: stable
1
0
Hello community,
here is the log from the commit of package elixir for openSUSE:Factory checked in at 2019-06-01 09:46:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/elixir (Old)
and /work/SRC/openSUSE:Factory/.elixir.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elixir"
Sat Jun 1 09:46:15 2019 rev:5 rq:705610 version:1.8.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/elixir/elixir.changes 2019-03-14 15:01:11.183697465 +0100
+++ /work/SRC/openSUSE:Factory/.elixir.new.5148/elixir.changes 2019-06-01 09:46:18.511389656 +0200
@@ -1,0 +2,12 @@
+Mon May 27 09:02:44 UTC 2019 - g.santomaggio(a)gmail.com
+
+- Elixir 1.8.2
+ * Bug fixes
+ [EEx] Raise readable error message on bad EEx state
+ Elixir
+ [Protocol] Ensure :debug_info is kept in protocols
+ Logger
+ [Logger] Make sure Logger v1.8 does not get stuck in discard mode
+ [Logger.Translator] Translate remote process crash in Logger
+
+-------------------------------------------------------------------
Old:
----
elixir-1.8.1.tar.gz
New:
----
elixir-1.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ elixir-doc.spec ++++++
--- /var/tmp/diff_new_pack.kUEvaX/_old 2019-06-01 09:46:19.223389413 +0200
+++ /var/tmp/diff_new_pack.kUEvaX/_new 2019-06-01 09:46:19.223389413 +0200
@@ -17,7 +17,7 @@
Name: elixir-doc
-Version: 1.8.1
+Version: 1.8.2
Release: 0
Summary: Documentation for elixir
License: Apache-2.0
elixir.spec: same change
++++++ elixir-1.8.1.tar.gz -> elixir-1.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/CHANGELOG.md new/elixir-1.8.2/CHANGELOG.md
--- old/elixir-1.8.1/CHANGELOG.md 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/CHANGELOG.md 2019-05-11 14:29:01.000000000 +0200
@@ -63,6 +63,23 @@
This small feature is very powerful. It allows instrumentation and monitoring tools to better track and relate the events happening in your system. This feature can also be used by tools like the "Ecto Sandbox". The "Ecto Sandbox" allows developers to run tests concurrently against the database, by using transactions and an ownership mechanism where each process explicitly gets a connection assigned to it. Without `$callers`, every time you spawned a task that queries the database, the task would not know its caller, and therefore it would be unable to know which connection was assigned to it. This often meant features that relies on tasks could not be tested concurrently. With `$callers`, figuring out this relationship is trivial and you have more tests using the full power of your machine.
+## v1.8.2 (2019-05-11)
+
+### 1. Bug fixes
+
+#### EEx
+
+ * [EEx] Raise readable error message on bad EEx state
+
+#### Elixir
+
+ * [Protocol] Ensure `:debug_info` is kept in protocols
+
+#### Logger
+
+ * [Logger] Make sure Logger v1.8 does not get stuck in discard mode
+ * [Logger.Translator] Translate remote process crash in Logger
+
## v1.8.1 (2019-01-30)
### 1. Bug fixes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/VERSION new/elixir-1.8.2/VERSION
--- old/elixir-1.8.1/VERSION 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/VERSION 2019-05-11 14:29:01.000000000 +0200
@@ -1 +1 @@
-1.8.1
\ No newline at end of file
+1.8.2
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/eex/lib/eex/engine.ex new/elixir-1.8.2/lib/eex/lib/eex/engine.ex
--- old/elixir-1.8.1/lib/eex/lib/eex/engine.ex 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/eex/lib/eex/engine.ex 2019-05-11 14:29:01.000000000 +0200
@@ -158,6 +158,7 @@
@doc false
def handle_begin(state) do
+ check_state!(state)
%{state | binary: [], dynamic: []}
end
@@ -168,6 +169,7 @@
@doc false
def handle_body(state) do
+ check_state!(state)
%{binary: binary, dynamic: dynamic} = state
binary = {:<<>>, [], Enum.reverse(binary)}
dynamic = [binary | dynamic]
@@ -207,4 +209,11 @@
raise EEx.SyntaxError,
"unsupported EEx syntax <%#{marker} %> (the syntax is valid but not supported by the current EEx engine)"
end
+
+ defp check_state!(%{binary: _, dynamic: _, vars_count: _}), do: :ok
+
+ defp check_state!(state) do
+ raise "unexpected EEx.Engine state: #{inspect(state)}. " <>
+ "This typically means a bug or an outdated EEx.Engine or tool"
+ end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/elixir/lib/gen_server.ex new/elixir-1.8.2/lib/elixir/lib/gen_server.ex
--- old/elixir-1.8.1/lib/elixir/lib/gen_server.ex 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/elixir/lib/gen_server.ex 2019-05-11 14:29:01.000000000 +0200
@@ -135,7 +135,7 @@
Supervisor.start_link(children, strategy: :one_for_all)
- In both cases, `Stack.start_link/1` is alwaus invoked.
+ In both cases, `Stack.start_link/1` is always invoked.
`use GenServer` also accepts a list of options which configures the
child specification and therefore how it runs under a supervisor.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/elixir/src/elixir_erl.erl new/elixir-1.8.2/lib/elixir/src/elixir_erl.erl
--- old/elixir-1.8.1/lib/elixir/src/elixir_erl.erl 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/elixir/src/elixir_erl.erl 2019-05-11 14:29:01.000000000 +0200
@@ -446,10 +446,10 @@
end.
take_debug_opts(Opts) ->
- case lists:keytake(debug_info, 1, Opts) of
- {value, {debug_info, true}, Rest} -> {true, Rest};
- {value, {debug_info, false}, Rest} -> {false, Rest};
- false -> {elixir_compiler:get_opt(debug_info), Opts}
+ case proplists:get_value(debug_info, Opts) of
+ true -> {true, proplists:delete(debug_info, Opts)};
+ false -> {false, proplists:delete(debug_info, Opts)};
+ undefined -> {elixir_compiler:get_opt(debug_info), Opts}
end.
extra_chunks_opts([], Opts) -> Opts;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/elixir/test/elixir/protocol_test.exs new/elixir-1.8.2/lib/elixir/test/elixir/protocol_test.exs
--- old/elixir-1.8.1/lib/elixir/test/elixir/protocol_test.exs 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/elixir/test/elixir/protocol_test.exs 2019-05-11 14:29:01.000000000 +0200
@@ -260,6 +260,25 @@
end
end
+defmodule Protocol.DebugInfoTest do
+ use ExUnit.Case
+
+ test "protocols always keep debug_info" do
+ Code.compiler_options(debug_info: false)
+
+ {:module, _, binary, _} =
+ defprotocol DebugInfoProto do
+ end
+
+ assert {:ok, {DebugInfoProto, [debug_info: debug_info]}} =
+ :beam_lib.chunks(binary, [:debug_info])
+
+ assert {:debug_info_v1, :elixir_erl, {:elixir_v1, _, _}} = debug_info
+ after
+ Code.compiler_options(debug_info: true)
+ end
+end
+
path = Path.expand("../ebin", __DIR__)
File.mkdir_p!(path)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/logger/lib/logger/config.ex new/elixir-1.8.2/lib/logger/lib/logger/config.ex
--- old/elixir-1.8.1/lib/logger/lib/logger/config.ex 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/logger/lib/logger/config.ex 2019-05-11 14:29:01.000000000 +0200
@@ -4,6 +4,7 @@
@behaviour :gen_event
@name __MODULE__
@table __MODULE__
+ @check_discard {__MODULE__, :check_discard}
def start_link do
GenServer.start_link(__MODULE__, :ok, name: @name)
@@ -76,29 +77,7 @@
end
def handle_event(_event, {state, thresholds}) do
- %{mode: mode} = state
-
- case compute_mode(mode, thresholds) do
- ^mode ->
- {:ok, {state, thresholds}}
-
- new_mode ->
- if new_mode == :discard do
- message =
- "Logger has #{message_queue_length()} messages in its queue, " <>
- "which is above :discard_threshold. Messages will be discarded " <>
- "until the message queue goes back to 75% of the threshold size"
-
- log(:warn, message, state)
- end
-
- if mode == :discard do
- log(:warn, "Logger has stopped discarding messages", state)
- end
-
- state = persist(%{state | mode: new_mode})
- {:ok, {state, thresholds}}
- end
+ {:ok, {compute_mode_and_persist_state(state, thresholds), thresholds}}
end
def handle_call({:configure, options}, {%{mode: mode}, _}) do
@@ -127,6 +106,16 @@
{:ok, old, state}
end
+ def handle_info(@check_discard, {%{mode: :discard} = state, thresholds}) do
+ state = compute_mode_and_persist_state(state, thresholds)
+
+ if state.mode == :discard do
+ Process.send_after(self(), @check_discard, state.discard_threshold_periodic_check)
+ end
+
+ {:ok, {state, thresholds}}
+ end
+
def handle_info(_msg, state) do
{:ok, state}
end
@@ -139,6 +128,31 @@
{:ok, state}
end
+ defp compute_mode_and_persist_state(%{mode: mode} = state, thresholds) do
+ case compute_mode(mode, thresholds) do
+ ^mode ->
+ state
+
+ new_mode ->
+ if new_mode == :discard do
+ Process.send_after(self(), @check_discard, state.discard_threshold_periodic_check)
+
+ message =
+ "Logger has #{message_queue_length()} messages in its queue, " <>
+ "which is above :discard_threshold. Messages will be discarded " <>
+ "until the message queue goes back to 75% of the threshold size"
+
+ log(:warn, message, state)
+ end
+
+ if mode == :discard do
+ log(:warn, "Logger has stopped discarding messages", state)
+ end
+
+ persist(%{state | mode: new_mode})
+ end
+ end
+
## Helpers
defp log(level, message, state) do
@@ -163,7 +177,9 @@
level: Application.get_env(:logger, :level),
translators: Application.get_env(:logger, :translators),
truncate: Application.get_env(:logger, :truncate),
- utc_log: Application.get_env(:logger, :utc_log)
+ utc_log: Application.get_env(:logger, :utc_log),
+ discard_threshold_periodic_check:
+ Application.get_env(:logger, :discard_threshold_periodic_check)
})
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/logger/lib/logger/translator.ex new/elixir-1.8.2/lib/logger/lib/logger/translator.ex
--- old/elixir-1.8.1/lib/logger/lib/logger/translator.ex 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/logger/lib/logger/translator.ex 2019-05-11 14:29:01.000000000 +0200
@@ -126,6 +126,19 @@
{:ok, msg, metadata}
+ {'Error in process ' ++ _, [pid, node, {reason, stack}]} ->
+ reason = Exception.normalize(:error, reason, stack)
+
+ msg = [
+ "Process ",
+ inspect(pid),
+ " on node ",
+ inspect(node),
+ " raised an exception" | format(:error, reason, stack)
+ ]
+
+ {:ok, msg, [crash_reason: exit_reason(:error, reason, stack)]}
+
{'Error in process ' ++ _, [pid, {reason, stack}]} ->
reason = Exception.normalize(:error, reason, stack)
msg = ["Process ", inspect(pid), " raised an exception" | format(:error, reason, stack)]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/logger/lib/logger.ex new/elixir-1.8.2/lib/logger/lib/logger.ex
--- old/elixir-1.8.1/lib/logger/lib/logger.ex 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/logger/lib/logger.ex 2019-05-11 14:29:01.000000000 +0200
@@ -555,6 +555,7 @@
:level,
:utc_log,
:discard_threshold,
+ :discard_threshold_periodic_check,
:translator_inspect_opts
]
@spec configure(keyword) :: :ok
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/logger/mix.exs new/elixir-1.8.2/lib/logger/mix.exs
--- old/elixir-1.8.1/lib/logger/mix.exs 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/logger/mix.exs 2019-05-11 14:29:01.000000000 +0200
@@ -24,6 +24,7 @@
handle_otp_reports: true,
handle_sasl_reports: false,
discard_threshold_for_error_logger: 500,
+ discard_threshold_periodic_check: 30_000,
compile_time_purge_level: :debug,
compile_time_purge_matching: [],
compile_time_application: nil,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/logger/test/logger/config_test.exs new/elixir-1.8.2/lib/logger/test/logger/config_test.exs
--- old/elixir-1.8.1/lib/logger/test/logger/config_test.exs 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/logger/test/logger/config_test.exs 2019-05-11 14:29:01.000000000 +0200
@@ -12,11 +12,29 @@
end
test "log/2 relies on discard_threshold" do
- Logger.remove_backend(:console)
Logger.configure(discard_threshold: 0)
for _ <- 1..1000, do: Logger.log(:info, "some message")
after
Logger.configure(discard_threshold: 10000)
+ end
+
+ test "log/2 recovers from discard_threshold" do
+ Logger.remove_backend(:console)
+ Logger.configure(discard_threshold: 1, discard_threshold_periodic_check: 0)
+
+ :sys.suspend(Logger)
+ assert Logger.log(:info, "BEGIN") == :ok
+ send(Logger, :garbage)
+ :sys.resume(Logger)
+
+ # Simulate a sync operation to make sure we are in :discard mode
+ Logger.add_translator({Unknown, :translate})
+ Logger.remove_translator({Unknown, :translate})
+
+ # It should eventually heal
+ wait_for_mode(:async)
+ after
+ Logger.configure(discard_threshold: 10000, discard_threshold_periodic_check: 30000)
Logger.add_backend(:console)
end
@@ -37,4 +55,11 @@
Logger.configure(level: :debug)
end
end
+
+ def wait_for_mode(mode) do
+ unless Logger.Config.__data__().mode == mode do
+ Process.sleep(10)
+ wait_for_mode(mode)
+ end
+ end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/elixir-1.8.1/lib/logger/test/logger/translator_test.exs new/elixir-1.8.2/lib/logger/test/logger/translator_test.exs
--- old/elixir-1.8.1/lib/logger/test/logger/translator_test.exs 2019-01-30 11:37:58.000000000 +0100
+++ new/elixir-1.8.2/lib/logger/test/logger/translator_test.exs 2019-05-11 14:29:01.000000000 +0200
@@ -981,6 +981,19 @@
assert {:stop, [_ | _]} = process_metadata[:crash_reason]
end
+ test "translates process crash with erts" do
+ assert {:ok, msg, meta} =
+ Logger.Translator.translate(
+ :error,
+ :error,
+ :format,
+ {'Error in process ~p on node ~p with exit value:~n~p~n',
+ [self(), :"name(a)127.0.0.1", {:badarith, [{:erlang, :/, [1, 0], []}]}]}
+ )
+
+ assert Keyword.get(meta, :crash_reason)
+ end
+
test "reports :undefined MFA properly" do
defmodule WeirdFunctionNamesGenServer do
use GenServer
1
0