openSUSE Commits
Threads by month
- ----- 2024 -----
- November
- October
- September
- August
- July
- June
- 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
October 2024
- 1 participants
- 1410 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libheif for openSUSE:Factory checked in at 2024-10-23 21:08:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libheif (Old)
and /work/SRC/openSUSE:Factory/.libheif.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libheif"
Wed Oct 23 21:08:47 2024 rev:35 rq:1217016 version:1.18.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libheif/libheif.changes 2024-08-21 23:25:21.883955244 +0200
+++ /work/SRC/openSUSE:Factory/.libheif.new.26871/libheif.changes 2024-10-23 21:10:08.694358687 +0200
@@ -1,0 +2,7 @@
+Mon Oct 21 13:25:54 UTC 2024 - pgajdos(a)suse.com
+
+- build *-test subpackage with multibuild for running the test suite
+- added sources
+ + _multibuild
+
+-------------------------------------------------------------------
New:
----
_multibuild
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libheif.spec ++++++
--- /var/tmp/diff_new_pack.TVFYxz/_old 2024-10-23 21:10:09.210380110 +0200
+++ /var/tmp/diff_new_pack.TVFYxz/_new 2024-10-23 21:10:09.214380276 +0200
@@ -16,6 +16,15 @@
#
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+
%define gdk_pixbuf_binary_version 2.10.0
%bcond_with x265
%bcond_with kvazaar
@@ -59,6 +68,9 @@
BuildRequires: pkgconfig(libde265)
BuildRequires: pkgconfig(x265)
%endif
+%if %{with test}
+BuildArch: noarch
+%endif
%description
libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format) file
@@ -222,7 +234,12 @@
%autosetup -p1
%build
+# https://github.com/strukturag/libheif/issues/1281
+sed -i '/add_libheif_test(encode)/d' tests/CMakeLists.txt
%cmake \
+%if %{with test}
+ --preset=testing \
+%else
-DWITH_AOM_DECODER=ON \
-DWITH_AOM_DECODER_PLUGIN=ON \
-DWITH_AOM_ENCODER=ON \
@@ -275,9 +292,19 @@
-DCMAKE_CXX_FLAGS="-pthread" \
%endif
-DPLUGIN_DIRECTORY=%{_libexecdir}/libheif \
+%endif
%nil
%cmake_build
+%if %{with test}
+%check
+cd build
+export LD_LIBRARY_PATH=$(pwd)/libheif
+make test
+%endif
+
+%if !%{with test}
+
%install
%cmake_install
%if %{with x265}
@@ -377,3 +404,5 @@
%{_mandir}/man1/heif-thumbnailer.1%{?ext_man}
%endif
+%endif
+
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package postgresql17 for openSUSE:Factory checked in at 2024-10-23 21:08:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postgresql17 (Old)
and /work/SRC/openSUSE:Factory/.postgresql17.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql17"
Wed Oct 23 21:08:45 2024 rev:3 rq:1216991 version:17.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/postgresql17/postgresql17.changes 2024-09-27 17:10:47.056882755 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql17.new.26871/postgresql17.changes 2024-10-23 21:10:07.750319494 +0200
@@ -1,0 +2,6 @@
+Mon Oct 7 08:50:46 UTC 2024 - Fabian Vogt <fvogt(a)suse.com>
+
+- Use cmake(LLVM) < instead of <= to also allow building against
+ LLVM 18.1 and newer 18.x versions
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ postgresql17.spec ++++++
--- /var/tmp/diff_new_pack.iFEuZr/_old 2024-10-23 21:10:08.454348723 +0200
+++ /var/tmp/diff_new_pack.iFEuZr/_new 2024-10-23 21:10:08.458348889 +0200
@@ -21,7 +21,8 @@
%define buildlibs 1
%define tarversion %{pgversion}
%define oldest_supported_llvm_ver 10
-%define latest_supported_llvm_ver 18
+# To be able to use cmake(LLVM) < ...
+%define latest_supported_llvm_ver_plus_one 19
### CUT HERE ###
%define pgname postgresql%pgmajor
@@ -146,8 +147,8 @@
%endif
%if %{with llvm}
BuildRequires: gcc-c++
-BuildRequires: (cmake(Clang) >= %{oldest_supported_llvm_ver} with cmake(Clang) <= %{latest_supported_llvm_ver})
-BuildRequires: (cmake(LLVM) >= %{oldest_supported_llvm_ver} with cmake(LLVM) <= %{latest_supported_llvm_ver})
+BuildRequires: (cmake(Clang) >= %{oldest_supported_llvm_ver} with cmake(Clang) < %{latest_supported_llvm_ver_plus_one})
+BuildRequires: (cmake(LLVM) >= %{oldest_supported_llvm_ver} with cmake(LLVM) < %{latest_supported_llvm_ver_plus_one})
%endif
BuildRequires: libxslt-devel
BuildRequires: openldap2-devel
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package runc for openSUSE:Factory checked in at 2024-10-23 21:08:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/runc (Old)
and /work/SRC/openSUSE:Factory/.runc.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "runc"
Wed Oct 23 21:08:42 2024 rev:65 rq:1216988 version:1.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/runc/runc.changes 2024-09-04 13:22:13.879759318 +0200
+++ /work/SRC/openSUSE:Factory/.runc.new.26871/runc.changes 2024-10-23 21:10:06.370262201 +0200
@@ -1,0 +2,6 @@
+Mon Oct 21 22:42:50 UTC 2024 - Aleksa Sarai <asarai(a)suse.com>
+
+- Update to runc v1.2.0. Upstream changelog is available from
+ <https://github.com/opencontainers/runc/releases/tag/v1.2.0>.
+
+-------------------------------------------------------------------
@@ -6 +12 @@
- Includes the patch for CVE-2024-45310.
+ Includes the patch for CVE-2024-45310. bsc#1230092
@@ -15 +21 @@
- Includes the patch for CVE-2024-45310.
+ Includes the patch for CVE-2024-45310. bsc#1230092
Old:
----
runc-1.2.0-rc.3.tar.xz
runc-1.2.0-rc.3.tar.xz.asc
New:
----
runc-1.2.0.tar.xz
runc-1.2.0.tar.xz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ runc.spec ++++++
--- /var/tmp/diff_new_pack.VA2fSV/_old 2024-10-23 21:10:06.986287775 +0200
+++ /var/tmp/diff_new_pack.VA2fSV/_new 2024-10-23 21:10:06.986287775 +0200
@@ -18,16 +18,14 @@
# MANUAL: Make sure you update this each time you update runc.
-%define git_version 45471bc945571d57acef05e0795008d7f1d9baf5
-%define git_short 45471bc94557
+%define git_version 0b9fa21be2bcba45f6d9d748b4bcf70cfbffbc19
+%define git_short 0b9fa21be2bc
%define project github.com/opencontainers/runc
Name: runc
-# RPM doesn't handle semver rc releases nicely, so for rc releases we need to
-# do something different.
-%define upstream_version 1.2.0-rc.3
-Version: 1.2.0~rc3
+Version: 1.2.0
+%define upstream_version %{version}
Release: 0
Summary: Tool for spawning and running OCI containers
License: Apache-2.0
++++++ runc-1.2.0-rc.3.tar.xz -> runc-1.2.0.tar.xz ++++++
++++ 29095 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gnome-terminal for openSUSE:Factory checked in at 2024-10-23 21:08:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-terminal (Old)
and /work/SRC/openSUSE:Factory/.gnome-terminal.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-terminal"
Wed Oct 23 21:08:37 2024 rev:159 rq:1216976 version:3.54.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-terminal/gnome-terminal.changes 2024-10-08 17:18:22.081941778 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-terminal.new.26871/gnome-terminal.changes 2024-10-23 21:10:03.726152428 +0200
@@ -1,0 +2,7 @@
+Tue Oct 22 07:50:35 UTC 2024 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.54.1:
+ + prefs: Follow the theme variant setting
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
gnome-terminal-3.54.0.obscpio
New:
----
gnome-terminal-3.54.1.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-terminal.spec ++++++
--- /var/tmp/diff_new_pack.rbnoWH/_old 2024-10-23 21:10:04.518185310 +0200
+++ /var/tmp/diff_new_pack.rbnoWH/_new 2024-10-23 21:10:04.522185476 +0200
@@ -18,7 +18,7 @@
%bcond_without nautilus_extension
Name: gnome-terminal
-Version: 3.54.0
+Version: 3.54.1
Release: 0
Summary: GNOME Terminal
License: GPL-3.0-or-later AND LGPL-2.1-or-later
++++++ _service ++++++
--- /var/tmp/diff_new_pack.rbnoWH/_old 2024-10-23 21:10:04.550186639 +0200
+++ /var/tmp/diff_new_pack.rbnoWH/_new 2024-10-23 21:10:04.554186805 +0200
@@ -5,7 +5,7 @@
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">disable</param>
- <param name="revision">3.54.0</param>
+ <param name="revision">3.54.1</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
++++++ gnome-terminal-3.54.0.obscpio -> gnome-terminal-3.54.1.obscpio ++++++
/work/SRC/openSUSE:Factory/gnome-terminal/gnome-terminal-3.54.0.obscpio /work/SRC/openSUSE:Factory/.gnome-terminal.new.26871/gnome-terminal-3.54.1.obscpio differ: char 48, line 1
++++++ gnome-terminal.obsinfo ++++++
--- /var/tmp/diff_new_pack.rbnoWH/_old 2024-10-23 21:10:04.590188299 +0200
+++ /var/tmp/diff_new_pack.rbnoWH/_new 2024-10-23 21:10:04.594188465 +0200
@@ -1,5 +1,5 @@
name: gnome-terminal
-version: 3.54.0
-mtime: 1726342421
-commit: 965cb9307713c618253918633416fcad86bcc5d2
+version: 3.54.1
+mtime: 1729094525
+commit: bc7a5ad0cae22bc7724254eb5fe2e75698fb90a4
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package qt6-base for openSUSE:Factory checked in at 2024-10-23 21:08:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-base (Old)
and /work/SRC/openSUSE:Factory/.qt6-base.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-base"
Wed Oct 23 21:08:34 2024 rev:63 rq:1216969 version:6.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/qt6-base/qt6-base.changes 2024-10-17 18:37:41.714143035 +0200
+++ /work/SRC/openSUSE:Factory/.qt6-base.new.26871/qt6-base.changes 2024-10-23 21:10:01.758070721 +0200
@@ -1,0 +2,8 @@
+Tue Oct 22 06:59:37 UTC 2024 - Christophe Marin <christophe(a)krop.fr>
+
+- Add patch to fix qxmpp test failures (gh#qxmpp-project/qxmpp#659):
+ * 0001-QUuid-restore-sorting-order-of-Qt-6.8.patch
+- Add patch to fix potential crash with QDirIterator (QTBUG-130142):
+ * 0001-QDirIterator-don-t-crash-with-next-after-hasNext-ret.patch
+
+-------------------------------------------------------------------
New:
----
0001-QDirIterator-don-t-crash-with-next-after-hasNext-ret.patch
0001-QUuid-restore-sorting-order-of-Qt-6.8.patch
BETA DEBUG BEGIN:
New:- Add patch to fix potential crash with QDirIterator (QTBUG-130142):
* 0001-QDirIterator-don-t-crash-with-next-after-hasNext-ret.patch
New:- Add patch to fix qxmpp test failures (gh#qxmpp-project/qxmpp#659):
* 0001-QUuid-restore-sorting-order-of-Qt-6.8.patch
- Add patch to fix potential crash with QDirIterator (QTBUG-130142):
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qt6-base.spec ++++++
--- /var/tmp/diff_new_pack.r4ly0W/_old 2024-10-23 21:10:02.562104101 +0200
+++ /var/tmp/diff_new_pack.r4ly0W/_new 2024-10-23 21:10:02.562104101 +0200
@@ -43,6 +43,8 @@
Source99: qt6-base-rpmlintrc
# Patches 0-100 are upstream patches #
Patch0: 0001-QAbstractItemModelPrivate-add-resetting-member.patch
+Patch1: 0001-QUuid-restore-sorting-order-of-Qt-6.8.patch
+Patch2: 0001-QDirIterator-don-t-crash-with-next-after-hasNext-ret.patch
# Patches 100-200 are openSUSE and/or non-upstream(able) patches #
# No need to pollute the library dir with object files, install them in the qt6 subfolder
Patch100: 0001-CMake-Install-objects-files-into-ARCHDATADIR.patch
++++++ 0001-QDirIterator-don-t-crash-with-next-after-hasNext-ret.patch ++++++
From 55a8050d1e762befeeb5ba557f458b0092cbb44b Mon Sep 17 00:00:00 2001
From: Ahmad Samir <a.samirh78(a)gmail.com>
Date: Wed, 16 Oct 2024 19:26:25 +0300
Subject: [PATCH] QDirIterator: don't crash with next() after hasNext()
returned false
The typical use-case is calling hasNext() first before using next, but
the API docs say that calling next() even when hasNext() is false,
should just return an empty string.
[ChangeLog][QtCore][QDirIterator] Fixed a crash that happened if you
called next() after hasNext() had already returned false. Ideally you
should never call next() without first calling hasNext() as that could
lead to unexpected results (for example, infinite loops).
Fixes: QTBUG-130142
Change-Id: If0a8b1fe7dbd13b45793409a7a241e53c7257f24
Reviewed-by: Thiago Macieira <thiago.macieira(a)intel.com>
(cherry picked from commit c7691842f743f568a073582c8f0cacd6ee188f98)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot(a)qt-project.org>
---
src/corelib/io/qdiriterator.cpp | 5 +++++
.../auto/corelib/io/qdiriterator/tst_qdiriterator.cpp | 11 +++++++++++
2 files changed, 16 insertions(+)
diff --git a/src/corelib/io/qdiriterator.cpp b/src/corelib/io/qdiriterator.cpp
index faea8088cb..7d7fe15684 100644
--- a/src/corelib/io/qdiriterator.cpp
+++ b/src/corelib/io/qdiriterator.cpp
@@ -103,6 +103,11 @@ public:
void advance()
{
+ // Match the behavior of advance() from before porting to QDirListing,
+ // that is, even if hasNext() returns false, calling next() returns an
+ // empty string without crashing. QTBUG-130142
+ if (it == lister.end())
+ return;
currentFileInfo = nextFileInfo;
if (++it != lister.end()) {
nextFileInfo = it->fileInfo();
diff --git a/tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp b/tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp
index a0a8917c27..b739f0eb11 100644
--- a/tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp
+++ b/tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp
@@ -86,6 +86,8 @@ private slots:
void hiddenDirs_hiddenFiles();
#endif
+ void hasNextFalseNoCrash();
+
private:
QSharedPointer<QTemporaryDir> m_dataDir;
};
@@ -642,6 +644,15 @@ void tst_QDirIterator::hiddenDirs_hiddenFiles()
}
#endif // Q_OS_WIN
+void tst_QDirIterator::hasNextFalseNoCrash()
+{
+ QDirIterator iter(u"empty"_s, QDir::NoDotAndDotDot);
+ // QTBUG-130142
+ // No crash if you call next() after hasNext() returned false
+ QVERIFY(!iter.hasNext());
+ QVERIFY(iter.next().isEmpty());
+}
+
QTEST_MAIN(tst_QDirIterator)
#include "tst_qdiriterator.moc"
--
2.47.0
++++++ 0001-QUuid-restore-sorting-order-of-Qt-6.8.patch ++++++
From 3e8037af63821123eb392f42d717d10f741fb384 Mon Sep 17 00:00:00 2001
From: Thiago Macieira <thiago.macieira(a)intel.com>
Date: Sat, 19 Oct 2024 21:28:48 -0700
Subject: [PATCH] QUuid: restore sorting order of Qt < 6.8
This brings back and adapted version of the sorting code that was
removed by commit 15f753ca5a60b5273d243f528978e25c28a9b56d. The issue,
as shown in the test, is that we store data1, data2, and data3 as
native-endian integers, so the bitcasts in the new code cause them to
become mangled in little-endian platforms.
Since this is a weird behavior and we'll be changing the sorting order
in Qt 7 anyway, I've left a warning for us to think about it at the
time.
[ChangeLog][QtCore][QUuid] Fixed a regression that caused QUuid sorting
order to change for some UUIDs, compared to Qt 6.7 and earlier versions.
Fixes: QTBUG-130155
Pick-to: 6.8
Change-Id: I5eeb7b36bfc5ed7218e1fffd6a773c582ad0f6f4
Reviewed-by: Ivan Solovev <ivan.solovev(a)qt.io>
---
src/corelib/plugin/quuid.cpp | 3 +++
src/corelib/plugin/quuid.h | 12 +++++++++---
tests/auto/corelib/plugin/quuid/tst_quuid.cpp | 9 +++++++++
3 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp
index af7c07d..5cbae60 100644
--- a/src/corelib/plugin/quuid.cpp
+++ b/src/corelib/plugin/quuid.cpp
@@ -33,6 +33,9 @@ void _q_toHex(char *&dst, Integral value)
}
}
+#if QT_VERSION_MAJOR == 7
+# warning Consider storing the UUID as simple bytes, not as {uint, ushort, short, array}
+#endif
template <class Integral>
bool _q_fromHex(const char *&src, Integral &value)
{
diff --git a/src/corelib/plugin/quuid.h b/src/corelib/plugin/quuid.h
index 435b7bb..0597445 100644
--- a/src/corelib/plugin/quuid.h
+++ b/src/corelib/plugin/quuid.h
@@ -132,7 +132,14 @@ private:
static constexpr Qt::strong_ordering
compareThreeWay_helper(const QUuid &lhs, const QUuid &rhs) noexcept
{
-#if defined(__cpp_lib_bit_cast) && defined(QT_SUPPORTS_INT128)
+#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0) && !defined(QT_BOOTSTRAPPED)
+ if (const auto c = Qt::compareThreeWay(lhs.data1, rhs.data1); !is_eq(c))
+ return c;
+ if (const auto c = Qt::compareThreeWay(lhs.data2, rhs.data2); !is_eq(c))
+ return c;
+ if (const auto c = Qt::compareThreeWay(lhs.data3, rhs.data3); !is_eq(c))
+ return c;
+#elif defined(__cpp_lib_bit_cast) && defined(QT_SUPPORTS_INT128)
quint128 lu = qFromBigEndian(std::bit_cast<quint128>(lhs));
quint128 ru = qFromBigEndian(std::bit_cast<quint128>(rhs));
return Qt::compareThreeWay(lu, ru);
@@ -144,13 +151,12 @@ private:
};
if (const auto c = Qt::compareThreeWay(make_int(lhs), make_int(rhs)); !is_eq(c))
return c;
-
+#endif
for (unsigned i = 0; i < sizeof(lhs.data4); ++i) {
if (const auto c = Qt::compareThreeWay(lhs.data4[i], rhs.data4[i]); !is_eq(c))
return c;
}
return Qt::strong_ordering::equal;
-#endif
}
friend constexpr Qt::strong_ordering compareThreeWay(const QUuid &lhs, const QUuid &rhs) noexcept
{
diff --git a/tests/auto/corelib/plugin/quuid/tst_quuid.cpp b/tests/auto/corelib/plugin/quuid/tst_quuid.cpp
index 8b75817..f1b96e6 100644
--- a/tests/auto/corelib/plugin/quuid/tst_quuid.cpp
+++ b/tests/auto/corelib/plugin/quuid/tst_quuid.cpp
@@ -465,6 +465,7 @@ void tst_QUuid::ordering_data()
#define AFTER_NCS(x) ROW(minNCS, x, less)
AFTER_NCS(ncs000_0000_0010);
AFTER_NCS(ncs000_0000_0100);
+ ROW(ncs000_0000_0010, ncs000_0000_0100, less);
AFTER_NCS(ncs000_0000_1000);
AFTER_NCS(ncs000_0001_0000);
AFTER_NCS(ncs000_0010_0000);
@@ -492,6 +493,13 @@ void tst_QUuid::ordering_data()
AFTER_R(ones);
#undef AFTER_R
#undef ROW
+
+ // due to the way we store data1,2,3 in memory, the ordering will flip
+ QTest::newRow("qt7-integer-portions")
+ << QUuid{0x01000002, 0x0000, 0x0000, 0, 0, 0, 0, 0, 0, 0, 0}
+ << QUuid{0x02000001, 0x0000, 0x0000, 0, 0, 0, 0, 0, 0, 0, 0}
+ << (QSysInfo::ByteOrder == QSysInfo::BigEndian || QT_VERSION_MAJOR < 7 ?
+ Qt::strong_ordering::less : Qt::strong_ordering::greater);
}
void tst_QUuid::ordering()
@@ -500,6 +508,7 @@ void tst_QUuid::ordering()
QFETCH(const QUuid, rhs);
QFETCH(const Qt::strong_ordering, expected);
+ QCOMPARE(qCompareThreeWay(lhs, rhs), expected);
QT_TEST_ALL_COMPARISON_OPS(lhs, rhs, expected);
}
--
2.47.0
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kernel-source-longterm for openSUSE:Factory checked in at 2024-10-23 21:08:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source-longterm (Old)
and /work/SRC/openSUSE:Factory/.kernel-source-longterm.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source-longterm"
Wed Oct 23 21:08:33 2024 rev:38 rq:1216942 version:6.6.57
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source-longterm/kernel-longterm.changes 2024-10-12 13:24:53.122187349 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source-longterm.new.26871/kernel-longterm.changes 2024-10-23 21:09:57.881909799 +0200
@@ -1,0 +2,358 @@
+Mon Oct 21 14:35:30 CEST 2024 - rfrohl(a)suse.com
+
+- config: CONFIG_HID_MCP2200=m
+- commit a8ceeb3
+
+-------------------------------------------------------------------
+Mon Oct 21 14:08:14 CEST 2024 - rfrohl(a)suse.com
+
+- Linux 6.6.57 (bsc#1218260).
+- unicode: Don't special case ignorable code points (bsc#1218260).
+- net: fec: don't save PTP state if PTP is unsupported
+ (bsc#1218260).
+- Revert "PCI/MSI: Provide stubs for IMS functions" (bsc#1218260).
+- ASoC: cs35l56: Load tunings for the correct speaker models
+ (bsc#1218260).
+- phy: qualcomm: phy-qcom-eusb2-repeater: Add tuning overrides
+ (bsc#1218260).
+- phy: qualcomm: eusb2-repeater: Rework init to drop redundant
+ zero-out loop (bsc#1218260).
+- gfs2: Revert "introduce qd_bh_get_or_undo" (bsc#1218260).
+- gfs2: qd_check_sync cleanups (bsc#1218260).
+- gfs2: Revert "ignore negated quota changes" (bsc#1218260).
+- riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro (bsc#1218260).
+- net: ethernet: cortina: Drop TSO support (bsc#1218260).
+- drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel
+ HFP and HBP (again) (bsc#1218260).
+- tracing: Remove precision vsnprintf() check from print event
+ (bsc#1218260).
+- ALSA: hda/realtek: cs35l41: Fix order and duplicates in quirks
+ table (bsc#1218260).
+- ALSA: hda/realtek: cs35l41: Fix device ID / model name
+ (bsc#1218260).
+- drm/crtc: fix uninitialized variable use even harder
+ (bsc#1218260).
+- bus: mhi: ep: Rename read_from_host() and write_to_host() APIs
+ (bsc#1218260).
+- bus: mhi: ep: Introduce async read/write callbacks
+ (bsc#1218260).
+- bus: mhi: ep: Add support for async DMA write operation
+ (bsc#1218260).
+- bus: mhi: ep: Add support for async DMA read operation
+ (bsc#1218260).
+- bus: mhi: ep: Do not allocate memory for MHI objects from DMA
+ zone (bsc#1218260).
+- Revert "powerpc/ps3_defconfig: Disable
+ PPC64_BIG_ENDIAN_ELF_ABI_V2" (bsc#1218260).
+- pds_core: no health-thread in VF path (bsc#1218260).
+- libceph: init the cursor when preparing sparse read in msgr2
+ (bsc#1218260).
+- tracing: Have saved_cmdlines arrays all in one allocation
+ (bsc#1218260).
+- riscv: cpufeature: Fix thead vector hwcap removal (bsc#1218260).
+- spi: spi-fsl-lpspi: remove redundant spi_controller_put call
+ (bsc#1218260).
+- ata: ahci: Add mask_port_map module parameter (bsc#1218260).
+- ASoC: tas2781: mark dvc_tlv with __maybe_unused (bsc#1218260).
+- scsi: Remove scsi device no_start_on_resume flag (bsc#1218260).
+- scsi: sd: Do not repeat the starting disk message (bsc#1218260).
+- e1000e: move force SMBUS near the end of enable_ulp function
+ (bsc#1218260).
+- bootconfig: Fix the kerneldoc of _xbc_exit() (bsc#1218260).
+- perf sched: Move start_work_mutex and work_done_wait_mutex
+ initialization to perf_sched__replay() (bsc#1218260).
+- perf sched: Fix memory leak in perf_sched__map() (bsc#1218260).
+- perf sched: Move curr_thread initialization to perf_sched__map()
+ (bsc#1218260).
+- perf sched: Move curr_pid and cpu_last_switched initialization
+ to perf_sched__{lat|map|replay}() (bsc#1218260).
+- libsubcmd: Don't free the usage string (bsc#1218260).
+- selftests: net: Remove executable bits from library scripts
+ (bsc#1218260).
+- selftests: Introduce Makefile variable to list shared bash
+ scripts (bsc#1218260).
+- jbd2: fix kernel-doc for j_transaction_overhead_buffers
+ (bsc#1218260).
+- drm/amd/display: Remove a redundant check in authenticated_dp
+ (bsc#1218260).
+- drm/amd/display: Revert "Check HDCP returned status"
+ (bsc#1218260).
+- fs/ntfs3: Do not call file_modified if collapse range failed
+ (bsc#1218260).
+- fs/ntfs3: Fix sparse warning in ni_fiemap (bsc#1218260).
+- fs/ntfs3: Refactor enum_rstbl to suppress static checker
+ (bsc#1218260).
+- virtio_console: fix misc probe bugs (bsc#1218260).
+- ntfs3: Change to non-blocking allocation in ntfs_d_hash
+ (bsc#1218260).
+- zram: free secondary algorithms names (bsc#1218260).
+- zram: don't free statically defined names (bsc#1218260).
+- Input: synaptics-rmi4 - fix UAF of IRQ domain on driver removal
+ (bsc#1218260).
+- selftests/bpf: Fix ARG_PTR_TO_LONG {half-,}uninitialized test
+ (bsc#1218260).
+- bpf: Check percpu map value size first (bsc#1218260).
+- s390/facility: Disable compile time optimization for
+ decompressor code (bsc#1218260).
+- s390/mm: Add cond_resched() to cmm_alloc/free_pages()
+ (bsc#1218260).
+- bpf, x64: Fix a jit convergence issue (bsc#1218260).
+- ext4: don't set SB_RDONLY after filesystem errors (bsc#1218260).
+- ext4: nested locking for xattr inode (bsc#1218260).
+- s390/cpum_sf: Remove WARN_ON_ONCE statements (bsc#1218260).
+- bpf: Prevent tail call between progs attached to different hooks
+ (bsc#1218260).
+- ktest.pl: Avoid false positives with grub2 skip regex
+ (bsc#1218260).
+- RDMA/mad: Improve handling of timed out WRs of mad agent
+ (bsc#1218260).
+- soundwire: intel_bus_common: enable interrupts before exiting
+ reset (bsc#1218260).
+- PCI: Add function 0 DMA alias quirk for Glenfly Arise chip
+ (bsc#1218260).
+- RDMA/rtrs-srv: Avoid null pointer deref during path
+ establishment (bsc#1218260).
+- clk: bcm: bcm53573: fix OF node leak in init (bsc#1218260).
+- PCI: Add ACS quirk for Qualcomm SA8775P (bsc#1218260).
+- i2c: i801: Use a different adapter-name for IDF adapters
+ (bsc#1218260).
+- PCI: Mark Creative Labs EMU20k2 INTx masking as broken
+ (bsc#1218260).
+- i3c: master: cdns: Fix use after free vulnerability in
+ cdns_i3c_master Driver Due to Race Condition (bsc#1218260).
+- RISC-V: Don't have MAX_PHYSMEM_BITS exceed phys_addr_t
+ (bsc#1218260).
+- io_uring: check if we need to reschedule during overflow flush
+ (bsc#1218260).
+- ntb: ntb_hw_switchtec: Fix use after free vulnerability in
+ switchtec_ntb_remove due to race condition (bsc#1218260).
+- mfd: intel_soc_pmic_chtwc: Make Lenovo Yoga Tab 3 X90F DMI
+ match less strict (bsc#1218260).
+- riscv: avoid Imbalance in RAS (bsc#1218260).
+- RDMA/mlx5: Enforce umem boundaries for explicit ODP page faults
+ (bsc#1218260).
+- soundwire: cadence: re-check Peripheral status with delayed_work
+ (bsc#1218260).
+- riscv/kexec_file: Fix relocation type R_RISCV_ADD16 and
+ R_RISCV_SUB16 unknown (bsc#1218260).
+- media: videobuf2-core: clear memory related fields in
+ __vb2_plane_dmabuf_put() (bsc#1218260).
+- remoteproc: imx_rproc: Use imx specific hook for
+ find_loaded_rsc_table (bsc#1218260).
+- clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7D
+ (bsc#1218260).
+- serial: protect uart_port_dtr_rts() in uart_shutdown() too
+ (bsc#1218260).
+- usb: typec: tipd: Free IRQ only if it was requested before
+ (bsc#1218260).
+- usb: chipidea: udc: enable suspend interrupt after usb reset
+ (bsc#1218260).
+- usb: dwc2: Adjust the timing of USB Driver Interrupt
+ Registration in the Crashkernel Scenario (bsc#1218260).
+- comedi: ni_routing: tools: Check when the file could not be
+ opened (bsc#1218260).
+- LoongArch: Fix memleak in pci_acpi_scan_root() (bsc#1218260).
+- netfilter: nf_nat: don't try nat source port reallocation for
+ reverse dir clash (bsc#1218260).
+- netfilter: nf_reject: Fix build warning when
+ CONFIG_BRIDGE_NETFILTER=n (bsc#1218260).
+- virtio_pmem: Check device status before requesting flush
+ (bsc#1218260).
+- tools/iio: Add memory allocation failure check for trigger_name
+ (bsc#1218260).
+- staging: vme_user: added bound check to geoid (bsc#1218260).
+- driver core: bus: Fix double free in driver API bus_register()
+ (bsc#1218260).
+- driver core: bus: Return -EIO instead of 0 when show/store
+ invalid bus attribute (bsc#1218260).
+- scsi: lpfc: Add ELS_RSP cmd to the list of WQEs to flush in
+ lpfc_els_flush_cmd() (bsc#1218260).
+- scsi: lpfc: Ensure DA_ID handling completion before deleting
+ an NPIV instance (bsc#1218260).
+- drm/amd/display: Check null pointer before dereferencing se
+ (bsc#1218260).
+- fbcon: Fix a NULL pointer dereference issue in fbcon_putcs
+ (bsc#1218260).
+- smb: client: fix UAF in async decryption (bsc#1218260).
+- fbdev: sisfb: Fix strbuf array overflow (bsc#1218260).
+- x86/amd_nb: Add new PCI IDs for AMD family 0x1a (bsc#1218260).
+- x86/amd_nb: Add new PCI IDs for AMD family 1Ah model 60h
+ (bsc#1218260).
+- NFSD: Mark filecache "down" if init fails (bsc#1218260).
+- ice: set correct dst VSI in only LAN filters (bsc#1218260).
+- ice: fix VLAN replay after reset (bsc#1218260).
+- SUNRPC: Fix integer overflow in decode_rc_list() (bsc#1218260).
+- NFSv4: Prevent NULL-pointer dereference in
+ nfs42_complete_copies() (bsc#1218260).
+- net: phy: dp83869: fix memory corruption when enabling fiber
+ (bsc#1218260).
+- tcp: fix to allow timestamp undo if no retransmits were sent
+ (bsc#1218260).
+- tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's
+ safe (bsc#1218260).
+- tcp: new TCP_INFO stats for RTO events (bsc#1218260).
+- tcp: fix TFO SYN_RECV to not zero retrans_stamp with retransmits
+ out (bsc#1218260).
+- rxrpc: Fix uninitialised variable in rxrpc_send_data()
+ (bsc#1218260).
+- netfilter: br_netfilter: fix panic with metadata_dst skb
+ (bsc#1218260).
+- selftests: net: no_forwarding: fix VID for $swp2 in
+ one_bridge_two_pvids() test (bsc#1218260).
+- Bluetooth: RFCOMM: FIX possible deadlock in
+ rfcomm_sk_state_change (bsc#1218260).
+- net: phy: bcm84881: Fix some error handling paths (bsc#1218260).
+- thermal: int340x: processor_thermal: Set feature mask before
+ proc_thermal_add (bsc#1218260).
+- thermal: intel: int340x: processor: Fix warning during module
+ unload (bsc#1218260).
+- Revert "net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is
+ enabled" (bsc#1218260).
+- net: ethernet: adi: adin1110: Fix some error handling path in
+ adin1110_read_fifo() (bsc#1218260).
+- net: dsa: b53: fix jumbo frame mtu check (bsc#1218260).
+- net: dsa: b53: fix max MTU for 1g switches (bsc#1218260).
+- net: dsa: b53: fix max MTU for BCM5325/BCM5365 (bsc#1218260).
+- net: dsa: b53: allow lower MTUs on BCM5325/5365 (bsc#1218260).
+- net: dsa: b53: fix jumbo frames on 10/100 ports (bsc#1218260).
+- drm/nouveau: pass cli to nouveau_channel_new() instead of
+ drm+device (bsc#1218260).
+- nouveau/dmem: Fix privileged error in copy engine channel
+ (bsc#1218260).
+- gpio: aspeed: Add the flush write to ensure the write complete
+ (bsc#1218260).
+- gpio: aspeed: Use devm_clk api to manage clock source
+ (bsc#1218260).
+- platform/x86/intel/tpmi: Add defines to get version information
+ (bsc#1218260).
+- powercap: intel_rapl_tpmi: Ignore minor version change
+ (bsc#1218260).
+- ice: Fix netif_is_ice() in Safe Mode (bsc#1218260).
+- ice: rename switchdev to eswitch (bsc#1218260).
+- ice: Flush FDB entries before reset (bsc#1218260).
+- i40e: Fix macvlan leak by synchronizing access to
+ mac_filter_hash (bsc#1218260).
+- igb: Do not bring the device up after non-fatal error
+ (bsc#1218260).
+- e1000e: change I219 (19) devices to ADP (bsc#1218260).
+- net/sched: accept TCA_STAB only for root qdisc (bsc#1218260).
+- net: ibm: emac: mal: fix wrong goto (bsc#1218260).
+- btrfs: zoned: fix missing RCU locking in error message when
+ loading zone info (bsc#1218260).
+- sctp: ensure sk_state is set to CLOSED if hashing fails in
+ sctp_listen_start (bsc#1218260).
+- netfilter: xtables: avoid NFPROTO_UNSPEC where needed
+ (bsc#1218260).
+- netfilter: fib: check correct rtable in vrf setups
+ (bsc#1218260).
+- net: do not delay dst_entries_add() in dst_release()
+ (bsc#1218260).
+- rtnetlink: Add bulk registration helpers for rtnetlink message
+ handlers (bsc#1218260).
+- vxlan: Handle error of rtnl_register_module() (bsc#1218260).
+- bridge: Handle error of rtnl_register_module() (bsc#1218260).
+- mctp: Handle error of rtnl_register_module() (bsc#1218260).
+- rtnetlink: change nlk->cb_mutex role (bsc#1218260).
+- rtnetlink: add RTNL_FLAG_DUMP_UNLOCKED flag (bsc#1218260).
+- mpls: no longer hold RTNL in mpls_netconf_dump_devconf()
+ (bsc#1218260).
+- mpls: Handle error of rtnl_register_module() (bsc#1218260).
+- phonet: no longer hold RTNL in route_dumpit() (bsc#1218260).
+- phonet: Handle error of rtnl_register_module() (bsc#1218260).
+- ppp: fix ppp_async_encode() illegal access (bsc#1218260).
+- slip: make slhc_remember() more robust against malicious packets
+ (bsc#1218260).
+- rcu/nocb: Make IRQs disablement symmetric (bsc#1218260).
+- rcu/nocb: Fix rcuog wake-up from offline softirq (bsc#1218260).
+- HID: mcp2200: added driver for GPIOs of MCP2200 (bsc#1218260).
+- HID: i2c-hid: Remove I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV quirk
+ (bsc#1218260).
+- HID: i2c-hid: Renumber I2C_HID_QUIRK_ defines (bsc#1218260).
+- HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on
+ system suspend (bsc#1218260).
+- HID: asus: add ROG Ally N-Key ID and keycodes (bsc#1218260).
+- HID: asus: add ROG Z13 lightbar (bsc#1218260).
+- hid-asus: add ROG Ally X prod ID to quirk list (bsc#1218260).
+- wifi: mac80211: Avoid address calculations via out of bounds
+ array indexing (bsc#1218260).
+- hwmon: intel-m10-bmc-hwmon: relabel Columbiaville to CVL Die
+ Temperature (bsc#1218260).
+- hwmon: (tmp513) Add missing dependency on REGMAP_I2C
+ (bsc#1218260).
+- hwmon: (mc34vr500) Add missing dependency on REGMAP_I2C
+ (bsc#1218260).
+- hwmon: (adm9240) Add missing dependency on REGMAP_I2C
+ (bsc#1218260).
+- hwmon: (adt7470) Add missing dependency on REGMAP_I2C
+ (bsc#1218260).
+- HID: amd_sfh: Switch to device-managed dmam_alloc_coherent()
+ (bsc#1218260).
+- HID: multitouch: Add support for lenovo Y9000P Touchpad
+ (bsc#1218260).
+- HID: plantronics: Workaround for an unexcepted opposite volume
+ key (bsc#1218260).
+- Revert "usb: yurex: Replace snprintf() with the safer
+ scnprintf() variant" (bsc#1218260).
+- usb: dwc3: core: Stop processing of pending events if controller
+ is halted (bsc#1218260).
++++ 61 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source-longterm/kernel-longterm.changes
++++ and /work/SRC/openSUSE:Factory/.kernel-source-longterm.new.26871/kernel-longterm.changes
kernel-source-longterm.changes: same change
kernel-syms-longterm.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-longterm.spec ++++++
--- /var/tmp/diff_new_pack.IULegt/_old 2024-10-23 21:10:00.234007449 +0200
+++ /var/tmp/diff_new_pack.IULegt/_new 2024-10-23 21:10:00.234007449 +0200
@@ -18,8 +18,8 @@
%define srcversion 6.6
-%define patchversion 6.6.56
-%define git_commit 67435e5eed34256afc005faf5dc2d64a26e20839
+%define patchversion 6.6.57
+%define git_commit a8ceeb3b3d936f6df83efc36ab1d2297436e5899
%define variant -longterm%{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@@ -113,9 +113,9 @@
Summary: The Linux Kernel
License: GPL-2.0-only
Group: System/Kernel
-Version: 6.6.56
+Version: 6.6.57
%if 0%{?is_kotd}
-Release: <RELEASE>.g67435e5
+Release: <RELEASE>.ga8ceeb3
%else
Release: 0
%endif
++++++ kernel-source-longterm.spec ++++++
--- /var/tmp/diff_new_pack.IULegt/_old 2024-10-23 21:10:00.270008943 +0200
+++ /var/tmp/diff_new_pack.IULegt/_new 2024-10-23 21:10:00.274009109 +0200
@@ -17,8 +17,8 @@
%define srcversion 6.6
-%define patchversion 6.6.56
-%define git_commit 67435e5eed34256afc005faf5dc2d64a26e20839
+%define patchversion 6.6.57
+%define git_commit a8ceeb3b3d936f6df83efc36ab1d2297436e5899
%define variant -longterm%{nil}
%include %_sourcedir/kernel-spec-macros
@@ -31,9 +31,9 @@
%endif
Name: kernel-source-longterm
-Version: 6.6.56
+Version: 6.6.57
%if 0%{?is_kotd}
-Release: <RELEASE>.g67435e5
+Release: <RELEASE>.ga8ceeb3
%else
Release: 0
%endif
++++++ kernel-syms-longterm.spec ++++++
--- /var/tmp/diff_new_pack.IULegt/_old 2024-10-23 21:10:00.306010438 +0200
+++ /var/tmp/diff_new_pack.IULegt/_new 2024-10-23 21:10:00.306010438 +0200
@@ -16,7 +16,7 @@
#
-%define git_commit 67435e5eed34256afc005faf5dc2d64a26e20839
+%define git_commit a8ceeb3b3d936f6df83efc36ab1d2297436e5899
%define variant -longterm%{nil}
%include %_sourcedir/kernel-spec-macros
@@ -25,10 +25,10 @@
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0-only
Group: Development/Sources
-Version: 6.6.56
+Version: 6.6.57
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.g67435e5
+Release: <RELEASE>.ga8ceeb3
%else
Release: 0
%endif
++++++ 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 2024-10-10 17:20:52.000000000 +0200
+++ new/config/arm64/default 2024-10-21 14:35:30.000000000 +0200
@@ -8880,6 +8880,7 @@
CONFIG_HID_SENSOR_HUB=m
CONFIG_HID_SENSOR_CUSTOM_SENSOR=m
CONFIG_HID_ALPS=m
+CONFIG_HID_MCP2200=m
CONFIG_HID_MCP2221=m
# end of Special HID drivers
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 2024-10-10 17:20:52.000000000 +0200
+++ new/config/x86_64/default 2024-10-21 14:35:30.000000000 +0200
@@ -7789,6 +7789,7 @@
CONFIG_HID_SENSOR_HUB=m
CONFIG_HID_SENSOR_CUSTOM_SENSOR=m
CONFIG_HID_ALPS=m
+CONFIG_HID_MCP2200=m
CONFIG_HID_MCP2221=m
# end of Special HID drivers
++++++ patches.kernel.org.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/kernel-source-longterm/patches.kernel.org.tar.bz2 /work/SRC/openSUSE:Factory/.kernel-source-longterm.new.26871/patches.kernel.org.tar.bz2 differ: char 11, line 1
++++++ series.conf ++++++
--- /var/tmp/diff_new_pack.IULegt/_old 2024-10-23 21:10:01.218048302 +0200
+++ /var/tmp/diff_new_pack.IULegt/_new 2024-10-23 21:10:01.230048800 +0200
@@ -5831,8 +5831,6 @@
patches.kernel.org/6.6.26-254-KVM-x86-Add-BHI_NO.patch
patches.kernel.org/6.6.26-255-x86-set-SPECTRE_BHI_ON-as-default.patch
patches.kernel.org/6.6.26-256-Linux-6.6.26.patch
- patches.kernel.org/i40e-Fix-ST-code-value-for-Clause-45.patch
- patches.kernel.org/i40e-Include-types_h-to-some-headers.patch
patches.kernel.org/drm-amd-Stop-evicting-resources-on-APUs-in-suspend.patch
patches.kernel.org/6.6.27-001-amdkfd-use-calloc-instead-of-kzalloc-to-avoid…
patches.kernel.org/6.6.27-002-wifi-ath9k-fix-LNA-selection-in-ath_ant_try_s…
@@ -8725,7 +8723,6 @@
patches.kernel.org/6.6.42-128-cachefiles-fix-slab-use-after-free-in-fscache…
patches.kernel.org/6.6.42-129-cachefiles-fix-slab-use-after-free-in-cachefi…
patches.kernel.org/6.6.42-130-Linux-6.6.42.patch
- patches.kernel.org/Bluetooth-Fix-usage-of-__hci_cmd_sync_status.patch
patches.kernel.org/6.6.43-001-drm-amdgpu-Fix-signedness-bug-in-sdma_v4_0_pr…
patches.kernel.org/6.6.43-002-ocfs2-add-bounds-checking-to-ocfs2_check_dir_…
patches.kernel.org/6.6.43-003-jfs-don-t-walk-off-the-end-of-ealist.patch
@@ -9315,7 +9312,6 @@
patches.kernel.org/6.6.44-568-nvme-pci-add-missing-condition-check-for-exis…
patches.kernel.org/6.6.44-569-fs-don-t-allow-non-init-s_user_ns-for-filesys…
patches.kernel.org/6.6.44-570-Linux-6.6.44.patch
- patches.kernel.org/build_OID_registry-avoid-non-destructive-substitution-fo…
patches.kernel.org/6.6.45-001-arm64-dts-qcom-sc7180-switch-USB-DP-QMP-PHY-t…
patches.kernel.org/6.6.45-002-arm64-dts-qcom-sc7180-Disable-SuperSpeed-inst…
patches.kernel.org/6.6.45-003-arm64-dts-qcom-sc7280-switch-USB-DP-QMP-PHY-t…
@@ -11601,6 +11597,218 @@
patches.kernel.org/6.6.55-385-Linux-6.6.55.patch
patches.kernel.org/6.6.56-001-Revert-perf-callchain-Fix-stitch-LBR-memory-l…
patches.kernel.org/6.6.56-002-Linux-6.6.56.patch
+ patches.kernel.org/6.6.57-001-unicode-Don-t-special-case-ignorable-code-poi…
+ patches.kernel.org/6.6.57-002-net-fec-don-t-save-PTP-state-if-PTP-is-unsupp…
+ patches.kernel.org/6.6.57-003-Revert-PCI-MSI-Provide-stubs-for-IMS-function…
+ patches.kernel.org/6.6.57-004-ASoC-cs35l56-Load-tunings-for-the-correct-spe…
+ patches.kernel.org/6.6.57-005-phy-qualcomm-phy-qcom-eusb2-repeater-Add-tuni…
+ patches.kernel.org/6.6.57-006-phy-qualcomm-eusb2-repeater-Rework-init-to-dr…
+ patches.kernel.org/6.6.57-007-gfs2-Revert-introduce-qd_bh_get_or_undo.patch
+ patches.kernel.org/6.6.57-008-gfs2-qd_check_sync-cleanups.patch
+ patches.kernel.org/6.6.57-009-gfs2-Revert-ignore-negated-quota-changes.patch
+ patches.kernel.org/6.6.57-010-riscv-Remove-SHADOW_OVERFLOW_STACK_SIZE-macro…
+ patches.kernel.org/6.6.57-011-net-ethernet-cortina-Drop-TSO-support.patch
+ patches.kernel.org/6.6.57-012-drm-panel-boe-tv101wum-nl6-Fine-tune-Himax831…
+ patches.kernel.org/6.6.57-013-tracing-Remove-precision-vsnprintf-check-from…
+ patches.kernel.org/6.6.57-014-ALSA-hda-realtek-cs35l41-Fix-order-and-duplic…
+ patches.kernel.org/6.6.57-015-ALSA-hda-realtek-cs35l41-Fix-device-ID-model-…
+ patches.kernel.org/6.6.57-016-drm-crtc-fix-uninitialized-variable-use-even-…
+ patches.kernel.org/6.6.57-017-bus-mhi-ep-Rename-read_from_host-and-write_to…
+ patches.kernel.org/6.6.57-018-bus-mhi-ep-Introduce-async-read-write-callbac…
+ patches.kernel.org/6.6.57-019-bus-mhi-ep-Add-support-for-async-DMA-write-op…
+ patches.kernel.org/6.6.57-020-bus-mhi-ep-Add-support-for-async-DMA-read-ope…
+ patches.kernel.org/6.6.57-021-bus-mhi-ep-Do-not-allocate-memory-for-MHI-obj…
+ patches.kernel.org/6.6.57-022-Revert-powerpc-ps3_defconfig-Disable-PPC64_BI…
+ patches.kernel.org/6.6.57-023-pds_core-no-health-thread-in-VF-path.patch
+ patches.kernel.org/6.6.57-024-libceph-init-the-cursor-when-preparing-sparse…
+ patches.kernel.org/6.6.57-025-tracing-Have-saved_cmdlines-arrays-all-in-one…
+ patches.kernel.org/6.6.57-026-riscv-cpufeature-Fix-thead-vector-hwcap-remov…
+ patches.kernel.org/6.6.57-027-spi-spi-fsl-lpspi-remove-redundant-spi_contro…
+ patches.kernel.org/6.6.57-028-ata-ahci-Add-mask_port_map-module-parameter.p…
+ patches.kernel.org/6.6.57-029-ASoC-tas2781-mark-dvc_tlv-with-__maybe_unused…
+ patches.kernel.org/6.6.57-030-scsi-Remove-scsi-device-no_start_on_resume-fl…
+ patches.kernel.org/6.6.57-031-scsi-sd-Do-not-repeat-the-starting-disk-messa…
+ patches.kernel.org/6.6.57-032-i40e-Fix-ST-code-value-for-Clause-45.patch
+ patches.kernel.org/6.6.57-033-i40e-Include-types.h-to-some-headers.patch
+ patches.kernel.org/6.6.57-034-e1000e-move-force-SMBUS-near-the-end-of-enabl…
+ patches.kernel.org/6.6.57-035-bootconfig-Fix-the-kerneldoc-of-_xbc_exit.pat…
+ patches.kernel.org/6.6.57-036-perf-sched-Move-start_work_mutex-and-work_don…
+ patches.kernel.org/6.6.57-037-perf-sched-Fix-memory-leak-in-perf_sched__map…
+ patches.kernel.org/6.6.57-038-perf-sched-Move-curr_thread-initialization-to…
+ patches.kernel.org/6.6.57-039-perf-sched-Move-curr_pid-and-cpu_last_switche…
+ patches.kernel.org/6.6.57-040-libsubcmd-Don-t-free-the-usage-string.patch
+ patches.kernel.org/6.6.57-041-selftests-net-Remove-executable-bits-from-lib…
+ patches.kernel.org/6.6.57-042-selftests-Introduce-Makefile-variable-to-list…
+ patches.kernel.org/6.6.57-043-Bluetooth-Fix-usage-of-__hci_cmd_sync_status.…
+ patches.kernel.org/6.6.57-044-jbd2-fix-kernel-doc-for-j_transaction_overhea…
+ patches.kernel.org/6.6.57-045-lib-build_OID_registry-avoid-non-destructive-…
+ patches.kernel.org/6.6.57-046-drm-amd-display-Remove-a-redundant-check-in-a…
+ patches.kernel.org/6.6.57-047-drm-amd-display-Revert-Check-HDCP-returned-st…
+ patches.kernel.org/6.6.57-048-fs-ntfs3-Do-not-call-file_modified-if-collaps…
+ patches.kernel.org/6.6.57-049-fs-ntfs3-Fix-sparse-warning-in-ni_fiemap.patch
+ patches.kernel.org/6.6.57-050-fs-ntfs3-Refactor-enum_rstbl-to-suppress-stat…
+ patches.kernel.org/6.6.57-051-virtio_console-fix-misc-probe-bugs.patch
+ patches.kernel.org/6.6.57-052-ntfs3-Change-to-non-blocking-allocation-in-nt…
+ patches.kernel.org/6.6.57-053-zram-free-secondary-algorithms-names.patch
+ patches.kernel.org/6.6.57-054-zram-don-t-free-statically-defined-names.patch
+ patches.kernel.org/6.6.57-055-Input-synaptics-rmi4-fix-UAF-of-IRQ-domain-on…
+ patches.kernel.org/6.6.57-056-selftests-bpf-Fix-ARG_PTR_TO_LONG-half-uninit…
+ patches.kernel.org/6.6.57-057-bpf-Check-percpu-map-value-size-first.patch
+ patches.kernel.org/6.6.57-058-s390-facility-Disable-compile-time-optimizati…
+ patches.kernel.org/6.6.57-059-s390-mm-Add-cond_resched-to-cmm_alloc-free_pa…
+ patches.kernel.org/6.6.57-060-bpf-x64-Fix-a-jit-convergence-issue.patch
+ patches.kernel.org/6.6.57-061-ext4-don-t-set-SB_RDONLY-after-filesystem-err…
+ patches.kernel.org/6.6.57-062-ext4-nested-locking-for-xattr-inode.patch
+ patches.kernel.org/6.6.57-063-s390-cpum_sf-Remove-WARN_ON_ONCE-statements.p…
+ patches.kernel.org/6.6.57-064-bpf-Prevent-tail-call-between-progs-attached-…
+ patches.kernel.org/6.6.57-065-ktest.pl-Avoid-false-positives-with-grub2-ski…
+ patches.kernel.org/6.6.57-066-RDMA-mad-Improve-handling-of-timed-out-WRs-of…
+ patches.kernel.org/6.6.57-067-soundwire-intel_bus_common-enable-interrupts-…
+ patches.kernel.org/6.6.57-068-PCI-Add-function-0-DMA-alias-quirk-for-Glenfl…
+ patches.kernel.org/6.6.57-069-RDMA-rtrs-srv-Avoid-null-pointer-deref-during…
+ patches.kernel.org/6.6.57-070-clk-bcm-bcm53573-fix-OF-node-leak-in-init.pat…
+ patches.kernel.org/6.6.57-071-PCI-Add-ACS-quirk-for-Qualcomm-SA8775P.patch
+ patches.kernel.org/6.6.57-072-i2c-i801-Use-a-different-adapter-name-for-IDF…
+ patches.kernel.org/6.6.57-073-PCI-Mark-Creative-Labs-EMU20k2-INTx-masking-a…
+ patches.kernel.org/6.6.57-074-i3c-master-cdns-Fix-use-after-free-vulnerabil…
+ patches.kernel.org/6.6.57-075-RISC-V-Don-t-have-MAX_PHYSMEM_BITS-exceed-phy…
+ patches.kernel.org/6.6.57-076-io_uring-check-if-we-need-to-reschedule-durin…
+ patches.kernel.org/6.6.57-077-ntb-ntb_hw_switchtec-Fix-use-after-free-vulne…
+ patches.kernel.org/6.6.57-078-mfd-intel_soc_pmic_chtwc-Make-Lenovo-Yoga-Tab…
+ patches.kernel.org/6.6.57-079-riscv-avoid-Imbalance-in-RAS.patch
+ patches.kernel.org/6.6.57-080-RDMA-mlx5-Enforce-umem-boundaries-for-explici…
+ patches.kernel.org/6.6.57-081-soundwire-cadence-re-check-Peripheral-status-…
+ patches.kernel.org/6.6.57-082-riscv-kexec_file-Fix-relocation-type-R_RISCV_…
+ patches.kernel.org/6.6.57-083-media-videobuf2-core-clear-memory-related-fie…
+ patches.kernel.org/6.6.57-084-remoteproc-imx_rproc-Use-imx-specific-hook-fo…
+ patches.kernel.org/6.6.57-085-clk-imx-Remove-CLK_SET_PARENT_GATE-for-DRAM-m…
+ patches.kernel.org/6.6.57-086-serial-protect-uart_port_dtr_rts-in-uart_shut…
+ patches.kernel.org/6.6.57-087-usb-typec-tipd-Free-IRQ-only-if-it-was-reques…
+ patches.kernel.org/6.6.57-088-usb-chipidea-udc-enable-suspend-interrupt-aft…
+ patches.kernel.org/6.6.57-089-usb-dwc2-Adjust-the-timing-of-USB-Driver-Inte…
+ patches.kernel.org/6.6.57-090-comedi-ni_routing-tools-Check-when-the-file-c…
+ patches.kernel.org/6.6.57-091-LoongArch-Fix-memleak-in-pci_acpi_scan_root.p…
+ patches.kernel.org/6.6.57-092-netfilter-nf_nat-don-t-try-nat-source-port-re…
+ patches.kernel.org/6.6.57-093-netfilter-nf_reject-Fix-build-warning-when-CO…
+ patches.kernel.org/6.6.57-094-virtio_pmem-Check-device-status-before-reques…
+ patches.kernel.org/6.6.57-095-tools-iio-Add-memory-allocation-failure-check…
+ patches.kernel.org/6.6.57-096-staging-vme_user-added-bound-check-to-geoid.p…
+ patches.kernel.org/6.6.57-097-driver-core-bus-Fix-double-free-in-driver-API…
+ patches.kernel.org/6.6.57-098-driver-core-bus-Return-EIO-instead-of-0-when-…
+ patches.kernel.org/6.6.57-099-scsi-lpfc-Add-ELS_RSP-cmd-to-the-list-of-WQEs…
+ patches.kernel.org/6.6.57-100-scsi-lpfc-Ensure-DA_ID-handling-completion-be…
+ patches.kernel.org/6.6.57-101-drm-amd-display-Check-null-pointer-before-der…
+ patches.kernel.org/6.6.57-102-fbcon-Fix-a-NULL-pointer-dereference-issue-in…
+ patches.kernel.org/6.6.57-103-smb-client-fix-UAF-in-async-decryption.patch
+ patches.kernel.org/6.6.57-104-fbdev-sisfb-Fix-strbuf-array-overflow.patch
+ patches.kernel.org/6.6.57-105-x86-amd_nb-Add-new-PCI-IDs-for-AMD-family-0x1…
+ patches.kernel.org/6.6.57-106-x86-amd_nb-Add-new-PCI-IDs-for-AMD-family-1Ah…
+ patches.kernel.org/6.6.57-107-NFSD-Mark-filecache-down-if-init-fails.patch
+ patches.kernel.org/6.6.57-108-ice-set-correct-dst-VSI-in-only-LAN-filters.p…
+ patches.kernel.org/6.6.57-109-ice-fix-VLAN-replay-after-reset.patch
+ patches.kernel.org/6.6.57-110-SUNRPC-Fix-integer-overflow-in-decode_rc_list…
+ patches.kernel.org/6.6.57-111-NFSv4-Prevent-NULL-pointer-dereference-in-nfs…
+ patches.kernel.org/6.6.57-112-net-phy-dp83869-fix-memory-corruption-when-en…
+ patches.kernel.org/6.6.57-113-tcp-fix-to-allow-timestamp-undo-if-no-retrans…
+ patches.kernel.org/6.6.57-114-tcp-fix-tcp_enter_recovery-to-zero-retrans_st…
+ patches.kernel.org/6.6.57-115-tcp-new-TCP_INFO-stats-for-RTO-events.patch
+ patches.kernel.org/6.6.57-116-tcp-fix-TFO-SYN_RECV-to-not-zero-retrans_stam…
+ patches.kernel.org/6.6.57-117-rxrpc-Fix-uninitialised-variable-in-rxrpc_sen…
+ patches.kernel.org/6.6.57-118-netfilter-br_netfilter-fix-panic-with-metadat…
+ patches.kernel.org/6.6.57-119-selftests-net-no_forwarding-fix-VID-for-swp2-…
+ patches.kernel.org/6.6.57-120-Bluetooth-RFCOMM-FIX-possible-deadlock-in-rfc…
+ patches.kernel.org/6.6.57-121-net-phy-bcm84881-Fix-some-error-handling-path…
+ patches.kernel.org/6.6.57-122-thermal-int340x-processor_thermal-Set-feature…
+ patches.kernel.org/6.6.57-123-thermal-intel-int340x-processor-Fix-warning-d…
+ patches.kernel.org/6.6.57-124-Revert-net-stmmac-set-PP_FLAG_DMA_SYNC_DEV-on…
+ patches.kernel.org/6.6.57-125-net-ethernet-adi-adin1110-Fix-some-error-hand…
+ patches.kernel.org/6.6.57-126-net-dsa-b53-fix-jumbo-frame-mtu-check.patch
+ patches.kernel.org/6.6.57-127-net-dsa-b53-fix-max-MTU-for-1g-switches.patch
+ patches.kernel.org/6.6.57-128-net-dsa-b53-fix-max-MTU-for-BCM5325-BCM5365.p…
+ patches.kernel.org/6.6.57-129-net-dsa-b53-allow-lower-MTUs-on-BCM5325-5365.…
+ patches.kernel.org/6.6.57-130-net-dsa-b53-fix-jumbo-frames-on-10-100-ports.…
+ patches.kernel.org/6.6.57-131-drm-nouveau-pass-cli-to-nouveau_channel_new-i…
+ patches.kernel.org/6.6.57-132-nouveau-dmem-Fix-privileged-error-in-copy-eng…
+ patches.kernel.org/6.6.57-133-gpio-aspeed-Add-the-flush-write-to-ensure-the…
+ patches.kernel.org/6.6.57-134-gpio-aspeed-Use-devm_clk-api-to-manage-clock-…
+ patches.kernel.org/6.6.57-135-platform-x86-intel-tpmi-Add-defines-to-get-ve…
+ patches.kernel.org/6.6.57-136-powercap-intel_rapl_tpmi-Ignore-minor-version…
+ patches.kernel.org/6.6.57-137-ice-Fix-netif_is_ice-in-Safe-Mode.patch
+ patches.kernel.org/6.6.57-138-ice-rename-switchdev-to-eswitch.patch
+ patches.kernel.org/6.6.57-139-ice-Flush-FDB-entries-before-reset.patch
+ patches.kernel.org/6.6.57-140-i40e-Fix-macvlan-leak-by-synchronizing-access…
+ patches.kernel.org/6.6.57-141-igb-Do-not-bring-the-device-up-after-non-fata…
+ patches.kernel.org/6.6.57-142-e1000e-change-I219-19-devices-to-ADP.patch
+ patches.kernel.org/6.6.57-143-net-sched-accept-TCA_STAB-only-for-root-qdisc…
+ patches.kernel.org/6.6.57-144-net-ibm-emac-mal-fix-wrong-goto.patch
+ patches.kernel.org/6.6.57-145-btrfs-zoned-fix-missing-RCU-locking-in-error-…
+ patches.kernel.org/6.6.57-146-sctp-ensure-sk_state-is-set-to-CLOSED-if-hash…
+ patches.kernel.org/6.6.57-147-netfilter-xtables-avoid-NFPROTO_UNSPEC-where-…
+ patches.kernel.org/6.6.57-148-netfilter-fib-check-correct-rtable-in-vrf-set…
+ patches.kernel.org/6.6.57-149-net-do-not-delay-dst_entries_add-in-dst_relea…
+ patches.kernel.org/6.6.57-150-rtnetlink-Add-bulk-registration-helpers-for-r…
+ patches.kernel.org/6.6.57-151-vxlan-Handle-error-of-rtnl_register_module.pa…
+ patches.kernel.org/6.6.57-152-bridge-Handle-error-of-rtnl_register_module.p…
+ patches.kernel.org/6.6.57-153-mctp-Handle-error-of-rtnl_register_module.pat…
+ patches.kernel.org/6.6.57-154-rtnetlink-change-nlk-cb_mutex-role.patch
+ patches.kernel.org/6.6.57-155-rtnetlink-add-RTNL_FLAG_DUMP_UNLOCKED-flag.pa…
+ patches.kernel.org/6.6.57-156-mpls-no-longer-hold-RTNL-in-mpls_netconf_dump…
+ patches.kernel.org/6.6.57-157-mpls-Handle-error-of-rtnl_register_module.pat…
+ patches.kernel.org/6.6.57-158-phonet-no-longer-hold-RTNL-in-route_dumpit.pa…
+ patches.kernel.org/6.6.57-159-phonet-Handle-error-of-rtnl_register_module.p…
+ patches.kernel.org/6.6.57-160-ppp-fix-ppp_async_encode-illegal-access.patch
+ patches.kernel.org/6.6.57-161-slip-make-slhc_remember-more-robust-against-m…
+ patches.kernel.org/6.6.57-162-rcu-nocb-Make-IRQs-disablement-symmetric.patch
+ patches.kernel.org/6.6.57-163-rcu-nocb-Fix-rcuog-wake-up-from-offline-softi…
+ patches.kernel.org/6.6.57-164-HID-mcp2200-added-driver-for-GPIOs-of-MCP2200…
+ patches.kernel.org/6.6.57-165-HID-i2c-hid-Remove-I2C_HID_QUIRK_SET_PWR_WAKE…
+ patches.kernel.org/6.6.57-166-HID-i2c-hid-Renumber-I2C_HID_QUIRK_-defines.p…
+ patches.kernel.org/6.6.57-167-HID-i2c-hid-Skip-SET_POWER-SLEEP-for-Cirque-t…
+ patches.kernel.org/6.6.57-168-HID-asus-add-ROG-Ally-N-Key-ID-and-keycodes.p…
+ patches.kernel.org/6.6.57-169-HID-asus-add-ROG-Z13-lightbar.patch
+ patches.kernel.org/6.6.57-170-hid-asus-add-ROG-Ally-X-prod-ID-to-quirk-list…
+ patches.kernel.org/6.6.57-171-wifi-mac80211-Avoid-address-calculations-via-…
+ patches.kernel.org/6.6.57-172-hwmon-intel-m10-bmc-hwmon-relabel-Columbiavil…
+ patches.kernel.org/6.6.57-173-hwmon-tmp513-Add-missing-dependency-on-REGMAP…
+ patches.kernel.org/6.6.57-174-hwmon-mc34vr500-Add-missing-dependency-on-REG…
+ patches.kernel.org/6.6.57-175-hwmon-adm9240-Add-missing-dependency-on-REGMA…
+ patches.kernel.org/6.6.57-176-hwmon-adt7470-Add-missing-dependency-on-REGMA…
+ patches.kernel.org/6.6.57-177-HID-amd_sfh-Switch-to-device-managed-dmam_all…
+ patches.kernel.org/6.6.57-178-HID-multitouch-Add-support-for-lenovo-Y9000P-…
+ patches.kernel.org/6.6.57-179-HID-plantronics-Workaround-for-an-unexcepted-…
+ patches.kernel.org/6.6.57-180-Revert-usb-yurex-Replace-snprintf-with-the-sa…
+ patches.kernel.org/6.6.57-181-usb-dwc3-core-Stop-processing-of-pending-even…
+ patches.kernel.org/6.6.57-182-usb-xhci-Fix-problem-with-xhci-resume-from-su…
+ patches.kernel.org/6.6.57-183-usb-storage-ignore-bogus-device-raised-by-Jie…
+ patches.kernel.org/6.6.57-184-usb-gadget-core-force-synchronous-registratio…
+ patches.kernel.org/6.6.57-185-hid-intel-ish-hid-Fix-uninitialized-variable-…
+ patches.kernel.org/6.6.57-186-drm-v3d-Stop-the-active-perfmon-before-being-…
+ patches.kernel.org/6.6.57-187-drm-vc4-Stop-the-active-perfmon-before-being-…
+ patches.kernel.org/6.6.57-188-drm-i915-hdcp-fix-connector-refcounting.patch
+ patches.kernel.org/6.6.57-189-Bluetooth-hci_conn-Fix-UAF-in-hci_enhanced_se…
+ patches.kernel.org/6.6.57-190-scsi-wd33c93-Don-t-use-stale-scsi_pointer-val…
+ patches.kernel.org/6.6.57-191-scsi-ufs-Use-pre-calculated-offsets-in-ufshcd…
+ patches.kernel.org/6.6.57-192-mptcp-fallback-when-MPTCP-opts-are-dropped-af…
+ patches.kernel.org/6.6.57-193-ata-libata-avoid-superfluous-disk-spin-down-s…
+ patches.kernel.org/6.6.57-194-net-explicitly-clear-the-sk-pointer-when-pf-c…
+ patches.kernel.org/6.6.57-195-net-Fix-an-unsafe-loop-on-the-list.patch
+ patches.kernel.org/6.6.57-196-net-dsa-lan9303-ensure-chip-reset-and-wait-fo…
+ patches.kernel.org/6.6.57-197-net-phy-Remove-LED-entry-from-LEDs-list-on-un…
+ patches.kernel.org/6.6.57-198-mptcp-handle-consistently-DSS-corruption.patch
+ patches.kernel.org/6.6.57-199-mptcp-pm-do-not-remove-closing-subflows.patch
+ patches.kernel.org/6.6.57-200-device-dax-correct-pgoff-align-in-dax_set_map…
+ patches.kernel.org/6.6.57-201-nouveau-dmem-Fix-vulnerability-in-migrate_to_…
+ patches.kernel.org/6.6.57-202-powercap-intel_rapl_tpmi-Fix-bogus-register-r…
+ patches.kernel.org/6.6.57-203-selftests-mm-fix-incorrect-buffer-mirror-size…
+ patches.kernel.org/6.6.57-204-selftests-rseq-Fix-mm_cid-test-failure.patch
+ patches.kernel.org/6.6.57-205-btrfs-split-remaining-space-to-discard-in-chu…
+ patches.kernel.org/6.6.57-206-kthread-unpark-only-parked-kthread.patch
+ patches.kernel.org/6.6.57-207-fs-proc-kcore.c-allow-translation-of-physical…
+ patches.kernel.org/6.6.57-208-secretmem-disable-memfd_secret-if-arch-cannot…
+ patches.kernel.org/6.6.57-209-net-ethernet-cortina-Restore-TSO-support.patch
+ patches.kernel.org/6.6.57-210-e1000e-fix-force-smbus-during-suspend-flow.pa…
+ patches.kernel.org/6.6.57-211-scsi-Revert-scsi-sd-Do-not-repeat-the-startin…
+ patches.kernel.org/6.6.57-212-Linux-6.6.57.patch
########################################################
# Build fixes that apply to the vanilla kernel too.
++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.IULegt/_old 2024-10-23 21:10:01.254049797 +0200
+++ /var/tmp/diff_new_pack.IULegt/_new 2024-10-23 21:10:01.258049963 +0200
@@ -1,4 +1,4 @@
-2024-10-10 15:20:52 +0000
-GIT Revision: 67435e5eed34256afc005faf5dc2d64a26e20839
+2024-10-21 12:35:30 +0000
+GIT Revision: a8ceeb3b3d936f6df83efc36ab1d2297436e5899
GIT Branch: slowroll
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-auth-client for openSUSE:Factory checked in at 2024-10-23 21:08:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-auth-client (Old)
and /work/SRC/openSUSE:Factory/.yast2-auth-client.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-auth-client"
Wed Oct 23 21:08:30 2024 rev:51 rq:1216918 version:5.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-auth-client/yast2-auth-client.changes 2023-10-20 23:18:03.781356945 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-auth-client.new.26871/yast2-auth-client.changes 2024-10-23 21:09:51.205632628 +0200
@@ -1,0 +2,8 @@
+Wed Sep 25 11:14:02 UTC 2024 - Samuel Cabrero <scabrero(a)suse.de>
+
+- Use new smb.conf parameter "sync machine password to keytab"
+ (gh#yast/yast-auth-client#122).
+- Skip whitespace-only lines when parsing krb5.conf
+- 5.0.1
+
+-------------------------------------------------------------------
Old:
----
yast2-auth-client-5.0.0.tar.bz2
New:
----
yast2-auth-client-5.0.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-auth-client.spec ++++++
--- /var/tmp/diff_new_pack.LwcdmY/_old 2024-10-23 21:09:52.781698060 +0200
+++ /var/tmp/diff_new_pack.LwcdmY/_new 2024-10-23 21:09:52.789698392 +0200
@@ -1,7 +1,7 @@
#
# spec file for package yast2-auth-client
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# 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: yast2-auth-client
-Version: 5.0.0
+Version: 5.0.1
Release: 0
URL: https://github.com/yast/yast-auth-client
Summary: YaST2 - Centralised System Authentication Configuration
++++++ yast2-auth-client-5.0.0.tar.bz2 -> yast2-auth-client-5.0.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-5.0.0/.github/workflows/ci.yml new/yast2-auth-client-5.0.1/.github/workflows/ci.yml
--- old/yast2-auth-client-5.0.0/.github/workflows/ci.yml 2023-10-18 23:14:09.000000000 +0200
+++ new/yast2-auth-client-5.0.1/.github/workflows/ci.yml 2024-10-22 09:08:28.000000000 +0200
@@ -1,9 +1,8 @@
-
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-act…
name: CI
-on: [push, pull_request]
+on: [ push, pull_request ]
jobs:
Tests:
@@ -12,33 +11,32 @@
strategy:
fail-fast: false
matrix:
- distro: [ "tumbleweed", "leap_latest" ]
+ distro: [ "tumbleweed" ]
container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
steps:
+ - name: Git Checkout
+ uses: actions/checkout@v2
- - name: Git Checkout
- uses: actions/checkout@v2
-
- # just for easier debugging...
- - name: Inspect Installed Packages
- run: rpm -qa | sort
-
- - name: Unit Tests
- run: rake test:unit
- # enable code coverage reporting
- env:
- COVERAGE: 1
-
- # send the coverage report to coveralls.io
- - name: Coveralls Report
- # send it only from the TW build to avoid duplicate submits
- if: ${{ matrix.distro == 'tumbleweed' }}
- uses: coverallsapp/github-action@master
- with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
+ # just for easier debugging...
+ - name: Inspect Installed Packages
+ run: rpm -qa | sort
+
+ - name: Unit Tests
+ run: rake test:unit
+ # enable code coverage reporting
+ env:
+ COVERAGE: 1
+
+ # send the coverage report to coveralls.io
+ - name: Coveralls Report
+ # send it only from the TW build to avoid duplicate submits
+ if: ${{ matrix.distro == 'tumbleweed' }}
+ uses: coverallsapp/github-action@master
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
# FIXME: Rubocop is not used
# Rubocop:
@@ -54,23 +52,25 @@
# run: rake check:rubocop
Package:
+ # skip in master, but run in forks
+ if: github.ref_name != 'master' || github.repository_owner != 'yast'
+
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
- distro: [ "tumbleweed", "leap_latest" ]
+ distro: [ "tumbleweed" ]
container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
steps:
+ - name: Git Checkout
+ uses: actions/checkout@v2
- - name: Git Checkout
- uses: actions/checkout@v2
-
- - name: Package Build
- run: yast-ci-ruby -o package
+ - name: Package Build
+ run: yast-ci-ruby -o package
Yardoc:
runs-on: ubuntu-latest
@@ -78,18 +78,17 @@
strategy:
fail-fast: false
matrix:
- distro: [ "leap_latest" ]
+ distro: [ "tumbleweed" ]
container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
steps:
+ - name: Git Checkout
+ uses: actions/checkout@v2
- - name: Git Checkout
- uses: actions/checkout@v2
-
- - name: Yardoc
- run: rake check:doc
+ - name: Yardoc
+ run: rake check:doc
# downloading the Docker image takes some time so bundling several fast
# checks into one job avoids that overhead
@@ -99,18 +98,17 @@
strategy:
fail-fast: false
matrix:
- distro: [ "leap_latest" ]
+ distro: [ "tumbleweed" ]
container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
steps:
+ - name: Git Checkout
+ uses: actions/checkout@v2
- - name: Git Checkout
- uses: actions/checkout@v2
-
- - name: Perl Syntax
- run: yast-ci-ruby -o perl_syntax
+ - name: Perl Syntax
+ run: yast-ci-ruby -o perl_syntax
- - name: POT Check
- run: rake check:pot
+ - name: POT Check
+ run: rake check:pot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-5.0.0/.github/workflows/submit.yml new/yast2-auth-client-5.0.1/.github/workflows/submit.yml
--- old/yast2-auth-client-5.0.0/.github/workflows/submit.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-auth-client-5.0.1/.github/workflows/submit.yml 2024-10-22 09:08:28.000000000 +0200
@@ -0,0 +1,29 @@
+# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-act…
+
+name: OBS
+
+on:
+ # only when committing to master
+ push:
+ branches: master
+
+ # allow running manually from GitHub Web
+ workflow_dispatch:
+
+jobs:
+ submit:
+ # do not run in forks
+ if: github.repository_owner == 'yast'
+
+ runs-on: ubuntu-latest
+
+ # the default timeout is 6 hours, do not wait for that long if osc gets stucked
+ timeout-minutes: 30
+
+ steps:
+ - name: Submit the package
+ # see https://github.com/yast/actions/blob/master/submit/action.yml
+ uses: yast/actions/submit@master
+ with:
+ obs_user: ${{ secrets.OBS_USER }}
+ obs_password: ${{ secrets.OBS_PASSWORD }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-5.0.0/README.md new/yast2-auth-client-5.0.1/README.md
--- old/yast2-auth-client-5.0.0/README.md 2023-10-18 23:14:09.000000000 +0200
+++ new/yast2-auth-client-5.0.1/README.md 2024-10-22 09:08:28.000000000 +0200
@@ -3,9 +3,6 @@
[![Workflow Status](https://github.com/yast/yast-auth-client/workflows/CI/badge.svg?bra…
https://github.com/yast/yast-auth-client/actions?query=branch%3Amaster)
-[![Jenkins Status](https://ci.opensuse.org/buildStatus/icon?job=yast-yast-auth-client-…
-https://ci.opensuse.org/view/Yast/job/yast-yast-auth-client-master/)
-
With this YaST2 module you can configure the authentication on your machine
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-5.0.0/package/yast2-auth-client.changes new/yast2-auth-client-5.0.1/package/yast2-auth-client.changes
--- old/yast2-auth-client-5.0.0/package/yast2-auth-client.changes 2023-10-18 23:14:09.000000000 +0200
+++ new/yast2-auth-client-5.0.1/package/yast2-auth-client.changes 2024-10-22 09:08:28.000000000 +0200
@@ -1,4 +1,12 @@
-------------------------------------------------------------------
+Wed Sep 25 11:14:02 UTC 2024 - Samuel Cabrero <scabrero(a)suse.de>
+
+- Use new smb.conf parameter "sync machine password to keytab"
+ (gh#yast/yast-auth-client#122).
+- Skip whitespace-only lines when parsing krb5.conf
+- 5.0.1
+
+-------------------------------------------------------------------
Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger <jreidinger(a)suse.cz>
- 5.0.0 (bsc#1185510)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-5.0.0/package/yast2-auth-client.spec new/yast2-auth-client-5.0.1/package/yast2-auth-client.spec
--- old/yast2-auth-client-5.0.0/package/yast2-auth-client.spec 2023-10-18 23:14:09.000000000 +0200
+++ new/yast2-auth-client-5.0.1/package/yast2-auth-client.spec 2024-10-22 09:08:28.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-auth-client
-Version: 5.0.0
+Version: 5.0.1
Release: 0
Url: https://github.com/yast/yast-auth-client
Summary: YaST2 - Centralised System Authentication Configuration
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-5.0.0/src/lib/auth/authconf.rb new/yast2-auth-client-5.0.1/src/lib/auth/authconf.rb
--- old/yast2-auth-client-5.0.0/src/lib/auth/authconf.rb 2023-10-18 23:14:09.000000000 +0200
+++ new/yast2-auth-client-5.0.1/src/lib/auth/authconf.rb 2024-10-22 09:08:28.000000000 +0200
@@ -26,6 +26,8 @@
require 'fileutils'
require 'date'
require 'auth/krbparse'
+require 'shellwords'
+require "yast2/execute"
module Auth
# Manage system-wide authentication configuration from Kerberos, LDAP, Samba, and SSSD's perspectives.
@@ -33,6 +35,7 @@
include Yast::I18n
include Yast::Logger
include Yast::UIShortcuts
+ include Yast::Logger
attr_accessor(:krb_conf, :krb_pam, :ldap_pam, :ldap_nss, :sssd_conf, :sssd_pam, :sssd_nss, :sssd_enabled)
attr_accessor(:autofs_enabled, :nscd_enabled, :mkhomedir_pam)
@@ -755,10 +758,57 @@
service_disable_stop('nscd')
end
end
-
+
+ def is_installed_version_newer_or_equal?(installed_rpm_version, test_rpm_version)
+ installed_rpm_version_l = installed_rpm_version
+ .split(/[-.+]/)
+ .select { |i| i.match?(/^\d+$/) }
+ .map(&:to_i)
+
+ test_rpm_version_l = test_rpm_version
+ .split(/[-.+]/)
+ .select { |i| i.match?(/^\d+$/) }
+ .map(&:to_i)
+
+ log.info(
+ "Evaluating installed #{installed_rpm_version_l} and test #{test_rpm_version_l} versions"
+ )
+
+ comparison_result = installed_rpm_version_l <=> test_rpm_version_l
+ installed_version_is_equal_or_newer = comparison_result != -1
+
+ log.info(
+ "#{installed_rpm_version} >= #{test_rpm_version} -> #{installed_version_is_equal_or_newer}"
+ )
+ installed_version_is_equal_or_newer
+ end
+
+ # @return [String, nil]
+ def samba_version
+ cmd = "/bin/rpm -q --queryformat %{VERSION} samba"
+ bin, *args = cmd.split
+ Yast::Execute.locally!(bin, *args, stdout: :capture)
+ rescue Cheetah::ExecutionFailed
+ log.warn("Cannot check the installed samba version: #{cmd}")
+ nil
+ end
+
# Create a temporary file holding smb.conf for the specified AD domain.
# @return [File] a closed file, caller should #unlink after it is no longer used.
def ad_create_tmp_smb_conf(ad_domain_name, workgroup_name)
+ installed_rpm_version = samba_version
+ if !installed_rpm_version
+ Yast::Report.Error(_('Failed to check the installed samba version.'))
+ return
+ end
+
+ system_keytab = krb_get_default(:default_keytab_name)
+ if is_installed_version_newer_or_equal?(installed_rpm_version, "4.21.0")
+ system_keytab_param = "sync machine password to keytab = #{system_keytab}:account_name:sync_etypes:sync_kvno:machine_password"
+ else
+ system_keytab_param = "kerberos method = secrets and keytab"
+ end
+
out = Tempfile.new("tempfile")
out.write("
[global]
@@ -766,7 +816,7 @@
realm = #{ad_domain_name}
workgroup = #{workgroup_name}
log file = /var/log/samba/%m.log
- kerberos method = secrets and keytab
+ #{system_keytab_param}
client signing = yes
client use spnego = yes
")
@@ -814,6 +864,9 @@
return [false, false]
end
smb_conf = ad_create_tmp_smb_conf(ad_domain_name, ad_get_workgroup_name(ad_domain_name))
+ if smb_conf.nil?
+ return [false, false]
+ end
_, status = Open3.capture2("net -s #{smb_conf.path} ads testjoin")
ad_has_computer = status.exitstatus == 0
klist, _ = Open3.capture2("klist -k")
@@ -871,6 +924,9 @@
# Create a temporary smb.conf to join this computer
smb_conf = ad_create_tmp_smb_conf(@ad_domain, ad_get_workgroup_name(@ad_domain))
+ if smb_conf.nil?
+ return [false, _('Failed to create temporary smb.conf')]
+ end
output = ''
exitstatus = 0
ou_param = @ad_ou.to_s == '' ? '' : "createcomputer=#{@ad_ou}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-5.0.0/src/lib/auth/krbparse.rb new/yast2-auth-client-5.0.1/src/lib/auth/krbparse.rb
--- old/yast2-auth-client-5.0.0/src/lib/auth/krbparse.rb 2023-10-18 23:14:09.000000000 +0200
+++ new/yast2-auth-client-5.0.1/src/lib/auth/krbparse.rb 2024-10-22 09:08:28.000000000 +0200
@@ -34,6 +34,8 @@
if comment_match
next
end
+ # Skip empty lines
+ next if line.match?(/^\s+$/)
# Remember include/includedir directives
include_match = /^(includedir|include|module)\s+(.+)$/.match(line)
if include_match
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-5.0.0/test/authconf_test.rb new/yast2-auth-client-5.0.1/test/authconf_test.rb
--- old/yast2-auth-client-5.0.0/test/authconf_test.rb 2023-10-18 23:14:09.000000000 +0200
+++ new/yast2-auth-client-5.0.1/test/authconf_test.rb 2024-10-22 09:08:28.000000000 +0200
@@ -32,6 +32,20 @@
end
authconf = Auth::AuthConfInst
+ describe 'Samba' do
+ it 'Detect samba version' do
+ expect(authconf.is_installed_version_newer_or_equal?("4.20.1", "4.21.0")).to eq(false)
+ expect(authconf.is_installed_version_newer_or_equal?("4.21.0", "4.20.1")).to eq(true)
+ expect(authconf.is_installed_version_newer_or_equal?("4.21.0", "4.21.0")).to eq(true)
+ expect(authconf.is_installed_version_newer_or_equal?("4.20.1", "4.21")).to eq(false)
+ expect(authconf.is_installed_version_newer_or_equal?("4.21.0", "4.20")).to eq(true)
+ expect(authconf.is_installed_version_newer_or_equal?("4.21.0", "4.21")).to eq(true)
+ expect(authconf.is_installed_version_newer_or_equal?("4.20", "4.21.0")).to eq(false)
+ expect(authconf.is_installed_version_newer_or_equal?("4.21", "4.20.1")).to eq(true)
+ expect(authconf.is_installed_version_newer_or_equal?("4.21", "4.20.0")).to eq(true)
+ end
+ end
+
describe 'SSSD' do
it 'Read, lint, and export SSSD configuration' do
authconf.sssd_read
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rust for openSUSE:Factory checked in at 2024-10-23 21:08:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rust (Old)
and /work/SRC/openSUSE:Factory/.rust.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust"
Wed Oct 23 21:08:28 2024 rev:99 rq:1216852 version:1.82.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rust/rust.changes 2024-09-10 21:12:56.073290617 +0200
+++ /work/SRC/openSUSE:Factory/.rust.new.26871/rust.changes 2024-10-23 21:08:52.823208834 +0200
@@ -1,0 +2,5 @@
+Fri Oct 18 02:42:06 UTC 2024 - William Brown <william.brown(a)suse.com>
+
+- Update to version 1.82.0 - for details see the rust1.82 package
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rust.spec ++++++
--- /var/tmp/diff_new_pack.PZnErg/_old 2024-10-23 21:08:53.439234409 +0200
+++ /var/tmp/diff_new_pack.PZnErg/_new 2024-10-23 21:08:53.439234409 +0200
@@ -17,10 +17,11 @@
#
-%global version_suffix 1.81
-%global version_current 1.81.0
+%global version_suffix 1.82
+%global version_current 1.82.0
%define obsolete_rust_versioned() \
+Obsoletes: %{1}1.81%{?2:-%{2}} \
Obsoletes: %{1}1.80%{?2:-%{2}} \
Obsoletes: %{1}1.79%{?2:-%{2}} \
Obsoletes: %{1}1.78%{?2:-%{2}} \
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package open-vm-tools for openSUSE:Factory checked in at 2024-10-23 21:08:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/open-vm-tools (Old)
and /work/SRC/openSUSE:Factory/.open-vm-tools.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "open-vm-tools"
Wed Oct 23 21:08:26 2024 rev:127 rq:1216846 version:12.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/open-vm-tools/open-vm-tools.changes 2024-07-03 20:29:35.343503210 +0200
+++ /work/SRC/openSUSE:Factory/.open-vm-tools.new.26871/open-vm-tools.changes 2024-10-23 21:08:50.695120485 +0200
@@ -1,0 +2,20 @@
+Fri Oct 11 07:24:04 UTC 2024 - Johannes Kastl <opensuse_buildservice(a)ojkastl.de>
+
+- convert to obs_scm
+- update to 12.5.0 (boo#1231826):
+ There are no new features in the open-vm-tools 12.5.0 release.
+ This is primarily a maintenance release that addresses a few
+ critical problems, including:
+ * A Github pull request has been integrated. Please see the
+ Resolved Issues section of the Release Notes.
+ * For a more complete list of issues resolved in this release,
+ see the Resolved Issues section of the Release Notes.
+ For complete details, see:
+ https://github.com/vmware/open-vm-tools/releases/tag/stable-12.5.0
+ Release Notes are available at:
+ https://github.com/vmware/open-vm-tools/blob/stable-12.5.0/ReleaseNotes.md
+ The granular changes that have gone into the 12.5.0 release are
+ in the ChangeLog at:
+ https://github.com/vmware/open-vm-tools/blob/stable-12.5.0/open-vm-tools/Ch…
+
+-------------------------------------------------------------------
Old:
----
open-vm-tools-12.4.5.tar.xz
New:
----
open-vm-tools-12.5.0.obscpio
open-vm-tools.obsinfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ open-vm-tools.spec ++++++
--- /var/tmp/diff_new_pack.Oo47Kn/_old 2024-10-23 21:08:51.771165158 +0200
+++ /var/tmp/diff_new_pack.Oo47Kn/_new 2024-10-23 21:08:51.775165324 +0200
@@ -38,13 +38,13 @@
%define with_X 1
Name: open-vm-tools
-Version: 12.4.5
+Version: 12.5.0
Release: 0
Summary: Open Virtual Machine Tools
License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only
Group: System/Emulators/PC
URL: https://github.com/vmware/open-vm-tools
-Source: %{name}-%{version}.tar.xz
+Source: %{name}-%{version}.tar.gz
Source1: vmtoolsd
Source2: vmtoolsd.service
Source3: vmware-user-autostart.desktop
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Oo47Kn/_old 2024-10-23 21:08:51.815166985 +0200
+++ /var/tmp/diff_new_pack.Oo47Kn/_new 2024-10-23 21:08:51.819167151 +0200
@@ -1,15 +1,19 @@
<services>
- <service name="tar_scm" mode="manual">
- <param name="scm">git</param>
+ <service name="obs_scm" mode="manual">
<param name="url">https://github.com/vmware/open-vm-tools.git</param>
- <param name="revision">stable-12.4.5</param>
- <param name="filename">open-vm-tools</param>
- <param name="versionformat">12.4.5</param>
+ <param name="scm">git</param>
+ <param name="revision">stable-12.5.0</param>
+ <param name="versionformat">@PARENT_TAG@</param>
+ <param name="versionrewrite-pattern">stable-(.*)</param>
+ </service>
+ <service name="set_version" mode="manual">
+ </service>
+ <!-- services below are running at buildtime -->
+ <service name="tar" mode="buildtime">
</service>
- <service name="recompress" mode="manual">
+ <service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
- <param name="compression">xz</param>
+ <param name="compression">gz</param>
</service>
- <service name="set_version" mode="manual"/>
</services>
++++++ open-vm-tools.obsinfo ++++++
name: open-vm-tools
version: 12.5.0
mtime: 1728572707
commit: f2ca37ef3510543172657b82493d1eceefa9a134
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rpmlint for openSUSE:Factory checked in at 2024-10-23 21:08:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmlint (Old)
and /work/SRC/openSUSE:Factory/.rpmlint.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpmlint"
Wed Oct 23 21:08:24 2024 rev:487 rq:1216644 version:2.6.1+git20241017.b725184
Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmlint/rpmlint.changes 2024-10-17 18:39:08.593774397 +0200
+++ /work/SRC/openSUSE:Factory/.rpmlint.new.26871/rpmlint.changes 2024-10-23 21:08:45.066886824 +0200
@@ -1,0 +2,6 @@
+Mon Oct 21 07:38:46 UTC 2024 - wolfgang.frisch(a)suse.com
+
+- Update to version 2.6.1+git20241017.b725184:
+ * dbus-services: deepin-system-monitor (bsc#1230018)
+
+-------------------------------------------------------------------
Old:
----
rpmlint-2.6.1+git20241016.ae941eb7.tar.xz
New:
----
rpmlint-2.6.1+git20241017.b725184.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rpmlint.spec ++++++
--- /var/tmp/diff_new_pack.Ysg7WX/_old 2024-10-23 21:08:47.022968033 +0200
+++ /var/tmp/diff_new_pack.Ysg7WX/_new 2024-10-23 21:08:47.038968697 +0200
@@ -1,5 +1,5 @@
#
-# spec file
+# spec file for package rpmlint
#
# Copyright (c) 2024 SUSE LLC
#
@@ -23,7 +23,7 @@
%define name_suffix -%{flavor}
%endif
Name: rpmlint%{name_suffix}
-Version: 2.6.1+git20241016.ae941eb7
+Version: 2.6.1+git20241017.b725184
Release: 0
Summary: RPM file correctness checker
License: GPL-2.0-or-later
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Ysg7WX/_old 2024-10-23 21:08:47.534989290 +0200
+++ /var/tmp/diff_new_pack.Ysg7WX/_new 2024-10-23 21:08:47.562990452 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/rpm-software-management/rpmlint.git</param>
- <param name="changesrevision">ae941eb7a870b80c2bafb9b01a65c1c8208252e4</param></service></servicedata>
+ <param name="changesrevision">b7251848208dfd5e46bf8c57b9e0bd5d38bcb924</param></service></servicedata>
(No newline at EOF)
++++++ rpmlint-2.6.1+git20241016.ae941eb7.tar.xz -> rpmlint-2.6.1+git20241017.b725184.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-2.6.1+git20241016.ae941eb7/configs/openSUSE/dbus-services.toml new/rpmlint-2.6.1+git20241017.b725184/configs/openSUSE/dbus-services.toml
--- old/rpmlint-2.6.1+git20241016.ae941eb7/configs/openSUSE/dbus-services.toml 2024-10-16 14:44:33.000000000 +0200
+++ new/rpmlint-2.6.1+git20241017.b725184/configs/openSUSE/dbus-services.toml 2024-10-17 17:36:51.000000000 +0200
@@ -1179,6 +1179,20 @@
]
[[FileDigestGroup]]
+package = "deepin-system-monitor"
+type = "dbus"
+note = "a system monitor for the DDE"
+bugs = ["bsc#1230018"]
+[[FileDigestGroup.digests]]
+path = "/usr/share/dbus-1/system.d/org.deepin.SystemMonitorSystemServer.conf"
+digester = "xml"
+hash = "910464704ef1645092e83911aa4d4650a14f4421a770594da42d2f4c3c4626e0"
+[[FileDigestGroup.digests]]
+path = "/usr/share/dbus-1/system-services/org.deepin.SystemMonitorSystemServer.service"
+digester = "shell"
+hash = "ff69b41130cbec4d2682f3c9ff31c8fc7f1a16271a8f5fbfff003030f116f85a"
+
+[[FileDigestGroup]]
package = "low-memory-monitor"
type = "dbus"
note = "a system wide daemon monitoring low memory situations and sending out signals"
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libvirt for openSUSE:Factory checked in at 2024-10-23 21:08:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvirt (Old)
and /work/SRC/openSUSE:Factory/.libvirt.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvirt"
Wed Oct 23 21:08:22 2024 rev:404 rq:1217084 version:10.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/libvirt/libvirt.changes 2024-10-03 18:00:40.178910627 +0200
+++ /work/SRC/openSUSE:Factory/.libvirt.new.26871/libvirt.changes 2024-10-23 21:08:41.962757954 +0200
@@ -1,0 +2,7 @@
+Tue Oct 22 15:59:15 UTC 2024 - James Fehlig <jfehlig(a)suse.com>
+
+- spec: Use default_firewall_backend prjconf setting
+- spec: Loosen nwfilter dependency
+ boo#1231798
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libvirt.spec ++++++
--- /var/tmp/diff_new_pack.1yER0r/_old 2024-10-23 21:08:43.022801962 +0200
+++ /var/tmp/diff_new_pack.1yER0r/_new 2024-10-23 21:08:43.026802129 +0200
@@ -123,9 +123,8 @@
%define with_storage_gluster 0
%endif
-# Prefer nftables for Tumbleweed, but keep using iptables for distros based
-# on SLE15 codestream
-%if 0%{?suse_version} > 1500
+# Prefer nftables if available
+%if "%{?default_firewall_backend}" == "nftables"
%define prefer_nftables 1
%define firewall_backend_priority nftables,iptables
%else
@@ -690,7 +689,7 @@
%endif
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
-Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
+Recommends: %{name}-daemon-driver-nwfilter = %{version}-%{release}
Requires: %{name}-daemon-driver-qemu = %{version}-%{release}
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
@@ -712,7 +711,7 @@
Requires: %{name}-daemon-driver-lxc = %{version}-%{release}
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
-Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
+Recommends: %{name}-daemon-driver-nwfilter = %{version}-%{release}
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
@@ -734,7 +733,6 @@
Requires: %{name}-daemon-driver-libxl = %{version}-%{release}
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
-Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
Requires: xen
@@ -753,7 +751,7 @@
%endif
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
-Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
+Recommends: %{name}-daemon-driver-nwfilter = %{version}-%{release}
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
Requires: %{name}-daemon-driver-vbox = %{version}-%{release}
++++++ libvirt-10.8.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/libvirt/libvirt-10.8.0.tar.xz /work/SRC/openSUSE:Factory/.libvirt.new.26871/libvirt-10.8.0.tar.xz differ: char 15, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-anyio for openSUSE:Factory checked in at 2024-10-23 21:08:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-anyio (Old)
and /work/SRC/openSUSE:Factory/.python-anyio.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-anyio"
Wed Oct 23 21:08:21 2024 rev:23 rq:1217080 version:4.6.2.post1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-anyio/python-anyio.changes 2024-10-03 18:00:50.323332971 +0200
+++ /work/SRC/openSUSE:Factory/.python-anyio.new.26871/python-anyio.changes 2024-10-23 21:08:39.478654824 +0200
@@ -1,0 +2,11 @@
+Tue Oct 22 16:00:48 UTC 2024 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 4.6.2:
+ * Fixed regression caused by (\#807) that prevented the use
+ of parametrized async fixtures
+- update to 4.6.1:
+ * Fixed TaskGroup and CancelScope producing cyclic references
+ in tracebacks when raising exceptions (\#806) (PR by
+ @graingert)
+
+-------------------------------------------------------------------
Old:
----
anyio-4.6.0.tar.gz
New:
----
anyio-4.6.2.post1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-anyio.spec ++++++
--- /var/tmp/diff_new_pack.C9VrFf/_old 2024-10-23 21:08:40.022677410 +0200
+++ /var/tmp/diff_new_pack.C9VrFf/_new 2024-10-23 21:08:40.026677576 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-anyio
-Version: 4.6.0
+Version: 4.6.2.post1
Release: 0
Summary: High level compatibility layer for asynchronous event loop implementations
License: MIT
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-coverage for openSUSE:Factory checked in at 2024-10-23 21:08:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-coverage (Old)
and /work/SRC/openSUSE:Factory/.python-coverage.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-coverage"
Wed Oct 23 21:08:17 2024 rev:65 rq:1217070 version:7.6.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2024-09-03 13:37:17.498133728 +0200
+++ /work/SRC/openSUSE:Factory/.python-coverage.new.26871/python-coverage.changes 2024-10-23 21:08:33.062388448 +0200
@@ -1,0 +2,38 @@
+Tue Oct 22 15:51:19 UTC 2024 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 7.6.4:
+ * fix: multi-line with statements could cause contained
+ branches to be incorrectly marked as missing (issue 1880).
+ This is now fixed.
+ * Fix: nested context managers could incorrectly be analyzed to
+ flag a missing branch on the last context manager, as
+ described in issue 1876. This is now fixed.
+ * Fix: the missing branch message about not exiting a module
+ had an extra "didn't," as described in issue 1873. This is
+ now fixed.
+ * Dropped support for Python 3.8 and PyPy 3.8.
+ * Fix: a final wildcard match/case clause assigning to a name
+ (case _ as value) was incorrectly marked as a missing branch.
+ This is now fixed, closing issue 1860.
+ * Fewer things are considered branches now. Lambdas,
+ comprehensions, and generator expressions are no longer
+ marked as missing branches if they don't complete execution.
+ Closes issue 1852.
+ * Fix: the HTML report didn't properly show multi-line
+ f-strings that end with a backslash continuation. This is
+ now fixed, closing issue 1836, thanks to LiuYinCarl and Marco
+ Ricci.
+ * Fix: the LCOV report now has correct line numbers (fixing
+ issue 1846) and better branch descriptions for BRDA records
+ (fixing issue 1850). There are other changes to lcov also,
+ including a new configuration option :ref:`line_checksums
+ <config_lcov_line_checksums>` to control whether line
+ checksums are included in the lcov report. The default is
+ false. To keep checksums set it to true. All this work is
+ thanks to Zack Weinberg (pull 1849 and pull 1851).
+ * Fixed the docs for multi-line regex exclusions, closing issue
+ 1863.
+ * Fixed a potential crash in the C tracer, closing issue 1835,
+ thanks to Jan Kühle.
+
+-------------------------------------------------------------------
Old:
----
coverage-7.6.1.tar.gz
New:
----
coverage-7.6.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-coverage.spec ++++++
--- /var/tmp/diff_new_pack.ydLY17/_old 2024-10-23 21:08:33.882422492 +0200
+++ /var/tmp/diff_new_pack.ydLY17/_new 2024-10-23 21:08:33.886422659 +0200
@@ -18,13 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-coverage
-Version: 7.6.1
+Version: 7.6.4
Release: 0
Summary: Code coverage measurement for Python
License: Apache-2.0
URL: https://github.com/nedbat/coveragepy
Source: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{versio…
-BuildRequires: %{python_module devel >= 3.8}
+BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
++++++ coverage-7.6.1.tar.gz -> coverage-7.6.4.tar.gz ++++++
++++ 8477 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghostscript for openSUSE:Factory checked in at 2024-10-23 21:08:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghostscript (Old)
and /work/SRC/openSUSE:Factory/.ghostscript.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghostscript"
Wed Oct 23 21:08:11 2024 rev:68 rq:1217373 version:10.04.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghostscript/ghostscript.changes 2024-07-03 20:29:25.351137486 +0200
+++ /work/SRC/openSUSE:Factory/.ghostscript.new.26871/ghostscript.changes 2024-10-23 21:08:28.278189828 +0200
@@ -1,0 +2,12 @@
+Wed Oct 23 08:54:59 UTC 2024 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 10.04.0 (bsc#1232173):
+ * Amongst other general bugs fixes, this release addresses:
+ + CVE-2024-46951
+ + CVE-2024-46952
+ + CVE-2024-46953
+ + CVE-2024-46954
+ + CVE-2024-46955
+ + CVE-2024-46956
+
+-------------------------------------------------------------------
Old:
----
ghostscript-10.03.1.tar.gz
New:
----
ghostscript-10.04.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghostscript.spec ++++++
--- /var/tmp/diff_new_pack.dHNOlI/_old 2024-10-23 21:08:29.610245129 +0200
+++ /var/tmp/diff_new_pack.dHNOlI/_new 2024-10-23 21:08:29.610245129 +0200
@@ -1,5 +1,5 @@
#
-# spec file
+# spec file for package ghostscript
#
# Copyright (c) 2024 SUSE LLC
#
@@ -24,19 +24,14 @@
%bcond_without apparmor
%endif
Name: ghostscript%{psuffix}
-Version: 10.03.1
+Version: 10.04.0
Release: 0
Summary: The Ghostscript interpreter for PostScript and PDF
License: AGPL-3.0-only
Group: Productivity/Office/Other
URL: https://www.ghostscript.com/
-# How to manually get Source0:
-# Go to https://www.ghostscript.com
-# -> "The current Ghostscript release 10.03.1 can be downloaded here" https://www.ghostscript.com/releases/index.html
-# -> "Ghostscript" https://www.ghostscript.com/releases/gsdnld.html
-# -> "Ghostscript 10.03.1 Source for all platforms / GNU Affero General Public License" = "Ghostscript AGPL Release"
-# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1…
-Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1…
+# use "osc service manualrun" to fetch
+Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1…
Source10: apparmor_ghostscript
# Patch0...Patch9 is for patches from upstream:
# Source10...Source99 is for sources from SUSE which are intended for upstream:
@@ -57,7 +52,7 @@
BuildRequires: update-alternatives
BuildRequires: zlib-devel
Requires(post): update-alternatives
-Requires(preun):update-alternatives
+Requires(preun): update-alternatives
# Provide the additional RPM Provides of the ghostscript-library package
# (ghostscript_x11 is provided by the ghostscript-x11 sub-package, see below).
# The "Provides: ghostscript_any" is there to support "BuildRequires: ghostscript_any"
++++++ ghostscript-10.03.1.tar.gz -> ghostscript-10.04.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/ghostscript/ghostscript-10.03.1.tar.gz /work/SRC/openSUSE:Factory/.ghostscript.new.26871/ghostscript-10.04.0.tar.gz differ: char 28, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package virtiofsd for openSUSE:Factory checked in at 2024-10-23 21:08:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virtiofsd (Old)
and /work/SRC/openSUSE:Factory/.virtiofsd.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtiofsd"
Wed Oct 23 21:08:10 2024 rev:10 rq:1217370 version:1.12.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/virtiofsd/virtiofsd.changes 2024-10-06 17:51:22.519617234 +0200
+++ /work/SRC/openSUSE:Factory/.virtiofsd.new.26871/virtiofsd.changes 2024-10-23 21:08:25.806087197 +0200
@@ -1,0 +2,14 @@
+Wed Oct 16 17:24:41 UTC 2024 - caleb.crane(a)suse.com
+
+- Update to version 1.12.0:
+ * Bump version to v1.12.0
+ * Add file-handles migration mode
+ * Serialize mount FD map
+ * Deserialize file handles
+ * Build mount FD map on deserialization
+ * Add MigrationMode::FileHandles
+ * PassthroughFsV2
+ * Allow deserializing serializable file handles
+ * Extract serialized::Inode.deserialize_root_node()
+
+-------------------------------------------------------------------
Old:
----
virtiofsd-1.11.1.tar.xz
New:
----
virtiofsd-1.12.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ virtiofsd.spec ++++++
--- /var/tmp/diff_new_pack.uFcMtZ/_old 2024-10-23 21:08:26.418112605 +0200
+++ /var/tmp/diff_new_pack.uFcMtZ/_new 2024-10-23 21:08:26.418112605 +0200
@@ -23,7 +23,7 @@
%endif
Name: virtiofsd
-Version: 1.11.1
+Version: 1.12.0
Release: 0
Summary: A vhost-user virtio-fs device backend written in Rust
Group: Development/Libraries/Rust
++++++ _service ++++++
--- /var/tmp/diff_new_pack.uFcMtZ/_old 2024-10-23 21:08:26.458114266 +0200
+++ /var/tmp/diff_new_pack.uFcMtZ/_new 2024-10-23 21:08:26.458114266 +0200
@@ -3,7 +3,7 @@
<param name="url">https://gitlab.com/virtio-fs/virtiofsd.git</param>
<param name="scm">git</param>
<param name="filename">virtiofsd</param>
- <param name="revision">v1.11.1</param>
+ <param name="revision">v1.12.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
<param name="versionrewrite-replacement">\1</param>
++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/virtiofsd/vendor.tar.xz /work/SRC/openSUSE:Factory/.virtiofsd.new.26871/vendor.tar.xz differ: char 15, line 1
++++++ virtiofsd-1.11.1.tar.xz -> virtiofsd-1.12.0.tar.xz ++++++
++++ 3874 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-executing for openSUSE:Factory checked in at 2024-10-23 21:08:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-executing (Old)
and /work/SRC/openSUSE:Factory/.python-executing.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-executing"
Wed Oct 23 21:08:08 2024 rev:12 rq:1217356 version:2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-executing/python-executing.changes 2024-09-26 18:53:09.592767245 +0200
+++ /work/SRC/openSUSE:Factory/.python-executing.new.26871/python-executing.changes 2024-10-23 21:08:21.633913986 +0200
@@ -1,0 +2,5 @@
+Wed Oct 23 13:02:57 UTC 2024 - Daniel Garcia <daniel.garcia(a)suse.com>
+
+- Remove ipython dependency for Leap
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-executing.spec ++++++
--- /var/tmp/diff_new_pack.xoyIjg/_old 2024-10-23 21:08:22.201937568 +0200
+++ /var/tmp/diff_new_pack.xoyIjg/_new 2024-10-23 21:08:22.201937568 +0200
@@ -44,7 +44,9 @@
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module asttokens}
+%if 0%{?suse_version} > 1600
BuildRequires: %{python_module ipython}
+%endif
BuildRequires: %{python_module littleutils}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module rich}
@@ -70,9 +72,16 @@
%check
%if %{with test}
+
+# Don't have ipython build requirement in Leap
+%if 0%{?suse_version} <= 1600
+%pytest -k "not test_ipython"
+%else
%pytest
%endif
+%endif
+
%if %{without test}
%files %{python_files}
%doc README.md
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-s3transfer for openSUSE:Factory checked in at 2024-10-23 21:08:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-s3transfer (Old)
and /work/SRC/openSUSE:Factory/.python-s3transfer.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-s3transfer"
Wed Oct 23 21:08:06 2024 rev:32 rq:1217350 version:0.10.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-s3transfer/python-s3transfer.changes 2024-07-04 16:22:53.322665616 +0200
+++ /work/SRC/openSUSE:Factory/.python-s3transfer.new.26871/python-s3transfer.changes 2024-10-23 21:08:20.717875955 +0200
@@ -1,0 +2,6 @@
+Wed Oct 23 10:14:09 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to version 0.10.3
+ * enhancement:Python: Added provisional Python 3.13 support to s3transfer
+
+-------------------------------------------------------------------
Old:
----
s3transfer-0.10.2.tar.gz
New:
----
s3transfer-0.10.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-s3transfer.spec ++++++
--- /var/tmp/diff_new_pack.ILUwRk/_old 2024-10-23 21:08:21.309900534 +0200
+++ /var/tmp/diff_new_pack.ILUwRk/_new 2024-10-23 21:08:21.313900700 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-s3transfer
-Version: 0.10.2
+Version: 0.10.3
Release: 0
Summary: Python S3 transfer manager
License: Apache-2.0
++++++ s3transfer-0.10.2.tar.gz -> s3transfer-0.10.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/PKG-INFO new/s3transfer-0.10.3/PKG-INFO
--- old/s3transfer-0.10.2/PKG-INFO 2024-06-24 23:03:01.450911300 +0200
+++ new/s3transfer-0.10.3/PKG-INFO 2024-10-08 20:06:31.916945200 +0200
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: s3transfer
-Version: 0.10.2
+Version: 0.10.3
Summary: An Amazon S3 Transfer Manager
Home-page: https://github.com/boto/s3transfer
Author: Amazon Web Services
Author-email: kyknapp1(a)gmail.com
License: Apache License 2.0
-Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
@@ -19,10 +18,13 @@
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
Requires-Python: >= 3.8
-Provides-Extra: crt
License-File: LICENSE.txt
License-File: NOTICE.txt
+Requires-Dist: botocore<2.0a.0,>=1.33.2
+Provides-Extra: crt
+Requires-Dist: botocore[crt]<2.0a.0,>=1.33.2; extra == "crt"
=====================================================
s3transfer - An Amazon S3 Transfer Manager for Python
@@ -37,5 +39,3 @@
production, make sure to lock to a minor version as interfaces may break
from minor version to minor version. For a basic, stable interface of
s3transfer, try the interfaces exposed in `boto3 <https://boto3.readthedocs.io/en/latest/guide/s3.html#using-the-transfer-man…>`__
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/pyproject.toml new/s3transfer-0.10.3/pyproject.toml
--- old/s3transfer-0.10.2/pyproject.toml 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/pyproject.toml 2024-10-08 20:06:31.000000000 +0200
@@ -3,12 +3,63 @@
"slow: marks tests as slow",
]
-[tool.isort]
-profile = "black"
-line_length = 79
-honor_noqa = true
-src_paths = ["s3transfer", "tests"]
+[tool.ruff]
+exclude = [
+ ".bzr",
+ ".direnv",
+ ".eggs",
+ ".git",
+ ".git-rewrite",
+ ".hg",
+ ".ipynb_checkpoints",
+ ".mypy_cache",
+ ".nox",
+ ".pants.d",
+ ".pyenv",
+ ".pytest_cache",
+ ".pytype",
+ ".ruff_cache",
+ ".svn",
+ ".tox",
+ ".venv",
+ ".vscode",
+ "__pypackages__",
+ "_build",
+ "buck-out",
+ "build",
+ "dist",
+ "node_modules",
+ "site-packages",
+ "venv",
+]
-[tool.black]
+# Format same as Black.
line-length = 79
-skip_string_normalization = true
+indent-width = 4
+
+target-version = "py38"
+
+[tool.ruff.lint]
+# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
+# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
+# McCabe complexity (`C901`) by default.
+select = ["E4", "E7", "E9", "F", "I", "UP"]
+ignore = []
+
+# Allow fix for all enabled rules (when `--fix`) is provided.
+fixable = ["ALL"]
+unfixable = []
+
+# Allow unused variables when underscore-prefixed.
+dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
+
+[tool.ruff.format]
+# Like Black, use double quotes for strings, spaces for indents
+# and trailing commas.
+quote-style = "preserve"
+indent-style = "space"
+skip-magic-trailing-comma = false
+line-ending = "auto"
+
+docstring-code-format = false
+docstring-code-line-length = "dynamic"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/__init__.py new/s3transfer-0.10.3/s3transfer/__init__.py
--- old/s3transfer-0.10.2/s3transfer/__init__.py 2024-06-24 23:03:01.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/__init__.py 2024-10-08 20:06:31.000000000 +0200
@@ -123,6 +123,7 @@
"""
+
import concurrent.futures
import functools
import logging
@@ -144,7 +145,7 @@
from s3transfer.exceptions import RetriesExceededError, S3UploadFailedError
__author__ = 'Amazon Web Services'
-__version__ = '0.10.2'
+__version__ = '0.10.3'
class NullHandler(logging.Handler):
@@ -813,8 +814,8 @@
for kwarg in actual:
if kwarg not in allowed:
raise ValueError(
- "Invalid extra_args key '%s', "
- "must be one of: %s" % (kwarg, ', '.join(allowed))
+ f"Invalid extra_args key '{kwarg}', "
+ f"must be one of: {', '.join(allowed)}"
)
def _ranged_download(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/bandwidth.py new/s3transfer-0.10.3/s3transfer/bandwidth.py
--- old/s3transfer-0.10.2/s3transfer/bandwidth.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/bandwidth.py 2024-10-08 20:06:31.000000000 +0200
@@ -30,9 +30,7 @@
"""
self.requested_amt = requested_amt
self.retry_time = retry_time
- msg = 'Request amount {} exceeded the amount available. Retry in {}'.format(
- requested_amt, retry_time
- )
+ msg = f'Request amount {requested_amt} exceeded the amount available. Retry in {retry_time}'
super().__init__(msg)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/constants.py new/s3transfer-0.10.3/s3transfer/constants.py
--- old/s3transfer-0.10.2/s3transfer/constants.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/constants.py 2024-10-08 20:06:31.000000000 +0200
@@ -26,5 +26,5 @@
'ExpectedBucketOwner',
]
-USER_AGENT = 's3transfer/%s' % s3transfer.__version__
-PROCESS_USER_AGENT = '%s processpool' % USER_AGENT
+USER_AGENT = f's3transfer/{s3transfer.__version__}'
+PROCESS_USER_AGENT = f'{USER_AGENT} processpool'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/copies.py new/s3transfer-0.10.3/s3transfer/copies.py
--- old/s3transfer-0.10.2/s3transfer/copies.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/copies.py 2024-10-08 20:06:31.000000000 +0200
@@ -280,7 +280,7 @@
raise TypeError(
'Expecting dictionary formatted: '
'{"Bucket": bucket_name, "Key": key} '
- 'but got %s or type %s.' % (copy_source, type(copy_source))
+ f'but got {copy_source} or type {type(copy_source)}.'
)
def _extra_upload_part_args(self, extra_args):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/download.py new/s3transfer-0.10.3/s3transfer/download.py
--- old/s3transfer-0.10.2/s3transfer/download.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/download.py 2024-10-08 20:06:31.000000000 +0200
@@ -307,9 +307,7 @@
if download_manager_cls.is_compatible(fileobj, osutil):
return download_manager_cls
raise RuntimeError(
- 'Output {} of type: {} is not supported.'.format(
- fileobj, type(fileobj)
- )
+ f'Output {fileobj} of type: {type(fileobj)} is not supported.'
)
def _submit(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/futures.py new/s3transfer-0.10.3/s3transfer/futures.py
--- old/s3transfer-0.10.2/s3transfer/futures.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/futures.py 2024-10-08 20:06:31.000000000 +0200
@@ -175,9 +175,7 @@
self._failure_cleanups_lock = threading.Lock()
def __repr__(self):
- return '{}(transfer_id={})'.format(
- self.__class__.__name__, self.transfer_id
- )
+ return f'{self.__class__.__name__}(transfer_id={self.transfer_id})'
@property
def exception(self):
@@ -295,8 +293,8 @@
with self._lock:
if self.done():
raise RuntimeError(
- 'Unable to transition from done state %s to non-done '
- 'state %s.' % (self.status, desired_state)
+ f'Unable to transition from done state {self.status} to non-done '
+ f'state {desired_state}.'
)
self._status = desired_state
@@ -316,9 +314,7 @@
:returns: A future representing the submitted task
"""
logger.debug(
- "Submitting task {} to executor {} for transfer request: {}.".format(
- task, executor, self.transfer_id
- )
+ f"Submitting task {task} to executor {executor} for transfer request: {self.transfer_id}."
)
future = executor.submit(task, tag=tag)
# Add this created future to the list of associated future just
@@ -400,7 +396,7 @@
# We do not want a callback interrupting the process, especially
# in the failure cleanups. So log and catch, the exception.
except Exception:
- logger.debug("Exception raised in %s." % callback, exc_info=True)
+ logger.debug(f"Exception raised in {callback}.", exc_info=True)
class BoundedExecutor:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/manager.py new/s3transfer-0.10.3/s3transfer/manager.py
--- old/s3transfer-0.10.2/s3transfer/manager.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/manager.py 2024-10-08 20:06:31.000000000 +0200
@@ -149,8 +149,8 @@
for attr, attr_val in self.__dict__.items():
if attr_val is not None and attr_val <= 0:
raise ValueError(
- 'Provided parameter %s of value %s must be greater than '
- '0.' % (attr, attr_val)
+ f'Provided parameter {attr} of value {attr_val} must '
+ 'be greater than 0.'
)
@@ -492,16 +492,16 @@
match = pattern.match(bucket)
if match:
raise ValueError(
- 'TransferManager methods do not support %s '
- 'resource. Use direct client calls instead.' % resource
+ f'TransferManager methods do not support {resource} '
+ 'resource. Use direct client calls instead.'
)
def _validate_all_known_args(self, actual, allowed):
for kwarg in actual:
if kwarg not in allowed:
raise ValueError(
- "Invalid extra_args key '%s', "
- "must be one of: %s" % (kwarg, ', '.join(allowed))
+ "Invalid extra_args key '{}', "
+ "must be one of: {}".format(kwarg, ', '.join(allowed))
)
def _add_operation_defaults(self, bucket, extra_args):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/processpool.py new/s3transfer-0.10.3/s3transfer/processpool.py
--- old/s3transfer-0.10.2/s3transfer/processpool.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/processpool.py 2024-10-08 20:06:31.000000000 +0200
@@ -192,6 +192,7 @@
are using ``us-west-2`` as their region.
"""
+
import collections
import contextlib
import logging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/subscribers.py new/s3transfer-0.10.3/s3transfer/subscribers.py
--- old/s3transfer-0.10.2/s3transfer/subscribers.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/subscribers.py 2024-10-08 20:06:31.000000000 +0200
@@ -30,20 +30,19 @@
return super().__new__(cls)
@classmethod
- @lru_cache()
+ @lru_cache
def _validate_subscriber_methods(cls):
for subscriber_type in cls.VALID_SUBSCRIBER_TYPES:
subscriber_method = getattr(cls, 'on_' + subscriber_type)
if not callable(subscriber_method):
raise InvalidSubscriberMethodError(
- 'Subscriber method %s must be callable.'
- % subscriber_method
+ f'Subscriber method {subscriber_method} must be callable.'
)
if not accepts_kwargs(subscriber_method):
raise InvalidSubscriberMethodError(
- 'Subscriber method %s must accept keyword '
- 'arguments (**kwargs)' % subscriber_method
+ f'Subscriber method {subscriber_method} must accept keyword '
+ 'arguments (**kwargs)'
)
def on_queued(self, future, **kwargs):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/tasks.py new/s3transfer-0.10.3/s3transfer/tasks.py
--- old/s3transfer-0.10.2/s3transfer/tasks.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/tasks.py 2024-10-08 20:06:31.000000000 +0200
@@ -96,11 +96,7 @@
main_kwargs_to_display = self._get_kwargs_with_params_to_include(
self._main_kwargs, params_to_display
)
- return '{}(transfer_id={}, {})'.format(
- self.__class__.__name__,
- self._transfer_coordinator.transfer_id,
- main_kwargs_to_display,
- )
+ return f'{self.__class__.__name__}(transfer_id={self._transfer_coordinator.transfer_id}, {main_kwargs_to_display})'
@property
def transfer_id(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/upload.py new/s3transfer-0.10.3/s3transfer/upload.py
--- old/s3transfer-0.10.2/s3transfer/upload.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/upload.py 2024-10-08 20:06:31.000000000 +0200
@@ -550,9 +550,7 @@
if upload_manager_cls.is_compatible(fileobj):
return upload_manager_cls
raise RuntimeError(
- 'Input {} of type: {} is not supported.'.format(
- fileobj, type(fileobj)
- )
+ f'Input {fileobj} of type: {type(fileobj)} is not supported.'
)
def _submit(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer/utils.py new/s3transfer-0.10.3/s3transfer/utils.py
--- old/s3transfer-0.10.2/s3transfer/utils.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer/utils.py 2024-10-08 20:06:31.000000000 +0200
@@ -191,9 +191,7 @@
self._kwargs = kwargs
def __repr__(self):
- return 'Function: {} with args {} and kwargs {}'.format(
- self._func, self._args, self._kwargs
- )
+ return f'Function: {self._func} with args {self._args} and kwargs {self._kwargs}'
def __call__(self):
return self._func(*self._args, **self._kwargs)
@@ -636,7 +634,7 @@
"""
logger.debug("Acquiring %s", tag)
if not self._semaphore.acquire(blocking):
- raise NoResourcesAvailable("Cannot acquire tag '%s'" % tag)
+ raise NoResourcesAvailable(f"Cannot acquire tag '{tag}'")
def release(self, tag, acquire_token):
"""Release the semaphore
@@ -694,7 +692,7 @@
try:
if self._count == 0:
if not blocking:
- raise NoResourcesAvailable("Cannot acquire tag '%s'" % tag)
+ raise NoResourcesAvailable(f"Cannot acquire tag '{tag}'")
else:
while self._count == 0:
self._condition.wait()
@@ -716,7 +714,7 @@
self._condition.acquire()
try:
if tag not in self._tag_sequences:
- raise ValueError("Attempted to release unknown tag: %s" % tag)
+ raise ValueError(f"Attempted to release unknown tag: {tag}")
max_sequence = self._tag_sequences[tag]
if self._lowest_sequence[tag] == sequence_number:
# We can immediately process this request and free up
@@ -743,7 +741,7 @@
else:
raise ValueError(
"Attempted to release unknown sequence number "
- "%s for tag: %s" % (sequence_number, tag)
+ f"{sequence_number} for tag: {tag}"
)
finally:
self._condition.release()
@@ -781,13 +779,13 @@
if current_chunksize > self.max_size:
logger.debug(
"Chunksize greater than maximum chunksize. "
- "Setting to %s from %s." % (self.max_size, current_chunksize)
+ f"Setting to {self.max_size} from {current_chunksize}."
)
return self.max_size
elif current_chunksize < self.min_size:
logger.debug(
"Chunksize less than minimum chunksize. "
- "Setting to %s from %s." % (self.min_size, current_chunksize)
+ f"Setting to {self.min_size} from {current_chunksize}."
)
return self.min_size
else:
@@ -804,8 +802,7 @@
if chunksize != current_chunksize:
logger.debug(
"Chunksize would result in the number of parts exceeding the "
- "maximum. Setting to %s from %s."
- % (chunksize, current_chunksize)
+ f"maximum. Setting to {chunksize} from {current_chunksize}."
)
return chunksize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/s3transfer.egg-info/PKG-INFO new/s3transfer-0.10.3/s3transfer.egg-info/PKG-INFO
--- old/s3transfer-0.10.2/s3transfer.egg-info/PKG-INFO 2024-06-24 23:03:01.000000000 +0200
+++ new/s3transfer-0.10.3/s3transfer.egg-info/PKG-INFO 2024-10-08 20:06:31.000000000 +0200
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: s3transfer
-Version: 0.10.2
+Version: 0.10.3
Summary: An Amazon S3 Transfer Manager
Home-page: https://github.com/boto/s3transfer
Author: Amazon Web Services
Author-email: kyknapp1(a)gmail.com
License: Apache License 2.0
-Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
@@ -19,10 +18,13 @@
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
Requires-Python: >= 3.8
-Provides-Extra: crt
License-File: LICENSE.txt
License-File: NOTICE.txt
+Requires-Dist: botocore<2.0a.0,>=1.33.2
+Provides-Extra: crt
+Requires-Dist: botocore[crt]<2.0a.0,>=1.33.2; extra == "crt"
=====================================================
s3transfer - An Amazon S3 Transfer Manager for Python
@@ -37,5 +39,3 @@
production, make sure to lock to a minor version as interfaces may break
from minor version to minor version. For a basic, stable interface of
s3transfer, try the interfaces exposed in `boto3 <https://boto3.readthedocs.io/en/latest/guide/s3.html#using-the-transfer-man…>`__
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/setup.cfg new/s3transfer-0.10.3/setup.cfg
--- old/s3transfer-0.10.2/setup.cfg 2024-06-24 23:03:01.450911300 +0200
+++ new/s3transfer-0.10.3/setup.cfg 2024-10-08 20:06:31.916945200 +0200
@@ -8,9 +8,6 @@
[options.extras_require]
crt = botocore[crt]>=1.33.2,<2.0a0
-[flake8]
-ignore = E203,E226,E501,W503,W504
-
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/setup.py new/s3transfer-0.10.3/setup.py
--- old/s3transfer-0.10.2/setup.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/setup.py 2024-10-08 20:06:31.000000000 +0200
@@ -47,5 +47,6 @@
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
+ 'Programming Language :: Python :: 3.13',
],
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/__init__.py new/s3transfer-0.10.3/tests/__init__.py
--- old/s3transfer-0.10.2/tests/__init__.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/__init__.py 2024-10-08 20:06:31.000000000 +0200
@@ -72,9 +72,7 @@
second_md5 = md5_checksum(second)
if first_md5 != second_md5:
raise AssertionError(
- "Files are not equal: {}(md5={}) != {}(md5={})".format(
- first, first_md5, second, second_md5
- )
+ f"Files are not equal: {first}(md5={first_md5}) != {second}(md5={second_md5})"
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/functional/test_copy.py new/s3transfer-0.10.3/tests/functional/test_copy.py
--- old/s3transfer-0.10.2/tests/functional/test_copy.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/functional/test_copy.py 2024-10-08 20:06:31.000000000 +0200
@@ -96,9 +96,9 @@
# Add the expected create multipart upload params.
if expected_create_mpu_params:
- stubbed_responses[0][
- 'expected_params'
- ] = expected_create_mpu_params
+ stubbed_responses[0]['expected_params'] = (
+ expected_create_mpu_params
+ )
# Add any expected copy parameters.
if expected_copy_params:
@@ -110,9 +110,9 @@
# Add the expected complete multipart upload params.
if expected_complete_mpu_params:
- stubbed_responses[-1][
- 'expected_params'
- ] = expected_complete_mpu_params
+ stubbed_responses[-1]['expected_params'] = (
+ expected_complete_mpu_params
+ )
# Add the responses to the stubber.
for stubbed_response in stubbed_responses:
@@ -396,7 +396,7 @@
if extra_expected_params:
if 'ChecksumAlgorithm' in extra_expected_params:
name = extra_expected_params['ChecksumAlgorithm']
- checksum_member = 'Checksum%s' % name.upper()
+ checksum_member = f'Checksum{name.upper()}'
response = upload_part_response['service_response']
response['CopyPartResult'][checksum_member] = 'sum%s==' % (
i + 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/functional/test_crt.py new/s3transfer-0.10.3/tests/functional/test_crt.py
--- old/s3transfer-0.10.2/tests/functional/test_crt.py 2024-06-24 23:03:01.000000000 +0200
+++ new/s3transfer-0.10.3/tests/functional/test_crt.py 2024-10-08 20:06:31.000000000 +0200
@@ -77,7 +77,7 @@
'myfile', self.expected_content, mode='wb'
)
self.expected_path = "/" + self.bucket + "/" + self.key
- self.expected_host = "s3.%s.amazonaws.com" % (self.region)
+ self.expected_host = f"s3.{self.region}.amazonaws.com"
self.expected_s3express_host = f'{self.s3express_bucket}.s3express-usw2-az5.us-west-2.amazonaws.com'
self.expected_s3express_path = f'/{self.key}'
self.s3_request = mock.Mock(awscrt.s3.S3Request)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/functional/test_download.py new/s3transfer-0.10.3/tests/functional/test_download.py
--- old/s3transfer-0.10.2/tests/functional/test_download.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/functional/test_download.py 2024-10-08 20:06:31.000000000 +0200
@@ -116,9 +116,9 @@
expected_params
)
if expected_ranges:
- stubbed_response['expected_params'][
- 'Range'
- ] = expected_ranges[i]
+ stubbed_response['expected_params']['Range'] = (
+ expected_ranges[i]
+ )
self.stubber.add_response(**stubbed_response)
def add_n_retryable_get_object_responses(self, n, num_reads=0):
@@ -141,7 +141,7 @@
# Make sure the file exists
self.assertTrue(os.path.exists(self.filename))
# Make sure the random temporary file does not exist
- possible_matches = glob.glob('%s*' % self.filename + os.extsep)
+ possible_matches = glob.glob(f'{self.filename}*' + os.extsep)
self.assertEqual(possible_matches, [])
def test_download_for_fileobj(self):
@@ -201,7 +201,7 @@
future.result()
# Make sure the actual file and the temporary do not exist
# by globbing for the file and any of its extensions
- possible_matches = glob.glob('%s*' % self.filename)
+ possible_matches = glob.glob(f'{self.filename}*')
self.assertEqual(possible_matches, [])
def test_download_with_nonexistent_directory(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/functional/test_processpool.py new/s3transfer-0.10.3/tests/functional/test_processpool.py
--- old/s3transfer-0.10.2/tests/functional/test_processpool.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/functional/test_processpool.py 2024-10-08 20:06:31.000000000 +0200
@@ -212,7 +212,7 @@
)
self.assertFalse(os.path.exists(self.filename))
# Any tempfile should have been erased as well
- possible_matches = glob.glob('%s*' % self.filename + os.extsep)
+ possible_matches = glob.glob(f'{self.filename}*' + os.extsep)
self.assertEqual(possible_matches, [])
def test_validates_extra_args(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/functional/test_upload.py new/s3transfer-0.10.3/tests/functional/test_upload.py
--- old/s3transfer-0.10.2/tests/functional/test_upload.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/functional/test_upload.py 2024-10-08 20:06:31.000000000 +0200
@@ -92,7 +92,7 @@
data=params['Body'],
)
self.client.meta.events.emit(
- 'request-created.s3.%s' % model.name,
+ f'request-created.s3.{model.name}',
request=request,
operation_name=model.name,
)
@@ -398,7 +398,7 @@
# If ChecksumAlgorithm is present stub the response checksums
if 'ChecksumAlgorithm' in extra_expected_params:
name = extra_expected_params['ChecksumAlgorithm']
- checksum_member = 'Checksum%s' % name.upper()
+ checksum_member = f'Checksum{name.upper()}'
response = upload_part_response['service_response']
response[checksum_member] = 'sum%s==' % (i + 1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/integration/test_crt.py new/s3transfer-0.10.3/tests/integration/test_crt.py
--- old/s3transfer-0.10.2/tests/integration/test_crt.py 2024-06-24 23:03:01.000000000 +0200
+++ new/s3transfer-0.10.3/tests/integration/test_crt.py 2024-10-08 20:06:31.000000000 +0200
@@ -522,6 +522,6 @@
future.result()
self.assertEqual(err.name, 'AWS_ERROR_S3_CANCELED')
- possible_matches = glob.glob('%s*' % download_path)
+ possible_matches = glob.glob(f'{download_path}*')
self.assertEqual(possible_matches, [])
self._assert_subscribers_called()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/integration/test_download.py new/s3transfer-0.10.3/tests/integration/test_download.py
--- old/s3transfer-0.10.2/tests/integration/test_download.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/integration/test_download.py 2024-10-08 20:06:31.000000000 +0200
@@ -98,7 +98,7 @@
future.cancel()
raise RuntimeError(
"Download transfer did not start after waiting for "
- "%s seconds." % timeout
+ f"{timeout} seconds."
)
# Raise an exception which should cause the preceding
# download to cancel and exit quickly
@@ -115,9 +115,7 @@
self.assertLess(
actual_time_to_exit,
max_allowed_exit_time,
- "Failed to exit under {}. Instead exited in {}.".format(
- max_allowed_exit_time, actual_time_to_exit
- ),
+ f"Failed to exit under {max_allowed_exit_time}. Instead exited in {actual_time_to_exit}.",
)
# Make sure the future was cancelled because of the KeyboardInterrupt
@@ -126,7 +124,7 @@
# Make sure the actual file and the temporary do not exist
# by globbing for the file and any of its extensions
- possible_matches = glob.glob('%s*' % download_path)
+ possible_matches = glob.glob(f'{download_path}*')
self.assertEqual(possible_matches, [])
@skip_if_using_serial_implementation(
@@ -174,9 +172,7 @@
self.assertLess(
end_time - start_time,
max_allowed_exit_time,
- "Failed to exit under {}. Instead exited in {}.".format(
- max_allowed_exit_time, end_time - start_time
- ),
+ f"Failed to exit under {max_allowed_exit_time}. Instead exited in {end_time - start_time}.",
)
# Make sure at least one of the futures got cancelled
@@ -186,7 +182,7 @@
# For the transfer that did get cancelled, make sure the temporary
# file got removed.
- possible_matches = glob.glob('%s*' % future.meta.call_args.fileobj)
+ possible_matches = glob.glob(f'{future.meta.call_args.fileobj}*')
self.assertEqual(possible_matches, [])
def test_progress_subscribers_on_download(self):
@@ -284,5 +280,5 @@
except Exception as e:
self.fail(
'Should have been able to download to /dev/null but received '
- 'following exception %s' % e
+ f'following exception {e}'
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/integration/test_processpool.py new/s3transfer-0.10.3/tests/integration/test_processpool.py
--- old/s3transfer-0.10.2/tests/integration/test_processpool.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/integration/test_processpool.py 2024-10-08 20:06:31.000000000 +0200
@@ -96,14 +96,12 @@
self.assertLess(
end_time - start_time,
max_allowed_exit_time,
- "Failed to exit under {}. Instead exited in {}.".format(
- max_allowed_exit_time, end_time - start_time
- ),
+ f"Failed to exit under {max_allowed_exit_time}. Instead exited in {end_time - start_time}.",
)
# Make sure the actual file and the temporary do not exist
# by globbing for the file and any of its extensions
- possible_matches = glob.glob('%s*' % download_path)
+ possible_matches = glob.glob(f'{download_path}*')
self.assertEqual(possible_matches, [])
def test_many_files_exits_quickly_on_exception(self):
@@ -138,12 +136,10 @@
self.assertLess(
end_time - start_time,
max_allowed_exit_time,
- "Failed to exit under {}. Instead exited in {}.".format(
- max_allowed_exit_time, end_time - start_time
- ),
+ f"Failed to exit under {max_allowed_exit_time}. Instead exited in {end_time - start_time}.",
)
# For the transfer that did get cancelled, make sure the temporary
# file got removed.
- possible_matches = glob.glob('%s*' % base_filename)
+ possible_matches = glob.glob(f'{base_filename}*')
self.assertEqual(possible_matches, [])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/integration/test_s3transfer.py new/s3transfer-0.10.3/tests/integration/test_s3transfer.py
--- old/s3transfer-0.10.2/tests/integration/test_s3transfer.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/integration/test_s3transfer.py 2024-10-08 20:06:31.000000000 +0200
@@ -31,9 +31,7 @@
second_md5 = md5_checksum(second)
if first_md5 != second_md5:
raise AssertionError(
- "Files are not equal: {}(md5={}) != {}(md5={})".format(
- first, first_md5, second, second_md5
- )
+ f"Files are not equal: {first}(md5={first_md5}) != {second}(md5={second_md5})"
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/integration/test_upload.py new/s3transfer-0.10.3/tests/integration/test_upload.py
--- old/s3transfer-0.10.2/tests/integration/test_upload.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/integration/test_upload.py 2024-10-08 20:06:31.000000000 +0200
@@ -84,7 +84,7 @@
future.cancel()
raise RuntimeError(
"Download transfer did not start after waiting for "
- "%s seconds." % timeout
+ f"{timeout} seconds."
)
# Raise an exception which should cause the preceding
# download to cancel and exit quickly
@@ -101,9 +101,7 @@
self.assertLess(
actual_time_to_exit,
max_allowed_exit_time,
- "Failed to exit under {}. Instead exited in {}.".format(
- max_allowed_exit_time, actual_time_to_exit
- ),
+ f"Failed to exit under {max_allowed_exit_time}. Instead exited in {actual_time_to_exit}.",
)
try:
@@ -163,9 +161,7 @@
self.assertLess(
end_time - start_time,
max_allowed_exit_time,
- "Failed to exit under {}. Instead exited in {}.".format(
- max_allowed_exit_time, end_time - start_time
- ),
+ f"Failed to exit under {max_allowed_exit_time}. Instead exited in {end_time - start_time}.",
)
# Make sure at least one of the futures got cancelled
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/unit/test_compat.py new/s3transfer-0.10.3/tests/unit/test_compat.py
--- old/s3transfer-0.10.2/tests/unit/test_compat.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/unit/test_compat.py 2024-10-08 20:06:31.000000000 +0200
@@ -57,7 +57,7 @@
def test_non_seekable_ioerror(self):
# Should return False if IOError is thrown.
with open(self.filename, 'w') as f:
- self.assertFalse(seekable(ErrorRaisingSeekWrapper(f, IOError())))
+ self.assertFalse(seekable(ErrorRaisingSeekWrapper(f, OSError())))
def test_non_seekable_oserror(self):
# Should return False if OSError is thrown.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/unit/test_crt.py new/s3transfer-0.10.3/tests/unit/test_crt.py
--- old/s3transfer-0.10.2/tests/unit/test_crt.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/unit/test_crt.py 2024-10-08 20:06:31.000000000 +0200
@@ -103,7 +103,7 @@
self.files = FileCreator()
self.filename = self.files.create_file('myfile', 'my content')
self.expected_path = "/" + self.bucket + "/" + self.key
- self.expected_host = "s3.%s.amazonaws.com" % (self.region)
+ self.expected_host = f"s3.{self.region}.amazonaws.com"
def tearDown(self):
self.files.remove_all()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/unit/test_futures.py new/s3transfer-0.10.3/tests/unit/test_futures.py
--- old/s3transfer-0.10.2/tests/unit/test_futures.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/unit/test_futures.py 2024-10-08 20:06:31.000000000 +0200
@@ -489,9 +489,7 @@
self.executor.submit(task, tag=tag, block=False)
except NoResourcesAvailable:
self.fail(
- 'Task {} should not have been blocked. Caused by:\n{}'.format(
- task, traceback.format_exc()
- )
+ f'Task {task} should not have been blocked. Caused by:\n{traceback.format_exc()}'
)
def add_done_callback_to_future(self, future, fn, *args, **kwargs):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/unit/test_manager.py new/s3transfer-0.10.3/tests/unit/test_manager.py
--- old/s3transfer-0.10.2/tests/unit/test_manager.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/unit/test_manager.py 2024-10-08 20:06:31.000000000 +0200
@@ -132,7 +132,7 @@
try:
self.coordinator_controller.wait()
except FutureResultException as e:
- self.fail('%s should not have been raised.' % e)
+ self.fail(f'{e} should not have been raised.')
def test_wait_can_be_interrupted(self):
inject_interrupt_coordinator = TransferCoordinatorWithInterrupt()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/unit/test_s3transfer.py new/s3transfer-0.10.3/tests/unit/test_s3transfer.py
--- old/s3transfer-0.10.2/tests/unit/test_s3transfer.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/unit/test_s3transfer.py 2024-10-08 20:06:31.000000000 +0200
@@ -12,7 +12,6 @@
# language governing permissions and limitations under the License.
import os
import shutil
-import socket
import tempfile
from concurrent import futures
from contextlib import closing
@@ -434,7 +433,7 @@
response_body = b'foobarbaz'
stream_with_errors = mock.Mock()
stream_with_errors.read.side_effect = [
- socket.error("fake error"),
+ OSError("fake error"),
response_body,
]
client.get_object.return_value = {'Body': stream_with_errors}
@@ -469,7 +468,7 @@
client = mock.Mock()
response_body = b'foobarbaz'
stream_with_errors = mock.Mock()
- stream_with_errors.read.side_effect = socket.error("fake error")
+ stream_with_errors.read.side_effect = OSError("fake error")
client.get_object.return_value = {'Body': stream_with_errors}
config = TransferConfig(multipart_threshold=4, multipart_chunksize=4)
@@ -678,7 +677,7 @@
}
self.client.get_object.side_effect = [
# First request fails.
- socket.error("fake error"),
+ OSError("fake error"),
# Second succeeds.
{'Body': BytesIO(b'foobar')},
]
@@ -696,7 +695,7 @@
# Here we're raising an exception every single time, which
# will exhaust our retry count and propagate a
# RetriesExceededError.
- self.client.get_object.side_effect = socket.error("fake error")
+ self.client.get_object.side_effect = OSError("fake error")
with self.assertRaises(RetriesExceededError):
transfer.download_file('bucket', 'key', 'smallfile')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/unit/test_subscribers.py new/s3transfer-0.10.3/tests/unit/test_subscribers.py
--- old/s3transfer-0.10.2/tests/unit/test_subscribers.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/unit/test_subscribers.py 2024-10-08 20:06:31.000000000 +0200
@@ -54,7 +54,7 @@
except Exception as e:
self.fail(
'Should be able to call base class subscriber method. '
- 'instead got: %s' % e
+ f'instead got: {e}'
)
def test_subclass_can_have_and_call_additional_methods(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/unit/test_upload.py new/s3transfer-0.10.3/tests/unit/test_upload.py
--- old/s3transfer-0.10.2/tests/unit/test_upload.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/unit/test_upload.py 2024-10-08 20:06:31.000000000 +0200
@@ -50,7 +50,7 @@
class OSUtilsExceptionOnFileSize(OSUtils):
def get_file_size(self, filename):
raise AssertionError(
- "The file %s should not have been stated" % filename
+ f"The file {filename} should not have been stated"
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.10.2/tests/unit/test_utils.py new/s3transfer-0.10.3/tests/unit/test_utils.py
--- old/s3transfer-0.10.2/tests/unit/test_utils.py 2024-06-24 23:00:46.000000000 +0200
+++ new/s3transfer-0.10.3/tests/unit/test_utils.py 2024-10-08 20:06:31.000000000 +0200
@@ -282,7 +282,7 @@
try:
OSUtils().remove_file(non_existent_file)
except OSError as e:
- self.fail('OSError should have been caught: %s' % e)
+ self.fail(f'OSError should have been caught: {e}')
def test_remove_file_proxies_remove_file(self):
OSUtils().remove_file(self.filename)
@@ -306,7 +306,7 @@
filename = 'myfile'
self.assertIsNotNone(
re.match(
- r'%s\.[0-9A-Fa-f]{8}$' % filename,
+ rf'{filename}\.[0-9A-Fa-f]{{8}}$',
OSUtils().get_temp_filename(filename),
)
)
@@ -329,7 +329,7 @@
@mock.patch('s3transfer.utils.fallocate')
def test_allocate_with_io_error(self, mock_fallocate):
- mock_fallocate.side_effect = IOError()
+ mock_fallocate.side_effect = OSError()
with self.assertRaises(IOError):
OSUtils().allocate(self.filename, 1)
self.assertFalse(os.path.exists(self.filename))
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package totem for openSUSE:Factory checked in at 2024-10-23 21:08:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/totem (Old)
and /work/SRC/openSUSE:Factory/.totem.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "totem"
Wed Oct 23 21:08:04 2024 rev:159 rq:1217330 version:43.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/totem/totem.changes 2023-12-05 17:02:12.226908463 +0100
+++ /work/SRC/openSUSE:Factory/.totem.new.26871/totem.changes 2024-10-23 21:08:19.133810192 +0200
@@ -1,0 +2,17 @@
+Tue Oct 22 18:35:48 UTC 2024 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 43.1:
+ + Fix scroll-by-page GTK setting breaking slider
+ + Fix a number of MPRIS playback controls not working correctly
+ + Fix a number of opensubtitles dialogue problems
+ + Fix hyphens appearing in filenames
+ + Force using newer GStreamer va-api plugins, fixing scrambled
+ videos in some cases
+ + Fix error showing the keyboard shortcuts
+ + Fix assertion when backends send out audio or image files even
+ though we asked them to be filtered out
+ + Updated translations.
+- Drop patch fixed upstream:
+ + ac2d02530d3b555e44907162be05536a5927b2a0.patch
+
+-------------------------------------------------------------------
Old:
----
ac2d02530d3b555e44907162be05536a5927b2a0.patch
totem-43.0.tar.xz
New:
----
totem-43.1.tar.xz
BETA DEBUG BEGIN:
Old:- Drop patch fixed upstream:
+ ac2d02530d3b555e44907162be05536a5927b2a0.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ totem.spec ++++++
--- /var/tmp/diff_new_pack.iwGi4T/_old 2024-10-23 21:08:19.689833276 +0200
+++ /var/tmp/diff_new_pack.iwGi4T/_new 2024-10-23 21:08:19.689833276 +0200
@@ -1,7 +1,7 @@
#
# spec file for package totem
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,13 @@
Name: totem
-Version: 43.0
+Version: 43.1
Release: 0
Summary: Movie Player for the GNOME Desktop
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Multimedia/Video/Players
URL: https://wiki.gnome.org/Apps/Videos
Source0: https://download.gnome.org/sources/totem/43/%{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM ac2d02530d3b555e44907162be05536a5927b2a0.patch -- gst: Force using newer GStreamer libva plugins
-Patch0: https://gitlab.gnome.org/GNOME/totem/-/commit/ac2d02530d3b555e44907162be055…
# PATCH-FIX-UPSTREAM d16d9ad1d2b214996639e4f01c4515b611fb2739.patch -- data: Add new canonical mime-type for AVI files
Patch1: https://gitlab.gnome.org/GNOME/totem/-/commit/d16d9ad1d2b214996639e4f01c451…
++++++ totem-43.0.tar.xz -> totem-43.1.tar.xz ++++++
++++ 27562 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package grub2 for openSUSE:Factory checked in at 2024-10-23 21:08:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grub2 (Old)
and /work/SRC/openSUSE:Factory/.grub2.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2"
Wed Oct 23 21:08:03 2024 rev:337 rq:1217306 version:2.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/grub2/grub2.changes 2024-10-06 17:51:26.603786957 +0200
+++ /work/SRC/openSUSE:Factory/.grub2.new.26871/grub2.changes 2024-10-23 21:08:08.565371435 +0200
@@ -1,0 +2,36 @@
+Wed Oct 23 06:17:54 UTC 2024 - Michael Chang <mchang(a)suse.com>
+
+- Fix error: /boot/grub2/x86_64-efi/bli.mod not found (bsc#1231591)
+
+-------------------------------------------------------------------
+Tue Oct 22 07:34:04 UTC 2024 - Michael Chang <mchang(a)suse.com>
+
+- Keep grub packaging and dependencies in the SLE-12 and SLE-15 builds
+
+-------------------------------------------------------------------
+Fri Oct 18 07:42:27 UTC 2024 - Michael Chang <mchang(a)suse.com>
+
+- Power guest secure boot with key management (jsc#PED-3520) (jsc#PED-9892)
+ * 0001-ieee1275-Platform-Keystore-PKS-Support.patch
+ * 0002-ieee1275-Read-the-DB-and-DBX-secure-boot-variables.patch
+ * 0003-appendedsig-The-creation-of-trusted-and-distrusted-l.patch
+ * 0004-appendedsig-While-verifying-the-kernel-use-trusted-a.patch
+ * 0005-appendedsig-The-grub-command-s-trusted-and-distruste.patch
+ * 0006-appendedsig-documentation.patch
+ * 0007-mkimage-create-new-ELF-Note-for-SBAT.patch
+ * 0008-mkimage-adding-sbat-data-into-sbat-ELF-Note-on-power.patch
+ * grub2.spec : Building signed grub.elf with SBAT metadata
+- Support for NVMe multipath splitter (jsc#PED-10538)
+ * 0001-ieee1275-support-added-for-multiple-nvme-bootpaths.patch
+- Deleted path (jsc#PED-10538)
+ * 0001-grub2-Can-t-setup-a-default-boot-device-correctly-on.patch
+ * 0001-grub2-Set-multiple-device-path-for-a-nvmf-boot-devic.patch
+
+-------------------------------------------------------------------
+Wed Oct 16 13:50:00 UTC 2024 - Michael Chang <mchang(a)suse.com>
+
+- Fix not a directory error from the minix filesystem, as leftover data on disk
+ may contain its magic header so it gets misdetected (bsc#1231604)
+ * grub2-install-fix-not-a-directory-error.patch
+
+-------------------------------------------------------------------
Old:
----
0001-grub2-Can-t-setup-a-default-boot-device-correctly-on.patch
0001-grub2-Set-multiple-device-path-for-a-nvmf-boot-devic.patch
New:
----
0001-ieee1275-Platform-Keystore-PKS-Support.patch
0001-ieee1275-support-added-for-multiple-nvme-bootpaths.patch
0002-ieee1275-Read-the-DB-and-DBX-secure-boot-variables.patch
0003-appendedsig-The-creation-of-trusted-and-distrusted-l.patch
0004-appendedsig-While-verifying-the-kernel-use-trusted-a.patch
0005-appendedsig-The-grub-command-s-trusted-and-distruste.patch
0006-appendedsig-documentation.patch
0007-mkimage-create-new-ELF-Note-for-SBAT.patch
0008-mkimage-adding-sbat-data-into-sbat-ELF-Note-on-power.patch
BETA DEBUG BEGIN:
Old:- Deleted path (jsc#PED-10538)
* 0001-grub2-Can-t-setup-a-default-boot-device-correctly-on.patch
* 0001-grub2-Set-multiple-device-path-for-a-nvmf-boot-devic.patch
Old: * 0001-grub2-Can-t-setup-a-default-boot-device-correctly-on.patch
* 0001-grub2-Set-multiple-device-path-for-a-nvmf-boot-devic.patch
BETA DEBUG END:
BETA DEBUG BEGIN:
New:- Power guest secure boot with key management (jsc#PED-3520) (jsc#PED-9892)
* 0001-ieee1275-Platform-Keystore-PKS-Support.patch
* 0002-ieee1275-Read-the-DB-and-DBX-secure-boot-variables.patch
New:- Support for NVMe multipath splitter (jsc#PED-10538)
* 0001-ieee1275-support-added-for-multiple-nvme-bootpaths.patch
- Deleted path (jsc#PED-10538)
New: * 0001-ieee1275-Platform-Keystore-PKS-Support.patch
* 0002-ieee1275-Read-the-DB-and-DBX-secure-boot-variables.patch
* 0003-appendedsig-The-creation-of-trusted-and-distrusted-l.patch
New: * 0002-ieee1275-Read-the-DB-and-DBX-secure-boot-variables.patch
* 0003-appendedsig-The-creation-of-trusted-and-distrusted-l.patch
* 0004-appendedsig-While-verifying-the-kernel-use-trusted-a.patch
New: * 0003-appendedsig-The-creation-of-trusted-and-distrusted-l.patch
* 0004-appendedsig-While-verifying-the-kernel-use-trusted-a.patch
* 0005-appendedsig-The-grub-command-s-trusted-and-distruste.patch
New: * 0004-appendedsig-While-verifying-the-kernel-use-trusted-a.patch
* 0005-appendedsig-The-grub-command-s-trusted-and-distruste.patch
* 0006-appendedsig-documentation.patch
New: * 0005-appendedsig-The-grub-command-s-trusted-and-distruste.patch
* 0006-appendedsig-documentation.patch
* 0007-mkimage-create-new-ELF-Note-for-SBAT.patch
New: * 0006-appendedsig-documentation.patch
* 0007-mkimage-create-new-ELF-Note-for-SBAT.patch
* 0008-mkimage-adding-sbat-data-into-sbat-ELF-Note-on-power.patch
New: * 0007-mkimage-create-new-ELF-Note-for-SBAT.patch
* 0008-mkimage-adding-sbat-data-into-sbat-ELF-Note-on-power.patch
* grub2.spec : Building signed grub.elf with SBAT metadata
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ grub2.spec ++++++
--- /var/tmp/diff_new_pack.ca0CkN/_old 2024-10-23 21:08:15.957678332 +0200
+++ /var/tmp/diff_new_pack.ca0CkN/_new 2024-10-23 21:08:15.973678996 +0200
@@ -356,8 +356,6 @@
Patch165: 0004-ofpath-controller-name-update.patch
Patch166: 0002-Mark-environmet-blocks-as-used-for-image-embedding.patch
Patch167: grub2-increase-crypttab-path-buffer.patch
-Patch168: 0001-grub2-Set-multiple-device-path-for-a-nvmf-boot-devic.patch
-Patch169: 0001-grub2-Can-t-setup-a-default-boot-device-correctly-on.patch
Patch170: 0001-tpm2-Support-authorized-policy.patch
Patch171: 0001-tpm2-Add-extra-RSA-SRK-types.patch
Patch174: 0001-clean-up-crypttab-and-linux-modules-dependency.patch
@@ -411,9 +409,24 @@
Patch221: 0001-fix-grub-screen-filled-with-post-screen-artifects.patch
Patch222: 0001-efinet-Skip-virtual-VLAN-devices-during-card-enumera.patch
Patch223: 0001-tpm-Skip-loopback-image-measurement.patch
+Patch224: 0001-ieee1275-Platform-Keystore-PKS-Support.patch
+Patch225: 0002-ieee1275-Read-the-DB-and-DBX-secure-boot-variables.patch
+Patch226: 0003-appendedsig-The-creation-of-trusted-and-distrusted-l.patch
+Patch227: 0004-appendedsig-While-verifying-the-kernel-use-trusted-a.patch
+Patch228: 0005-appendedsig-The-grub-command-s-trusted-and-distruste.patch
+Patch229: 0006-appendedsig-documentation.patch
+Patch230: 0007-mkimage-create-new-ELF-Note-for-SBAT.patch
+Patch231: 0008-mkimage-adding-sbat-data-into-sbat-ELF-Note-on-power.patch
+Patch232: 0001-ieee1275-support-added-for-multiple-nvme-bootpaths.patch
+%if 0%{?suse_version} > 1600
# Always requires a default cpu-platform package
Requires: grub2-%{grubarch} = %{version}-%{release}
+%else
+%if ! 0%{?only_efi:1}
+Requires: grub2-%{grubarch} = %{version}-%{release}
+%endif
+%endif
%if 0%{?only_x86_64:1}
ExclusiveArch: x86_64
@@ -427,9 +440,11 @@
architecture. It support rich scale of kernel formats, file systems,
computer architectures and hardware devices.
+%if 0%{?suse_version} > 1600
%package common
Summary: Utilies to manage grub
Group: System/Boot
+%endif
Requires: gettext-runtime
%if 0%{?suse_version} >= 1140
%ifnarch s390x
@@ -456,15 +471,21 @@
Recommends: memtest86+
%endif
+%if 0%{?suse_version} > 1600
%description common
This package includes user space utlities to manage GRUB on your system.
+%endif
%package branding-upstream
Summary: Upstream branding for GRUB2's graphical console
Group: System/Fhs
BuildArch: noarch
+%if 0%{?suse_version} > 1600
Requires: %{name}-common = %{version}
+%else
+Requires: %{name} = %{version}
+%endif
%description branding-upstream
Upstream branding for GRUB2's graphical console
@@ -477,8 +498,13 @@
%if "%{platform}" != "emu"
BuildArch: noarch
%endif
+%if 0%{?suse_version} > 1600
Requires: %{name}-common = %{version}
Requires(post): %{name}-common = %{version}
+%else
+Requires: %{name} = %{version}
+Requires(post): %{name} = %{version}
+%endif
%{?update_bootloader_requires}
%description %{grubarch}
@@ -526,8 +552,13 @@
# Without it grub-install is broken so break the package as well if unavailable
Requires: efibootmgr
Requires(post): efibootmgr
+%if 0%{?suse_version} > 1600
Requires: %{name}-common = %{version}
Requires(post): %{name}-common = %{version}
+%else
+Requires: %{name} = %{version}
+Requires(post): %{name} = %{version}
+%endif
%{?update_bootloader_requires}
%{?fde_tpm_update_requires}
Provides: %{name}-efi = %{version}-%{release}
@@ -539,6 +570,7 @@
file systems, computer architectures and hardware devices. This subpackage
provides support for EFI systems.
+%if 0%{?suse_version} > 1600
%package %{grubefiarch}-bls
Summary: Image for Boot Loader Specification (BLS) support on %{grubefiarch}
Group: System/Boot
@@ -546,6 +578,7 @@
%description %{grubefiarch}-bls
Custom EFI build tailored for Boot Loader Specification (BLS) support.
+%endif
%package %{grubefiarch}-extras
@@ -611,8 +644,13 @@
Summary: Grub2's snapper plugin
Group: System/Fhs
Requires: libxml2-tools
+%if 0%{?suse_version} > 1600
Requires: (grub2 or grub2-common)
Supplements: ((grub2 or grub2-common) and snapper)
+%else
+Requires: %{name} = %{version}
+Supplements: packageand(snapper:grub2)
+%endif
BuildArch: noarch
%description snapper-plugin
@@ -624,8 +662,13 @@
Summary: Grub2's systemd-sleep plugin
Group: System/Fhs
Requires: util-linux
+%if 0%{?suse_version} > 1600
Requires: (grub2 or grub2-common)
Supplements: ((grub2 or grub2-common) and systemd)
+%else
+Requires: grub2
+Supplements: packageand(systemd:grub2)
+%endif
BuildArch: noarch
%description systemd-sleep-plugin
@@ -774,6 +817,7 @@
./grub-mkimage -O %{grubefiarch} -o grub.efi --memdisk=./memdisk.sqsh --prefix= %{?sbat_generation:--sbat sbat.csv} \
-d grub-core ${GRUB_MODULES}
+%if 0%{?suse_version} > 1600
rm memdisk.sqsh
# Building grubbls.efi
@@ -824,6 +868,7 @@
-d grub-core \
all_video boot font gfxmenu gfxterm gzio halt jpeg minicmd normal part_gpt png reboot video \
fat tpm tpm2 memdisk tar squash4 xzio blscfg linux bli regexp loadenv test echo true sleep
+%endif
%ifarch x86_64 aarch64
if test -e %{_sourcedir}/_projectcert.crt ; then
@@ -855,6 +900,14 @@
%if ! 0%{?only_efi:1}
cd build
+%ifarch ppc ppc64 ppc64le
+%if 0%{?sbat_generation}
+echo "sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md" > sbat.csv
+echo "grub,%{sbat_generation_grub},Free Software Foundation,grub,%{version},https://www.gnu.org/software/grub/" >> sbat.csv
+echo "grub.%{sbat_distro},%{sbat_generation},%{sbat_distro_summary},%{name},%{version},%{sbat_distro_url}" >> sbat.csv
+%endif
+%endif
+
%if "%{platform}" != "emu"
%define arch_specific --enable-device-mapper
TLFLAGS="-static"
@@ -984,7 +1037,7 @@
EOF
%{__tar} cvf memdisk.tar ./grub.cfg
./grub-mkimage -O %{grubarch} -o grub.elf -d grub-core -x grub.der -m memdisk.tar \
- -c %{platform}-config --appended-signature-size %brp_pesign_reservation ${GRUB_MODULES}
+ -c %{platform}-config -s sbat.csv --appended-signature-size %brp_pesign_reservation ${GRUB_MODULES}
ls -l "grub.elf"
truncate -s -%brp_pesign_reservation "grub.elf"
fi
@@ -1016,7 +1069,9 @@
%ifarch x86_64
ln -srf %{buildroot}/%{_datadir}/%{name}/%{grubefiarch}/grub.efi %{buildroot}/%{_datadir}/%{name}/%{grubefiarch}/grub-tpm.efi
%endif
+%if 0%{?suse_version} > 1600
install -m 644 grubbls.efi %{buildroot}/%{_datadir}/%{name}/%{grubefiarch}/.
+%endif
# Create grub.efi link to system efi directory
# This is for tools like kiwi not fiddling with the path
@@ -1038,7 +1093,11 @@
%endif
%ifarch x86_64 aarch64
+%if 0%{?suse_version} > 1600
export BRP_PESIGN_FILES="%{_datadir}/%{name}/%{grubefiarch}/grub.efi %{_datadir}/%{name}/%{grubefiarch}/grubbls.efi"
+%else
+export BRP_PESIGN_FILES="%{_datadir}/%{name}/%{grubefiarch}/grub.efi"
+%endif
install -m 444 grub.der %{buildroot}/%{sysefidir}/
%endif
@@ -1171,10 +1230,20 @@
%fdupes %buildroot%{_libdir}
%fdupes %buildroot%{_datadir}
+%if 0%{?suse_version} > 1600
%pre common
+%else
+
+%pre
+%endif
%service_add_pre grub2-once.service
+%if 0%{?suse_version} > 1600
%post common
+%else
+
+%post
+%endif
%service_add_post grub2-once.service
%if ! 0%{?only_efi:1}
@@ -1202,13 +1271,28 @@
%endif
+%if 0%{?suse_version} > 1600
%preun common
+%else
+
+%preun
+%endif
%service_del_preun grub2-once.service
+%if 0%{?suse_version} > 1600
%postun common
+%else
+
+%postun
+%endif
%service_del_postun grub2-once.service
+%if 0%{?suse_version} > 1600
%files
+%else
+
+%files -f %{name}.lang
+%endif
%defattr(-,root,root,-)
%doc AUTHORS
%doc NEWS README
@@ -1218,13 +1302,15 @@
%doc README.ibm3215
%endif
+%if 0%{?suse_version} > 1600
%files common -f %{name}.lang
+%defattr(-,root,root,-)
+%endif
%if 0%{?suse_version} < 1500
%doc COPYING
%else
%license COPYING
%endif
-%defattr(-,root,root,-)
%dir /boot/%{name}
%ghost %attr(600, root, root) /boot/%{name}/grub.cfg
%{_datadir}/bash-completion/completions/grub*
@@ -1235,7 +1321,14 @@
%config(noreplace) %{_sysconfdir}/grub.d/05_crypttab
%config(noreplace) %{_sysconfdir}/grub.d/10_linux
%config(noreplace) %{_sysconfdir}/grub.d/20_linux_xen
-%config(noreplace) %{_sysconfdir}/grub.d/25_bli
+# The bli.mod is enabled in grubbls.efi, which will mostly adhere to systemd
+# standards. But it is not the case for grub.efi, as it serves no purpose
+# there, among other considerations. Therefore, the 25_bli script that loads
+# bli.mod as an external module should be disabled (by stripping off its
+# executable bit) to prevent showing 'file not found' error. This is because
+# grub.efi may intentionally lack access to external modules, as it is designed
+# to be a drop-in file, requires no external dependency (boo#1231591)
+%attr(0644, root, root) %config(noreplace) %{_sysconfdir}/grub.d/25_bli
%config(noreplace) %{_sysconfdir}/grub.d/30_uefi-firmware
%config(noreplace) %{_sysconfdir}/grub.d/40_custom
%config(noreplace) %{_sysconfdir}/grub.d/41_custom
@@ -1406,9 +1499,11 @@
%{sysefidir}/grub.der
%endif
+%if 0%{?suse_version} > 1600
%files %{grubefiarch}-bls
%defattr(-,root,root,-)
%{_datadir}/%{name}/%{grubefiarch}/grubbls.efi
+%endif
%files %{grubefiarch}-extras -f %{grubefiarch}-mod-extras.lst
%defattr(-,root,root,-)
++++++ 0001-ieee1275-Platform-Keystore-PKS-Support.patch ++++++
From 04e8509f04a4cd123bc9f290e60f582d57b2f258 Mon Sep 17 00:00:00 2001
From: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Date: Tue, 27 Dec 2022 17:47:41 +0530
Subject: [PATCH 1/8] ieee1275: Platform Keystore (PKS) Support
enhancing the infrastructure to enable the Platform Keystore (PKS) feature,
which provides access to the SB VERSION, DB, and DBX secure boot variables
from PKS.
Signed-off-by: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb(a)linux.ibm.com>
Tested-by: Nageswara Sastry <rnsastry(a)linux.ibm.com>
---
grub-core/kern/ieee1275/ieee1275.c | 117 +++++++++++++++++++++++++++++
include/grub/ieee1275/ieee1275.h | 15 ++++
2 files changed, 132 insertions(+)
diff --git a/grub-core/kern/ieee1275/ieee1275.c b/grub-core/kern/ieee1275/ieee1275.c
index 36ca2dbfc..8d0048844 100644
--- a/grub-core/kern/ieee1275/ieee1275.c
+++ b/grub-core/kern/ieee1275/ieee1275.c
@@ -807,3 +807,120 @@ grub_ieee1275_get_block_size (grub_ieee1275_ihandle_t ihandle)
return args.size;
}
+
+int
+grub_ieee1275_test (const char *name, grub_ieee1275_cell_t *missing)
+{
+ struct test_args
+ {
+ struct grub_ieee1275_common_hdr common;
+ grub_ieee1275_cell_t name;
+ grub_ieee1275_cell_t missing;
+ } args;
+
+ INIT_IEEE1275_COMMON (&args.common, "test", 1, 1);
+ args.name = (grub_ieee1275_cell_t) name;
+
+ if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
+ return -1;
+
+ if (args.missing == IEEE1275_CELL_INVALID)
+ return -1;
+
+ *missing = args.missing;
+
+ return 0;
+}
+
+int
+grub_ieee1275_pks_max_object_size (grub_size_t *result)
+{
+ struct mos_args
+ {
+ struct grub_ieee1275_common_hdr common;
+ grub_ieee1275_cell_t size;
+ } args;
+
+ INIT_IEEE1275_COMMON (&args.common, "pks-max-object-size", 0, 1);
+
+ if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
+ return -1;
+
+ if (args.size == IEEE1275_CELL_INVALID)
+ return -1;
+
+ *result = args.size;
+
+ return 0;
+}
+
+int
+grub_ieee1275_pks_read_object (grub_uint8_t consumer, grub_uint8_t *label,
+ grub_size_t label_len, grub_uint8_t *buffer,
+ grub_size_t buffer_len, grub_size_t *data_len,
+ grub_uint32_t *policies)
+{
+ struct pks_read_args
+ {
+ struct grub_ieee1275_common_hdr common;
+ grub_ieee1275_cell_t consumer;
+ grub_ieee1275_cell_t label;
+ grub_ieee1275_cell_t label_len;
+ grub_ieee1275_cell_t buffer;
+ grub_ieee1275_cell_t buffer_len;
+ grub_ieee1275_cell_t data_len;
+ grub_ieee1275_cell_t policies;
+ grub_ieee1275_cell_t rc;
+ } args;
+
+ INIT_IEEE1275_COMMON (&args.common, "pks-read-object", 5, 3);
+ args.consumer = (grub_ieee1275_cell_t) consumer;
+ args.label = (grub_ieee1275_cell_t) label;
+ args.label_len = (grub_ieee1275_cell_t) label_len;
+ args.buffer = (grub_ieee1275_cell_t) buffer;
+ args.buffer_len = (grub_ieee1275_cell_t) buffer_len;
+
+ if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
+ return -1;
+
+ if (args.data_len == IEEE1275_CELL_INVALID)
+ return -1;
+
+ *data_len = args.data_len;
+ *policies = args.policies;
+
+ return (int) args.rc;
+}
+
+int
+grub_ieee1275_pks_read_sbvar (grub_uint8_t sbvarflags, grub_uint8_t sbvartype,
+ grub_uint8_t *buffer, grub_size_t buffer_len,
+ grub_size_t *data_len)
+{
+ struct pks_read_sbvar_args
+ {
+ struct grub_ieee1275_common_hdr common;
+ grub_ieee1275_cell_t sbvarflags;
+ grub_ieee1275_cell_t sbvartype;
+ grub_ieee1275_cell_t buffer;
+ grub_ieee1275_cell_t buffer_len;
+ grub_ieee1275_cell_t data_len;
+ grub_ieee1275_cell_t rc;
+ } args;
+
+ INIT_IEEE1275_COMMON (&args.common, "pks-read-sbvar", 4, 2);
+ args.sbvarflags = (grub_ieee1275_cell_t) sbvarflags;
+ args.sbvartype = (grub_ieee1275_cell_t) sbvartype;
+ args.buffer = (grub_ieee1275_cell_t) buffer;
+ args.buffer_len = (grub_ieee1275_cell_t) buffer_len;
+
+ if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
+ return -1;
+
+ if (args.data_len == IEEE1275_CELL_INVALID)
+ return -1;
+
+ *data_len = args.data_len;
+
+ return (int) args.rc;
+}
diff --git a/include/grub/ieee1275/ieee1275.h b/include/grub/ieee1275/ieee1275.h
index ea90d79f7..6d8dd9463 100644
--- a/include/grub/ieee1275/ieee1275.h
+++ b/include/grub/ieee1275/ieee1275.h
@@ -237,6 +237,21 @@ char *EXPORT_FUNC(grub_ieee1275_encode_uint4) (grub_ieee1275_ihandle_t ihandle,
grub_size_t *size);
int EXPORT_FUNC(grub_ieee1275_get_block_size) (grub_ieee1275_ihandle_t ihandle);
+int EXPORT_FUNC (grub_ieee1275_test) (const char *name,
+ grub_ieee1275_cell_t *missing);
+
+// not exported: I don't want modules interacting with PKS.
+int grub_ieee1275_pks_max_object_size (grub_size_t *result);
+
+int grub_ieee1275_pks_read_object (grub_uint8_t consumer, grub_uint8_t *label,
+ grub_size_t label_len, grub_uint8_t *buffer,
+ grub_size_t buffer_len, grub_size_t *data_len,
+ grub_uint32_t *policies);
+
+int grub_ieee1275_pks_read_sbvar (grub_uint8_t sbvarflags, grub_uint8_t sbvartype,
+ grub_uint8_t *buffer, grub_size_t buffer_len,
+ grub_size_t *data_len);
+
grub_err_t EXPORT_FUNC(grub_claimmap) (grub_addr_t addr, grub_size_t size);
void EXPORT_FUNC(grub_releasemap) (void);
--
2.47.0
++++++ 0001-ieee1275-support-added-for-multiple-nvme-bootpaths.patch ++++++
From 219b06c69d38a10349183002efb82bfec3b7ff5b Mon Sep 17 00:00:00 2001
From: Avnish Chouhan <avnish(a)linux.ibm.com>
Date: Wed, 21 Aug 2024 14:13:05 +0530
Subject: [PATCH] ieee1275: support added for multiple nvme bootpaths
This patch sets mupltiple NVMe boot-devices for more robust boot.
Scenario where NVMe multipaths are available, all the available bootpaths (Max 5)
will be added as the boot-device.
Signed-off-by: Avnish Chouhan <avnish(a)linux.ibm.com>
---
grub-core/osdep/linux/ofpath.c | 6 +--
grub-core/osdep/unix/platform.c | 65 ++++++++++++++++++++++++++++++++-
include/grub/util/install.h | 3 ++
include/grub/util/ofpath.h | 4 ++
4 files changed, 74 insertions(+), 4 deletions(-)
diff --git a/grub-core/osdep/linux/ofpath.c b/grub-core/osdep/linux/ofpath.c
index 51d331f06..55ed7ddf2 100644
--- a/grub-core/osdep/linux/ofpath.c
+++ b/grub-core/osdep/linux/ofpath.c
@@ -209,7 +209,7 @@ find_obppath (const char *sysfs_path_orig)
}
}
-static char *
+char *
xrealpath (const char *in)
{
char *out;
@@ -224,7 +224,7 @@ xrealpath (const char *in)
return out;
}
-static char *
+char *
block_device_get_sysfs_path_and_link(const char *devicenode)
{
char *rpath;
@@ -535,7 +535,7 @@ of_path_get_nvme_nsid(const char* devname)
}
-static char *
+char *
nvme_get_syspath(const char *nvmedev)
{
char *sysfs_path, *controller_node;
diff --git a/grub-core/osdep/unix/platform.c b/grub-core/osdep/unix/platform.c
index 1e2961e00..bafcc84d7 100644
--- a/grub-core/osdep/unix/platform.c
+++ b/grub-core/osdep/unix/platform.c
@@ -28,6 +28,8 @@
#include <dirent.h>
#include <string.h>
#include <errno.h>
+#include <grub/util/ofpath.h>
+#define BOOTDEV_BUFFER 1000
static char *
get_ofpathname (const char *dev)
@@ -203,6 +205,56 @@ grub_install_register_efi (const grub_disk_t *efidir_grub_disk,
return 0;
}
+char *
+add_multiple_nvme_bootdevices (const char *install_device)
+{
+ char *sysfs_path, *nvme_ns, *ptr;
+ unsigned int nsid;
+ char *multipath_boot;
+ struct dirent *ep;
+ DIR *dp;
+
+ /*
+ * Extracting the namespace from install_device.
+ * ex. install_device : /dev/nvme1n1
+ */
+ nvme_ns = grub_strstr (install_device, "nvme");
+ nsid = of_path_get_nvme_nsid (nvme_ns);
+ if (nsid == 0)
+ return NULL;
+
+ sysfs_path = nvme_get_syspath (nvme_ns);
+ strcat (sysfs_path, "/subsystem");
+ sysfs_path = xrealpath (sysfs_path);
+ dp = opendir (sysfs_path);
+ if (!dp)
+ return NULL;
+
+ ptr = multipath_boot = xmalloc (BOOTDEV_BUFFER);
+ while ((ep = readdir (dp)) != NULL)
+ {
+ char *path;
+ if (grub_strstr (ep->d_name, "nvme"))
+ {
+ path = xasprintf ("%s%s%x ", get_ofpathname (ep->d_name), "/namespace@", nsid);
+ if ((strlen (multipath_boot) + strlen (path)) > BOOTDEV_BUFFER)
+ {
+ grub_util_warn (_("Maximum five entries are allowed in the bootlist"));
+ free (path);
+ break;
+ }
+ strncpy (ptr, path, strlen (path));
+ ptr += strlen (path);
+ free (path);
+ }
+ }
+
+ *--ptr = '\0';
+ closedir (dp);
+
+ return multipath_boot;
+}
+
void
grub_install_register_ieee1275 (int is_prep, const char *install_device,
int partno, const char *relpath)
@@ -242,8 +294,19 @@ grub_install_register_ieee1275 (int is_prep, const char *install_device,
}
*ptr = '\0';
}
+ else if (grub_strstr (install_device, "nvme"))
+ {
+ boot_device = add_multiple_nvme_bootdevices (install_device);
+ }
else
- boot_device = get_ofpathname (install_device);
+ {
+ boot_device = get_ofpathname (install_device);
+ if (grub_strstr (boot_device, "nvme-of"))
+ {
+ free (boot_device);
+ boot_device = add_multiple_nvme_bootdevices (install_device);
+ }
+ }
if (grub_util_exec ((const char * []){ "nvsetenv", "boot-device",
boot_device, NULL }))
diff --git a/include/grub/util/install.h b/include/grub/util/install.h
index 563cf68e9..2fd102649 100644
--- a/include/grub/util/install.h
+++ b/include/grub/util/install.h
@@ -241,6 +241,9 @@ grub_install_register_efi (const grub_disk_t *efidir_grub_disk,
const char *efi_distributor,
const char *force_disk);
+char *
+add_multiple_nvme_bootdevices (const char *install_device);
+
void
grub_install_register_ieee1275 (int is_prep, const char *install_device,
int partno, const char *relpath);
diff --git a/include/grub/util/ofpath.h b/include/grub/util/ofpath.h
index a0ec30620..cc3c4bfbd 100644
--- a/include/grub/util/ofpath.h
+++ b/include/grub/util/ofpath.h
@@ -31,5 +31,9 @@ void add_filename_to_pile(char *filename, struct ofpath_files_list_root* root);
void find_file(char* filename, char* directory, struct ofpath_files_list_root* root, int max_depth, int depth);
char* of_find_fc_host(char* host_wwpn);
+char* nvme_get_syspath (const char *nvmedev);
+char* block_device_get_sysfs_path_and_link (const char *devicenode);
+char* xrealpath (const char *in);
+unsigned int of_path_get_nvme_nsid (const char* devname);
#endif /* ! GRUB_OFPATH_MACHINE_UTIL_HEADER */
--
2.47.0
++++++ 0002-ieee1275-Read-the-DB-and-DBX-secure-boot-variables.patch ++++++
++++ 672 lines (skipped)
++++++ 0003-appendedsig-The-creation-of-trusted-and-distrusted-l.patch ++++++
++++ 832 lines (skipped)
++++++ 0004-appendedsig-While-verifying-the-kernel-use-trusted-a.patch ++++++
From 5bff27911bb6575b80b5decf5364b7e6bde801d3 Mon Sep 17 00:00:00 2001
From: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Date: Wed, 18 Jan 2023 23:04:38 +0530
Subject: [PATCH 4/8] appendedsig: While verifying the kernel, use trusted and
distrusted lists
To verify the kernel's, the trusted key will be used from
the trusted key list. If it fails, verify it against the list of hashes
that are distrusted and trusted.
Signed-off-by: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb(a)linux.ibm.com>
Tested-by: Nageswara Sastry <rnsastry(a)linux.ibm.com>
---
grub-core/commands/appendedsig/appendedsig.c | 187 +++++++++++++------
1 file changed, 131 insertions(+), 56 deletions(-)
diff --git a/grub-core/commands/appendedsig/appendedsig.c b/grub-core/commands/appendedsig/appendedsig.c
index 5bb09e349..f9638220e 100644
--- a/grub-core/commands/appendedsig/appendedsig.c
+++ b/grub-core/commands/appendedsig/appendedsig.c
@@ -36,6 +36,10 @@
#include <grub/platform_keystore.h>
#include "appendedsig.h"
+#define SHA256_LEN 32
+#define SHA384_LEN 48
+#define SHA512_LEN 64
+
GRUB_MOD_LICENSE ("GPLv3+");
const char magic[] = "~Module signature appended~\n";
@@ -516,6 +520,80 @@ extract_appended_signature (const grub_uint8_t *buf, grub_size_t bufsize,
return GRUB_ERR_NONE;
}
+static grub_err_t
+grub_get_binary_hash (const grub_size_t binary_hash_size, const grub_uint8_t *data,
+ const grub_size_t data_size, grub_uint8_t *hash, grub_size_t *hash_size)
+{
+ grub_uuid_t guid = { 0 };
+
+ /* support SHA256, SHA384 and SHA512 for binary hash */
+ if (binary_hash_size == SHA256_LEN)
+ grub_memcpy (&guid, &GRUB_PKS_CERT_SHA256_GUID, GRUB_UUID_SIZE);
+ else if (binary_hash_size == SHA384_LEN)
+ grub_memcpy (&guid, &GRUB_PKS_CERT_SHA384_GUID, GRUB_UUID_SIZE);
+ else if (binary_hash_size == SHA512_LEN)
+ grub_memcpy (&guid, &GRUB_PKS_CERT_SHA512_GUID, GRUB_UUID_SIZE);
+ else
+ {
+ grub_dprintf ("appendedsig", "unsupported hash type (%" PRIuGRUB_SIZE ") and skipping binary hash\n",
+ binary_hash_size);
+ return GRUB_ERR_UNKNOWN_COMMAND;
+ }
+
+ return grub_get_hash (&guid, data, data_size, hash, hash_size);
+}
+
+/*
+ * verify binary hash against the list of binary hashes that are distrusted
+ * and trusted.
+ */
+static grub_err_t
+grub_verify_binary_hash (const grub_uint8_t *data, const grub_size_t data_size)
+{
+ grub_err_t rc = GRUB_ERR_NONE;
+ grub_size_t i = 0, hash_size = 0;
+ grub_uint8_t hash[GRUB_MAX_HASH_SIZE] = { 0 };
+
+ for (i = 0; i < grub_dbx.signature_entries; i++)
+ {
+ rc = grub_get_binary_hash (grub_dbx.signature_size[i], data, data_size,
+ hash, &hash_size);
+ if (rc != GRUB_ERR_NONE)
+ continue;
+
+ if (hash_size == grub_dbx.signature_size[i] &&
+ grub_memcmp (grub_dbx.signatures[i], hash, hash_size) == 0)
+ {
+ grub_dprintf ("appendedsig", "the binary hash (%02x%02x%02x%02x) was listed "
+ "as distrusted\n", hash[0], hash[1], hash[2], hash[3]);
+ return GRUB_ERR_BAD_SIGNATURE;
+ }
+ }
+
+ for (i = 0; i < grub_db.signature_entries; i++)
+ {
+ rc = grub_get_binary_hash (grub_db.signature_size[i], data, data_size,
+ hash, &hash_size);
+ if (rc != GRUB_ERR_NONE)
+ continue;
+
+ if (hash_size == grub_db.signature_size[i] &&
+ grub_memcmp (grub_db.signatures[i], hash, hash_size) == 0)
+ {
+ grub_dprintf ("appendedsig", "verified with a trusted binary hash "
+ "(%02x%02x%02x%02x)\n", hash[0], hash[1], hash[2], hash[3]);
+ return GRUB_ERR_NONE;
+ }
+ }
+
+ return GRUB_ERR_EOF;
+}
+
+/*
+ * verify the kernel's integrity, the trusted key will be used from
+ * the trusted key list. If it fails, verify it against the list of binary hashes
+ * that are distrusted and trusted.
+ */
static grub_err_t
grub_verify_appended_signature (const grub_uint8_t *buf, grub_size_t bufsize)
{
@@ -525,12 +603,12 @@ grub_verify_appended_signature (const grub_uint8_t *buf, grub_size_t bufsize)
unsigned char *hash;
gcry_mpi_t hashmpi;
gcry_err_code_t rc;
- struct x509_certificate *pk;
+ struct x509_certificate *cert;
struct grub_appended_signature sig;
struct pkcs7_signerInfo *si;
int i;
- if (!grub_db.key_entries)
+ if (!grub_db.key_entries && !grub_db.signature_entries)
return grub_error (GRUB_ERR_BAD_SIGNATURE, N_("No trusted keys to verify against"));
err = extract_appended_signature (buf, bufsize, &sig);
@@ -538,70 +616,67 @@ grub_verify_appended_signature (const grub_uint8_t *buf, grub_size_t bufsize)
return err;
datasize = bufsize - sig.signature_len;
-
- for (i = 0; i < sig.pkcs7.signerInfo_count; i++)
+ /* checking kernel binary hash is presents in trusted list (db)/distrusted list (dbx) */
+ err = grub_verify_binary_hash (buf, datasize);
+ if (err == GRUB_ERR_EOF)
{
- /* This could be optimised in a couple of ways:
- - we could only compute hashes once per hash type
- - we could track signer information and only verify where IDs match
- For now we do the naive O(trusted keys * pkcs7 signers) approach.
- */
- si = &sig.pkcs7.signerInfos[i];
- context = grub_zalloc (si->hash->contextsize);
- if (!context)
- return grub_errno;
-
- si->hash->init (context);
- si->hash->write (context, buf, datasize);
- si->hash->final (context);
- hash = si->hash->read (context);
-
- grub_dprintf ("appendedsig",
- "data size %" PRIxGRUB_SIZE ", signer %d hash %02x%02x%02x%02x...\n",
- datasize, i, hash[0], hash[1], hash[2], hash[3]);
-
- err = GRUB_ERR_BAD_SIGNATURE;
- for (pk = grub_db.keys; pk; pk = pk->next)
+ /* verifying kernel binary signature using trusted keys from trusted list (db) */
+ for (i = 0; i < sig.pkcs7.signerInfo_count; i++)
{
- rc = grub_crypto_rsa_pad (&hashmpi, hash, si->hash, pk->mpis[0]);
- if (rc)
+ si = &sig.pkcs7.signerInfos[i];
+ context = grub_zalloc (si->hash->contextsize);
+ if (!context)
+ return grub_errno;
+
+ si->hash->init (context);
+ si->hash->write (context, buf, datasize);
+ si->hash->final (context);
+ hash = si->hash->read (context);
+
+ grub_dprintf ("appendedsig",
+ "data size %" PRIxGRUB_SIZE ", signer %d hash %02x%02x%02x%02x...\n",
+ datasize, i, hash[0], hash[1], hash[2], hash[3]);
+
+ err = GRUB_ERR_BAD_SIGNATURE;
+ for (cert = grub_db.keys; cert; cert = cert->next)
{
- err = grub_error (GRUB_ERR_BAD_SIGNATURE,
- N_("Error padding hash for RSA verification: %d"), rc);
- grub_free (context);
- goto cleanup;
+ rc = grub_crypto_rsa_pad (&hashmpi, hash, si->hash, cert->mpis[0]);
+ if (rc)
+ {
+ err = grub_error (GRUB_ERR_BAD_SIGNATURE,
+ N_("Error padding hash for RSA verification: %d"), rc);
+ grub_free (context);
+ pkcs7_signedData_release (&sig.pkcs7);
+ return err;
+ }
+
+ rc = _gcry_pubkey_spec_rsa.verify (0, hashmpi, &si->sig_mpi, cert->mpis, NULL, NULL);
+ gcry_mpi_release (hashmpi);
+
+ if (rc == 0)
+ {
+ grub_dprintf ("appendedsig", "verify signer %d with key '%s' succeeded\n",
+ i, cert->subject);
+ err = GRUB_ERR_NONE;
+ break;
+ }
+
+ grub_dprintf ("appendedsig", "verify signer %d with key '%s' failed with %d\n",
+ i, cert->subject, rc);
}
- rc = _gcry_pubkey_spec_rsa.verify (0, hashmpi, &si->sig_mpi,
- pk->mpis, NULL, NULL);
- gcry_mpi_release (hashmpi);
-
- if (rc == 0)
- {
- grub_dprintf ("appendedsig",
- "verify signer %d with key '%s' succeeded\n", i,
- pk->subject);
- err = GRUB_ERR_NONE;
- break;
- }
-
- grub_dprintf ("appendedsig",
- "verify signer %d with key '%s' failed with %d\n", i,
- pk->subject, rc);
- }
-
- grub_free (context);
+ grub_free (context);
- if (err == GRUB_ERR_NONE)
- break;
+ if (err == GRUB_ERR_NONE)
+ break;
+ }
}
- /* If we didn't verify, provide a neat message */
if (err != GRUB_ERR_NONE)
- err = grub_error (GRUB_ERR_BAD_SIGNATURE,
- N_("Failed to verify signature against a trusted key"));
+ grub_printf ("appendedsig: failed to verify signature with any trusted key\n");
+ else
+ grub_printf ("appendedsig: successfully verified the signature with a trusted key\n");
-cleanup:
pkcs7_signedData_release (&sig.pkcs7);
return err;
--
2.47.0
++++++ 0005-appendedsig-The-grub-command-s-trusted-and-distruste.patch ++++++
++++ 685 lines (skipped)
++++++ 0006-appendedsig-documentation.patch ++++++
From 87831c6ce3536e5e2eeb3e2cd8a6184b9509ee04 Mon Sep 17 00:00:00 2001
From: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Date: Wed, 17 Apr 2024 23:04:43 +0530
Subject: [PATCH 6/8] appendedsig: documentation
This explains appended signatures static key and dynamic key,
and documents the commands and variables introduced.
Signed-off-by: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb(a)linux.ibm.com>
---
docs/grub.texi | 115 ++++++++++++++++++++++++++++++++++---------------
1 file changed, 80 insertions(+), 35 deletions(-)
diff --git a/docs/grub.texi b/docs/grub.texi
index 00c5fdc44..68d7cbb90 100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -4373,7 +4373,9 @@ you forget a command, you can run the command @command{help}
* date:: Display or set current date and time
* devicetree:: Load a device tree blob
* distrust:: Remove a pubkey from trusted keys
-* distrust_certificate:: Remove a certificate from the list of trusted certificates
+* distrusted_certificate:: Remove a certificate from the trusted list
+* distrusted_list:: List distrusted certificates and binary/certificate hashes
+* distrusted_signature:: Add a binary hash to the distrusted list
* drivemap:: Map a drive to another
* echo:: Display a line of text
* efitextmode:: Set/Get text output mode resolution
@@ -4390,7 +4392,6 @@ you forget a command, you can run the command @command{help}
* hexdump:: Show raw contents of a file or memory
* insmod:: Insert a module
* keystatus:: Check key modifier status
-* list_certificates:: List trusted certificates
* list_env:: List variables in environment block
* list_trusted:: List trusted public keys
* load_env:: Load variables from environment block
@@ -4429,7 +4430,9 @@ you forget a command, you can run the command @command{help}
* test:: Check file types and compare values
* true:: Do nothing, successfully
* trust:: Add public key to list of trusted keys
-* trust_certificate:: Add an x509 certificate to the list of trusted certificates
+* trusted_certificate:: Add an x509 certificate to the trusted list
+* trusted_list:: List trusted certificates and binary hashes
+* trusted_signature:: Add a binary hash to the trusted list.
* unset:: Unset an environment variable
@comment * vbeinfo:: List available video modes
* verify_appended:: Verify appended digital signature
@@ -4776,15 +4779,15 @@ GPG-style digital signatures}, for more information.
@end deffn
-@node distrust_certificate
-@subsection distrust_certificate
+@node distrusted_certificate
+@subsection distrusted_certificate
-@deffn Command distrust_certificate cert_number
+@deffn Command distrusted_certificate cert_number
Remove the x509 certificate numbered @var{cert_number} from GRUB's keyring of
trusted x509 certificates for verifying appended signatures.
@var{cert_number} is the certificate number as listed by
-@command{list_certificates} (@pxref{list_certificates}).
+@command{trusted_list} (@pxref{trusted_list}).
These certificates are used to validate appended signatures when environment
variable @code{check_appended_signatures} is set to @code{enforce}
@@ -4793,6 +4796,27 @@ variable @code{check_appended_signatures} is set to @code{enforce}
information.
@end deffn
+@node distrusted_list
+@subsection distrusted_list
+
+@deffn Command distrusted_list
+List all the distrusted x509 certificates and binary/certificate hashes.
+The output is a numbered list of certificates and binary/certificate hashes,
+showing the certificate's serial number and Common Name.
+@end deffn
+
+@node distrusted_signature
+@subsection distrusted_signature
+
+@deffn Command distrusted_signature
+Read a binary hash from the file @var{binary hash file}
+and add it to GRUB's internal distrusted list. These hash are used to
+restrict validation of linux image integrity using trusted list if appended
+signatures validation failed when the environment variable
+@code{check_appended_signatures} is set to @code{enforce}.
+
+See @xref{Using appended signatures} for more information.
+@end deffn
@node drivemap
@subsection drivemap
@@ -5069,22 +5093,6 @@ without any options, the @command{keystatus} command returns true if and
only if checking key modifier status is supported.
@end deffn
-
-@node list_certificates
-@subsection list_certificates
-
-@deffn Command list_certificates
-List all x509 certificates trusted by GRUB for validating appended signatures.
-The output is a numbered list of certificates, showing the certificate's serial
-number and Common Name.
-
-The certificate number can be used as an argument to
-@command{distrust_certificate} (@pxref{distrust_certificate}).
-
-See @xref{Using appended signatures} for more information.
-@end deffn
-
-
@node list_env
@subsection list_env
@@ -5935,9 +5943,8 @@ and manual booting. @xref{Using GPG-style digital signatures}, for more
information.
@end deffn
-
-@node trust_certificate
-@subsection trust_certificate
+@node trusted_certificate
+@subsection trusted_certificate
@deffn Command trust_certificate x509_certificate
Read a DER-formatted x509 certificate from the file @var{x509_certificate}
@@ -5946,7 +5953,7 @@ certificates are used to validate appended signatures when the environment
variable @code{check_appended_signatures} is set to @code{enforce}.
Note that if @code{check_appended_signatures} is set to @code{enforce}
-when @command{trust_certificate} is executed, then @var{x509_certificate}
+when @command{trusted_certificate} is executed, then @var{x509_certificate}
must itself bear an appended signature. (It is not sufficient that
@var{x509_certificate} be signed by a trusted certificate according to the
x509 rules: grub does not include support for validating signatures within x509
@@ -5955,6 +5962,32 @@ certificates themselves.)
See @xref{Using appended signatures} for more information.
@end deffn
+@node trusted_list
+@subsection trusted_list
+
+@deffn Command trusted_list
+List all x509 certificates and binary hases trusted by GRUB for validating
+appended signatures. The output is a numbered list of certificates and binary
+hashes, showing the certificate's serial number and Common Name.
+
+The certificate number can be used as an argument to
+@command{distrusted_certificate} (@pxref{distrusted_certificate}).
+
+See @xref{Using appended signatures} for more information.
+@end deffn
+
+@node trusted_signature
+@subsection trusted_signature
+
+@deffn Command trust_signature
+Read a binary hash from the file @var{binary hash file}
+and add it to GRUB's internal trusted list. These binary hash are used to
+validate linux image integrity if appended signatures validation failed
+when the environment variable @code{check_appended_signatures} is set
+to @code{enforce}.
+
+See @xref{Using appended signatures} for more information.
+@end deffn
@node unset
@subsection unset
@@ -5979,8 +6012,8 @@ only on PC BIOS platforms.
@deffn Command verify_appended file
Verifies an appended signature on @var{file} against the trusted certificates
-known to GRUB (See @pxref{list_certificates}, @pxref{trust_certificate}, and
-@pxref{distrust_certificate}).
+known to GRUB (See @pxref{trusted_list}, @pxref{trusted_certificate}, and
+@pxref{distrusted_certificate}).
Exit code @code{$?} is set to 0 if the signature validates
successfully. If validation fails, it is set to a non-zero value.
@@ -6664,17 +6697,29 @@ with an appended signature ends with the magic string:
where @code{\n} represents the carriage-return character, @code{0x0a}.
To enable appended signature verification, load the appendedsig module and an
-x509 certificate for verification. Building the appendedsig module into the
+trusted keys for verification. Building the appendedsig module into the
core grub image is recommended.
-Certificates can be managed at boot time using the @pxref{trust_certificate},
-@pxref{distrust_certificate} and @pxref{list_certificates} commands.
-Certificates can also be built in to the core image using the @code{--x509}
-parameter to @command{grub-install} or @command{grub-mkimage}.
+For static key, Certificates will be built in to the core image using
+the @code{--x509} parameter to @command{grub-install} or @command{grub-mkimage}.
+it can allow to list the trusted certificates and binary hashes at boot time using
+@pxref{trusted_list} and list distrusted certificates and binary/certificate hashes
+at boot time using @pxref{distrusted_list} commands.
+
+For dynamic key, loads the signature database (DB) and forbidden
+signature database (DBX) from platform keystore (PKS) and it can allow to list
+the trusted certificates and binary hashes at boot time using @pxref{trusted_list}
+and list distrusted certificates and binary/certificate hashes at boot time using
+@pxref{distrusted_list} commands.
+
+Also, it will not allow to manage add/delete of certificates/signature at boot time using
+@pxref{trusted_certificate} and @pxref{trusted_signature}, @pxref{distrusted_certificate}
+and @pxref{distrusted_signature} commands when the environment variable
+@code{check_appended_signatures} is set to @code{enforce}.
A file can be explictly verified using the @pxref{verify_appended} command.
-Only signatures made with the SHA-256 or SHA-512 hash algorithm are supported,
+Only signatures made with the SHA-256, SH-384 and SHA-512 hash algorithm are supported,
and only RSA signatures are supported.
A file can be signed with the @command{sign-file} utility supplied with the
--
2.47.0
++++++ 0007-mkimage-create-new-ELF-Note-for-SBAT.patch ++++++
From 77316f09f133e9c7c5e1026b2b4f5749daac644a Mon Sep 17 00:00:00 2001
From: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Date: Wed, 17 Apr 2024 23:48:51 +0530
Subject: [PATCH 7/8] mkimage: create new ELF Note for SBAT
we add a new ELF note for SBAT which store the SBAT data.
The name field of shall be the string "Secure-Boot-Advanced-Targeting", zero-padded
to 4 byte alignment. The type field shall be 0x41536967 (the ASCII values
for the string "sbat").
Signed-off-by: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Co-authored-by: Daniel Axtens <dja(a)axtens.net>
---
include/grub/util/mkimage.h | 4 +-
util/grub-mkimagexx.c | 92 +++++++++++++++++++++++++++----------
2 files changed, 71 insertions(+), 25 deletions(-)
diff --git a/include/grub/util/mkimage.h b/include/grub/util/mkimage.h
index 6f1da89b9..881e3031f 100644
--- a/include/grub/util/mkimage.h
+++ b/include/grub/util/mkimage.h
@@ -51,12 +51,12 @@ grub_mkimage_load_image64 (const char *kernel_path,
const struct grub_install_image_target_desc *image_target);
void
grub_mkimage_generate_elf32 (const struct grub_install_image_target_desc *image_target,
- int note, size_t appsig_size, char **core_img, size_t *core_size,
+ int note, size_t appsig_size, char *sbat, char **core_img, size_t *core_size,
Elf32_Addr target_addr,
struct grub_mkimage_layout *layout);
void
grub_mkimage_generate_elf64 (const struct grub_install_image_target_desc *image_target,
- int note, size_t appsig_size, char **core_img, size_t *core_size,
+ int note, size_t appsig_size, char *sbat, char **core_img, size_t *core_size,
Elf64_Addr target_addr,
struct grub_mkimage_layout *layout);
diff --git a/util/grub-mkimagexx.c b/util/grub-mkimagexx.c
index 9488f0525..0041b2d0b 100644
--- a/util/grub-mkimagexx.c
+++ b/util/grub-mkimagexx.c
@@ -85,6 +85,14 @@ struct grub_ieee1275_note
struct grub_ieee1275_note_desc descriptor;
};
+#define GRUB_SBAT_NOTE_NAME "Secure-Boot-Advanced-Targeting"
+#define GRUB_SBAT_NOTE_TYPE 0x73626174 /* "sbat" */
+
+struct grub_sbat_note {
+ Elf32_Nhdr header;
+ char name[ALIGN_UP(sizeof(GRUB_SBAT_NOTE_NAME), 4)];
+};
+
#define GRUB_APPENDED_SIGNATURE_NOTE_NAME "Appended-Signature"
#define GRUB_APPENDED_SIGNATURE_NOTE_TYPE 0x41536967 /* "ASig" */
@@ -217,7 +225,7 @@ grub_arm_reloc_jump24 (grub_uint32_t *target, Elf32_Addr sym_addr)
void
SUFFIX (grub_mkimage_generate_elf) (const struct grub_install_image_target_desc *image_target,
- int note, size_t appsig_size, char **core_img, size_t *core_size,
+ int note, size_t appsig_size, char *sbat, char **core_img, size_t *core_size,
Elf_Addr target_addr,
struct grub_mkimage_layout *layout)
{
@@ -226,10 +234,17 @@ SUFFIX (grub_mkimage_generate_elf) (const struct grub_install_image_target_desc
Elf_Ehdr *ehdr;
Elf_Phdr *phdr;
Elf_Shdr *shdr;
- int header_size, footer_size = 0;
+ int header_size, footer_size = 0, footer_offset = 0;
int phnum = 1;
int shnum = 4;
int string_size = sizeof (".text") + sizeof ("mods") + 1;
+ char *footer;
+
+ if (sbat)
+ {
+ phnum++;
+ footer_size += ALIGN_UP (sizeof (struct grub_sbat_note) + layout->sbat_size, 4);
+ }
if (appsig_size)
{
@@ -263,6 +278,7 @@ SUFFIX (grub_mkimage_generate_elf) (const struct grub_install_image_target_desc
ehdr = (void *) elf_img;
phdr = (void *) (elf_img + sizeof (*ehdr));
shdr = (void *) (elf_img + sizeof (*ehdr) + phnum * sizeof (*phdr));
+ footer = elf_img + program_size + header_size;
memcpy (ehdr->e_ident, ELFMAG, SELFMAG);
ehdr->e_ident[EI_CLASS] = ELFCLASSXX;
if (!image_target->bigendian)
@@ -435,6 +451,8 @@ SUFFIX (grub_mkimage_generate_elf) (const struct grub_install_image_target_desc
phdr->p_filesz = grub_host_to_target32 (XEN_NOTE_SIZE);
phdr->p_memsz = 0;
phdr->p_offset = grub_host_to_target32 (header_size + program_size);
+ footer = ptr;
+ footer_offset = XEN_NOTE_SIZE;
}
if (image_target->id == IMAGE_XEN_PVH)
@@ -468,6 +486,8 @@ SUFFIX (grub_mkimage_generate_elf) (const struct grub_install_image_target_desc
phdr->p_filesz = grub_host_to_target32 (XEN_PVH_NOTE_SIZE);
phdr->p_memsz = 0;
phdr->p_offset = grub_host_to_target32 (header_size + program_size);
+ footer = ptr;
+ footer_offset = XEN_PVH_NOTE_SIZE;
}
if (note)
@@ -498,29 +518,55 @@ SUFFIX (grub_mkimage_generate_elf) (const struct grub_install_image_target_desc
phdr->p_filesz = grub_host_to_target32 (note_size);
phdr->p_memsz = 0;
phdr->p_offset = grub_host_to_target32 (header_size + program_size);
+ footer = (elf_img + program_size + header_size + note_size);
+ footer_offset += note_size;
}
- if (appsig_size) {
- int note_size = ALIGN_UP(sizeof (struct grub_appended_signature_note) + appsig_size, 4);
- struct grub_appended_signature_note *note_ptr = (struct grub_appended_signature_note *)
- (elf_img + program_size + header_size + (note ? sizeof (struct grub_ieee1275_note) : 0));
-
- note_ptr->header.n_namesz = grub_host_to_target32 (sizeof (GRUB_APPENDED_SIGNATURE_NOTE_NAME));
- /* needs to sit at the end, so we round this up and sign some zero padding */
- note_ptr->header.n_descsz = grub_host_to_target32 (ALIGN_UP(appsig_size, 4));
- note_ptr->header.n_type = grub_host_to_target32 (GRUB_APPENDED_SIGNATURE_NOTE_TYPE);
- strcpy (note_ptr->name, GRUB_APPENDED_SIGNATURE_NOTE_NAME);
-
- phdr++;
- phdr->p_type = grub_host_to_target32 (PT_NOTE);
- phdr->p_flags = grub_host_to_target32 (PF_R);
- phdr->p_align = grub_host_to_target32 (image_target->voidp_sizeof);
- phdr->p_vaddr = 0;
- phdr->p_paddr = 0;
- phdr->p_filesz = grub_host_to_target32 (note_size);
- phdr->p_memsz = 0;
- phdr->p_offset = grub_host_to_target32 (header_size + program_size + (note ? sizeof (struct grub_ieee1275_note) : 0));
- }
+ if (sbat)
+ {
+ int note_size = ALIGN_UP(sizeof (struct grub_sbat_note) + layout->sbat_size, 4);
+ struct grub_sbat_note *note_ptr = (struct grub_sbat_note *)footer;
+
+ note_ptr->header.n_namesz = grub_host_to_target32 (sizeof (GRUB_SBAT_NOTE_NAME));
+ note_ptr->header.n_descsz = grub_host_to_target32 (ALIGN_UP(layout->sbat_size, 4));
+ note_ptr->header.n_type = grub_host_to_target32 (GRUB_SBAT_NOTE_TYPE);
+ memcpy (note_ptr->name, GRUB_SBAT_NOTE_NAME, sizeof (GRUB_SBAT_NOTE_NAME));
+ memcpy ((char *)(note_ptr + 1), sbat, layout->sbat_size);
+
+ phdr++;
+ phdr->p_type = grub_host_to_target32 (PT_NOTE);
+ phdr->p_flags = grub_host_to_target32 (PF_R);
+ phdr->p_align = grub_host_to_target32 (image_target->voidp_sizeof);
+ phdr->p_vaddr = 0;
+ phdr->p_paddr = 0;
+ phdr->p_filesz = grub_host_to_target32 (note_size);
+ phdr->p_memsz = 0;
+ phdr->p_offset = grub_host_to_target32 (header_size + program_size + footer_offset);
+
+ footer += note_size;
+ footer_offset += note_size;
+ }
+
+ if (appsig_size)
+ {
+ int note_size = ALIGN_UP (sizeof (struct grub_appended_signature_note) + appsig_size, 4);
+ struct grub_appended_signature_note *note_ptr = (struct grub_appended_signature_note *)footer;
+ note_ptr->header.n_namesz = grub_host_to_target32 (sizeof (GRUB_APPENDED_SIGNATURE_NOTE_NAME));
+ /* needs to sit at the end, so we round this up and sign some zero padding */
+ note_ptr->header.n_descsz = grub_host_to_target32 (ALIGN_UP (appsig_size, 4));
+ note_ptr->header.n_type = grub_host_to_target32 (GRUB_APPENDED_SIGNATURE_NOTE_TYPE);
+ strcpy (note_ptr->name, GRUB_APPENDED_SIGNATURE_NOTE_NAME);
+
+ phdr++;
+ phdr->p_type = grub_host_to_target32 (PT_NOTE);
+ phdr->p_flags = grub_host_to_target32 (PF_R);
+ phdr->p_align = grub_host_to_target32 (image_target->voidp_sizeof);
+ phdr->p_vaddr = 0;
+ phdr->p_paddr = 0;
+ phdr->p_filesz = grub_host_to_target32 (note_size);
+ phdr->p_memsz = 0;
+ phdr->p_offset = grub_host_to_target32 (header_size + program_size + footer_offset);
+ }
{
char *str_start = (elf_img + sizeof (*ehdr) + phnum * sizeof (*phdr)
--
2.47.0
++++++ 0008-mkimage-adding-sbat-data-into-sbat-ELF-Note-on-power.patch ++++++
From 32d4823762e5a0e7f8bfc5a878d39e1a019392fe Mon Sep 17 00:00:00 2001
From: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Date: Thu, 18 Apr 2024 00:00:55 +0530
Subject: [PATCH 8/8] mkimage: adding sbat data into sbat ELF Note on powerpc
it reads the SBAT data from sbat.csv and create the ELF Note for it then
store the SBAT data on it while generate image with -s option
Signed-off-by: Sudhakar Kuppusamy <sudhakar(a)linux.ibm.com>
Co-authored-by: Daniel Axtens <dja(a)axtens.net>
---
util/mkimage.c | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/util/mkimage.c b/util/mkimage.c
index 0737935fd..136e4a90c 100644
--- a/util/mkimage.c
+++ b/util/mkimage.c
@@ -958,8 +958,9 @@ grub_install_generate_image (const char *dir, const char *prefix,
total_module_size += dtb_size + sizeof (struct grub_module_header);
}
- if (sbat_path != NULL && image_target->id != IMAGE_EFI)
- grub_util_error (_(".sbat section can be embedded into EFI images only"));
+ if (sbat_path != NULL && (image_target->id != IMAGE_EFI && image_target->id != IMAGE_PPC))
+ grub_util_error (_(".sbat section can be embedded into EFI images/"
+ "sbat ELF Note cab be added into powerpc-ieee1275 images only"));
if (disable_shim_lock)
total_module_size += sizeof (struct grub_module_header);
@@ -1835,6 +1836,16 @@ grub_install_generate_image (const char *dir, const char *prefix,
case IMAGE_I386_IEEE1275:
{
grub_uint64_t target_addr;
+ char *sbat = NULL;
+
+ if (sbat_path != NULL)
+ {
+ sbat_size = grub_util_get_image_size (sbat_path);
+ sbat = xmalloc (sbat_size);
+ grub_util_load_image (sbat_path, sbat);
+ layout.sbat_size = sbat_size;
+ }
+
if (image_target->id == IMAGE_LOONGSON_ELF)
{
if (comp == GRUB_COMPRESSION_NONE)
@@ -1846,11 +1857,11 @@ grub_install_generate_image (const char *dir, const char *prefix,
else
target_addr = image_target->link_addr;
if (image_target->voidp_sizeof == 4)
- grub_mkimage_generate_elf32 (image_target, note, appsig_size, &core_img,
- &core_size, target_addr, &layout);
+ grub_mkimage_generate_elf32 (image_target, note, appsig_size, sbat, &core_img, &core_size,
+ target_addr, &layout);
else
- grub_mkimage_generate_elf64 (image_target, note, appsig_size, &core_img,
- &core_size, target_addr, &layout);
+ grub_mkimage_generate_elf64 (image_target, note, appsig_size, sbat, &core_img, &core_size,
+ target_addr, &layout);
}
break;
}
--
2.47.0
++++++ grub2-install-fix-not-a-directory-error.patch ++++++
--- /var/tmp/diff_new_pack.ca0CkN/_old 2024-10-23 21:08:17.289733633 +0200
+++ /var/tmp/diff_new_pack.ca0CkN/_new 2024-10-23 21:08:17.293733799 +0200
@@ -22,17 +22,23 @@
[1] https://savannah.gnu.org/bugs/index.php?57652
[2] https://bugzilla.opensuse.org/attachment.cgi?id=828118
+v2:
+We are still encountering the error. Instead of ensuring ext[234] is tried
+before minix, make sure everything is tried before minix unless its detection
+issue can be properly addressed.
+
--- a/Makefile.am
+++ b/Makefile.am
-@@ -51,8 +51,11 @@
+@@ -51,8 +51,12 @@
-D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1)
CLEANFILES += libgrub.pp
-+# the grep/sed ensures that ext2 gets initialized before minix*
++# the grep/sed ensures that every other file system gets tested before minix*"
+# see https://savannah.gnu.org/bugs/?57652
++# see https://bugzilla.suse.com/show_bug.cgi?id=1231604
libgrub_a_init.lst: libgrub.pp
cat $< | grep '^@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1)
-+ if grep ^ext2 $@ >/dev/null; then sed '/ext2/d;/newc/iext2' < $@ > $@.tmp && mv $@.tmp $@; fi
++ if grep ^minix $@ >/dev/null; then sed -n '/^minix/p;/^minix/!H;$${x;s/^\n//;p}' < $@ > $@.tmp && mv $@.tmp $@; fi
CLEANFILES += libgrub_a_init.lst
libgrub_a_init.c: libgrub_a_init.lst $(top_srcdir)/geninit.sh
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-matplotlib for openSUSE:Factory checked in at 2024-10-23 21:08:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-matplotlib (Old)
and /work/SRC/openSUSE:Factory/.python-matplotlib.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-matplotlib"
Wed Oct 23 21:08:01 2024 rev:111 rq:1217299 version:3.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-matplotlib/python-matplotlib.changes 2024-10-04 17:08:37.132011245 +0200
+++ /work/SRC/openSUSE:Factory/.python-matplotlib.new.26871/python-matplotlib.changes 2024-10-23 21:08:06.217273951 +0200
@@ -1,0 +2,5 @@
+Wed Oct 23 08:30:59 UTC 2024 - Daniel Garcia <daniel.garcia(a)suse.com>
+
+- Fix tests for Leap 16.0
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-matplotlib.spec ++++++
--- /var/tmp/diff_new_pack.T6IonB/_old 2024-10-23 21:08:06.941304010 +0200
+++ /var/tmp/diff_new_pack.T6IonB/_new 2024-10-23 21:08:06.945304176 +0200
@@ -341,20 +341,31 @@
# image comparison failures due to precisions dicrepancies to the x86 produced references
skip_tests+=" or png or svg or pdf"
%endif
+
+# Fails in SLFO:Main
+%if 0%{?suse_version} <= %SLE_VERSION
+# Timeout, this test freeze forever
+skip_tests+=" or test_determinism"
+skip_tests+=" or test_pcolormesh[png] or test_pcolormesh_alpha[png]"
+%endif
+
# backend tests landing in the wrong xdist process may fail with an error. Test them without xdist.
no_xdist="test_backend or test_span_selector_animated_artists_callback"
%{python_expand # see https://matplotlib.org/devdocs/devel/testing.html#testing
# if one of the pyargs modules is not present, the xargs collection looks empty
+# Ignore ImportWarning that happens with gtk3
$python -m pytest --pyargs matplotlib.tests \
mpl_toolkits.axes_grid1.tests \
mpl_toolkits.axisartist.tests \
mpl_toolkits.mplot3d.tests \
-n auto \
+ -W "ignore::ImportWarning" \
-m "not network" \
-vv -rsfE \
-k "not (${no_xdist} ${skip_tests})"
$python -m pytest --pyargs matplotlib.tests \
-vv -rsfE \
+ -W "ignore::ImportWarning" \
-k "(${no_xdist}) and not (${skip_tests:4})"
}
%endif
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package zlib-ng for openSUSE:Factory checked in at 2024-10-23 21:08:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zlib-ng (Old)
and /work/SRC/openSUSE:Factory/.zlib-ng.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zlib-ng"
Wed Oct 23 21:08:00 2024 rev:20 rq:1217258 version:2.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/zlib-ng/zlib-ng.changes 2024-09-04 13:23:42.723476884 +0200
+++ /work/SRC/openSUSE:Factory/.zlib-ng.new.26871/zlib-ng.changes 2024-10-23 21:08:04.705211177 +0200
@@ -1,0 +2,13 @@
+Wed Oct 23 08:51:08 UTC 2024 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update to 2.2.2:
+ * Changelog at https://github.com/zlib-ng/zlib-ng/releases/tag/2.2.2
+
+-------------------------------------------------------------------
+Wed Oct 23 07:49:03 UTC 2024 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Install the ld.so configuration file also with the -32bit
+ package, as otherwise biarch installs won't find that library
+ (boo#1232065).
+
+-------------------------------------------------------------------
Old:
----
zlib-ng-2.2.1.tar.gz
New:
----
zlib-ng-2.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zlib-ng.spec ++++++
--- /var/tmp/diff_new_pack.yBYgle/_old 2024-10-23 21:08:05.317236586 +0200
+++ /var/tmp/diff_new_pack.yBYgle/_new 2024-10-23 21:08:05.321236752 +0200
@@ -30,7 +30,7 @@
%define soversion 2
%endif
Name: zlib-ng%{?compat_suffix}
-Version: 2.2.1
+Version: 2.2.2
Release: 0
Summary: Zlib replacement with SIMD optimizations
License: Zlib
@@ -96,7 +96,7 @@
%if %{with zlib_compat}
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
mkdir -p %{buildroot}%{_libdir}/zlib-ng-compat
-(cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/zlib-ng-compat.conf) <<-EOF
+(cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/zlib-ng-compat-%{_arch}.conf) <<-EOF
%{_libdir}/zlib-ng-compat
EOF
pushd %{buildroot}%{_libdir}/
@@ -142,7 +142,7 @@
%files -n libz-ng%{?compat_suffix}%{soversion}
%if %{with zlib_compat}
-%config %{_sysconfdir}/ld.so.conf.d/zlib-ng-compat.conf
+%config %{_sysconfdir}/ld.so.conf.d/zlib-ng-compat-%{_arch}.conf
%dir %{_libdir}/zlib-ng-compat/
%{_libdir}/zlib-ng-compat/libz.so.%{soversion}*
%else
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.yBYgle/_old 2024-10-23 21:08:05.357238246 +0200
+++ /var/tmp/diff_new_pack.yBYgle/_new 2024-10-23 21:08:05.361238413 +0200
@@ -1,3 +1,4 @@
libz-ng2
libz-ng-compat1
+ +/etc/ld.so.conf.d/zlib-ng-compat-.*.conf
++++++ zlib-ng-2.2.1.tar.gz -> zlib-ng-2.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/CMakeLists.txt new/zlib-ng-2.2.2/CMakeLists.txt
--- old/zlib-ng-2.2.1/CMakeLists.txt 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/CMakeLists.txt 2024-09-17 14:12:24.000000000 +0200
@@ -191,9 +191,9 @@
# (who'd use cmake from an IDE...) but checking for ICC before checking for MSVC should
# avoid mistakes.
# /Oi ?
- set(WARNFLAGS /W3)
+ set(WARNFLAGS /W3 /w34242 /WX)
set(WARNFLAGS_MAINTAINER /W4)
- set(WARNFLAGS_DISABLE)
+ set(WARNFLAGS_DISABLE /wd4206 /wd4054)
if(BASEARCH_ARM_FOUND)
add_definitions(-D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE)
if(NOT "${ARCH}" MATCHES "aarch64")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/Makefile.in new/zlib-ng-2.2.2/Makefile.in
--- old/zlib-ng-2.2.1/Makefile.in 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/Makefile.in 2024-09-17 14:12:24.000000000 +0200
@@ -30,7 +30,7 @@
LDSHAREDFLAGS=-shared
LDVERSIONSCRIPT=
-VER=2.2.1
+VER=2.2.2
VER1=2
STATICLIB=$(LIBNAME1).a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/arm/chunkset_neon.c new/zlib-ng-2.2.2/arch/arm/chunkset_neon.c
--- old/zlib-ng-2.2.1/arch/arm/chunkset_neon.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/arm/chunkset_neon.c 2024-09-17 14:12:24.000000000 +0200
@@ -84,7 +84,9 @@
a = vld1_u8(buf);
b = vld1_u8(buf + 8);
ret0 = vtbl1_u8(a, perm_vec0);
- uint8x8x2_t ab = {{a, b}};
+ uint8x8x2_t ab;
+ ab.val[0] = a;
+ ab.val[1] = b;
ret1 = vtbl2_u8(ab, perm_vec1);
return vcombine_u8(ret0, ret1);
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/arm/neon_intrins.h new/zlib-ng-2.2.2/arch/arm/neon_intrins.h
--- old/zlib-ng-2.2.1/arch/arm/neon_intrins.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/arm/neon_intrins.h 2024-09-17 14:12:24.000000000 +0200
@@ -36,20 +36,20 @@
# ifndef ARM_NEON_HASLD4
static inline uint16x8x4_t vld1q_u16_x4(uint16_t const *a) {
- uint16x8x4_t ret = (uint16x8x4_t) {{
- vld1q_u16(a),
- vld1q_u16(a+8),
- vld1q_u16(a+16),
- vld1q_u16(a+24)}};
+ uint16x8x4_t ret;
+ ret.val[0] = vld1q_u16(a);
+ ret.val[1] = vld1q_u16(a+8);
+ ret.val[2] = vld1q_u16(a+16);
+ ret.val[3] = vld1q_u16(a+24);
return ret;
}
static inline uint8x16x4_t vld1q_u8_x4(uint8_t const *a) {
- uint8x16x4_t ret = (uint8x16x4_t) {{
- vld1q_u8(a),
- vld1q_u8(a+16),
- vld1q_u8(a+32),
- vld1q_u8(a+48)}};
+ uint8x16x4_t ret;
+ ret.val[0] = vld1q_u8(a);
+ ret.val[1] = vld1q_u8(a+16);
+ ret.val[2] = vld1q_u8(a+32);
+ ret.val[3] = vld1q_u8(a+48);
return ret;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/arm/slide_hash_armv6.c new/zlib-ng-2.2.2/arch/arm/slide_hash_armv6.c
--- old/zlib-ng-2.2.1/arch/arm/slide_hash_armv6.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/arm/slide_hash_armv6.c 2024-09-17 14:12:24.000000000 +0200
@@ -39,7 +39,8 @@
}
Z_INTERNAL void slide_hash_armv6(deflate_state *s) {
- unsigned int wsize = s->w_size;
+ Assert(s->w_size <= UINT16_MAX, "w_size should fit in uint16_t");
+ uint16_t wsize = (uint16_t)s->w_size;
slide_hash_chain(s->head, HASH_SIZE, wsize);
slide_hash_chain(s->prev, wsize, wsize);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/arm/slide_hash_neon.c new/zlib-ng-2.2.2/arch/arm/slide_hash_neon.c
--- old/zlib-ng-2.2.1/arch/arm/slide_hash_neon.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/arm/slide_hash_neon.c 2024-09-17 14:12:24.000000000 +0200
@@ -38,7 +38,8 @@
}
Z_INTERNAL void slide_hash_neon(deflate_state *s) {
- unsigned int wsize = s->w_size;
+ Assert(s->w_size <= UINT16_MAX, "w_size should fit in uint16_t");
+ uint16_t wsize = (uint16_t)s->w_size;
slide_hash_chain(s->head, HASH_SIZE, wsize);
slide_hash_chain(s->prev, wsize, wsize);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/generic/crc32_braid_c.c new/zlib-ng-2.2.2/arch/generic/crc32_braid_c.c
--- old/zlib-ng-2.2.1/arch/generic/crc32_braid_c.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/generic/crc32_braid_c.c 2024-09-17 14:12:24.000000000 +0200
@@ -192,7 +192,8 @@
#endif
#endif
words += N;
- c = ZSWAPWORD(comb);
+ Assert(comb <= UINT32_MAX, "comb should fit in uint32_t");
+ c = (uint32_t)ZSWAPWORD(comb);
/* Update the pointer to the remaining bytes to process. */
buf = (const unsigned char *)words;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/power/slide_ppc_tpl.h new/zlib-ng-2.2.2/arch/power/slide_ppc_tpl.h
--- old/zlib-ng-2.2.1/arch/power/slide_ppc_tpl.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/power/slide_ppc_tpl.h 2024-09-17 14:12:24.000000000 +0200
@@ -24,7 +24,8 @@
}
void Z_INTERNAL SLIDE_PPC(deflate_state *s) {
- uint16_t wsize = s->w_size;
+ Assert(s->w_size <= UINT16_MAX, "w_size should fit in uint16_t");
+ uint16_t wsize = (uint16_t)s->w_size;
slide_hash_chain(s->head, HASH_SIZE, wsize);
slide_hash_chain(s->prev, wsize, wsize);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/riscv/riscv_features.c new/zlib-ng-2.2.2/arch/riscv/riscv_features.c
--- old/zlib-ng-2.2.1/arch/riscv/riscv_features.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/riscv/riscv_features.c 2024-09-17 14:12:24.000000000 +0200
@@ -14,7 +14,10 @@
int Z_INTERNAL is_kernel_version_greater_or_equal_to_6_5() {
struct utsname buffer;
- uname(&buffer);
+ if (uname(&buffer) == -1) {
+ // uname failed
+ return 0;
+ }
int major, minor;
if (sscanf(buffer.release, "%d.%d", &major, &minor) != 2) {
@@ -49,4 +52,20 @@
riscv_check_features_runtime(features);
else
riscv_check_features_compile_time(features);
+ if (features->has_rvv) {
+ size_t e8m1_vec_len;
+ intptr_t vtype_reg_val;
+ // Check that a vuint8m1_t vector is at least 16 bytes and that tail
+ // agnostic and mask agnostic mode are supported
+ //
+ __asm__ volatile(
+ "vsetvli %0, zero, e8, m1, ta, ma\n\t"
+ "csrr %1, vtype"
+ : "=r"(e8m1_vec_len), "=r"(vtype_reg_val));
+
+ // The RVV target is supported if the VILL bit of VTYPE (the MSB bit of
+ // VTYPE) is not set and the length of a vuint8m1_t vector is at least 16
+ // bytes
+ features->has_rvv = (vtype_reg_val >= 0 && e8m1_vec_len >= 16);
+ }
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/riscv/slide_hash_rvv.c new/zlib-ng-2.2.2/arch/riscv/slide_hash_rvv.c
--- old/zlib-ng-2.2.1/arch/riscv/slide_hash_rvv.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/riscv/slide_hash_rvv.c 2024-09-17 14:12:24.000000000 +0200
@@ -23,6 +23,7 @@
}
Z_INTERNAL void slide_hash_rvv(deflate_state *s) {
+ Assert(s->w_size <= UINT16_MAX, "w_size should fit in uint16_t");
uint16_t wsize = (uint16_t)s->w_size;
slide_hash_chain(s->head, HASH_SIZE, wsize);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/s390/s390_features.c new/zlib-ng-2.2.2/arch/s390/s390_features.c
--- old/zlib-ng-2.2.1/arch/s390/s390_features.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/s390/s390_features.c 2024-09-17 14:12:24.000000000 +0200
@@ -6,7 +6,7 @@
#endif
#ifndef HWCAP_S390_VXRS
-#define HWCAP_S390_VXRS HWCAP_S390_VX
+#define HWCAP_S390_VXRS (1 << 11)
#endif
void Z_INTERNAL s390_check_features(struct s390_cpu_features *features) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/x86/adler32_avx512_p.h new/zlib-ng-2.2.2/arch/x86/adler32_avx512_p.h
--- old/zlib-ng-2.2.1/arch/x86/adler32_avx512_p.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/x86/adler32_avx512_p.h 2024-09-17 14:12:24.000000000 +0200
@@ -3,6 +3,17 @@
#include <immintrin.h>
#include <stdint.h>
+
+/* Written because Visual C++ toolchains before v142 have constant overflow in AVX512 intrinsic macros */
+#if defined(_MSC_VER) && !defined(_MM_K0_REG8)
+# undef _mm512_extracti64x4_epi64
+# define _mm512_extracti64x4_epi64(v1, e1) _mm512_maskz_extracti64x4_epi64(UINT8_MAX, v1, e1)
+# undef _mm512_set1_epi16
+# define _mm512_set1_epi16(e1) _mm512_maskz_set1_epi16(UINT32_MAX, e1)
+# undef _mm512_maddubs_epi16
+# define _mm512_maddubs_epi16(v1, v2) _mm512_maskz_maddubs_epi16(UINT32_MAX, v1, v2)
+#endif
+
/* Written because *_add_epi32(a) sets off ubsan */
static inline uint32_t _mm512_reduce_add_epu32(__m512i x) {
__m256i a = _mm512_extracti64x4_epi64(x, 1);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/x86/slide_hash_avx2.c new/zlib-ng-2.2.2/arch/x86/slide_hash_avx2.c
--- old/zlib-ng-2.2.1/arch/x86/slide_hash_avx2.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/x86/slide_hash_avx2.c 2024-09-17 14:12:24.000000000 +0200
@@ -31,6 +31,7 @@
}
Z_INTERNAL void slide_hash_avx2(deflate_state *s) {
+ Assert(s->w_size <= UINT16_MAX, "w_size should fit in uint16_t");
uint16_t wsize = (uint16_t)s->w_size;
const __m256i ymm_wsize = _mm256_set1_epi16((short)wsize);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/x86/slide_hash_sse2.c new/zlib-ng-2.2.2/arch/x86/slide_hash_sse2.c
--- old/zlib-ng-2.2.1/arch/x86/slide_hash_sse2.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/x86/slide_hash_sse2.c 2024-09-17 14:12:24.000000000 +0200
@@ -52,6 +52,7 @@
}
Z_INTERNAL void slide_hash_sse2(deflate_state *s) {
+ Assert(s->w_size <= UINT16_MAX, "w_size should fit in uint16_t");
uint16_t wsize = (uint16_t)s->w_size;
const __m128i xmm_wsize = _mm_set1_epi16((short)wsize);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/arch/x86/x86_intrins.h new/zlib-ng-2.2.2/arch/x86/x86_intrins.h
--- old/zlib-ng-2.2.1/arch/x86/x86_intrins.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/arch/x86/x86_intrins.h 2024-09-17 14:12:24.000000000 +0200
@@ -84,4 +84,9 @@
#endif // __AVX512F__
#endif // defined(_MSC_VER) && _MSC_VER < 1914
+/* Visual C++ toolchains before v142 have constant overflow in AVX512 intrinsics */
+#if defined(_MSC_VER) && defined(__AVX512F__) && !defined(_MM_K0_REG8)
+# undef _mm512_extracti32x4_epi32
+# define _mm512_extracti32x4_epi32(v1, e1) _mm512_maskz_extracti32x4_epi32(UINT8_MAX, v1, e1)
+#endif
#endif // include guard X86_INTRINS_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/cmake/detect-intrinsics.cmake new/zlib-ng-2.2.2/cmake/detect-intrinsics.cmake
--- old/zlib-ng-2.2.1/cmake/detect-intrinsics.cmake 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/cmake/detect-intrinsics.cmake 2024-09-17 14:12:24.000000000 +0200
@@ -66,7 +66,7 @@
return __uqsub16(a, b);
#endif
}
- int main(void) { return 0; }"
+ int main(void) { return f(1,2); }"
HAVE_ARMV6_INTRIN
)
set(CMAKE_REQUIRED_FLAGS)
@@ -433,7 +433,7 @@
check_c_source_compiles(
"#include <sys/auxv.h>
#ifndef HWCAP_S390_VXRS
- #define HWCAP_S390_VXRS HWCAP_S390_VX
+ #define HWCAP_S390_VXRS (1 << 11)
#endif
int main() {
return (getauxval(AT_HWCAP) & HWCAP_S390_VXRS);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/configure new/zlib-ng-2.2.2/configure
--- old/zlib-ng-2.2.1/configure 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/configure 2024-09-17 14:12:24.000000000 +0200
@@ -1243,7 +1243,7 @@
unsigned int f(unsigned int a, unsigned int b) {
return __uqsub16(a, b);
}
-int main(void) { return 0; }
+int main(void) { return f(1, 2); }
EOF
if try ${CC} ${CFLAGS} ${armv6flag} $test.c; then
echo "Checking for ARMv6 intrinsics ... Yes." | tee -a configure.log
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/deflate.c new/zlib-ng-2.2.2/deflate.c
--- old/zlib-ng-2.2.1/deflate.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/deflate.c 2024-09-17 14:12:24.000000000 +0200
@@ -204,7 +204,7 @@
/* Define sizes */
int window_size = DEFLATE_ADJUST_WINDOW_SIZE((1 << windowBits) * 2);
- int prev_size = (1 << windowBits) * sizeof(Pos);
+ int prev_size = (1 << windowBits) * (int)sizeof(Pos);
int head_size = HASH_SIZE * sizeof(Pos);
int pending_size = lit_bufsize * LIT_BUFS;
int state_size = sizeof(deflate_state);
@@ -239,7 +239,7 @@
int total_size = PAD_64(curr_size + (WINDOW_PAD_SIZE - 1));
/* Allocate buffer, align to 64-byte cacheline, and zerofill the resulting buffer */
- char *original_buf = strm->zalloc(strm->opaque, 1, total_size);
+ char *original_buf = (char *)strm->zalloc(strm->opaque, 1, total_size);
if (original_buf == NULL)
return NULL;
@@ -248,7 +248,7 @@
/* Initialize alloc_bufs */
deflate_allocs *alloc_bufs = (struct deflate_allocs_s *)(buff + alloc_pos);
- alloc_bufs->buf_start = (char *)original_buf;
+ alloc_bufs->buf_start = original_buf;
alloc_bufs->zfree = strm->zfree;
/* Assign buffers */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/deflate.h new/zlib-ng-2.2.2/deflate.h
--- old/zlib-ng-2.2.1/deflate.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/deflate.h 2024-09-17 14:12:24.000000000 +0200
@@ -243,6 +243,10 @@
int nice_match; /* Stop searching when current match exceeds this */
+#if defined(_M_IX86) || defined(_M_ARM)
+ int padding[2];
+#endif
+
struct crc32_fold_s ALIGNED_(16) crc_fold;
/* used by trees.c: */
@@ -323,7 +327,10 @@
/* Number of valid bits in bi_buf. All bits above the last valid bit are always zero. */
/* Reserved for future use and alignment purposes */
- int32_t reserved[11];
+ int32_t reserved[19];
+#if defined(_M_IX86) || defined(_M_ARM)
+ int32_t padding2[4];
+#endif
};
typedef enum {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/deflate_fast.c new/zlib-ng-2.2.2/deflate_fast.c
--- old/zlib-ng-2.2.1/deflate_fast.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/deflate_fast.c 2024-09-17 14:12:24.000000000 +0200
@@ -58,7 +58,9 @@
}
if (match_len >= WANT_MIN_MATCH) {
- check_match(s, s->strstart, s->match_start, match_len);
+ Assert(s->strstart <= UINT16_MAX, "strstart should fit in uint16_t");
+ Assert(s->match_start <= UINT16_MAX, "match_start should fit in uint16_t");
+ check_match(s, (Pos)s->strstart, (Pos)s->match_start, match_len);
bflush = zng_tr_tally_dist(s, s->strstart - s->match_start, match_len - STD_MIN_MATCH);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/deflate_p.h new/zlib-ng-2.2.2/deflate_p.h
--- old/zlib-ng-2.2.1/deflate_p.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/deflate_p.h 2024-09-17 14:12:24.000000000 +0200
@@ -78,8 +78,10 @@
/* dist: distance of matched string */
/* len: match length-STD_MIN_MATCH */
#ifdef LIT_MEM
- s->d_buf[s->sym_next] = dist;
- s->l_buf[s->sym_next++] = len;
+ Assert(dist <= UINT16_MAX, "dist should fit in uint16_t");
+ Assert(len <= UINT8_MAX, "len should fit in uint8_t");
+ s->d_buf[s->sym_next] = (uint16_t)dist;
+ s->l_buf[s->sym_next++] = (uint8_t)len;
#else
s->sym_buf[s->sym_next++] = (uint8_t)(dist);
s->sym_buf[s->sym_next++] = (uint8_t)(dist >> 8);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/deflate_quick.c new/zlib-ng-2.2.2/deflate_quick.c
--- old/zlib-ng-2.2.1/deflate_quick.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/deflate_quick.c 2024-09-17 14:12:24.000000000 +0200
@@ -102,7 +102,8 @@
if (UNLIKELY(match_len > STD_MAX_MATCH))
match_len = STD_MAX_MATCH;
- check_match(s, s->strstart, hash_head, match_len);
+ Assert(s->strstart <= UINT16_MAX, "strstart should fit in uint16_t");
+ check_match(s, (Pos)s->strstart, hash_head, match_len);
zng_tr_emit_dist(s, static_ltree, static_dtree, match_len - STD_MIN_MATCH, (uint32_t)dist);
s->lookahead -= match_len;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/deflate_rle.c new/zlib-ng-2.2.2/deflate_rle.c
--- old/zlib-ng-2.2.1/deflate_rle.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/deflate_rle.c 2024-09-17 14:12:24.000000000 +0200
@@ -58,7 +58,8 @@
/* Emit match if have run of STD_MIN_MATCH or longer, else emit literal */
if (match_len >= STD_MIN_MATCH) {
- check_match(s, s->strstart, s->strstart - 1, match_len);
+ Assert(s->strstart <= UINT16_MAX, "strstart should fit in uint16_t");
+ check_match(s, (Pos)s->strstart, (Pos)(s->strstart - 1), match_len);
bflush = zng_tr_tally_dist(s, 1, match_len - STD_MIN_MATCH);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/deflate_slow.c new/zlib-ng-2.2.2/deflate_slow.c
--- old/zlib-ng-2.2.1/deflate_slow.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/deflate_slow.c 2024-09-17 14:12:24.000000000 +0200
@@ -78,7 +78,8 @@
unsigned int max_insert = s->strstart + s->lookahead - STD_MIN_MATCH;
/* Do not insert strings in hash table beyond this. */
- check_match(s, s->strstart-1, s->prev_match, s->prev_length);
+ Assert((s->strstart-1) <= UINT16_MAX, "strstart-1 should fit in uint16_t");
+ check_match(s, (Pos)(s->strstart - 1), s->prev_match, s->prev_length);
bflush = zng_tr_tally_dist(s, s->strstart -1 - s->prev_match, s->prev_length - STD_MIN_MATCH);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/functable.c new/zlib-ng-2.2.2/functable.c
--- old/zlib-ng-2.2.1/functable.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/functable.c 2024-09-17 14:12:24.000000000 +0200
@@ -5,14 +5,15 @@
#ifndef DISABLE_RUNTIME_CPU_DETECTION
#include "zbuild.h"
-#include "functable.h"
-#include "cpu_features.h"
-#include "arch_functions.h"
#if defined(_MSC_VER)
# include <intrin.h>
#endif
+#include "functable.h"
+#include "cpu_features.h"
+#include "arch_functions.h"
+
/* Platform has pointer size atomic store */
#if defined(__GNUC__) || defined(__clang__)
# define FUNCTABLE_ASSIGN(VAR, FUNC_NAME) \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/inffast_tpl.h new/zlib-ng-2.2.2/inffast_tpl.h
--- old/zlib-ng-2.2.1/inffast_tpl.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/inffast_tpl.h 2024-09-17 14:12:24.000000000 +0200
@@ -249,7 +249,8 @@
if (op < len) { /* still need some from output */
len -= op;
out = chunkcopy_safe(out, from, op, safe);
- out = CHUNKUNROLL(out, &dist, &len);
+ if (!extra_safe)
+ out = CHUNKUNROLL(out, &dist, &len);
out = chunkcopy_safe(out, out - dist, len, safe);
} else {
out = chunkcopy_safe(out, from, len, safe);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/inflate.c new/zlib-ng-2.2.2/inflate.c
--- old/zlib-ng-2.2.1/inflate.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/inflate.c 2024-09-17 14:12:24.000000000 +0200
@@ -170,7 +170,7 @@
int total_size = PAD_64(curr_size + (WINDOW_PAD_SIZE - 1));
/* Allocate buffer, align to 64-byte cacheline, and zerofill the resulting buffer */
- char *original_buf = strm->zalloc(strm->opaque, 1, total_size);
+ char *original_buf = (char *)strm->zalloc(strm->opaque, 1, total_size);
if (original_buf == NULL)
return NULL;
@@ -179,7 +179,7 @@
/* Initialize alloc_bufs */
inflate_allocs *alloc_bufs = (struct inflate_allocs_s *)(buff + alloc_pos);
- alloc_bufs->buf_start = (char *)original_buf;
+ alloc_bufs->buf_start = original_buf;
alloc_bufs->zfree = strm->zfree;
alloc_bufs->window = (unsigned char *)HINT_ALIGNED_WINDOW((buff + window_pos));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/inflate.h new/zlib-ng-2.2.2/inflate.h
--- old/zlib-ng-2.2.1/inflate.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/inflate.h 2024-09-17 14:12:24.000000000 +0200
@@ -115,6 +115,11 @@
uint32_t whave; /* valid bytes in the window */
uint32_t wnext; /* window write index */
unsigned char *window; /* allocated sliding window, if needed */
+#if defined(_M_IX86) || defined(_M_ARM)
+ uint32_t padding;
+#else
+ uint32_t padding[2];
+#endif
struct crc32_fold_s ALIGNED_(16) crc_fold;
@@ -148,6 +153,9 @@
#ifdef HAVE_ARCH_INFLATE_STATE
arch_inflate_state arch; /* architecture-specific extensions */
#endif
+#if defined(_M_IX86) || defined(_M_ARM)
+ int padding2[8];
+#endif
};
void Z_INTERNAL PREFIX(fixedtables)(struct inflate_state *state);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/insert_string_tpl.h new/zlib-ng-2.2.2/insert_string_tpl.h
--- old/zlib-ng-2.2.1/insert_string_tpl.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/insert_string_tpl.h 2024-09-17 14:12:24.000000000 +0200
@@ -29,9 +29,15 @@
# define HASH_CALC_MASK HASH_MASK
#endif
#ifndef HASH_CALC_READ
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define HASH_CALC_READ \
- memcpy(&val, strstart, sizeof(val));
+# ifdef UNALIGNED_OK
+# if BYTE_ORDER == LITTLE_ENDIAN
+# define HASH_CALC_READ \
+ memcpy(&val, strstart, sizeof(val));
+# else
+# define HASH_CALC_READ \
+ memcpy(&val, strstart, sizeof(val)); \
+ val = ZSWAP32(val);
+# endif
# else
# define HASH_CALC_READ \
val = ((uint32_t)(strstart[0])); \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/test/CMakeLists.txt new/zlib-ng-2.2.2/test/CMakeLists.txt
--- old/zlib-ng-2.2.1/test/CMakeLists.txt 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/test/CMakeLists.txt 2024-09-17 14:12:24.000000000 +0200
@@ -201,6 +201,13 @@
add_executable(gtest_zlib ${TEST_SRCS})
configure_test_executable(gtest_zlib)
+ if(MSVC)
+ target_compile_options(gtest_zlib PRIVATE /wd4389)
+ if(BASEARCH_ARM_FOUND)
+ target_compile_options(gtest_zlib PRIVATE /EHsc)
+ endif()
+ endif()
+
if(WITH_SANITIZER STREQUAL "Memory")
target_link_directories(gtest_zlib PRIVATE $ENV{LLVM_BUILD_DIR}/lib)
target_link_options(gtest_zlib PRIVATE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/test/fuzz/fuzzer_minigzip.c new/zlib-ng-2.2.2/test/fuzz/fuzzer_minigzip.c
--- old/zlib-ng-2.2.1/test/fuzz/fuzzer_minigzip.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/test/fuzz/fuzzer_minigzip.c 2024-09-17 14:12:24.000000000 +0200
@@ -302,7 +302,9 @@
}
if (len == 0)
break;
- assert(0 == memcmp(data + offset, buf, len));
+ int c = memcmp(data + offset, buf, len);
+ assert(0 == c);
+ Z_UNUSED(c); // in Release build, assert() is a no-op.
offset += len;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/test/test_gzio.cc new/zlib-ng-2.2.2/test/test_gzio.cc
--- old/zlib-ng-2.2.1/test/test_gzio.cc 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/test/test_gzio.cc 2024-09-17 14:12:24.000000000 +0200
@@ -30,6 +30,7 @@
gzFile file;
int err;
+ Z_UNUSED(compr);
/* Write gz file with test data */
file = PREFIX(gzopen)(TESTFILE, "wb");
ASSERT_TRUE(file != NULL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/zbuild.h new/zlib-ng-2.2.2/zbuild.h
--- old/zlib-ng-2.2.1/zbuild.h 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/zbuild.h 2024-09-17 14:12:24.000000000 +0200
@@ -225,7 +225,7 @@
# include <stdio.h>
extern int Z_INTERNAL z_verbose;
extern void Z_INTERNAL z_error(const char *m);
-# define Assert(cond, msg) {if (!(cond)) z_error(msg);}
+# define Assert(cond, msg) {int _cond = (cond); if (!_cond) z_error(msg);}
# define Trace(x) {if (z_verbose >= 0) fprintf x;}
# define Tracev(x) {if (z_verbose > 0) fprintf x;}
# define Tracevv(x) {if (z_verbose > 1) fprintf x;}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/zlib-ng.h.in new/zlib-ng-2.2.2/zlib-ng.h.in
--- old/zlib-ng-2.2.1/zlib-ng.h.in 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/zlib-ng.h.in 2024-09-17 14:12:24.000000000 +0200
@@ -48,11 +48,11 @@
extern "C" {
#endif
-#define ZLIBNG_VERSION "2.2.1"
-#define ZLIBNG_VERNUM 0x020201F0L /* MMNNRRSM: major minor revision status modified */
+#define ZLIBNG_VERSION "2.2.2"
+#define ZLIBNG_VERNUM 0x020202F0L /* MMNNRRSM: major minor revision status modified */
#define ZLIBNG_VER_MAJOR 2
#define ZLIBNG_VER_MINOR 2
-#define ZLIBNG_VER_REVISION 1
+#define ZLIBNG_VER_REVISION 2
#define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release (DEPRECATED) */
#define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
#define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/zlib.h.in new/zlib-ng-2.2.2/zlib.h.in
--- old/zlib-ng-2.2.1/zlib.h.in 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/zlib.h.in 2024-09-17 14:12:24.000000000 +0200
@@ -49,11 +49,11 @@
extern "C" {
#endif
-#define ZLIBNG_VERSION "2.2.1"
-#define ZLIBNG_VERNUM 0x020201F0L /* MMNNRRSM: major minor revision status modified */
+#define ZLIBNG_VERSION "2.2.2"
+#define ZLIBNG_VERNUM 0x020202F0L /* MMNNRRSM: major minor revision status modified */
#define ZLIBNG_VER_MAJOR 2
#define ZLIBNG_VER_MINOR 2
-#define ZLIBNG_VER_REVISION 1
+#define ZLIBNG_VER_REVISION 2
#define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release (DEPRECATED) */
#define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
#define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-ng-2.2.1/zutil.c new/zlib-ng-2.2.2/zutil.c
--- old/zlib-ng-2.2.1/zutil.c 2024-07-02 15:55:49.000000000 +0200
+++ new/zlib-ng-2.2.2/zutil.c 2024-09-17 14:12:24.000000000 +0200
@@ -21,7 +21,7 @@
};
const char PREFIX3(vstring)[] =
- " zlib-ng 2.2.1";
+ " zlib-ng 2.2.2";
#ifdef ZLIB_COMPAT
const char * Z_EXPORT zlibVersion(void) {
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package dtc for openSUSE:Factory checked in at 2024-10-23 21:07:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dtc (Old)
and /work/SRC/openSUSE:Factory/.dtc.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dtc"
Wed Oct 23 21:07:59 2024 rev:41 rq:1217247 version:1.7.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/dtc/dtc.changes 2023-04-28 16:22:48.685815194 +0200
+++ /work/SRC/openSUSE:Factory/.dtc.new.26871/dtc.changes 2024-10-23 21:08:03.333154215 +0200
@@ -1,0 +2,29 @@
+Tue Oct 22 07:24:23 UTC 2024 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update to 1.7.1:
+ * dtc
+ * Fix check for 10-bit I2C addresses
+ * Improve documentation of -@ option
+ * Update to libyaml >= 0.2.3
+ * Improvements & fixes for device graph checks
+ * Add -L / --local-fixups option
+ * Add check for length of interrupt-map properties
+ * libfdt
+ * Add fdt_path_getprop_namelen()
+ * Add fdt_get_symbol() and fdt_get_symbol_namelen()
+ * Correct documentation of fdt_path_offset()
+ * Correct documentation of fdt_appendprop_addrrange()
+ * Validate aliases is fdt_get_alias_namelen()
+ * Don't overwrite phandles when applying overlays
+ * Require Python 3
+ * pylibfdt
+ * Support boolean properties
+ * Fixes for current Python versions
+ * General
+ * Assorted bugfixes
+ * Assorted build improvements
+ * Assorted typo fixes in docs
+ * Some additional testcases
+ * Move to GitHub Actions based CI
+
+-------------------------------------------------------------------
Old:
----
dtc-1.7.0.tar.gz
dtc-1.7.0.tar.sign
New:
----
dtc-1.7.1.tar.gz
dtc-1.7.1.tar.sign
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dtc.spec ++++++
--- /var/tmp/diff_new_pack.LTm4xq/_old 2024-10-23 21:08:03.973180785 +0200
+++ /var/tmp/diff_new_pack.LTm4xq/_new 2024-10-23 21:08:03.973180785 +0200
@@ -1,7 +1,7 @@
#
# spec file for package dtc
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define sover 1
Name: dtc
-Version: 1.7.0
+Version: 1.7.1
Release: 0
Summary: Device-tree compiler
License: GPL-2.0-or-later
@@ -89,7 +89,6 @@
%postun -n libfdt%{sover} -p /sbin/ldconfig
%files -n libfdt%{sover}
-%{_libdir}/libfdt-%{version}.so
%{_libdir}/libfdt.so.*
%files -n libfdt-devel
++++++ dtc-1.7.0.tar.gz -> dtc-1.7.1.tar.gz ++++++
++++ 3203 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package subversion for openSUSE:Factory checked in at 2024-10-23 21:07:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subversion (Old)
and /work/SRC/openSUSE:Factory/.subversion.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "subversion"
Wed Oct 23 21:07:57 2024 rev:196 rq:1217241 version:1.14.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/subversion/subversion.changes 2024-09-29 18:09:39.959221501 +0200
+++ /work/SRC/openSUSE:Factory/.subversion.new.26871/subversion.changes 2024-10-23 21:08:01.737087953 +0200
@@ -1,0 +2,16 @@
+Fri Oct 18 16:35:51 UTC 2024 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- Update to 1.14.4:
+ * Fix unbounded memory usage in propget and proplist --xml
+ * Fix cmdline parsing bugs in --change (-c) argument
+ * Improve help message for svnmucc PUT
+ * mailer.py: Fix inconsistency in Config.which_group() arguments
+ * Convert path to local style in error message from diff API
+ * Fix `invalid escape sequence` in .py scripts for Python 3.12
+ * swig-py: Fix `none_dealloc` error caused by refcount issue
+ * Fix a msgid in svnadmin.c which was not a valid C string
+- drop patches included upstream:
+ * subversion-1.14.3-gcc14-2.patch
+ * subversion-1.14.3-gcc14.patch
+
+-------------------------------------------------------------------
Old:
----
subversion-1.14.3-gcc14-2.patch
subversion-1.14.3-gcc14.patch
subversion-1.14.3.tar.bz2
subversion-1.14.3.tar.bz2.asc
New:
----
subversion-1.14.4.tar.bz2
subversion-1.14.4.tar.bz2.asc
BETA DEBUG BEGIN:
Old:- drop patches included upstream:
* subversion-1.14.3-gcc14-2.patch
* subversion-1.14.3-gcc14.patch
Old: * subversion-1.14.3-gcc14-2.patch
* subversion-1.14.3-gcc14.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ subversion.spec ++++++
--- /var/tmp/diff_new_pack.yoyS0i/_old 2024-10-23 21:08:02.813132626 +0200
+++ /var/tmp/diff_new_pack.yoyS0i/_new 2024-10-23 21:08:02.813132626 +0200
@@ -41,7 +41,7 @@
%bcond_with python_ctypes
%bcond_with all_regression_tests
Name: subversion%{psuffix}
-Version: 1.14.3
+Version: 1.14.4
Release: 0
Summary: Subversion version control system
License: Apache-2.0
@@ -75,8 +75,6 @@
# PATCH-FIX-UPSTREAM danilo.spinella(a)suse.com bsc#1195486 bsc#1193778
# Fix testCrash_RequestChannel_nativeRead_AfterException test on aarch64 and ppc64le
Patch47: fix-javahl-test.patch
-Patch48: subversion-1.14.3-gcc14.patch
-Patch49: subversion-1.14.3-gcc14-2.patch
BuildRequires: apache-rpm-macros
BuildRequires: apache2-devel >= 2.2.0
BuildRequires: apache2-prefork
@@ -94,9 +92,9 @@
BuildRequires: python3-py3c
BuildRequires: python3-xml
BuildRequires: ruby-devel >= 1.8.2
+BuildRequires: strip-nondeterminism
BuildRequires: swig
BuildRequires: sysuser-tools
-BuildRequires: strip-nondeterminism
BuildRequires: update-alternatives
BuildRequires: utf8proc-devel
BuildRequires: pkgconfig(apr-1) >= 1.3.0
@@ -436,6 +434,7 @@
%endif
%else
+
%pre -f subversion.pre
%service_add_pre svnserve.service
++++++ subversion-1.14.3.tar.bz2 -> subversion-1.14.4.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/subversion/subversion-1.14.3.tar.bz2 /work/SRC/openSUSE:Factory/.subversion.new.26871/subversion-1.14.4.tar.bz2 differ: char 11, line 1
++++++ subversion-no-build-date.patch ++++++
--- /var/tmp/diff_new_pack.yoyS0i/_old 2024-10-23 21:08:02.901136279 +0200
+++ /var/tmp/diff_new_pack.yoyS0i/_new 2024-10-23 21:08:02.901136279 +0200
@@ -13,10 +13,10 @@
subversion/tests/cmdline/getopt_tests_data/svn--version_stdout | 1 -
5 files changed, 6 insertions(+), 12 deletions(-)
-Index: subversion-1.14.3/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
+Index: subversion-1.14.4/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
===================================================================
---- subversion-1.14.3.orig/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
-+++ subversion-1.14.3/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
+--- subversion-1.14.4.orig/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
++++ subversion-1.14.4/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
@@ -149,10 +149,10 @@ public class BasicTests extends SVNTests
{
vx = client.getVersionExtended(false);
@@ -30,10 +30,10 @@
throw new Exception("Build time empty");
result = vx.getBuildHost();
if (result == null || result.trim().length() == 0)
-Index: subversion-1.14.3/subversion/libsvn_subr/opt.c
+Index: subversion-1.14.4/subversion/libsvn_subr/opt.c
===================================================================
---- subversion-1.14.3.orig/subversion/libsvn_subr/opt.c
-+++ subversion-1.14.3/subversion/libsvn_subr/opt.c
+--- subversion-1.14.4.orig/subversion/libsvn_subr/opt.c
++++ subversion-1.14.4/subversion/libsvn_subr/opt.c
@@ -1147,12 +1147,8 @@ svn_opt__print_version_info(const char *
if (quiet)
return svn_cmdline_printf(pool, "%s\n", SVN_VER_NUMBER);
@@ -49,10 +49,10 @@
SVN_ERR(svn_cmdline_printf(pool, "%s\n", svn_version_ext_copyright(info)));
if (footer)
-Index: subversion-1.14.3/subversion/libsvn_subr/version.c
+Index: subversion-1.14.4/subversion/libsvn_subr/version.c
===================================================================
---- subversion-1.14.3.orig/subversion/libsvn_subr/version.c
-+++ subversion-1.14.3/subversion/libsvn_subr/version.c
+--- subversion-1.14.4.orig/subversion/libsvn_subr/version.c
++++ subversion-1.14.4/subversion/libsvn_subr/version.c
@@ -139,8 +139,8 @@ svn_version_extended(svn_boolean_t verbo
{
svn_version_extended_t *info = apr_pcalloc(pool, sizeof(*info));
@@ -63,21 +63,21 @@
+ info->build_time = "";
info->build_host = SVN_BUILD_HOST;
info->copyright = apr_pstrdup
- (pool, _("Copyright (C) 2023 The Apache Software Foundation.\n"
-Index: subversion-1.14.3/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout
+ (pool, _("Copyright (C) 2024 The Apache Software Foundation.\n"
+Index: subversion-1.14.4/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout
===================================================================
---- subversion-1.14.3.orig/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout
-+++ subversion-1.14.3/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout
+--- subversion-1.14.4.orig/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout
++++ subversion-1.14.4/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout
@@ -1,5 +1,4 @@
svn, version 1.9.0-dev (under development)
- compiled Feb 26 2014, 15:15:42 on x86_64-unknown-openbsd5.5
Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people;
-Index: subversion-1.14.3/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout
+Index: subversion-1.14.4/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout
===================================================================
---- subversion-1.14.3.orig/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout
-+++ subversion-1.14.3/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout
+--- subversion-1.14.4.orig/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout
++++ subversion-1.14.4/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout
@@ -1,5 +1,4 @@
svn, version 1.9.0-dev (under development)
- compiled Feb 26 2014, 15:15:42 on x86_64-unknown-openbsd5.5
++++++ subversion.keyring ++++++
++++ 17960 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/subversion/subversion.keyring
++++ and /work/SRC/openSUSE:Factory/.subversion.new.26871/subversion.keyring
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package freerdp for openSUSE:Factory checked in at 2024-10-23 21:07:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/freerdp (Old)
and /work/SRC/openSUSE:Factory/.freerdp.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freerdp"
Wed Oct 23 21:07:56 2024 rev:79 rq:1217228 version:3.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/freerdp/freerdp.changes 2024-09-02 13:15:14.636341164 +0200
+++ /work/SRC/openSUSE:Factory/.freerdp.new.26871/freerdp.changes 2024-10-23 21:07:59.128979675 +0200
@@ -1,0 +2,23 @@
+Wed Oct 23 05:10:01 UTC 2024 - ecsos <ecsos(a)opensuse.org>
+
+- Update to 3.9.0
+ So, what is new:
+ * Support for RDPEAR (remote credential guard) /remoteGuard option for non windows clients
+ * Global configuration file support, allowing to configure certificate
+ accept/ignore/... default settings for all users
+ * Simplified manpage generation, eliminates docbook and xmlto dependencies
+ speeding up builds
+ * New API for client channels to run tasks on RDP thread
+ * New extended transport layer API
+ * RDPECAM MJPEG support
+ * the first updates of timezone definitions from our automated ci
+ Noteworthy changes:
+ * Fix bugs in SSE4.1/AVX2 image copy (#10720)
+ * Add warnings for invalid monitor settings during connect (#10672)
+ * Fix ALSA microphone support (#10664)
+ * Fix modal windows in RAILS mode (#10629)
+ * Update experimental SDL3 client (SDL3 API should now have been stabilized,
+ various pull requests)
+ * Fix keyboard layouts, the external JSON did miss a few (#10639)
+
+-------------------------------------------------------------------
Old:
----
FreeRDP-3.8.0.tar.gz
New:
----
FreeRDP-3.9.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ freerdp.spec ++++++
--- /var/tmp/diff_new_pack.kplLsK/_old 2024-10-23 21:07:59.845009401 +0200
+++ /var/tmp/diff_new_pack.kplLsK/_new 2024-10-23 21:07:59.845009401 +0200
@@ -37,7 +37,7 @@
%define uwac_package %{uwac_version}-%{uwac_version}
Name: freerdp
-Version: 3.8.0
+Version: 3.9.0
Release: 0
Summary: Remote Desktop Viewer Client
License: Apache-2.0
++++++ FreeRDP-3.8.0.tar.gz -> FreeRDP-3.9.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/freerdp/FreeRDP-3.8.0.tar.gz /work/SRC/openSUSE:Factory/.freerdp.new.26871/FreeRDP-3.9.0.tar.gz differ: char 14, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package brltty for openSUSE:Factory checked in at 2024-10-23 21:07:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/brltty (Old)
and /work/SRC/openSUSE:Factory/.brltty.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "brltty"
Wed Oct 23 21:07:53 2024 rev:67 rq:1217115 version:6.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/brltty/brltty.changes 2024-09-25 21:53:16.976260989 +0200
+++ /work/SRC/openSUSE:Factory/.brltty.new.26871/brltty.changes 2024-10-23 21:07:54.964806795 +0200
@@ -1,0 +2,16 @@
+Thu Oct 17 18:22:43 UTC 2024 - Michael Gorse <mgorse(a)suse.com>
+
+- Update to version 6.7:
+ + Too many changes; please read ChangeLog
+- Drop e6707d5e.patch: fixed upstream.
+- API version is now 0.8.6.
+
+-------------------------------------------------------------------
+Thu Sep 26 15:29:27 UTC 2024 - Fridrich Strba <fstrba(a)suse.com>
+
+- Added patch:
+ * brltty-reproducible-jar-mtime.patch
+ + Use SOURCE_DATE_EPOCH for reproducible jar mtime
+ + Applied if building with Java >= 17
+
+-------------------------------------------------------------------
Old:
----
brltty-6.6.tar.xz
e6707d5e.patch
New:
----
brltty-6.7.tar.xz
brltty-reproducible-jar-mtime.patch
BETA DEBUG BEGIN:
Old: + Too many changes; please read ChangeLog
- Drop e6707d5e.patch: fixed upstream.
- API version is now 0.8.6.
BETA DEBUG END:
BETA DEBUG BEGIN:
New:- Added patch:
* brltty-reproducible-jar-mtime.patch
+ Use SOURCE_DATE_EPOCH for reproducible jar mtime
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ brltty.spec ++++++
--- /var/tmp/diff_new_pack.tqFYfA/_old 2024-10-23 21:07:55.508829382 +0200
+++ /var/tmp/diff_new_pack.tqFYfA/_new 2024-10-23 21:07:55.512829547 +0200
@@ -17,11 +17,11 @@
%global _lto_cflags %_lto_cflags -ffat-lto-objects
-%define api_version 0.8.5
+%define api_version 0.8.6
%define sover 0_8
%define soname libbrlapi%{sover}
Name: brltty
-Version: 6.6
+Version: 6.7
Release: 0
# FIXME libbraille driver when libbraille is in factory
Summary: Braille display driver for Linux/Unix
@@ -33,7 +33,7 @@
Source1: README.SUSE
Source2: %name.rpmlintrc
Patch0: brltty-udev-dir.patch
-Patch1: https://github.com/brltty/brltty/commit/e6707d5e.patch
+Patch2: brltty-reproducible-jar-mtime.patch
Requires(pre): system-user-brltty = %version-%release
@@ -319,7 +319,12 @@
%lang_package
%prep
-%autosetup -p1
+%setup
+%patch -P 0 -p1
+# The "--date" option was added into jar in OpenJDK 17
+%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
+%patch -P 2 -p1
+%endif
%build
%sysusers_generate_pre Autostart/Systemd/sysusers system-user-brltty %name.conf
++++++ brltty-6.6.tar.xz -> brltty-6.7.tar.xz ++++++
++++ 105988 lines of diff (skipped)
++++++ brltty-reproducible-jar-mtime.patch ++++++
--- brltty-6.6/Bindings/Java/Makefile.in 2024-09-26 17:16:12.903477065 +0200
+++ brltty-6.6/Bindings/Java/Makefile.in 2024-09-26 17:17:37.427440398 +0200
@@ -52,7 +52,8 @@
jar: $(JAVA_JAR_FILE)
$(JAVA_JAR_FILE): classes.made
- $(JAR) cfm $@ $(SRC_DIR)/manifest -C classes .
+ $(JAR) --date="$$(date -u -d @$${SOURCE_DATE_EPOCH:-$$(date +%s)} +%Y-%m-%dT%H:%M:%SZ)" \
+ --create --file=$@ --manifest=$(SRC_DIR)/manifest -C classes .
JAVAC_LINT_OPTIONS = cast,deprecation,fallthrough,finally,overrides,rawtypes,unchecked
1
0