Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kmod for openSUSE:Factory checked in at 2021-02-01 13:26:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kmod (Old) and /work/SRC/openSUSE:Factory/.kmod.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kmod" Mon Feb 1 13:26:26 2021 rev:59 rq:868043 version:28 Changes: -------- --- /work/SRC/openSUSE:Factory/kmod/kmod.changes 2021-01-18 11:30:40.644438563 +0100 +++ /work/SRC/openSUSE:Factory/.kmod.new.28504/kmod.changes 2021-02-01 13:28:04.178090590 +0100 @@ -1,0 +2,24 @@ +Fri Jan 29 11:54:30 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org> + +- Supplement bash-completion subpackage against the main package + and bash-completion. +- Also require the main package plus bash-completion: the + completion package is useless without either of the two. + +------------------------------------------------------------------- +Thu Jan 28 12:05:17 UTC 2021 - Michal Suchanek <msuchanek@suse.com> + +- Update to v28 + * Add Zstandard to the supported compression formats using libzstd + (tests only - cannot be disabled in tests) + * Ignore ill-formed kernel command line, e.g. with "ivrs_acpihid[00:14.5]=AMD0020:0" + option in it + * Fix some memory leaks + * Fix 0-length builtin.alias.bin: it needs at least the index header + +------------------------------------------------------------------- +Thu Jan 28 11:03:09 UTC 2021 - Petr Vorel <pvorel@suse.cz> + +- Backport upstream fix 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch + +------------------------------------------------------------------- Old: ---- kmod-27.tar.sign kmod-27.tar.xz New: ---- 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch kmod-28.tar.sign kmod-28.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kmod-testsuite.spec ++++++ --- /var/tmp/diff_new_pack.3g3y3b/_old 2021-02-01 13:28:04.806091567 +0100 +++ /var/tmp/diff_new_pack.3g3y3b/_new 2021-02-01 13:28:04.806091567 +0100 @@ -18,7 +18,7 @@ Name: kmod-testsuite %define lname libkmod2 -Version: 27 +Version: 28 Release: 0 Summary: Testsuite of the kmod package License: LGPL-2.1-or-later AND GPL-2.0-or-later @@ -37,6 +37,7 @@ Patch6: 0012-modprobe-print-unsupported-status.patch Patch7: usr-lib-modprobe.patch Patch8: no-stylesheet-download.patch +Patch9: 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: docbook5-xsl-stylesheets @@ -46,7 +47,9 @@ BuildRequires: libxslt-tools BuildRequires: pkgconfig >= 0.21 BuildRequires: xz +BuildRequires: zstd BuildRequires: pkgconfig(liblzma) >= 4.99 +BuildRequires: pkgconfig(libzstd) >= 1.4.4 BuildRequires: pkgconfig(zlib) Requires: suse-module-tools %if !0%{?is_opensuse} @@ -71,6 +74,7 @@ %configure \ --with-xz \ --with-zlib \ + --with-zstd \ --with-openssl \ --includedir="%_includedir/kmod" \ --with-rootlibdir="%_libdir" \ ++++++ kmod.spec ++++++ --- /var/tmp/diff_new_pack.3g3y3b/_old 2021-02-01 13:28:04.826091598 +0100 +++ /var/tmp/diff_new_pack.3g3y3b/_new 2021-02-01 13:28:04.830091605 +0100 @@ -18,7 +18,7 @@ Name: kmod %define lname libkmod2 -Version: 27 +Version: 28 Release: 0 Summary: Utilities to load modules into the kernel License: LGPL-2.1-or-later AND GPL-2.0-or-later @@ -37,6 +37,7 @@ Patch6: 0012-modprobe-print-unsupported-status.patch Patch7: usr-lib-modprobe.patch Patch8: no-stylesheet-download.patch +Patch9: 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: docbook5-xsl-stylesheets @@ -69,6 +70,9 @@ License: LGPL-2.1-or-later AND GPL-2.0-or-later Group: System/Shells BuildArch: noarch +Requires: %{name} +Requires: bash-completion +Supplements: (%{name} and bash-completion) %description bash-completion Contains bash completion support for kmod utilities. ++++++ 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch ++++++ From fa67110f896cdef67f42cbc2206ae2a8524acee6 Mon Sep 17 00:00:00 2001 From: Marco d'Itri <md@linux.it> Date: Thu, 7 Jan 2021 20:17:48 -0800 Subject: [PATCH] Fix "modinfo -F always shows name for built-ins" Bug reported by Ben Hutchings <ben@decadent.org.uk>: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970871 Now that the kernel provides module information for potentially modular code that's actually built-in, it's possible to query these built-ins with "modinfo -F". However, this doesn't work quite right: $ modinfo -Flicense e1000e GPL v2 $ modinfo -Flicense bitrev name: bitrev GPL --- tools/modinfo.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Index: kmod-27/tools/modinfo.c =================================================================== --- kmod-27.orig/tools/modinfo.c +++ kmod-27/tools/modinfo.c @@ -178,7 +178,11 @@ static int modinfo_do(struct kmod_module is_builtin = (filename == NULL); if (is_builtin) { - printf("%-16s%s%c", "name:", kmod_module_get_name(mod), separator); + if (field == NULL) + printf("%-16s%s%c", "name:", + kmod_module_get_name(mod), separator); + else if (field != NULL && streq(field, "name")) + printf("%s%c", kmod_module_get_name(mod), separator); filename = "(builtin)"; } ++++++ 0010-modprobe-Implement-allow-unsupported-modules.patch ++++++ --- /var/tmp/diff_new_pack.3g3y3b/_old 2021-02-01 13:28:04.862091654 +0100 +++ /var/tmp/diff_new_pack.3g3y3b/_new 2021-02-01 13:28:04.862091654 +0100 @@ -14,12 +14,11 @@ create mode 100644 libkmod/libkmod-unsupported.c create mode 100644 libkmod/libkmod-unsupported.h -Index: kmod-27/Makefile.am -=================================================================== ---- kmod-27.orig/Makefile.am -+++ kmod-27/Makefile.am -@@ -93,7 +93,9 @@ libkmod_libkmod_la_LIBADD = \ - ${liblzma_LIBS} ${zlib_LIBS} ${libcrypto_LIBS} +diff -u kmod-28.orig/Makefile.am kmod-28/Makefile.am +--- kmod-28.orig/Makefile.am 2021-01-07 19:29:12.972438665 +0100 ++++ kmod-28/Makefile.am 2021-01-28 12:59:16.613421834 +0100 +@@ -108,7 +108,9 @@ + ${libzstd_LIBS} ${liblzma_LIBS} ${zlib_LIBS} ${libcrypto_LIBS} noinst_LTLIBRARIES += libkmod/libkmod-internal.la -libkmod_libkmod_internal_la_SOURCES = $(libkmod_libkmod_la_SOURCES) ++++++ kmod-27.tar.xz -> kmod-28.tar.xz ++++++ ++++ 3941 lines of diff (skipped)