Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fwupd for openSUSE:Factory checked in at 2021-12-21 18:40:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fwupd (Old) and /work/SRC/openSUSE:Factory/.fwupd.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fwupd" Tue Dec 21 18:40:30 2021 rev:47 rq:941847 version:1.7.3 Changes: -------- --- /work/SRC/openSUSE:Factory/fwupd/fwupd.changes 2021-11-22 23:04:06.201948282 +0100 +++ /work/SRC/openSUSE:Factory/.fwupd.new.2520/fwupd.changes 2021-12-21 18:40:49.481884239 +0100 @@ -1,0 +2,158 @@ +Tue Dec 21 11:56:17 UTC 2021 - Callum Farmer <[email protected]> + +- Update to version 1.7.3: + * This release adds the following features: + + Add a sync-bkc subcommand to ensure a known set of firmware + versions + + Add FuArchiveFirmware for plugins that use archives as + firmware files + + Add quirkable page and sector size properties to FuCfiDevice + + Make Upower and powerd support optional + * This release fixes the following bugs: + + Add some sanity checks to the elanfp firmware parser + + Add the CFI JEDEC instance ID if using the vendor-extended + version + + Check the value range when parsing the quirk keys + + Do not wait for a USB runtime if will-disappear is set + + Enable the MOTD integration when using pam_motd + + Fix DFU regression when merging the FuProgress work + + Fix running the tests when fwupd is not installed + + Fix the GLib error message when inotify max_user_instances is + too low + + Fix VLI VL820Q7 detection to fix flashing of the Lenovo TBT3 + dock + + Ignore a USB error for STM32 attach when the device goes away + + Make the HSI tests optional for embedded targets + + Make the plugin startup order deterministic + + Set Thunderbolt ports offline on host controller + + Use endian-safe version functions when enumerating Logitech + hardware + + Use lowercase flag names in intel-spi to prevent a runtime + warning + + Wait for the System76 Launch device to come back from DFU + mode + * This release adds support for the following hardware: + + Most Nordic Semiconductor nRF Secure devices +- Fix build when not on TW: add BR protobuf-c + +------------------------------------------------------------------- +Fri Dec 10 17:56:00 UTC 2021 - Hans-Peter Jansen <[email protected]> + +- Fix build issue in spec + (references to libfwupdplugin2 -> libfwupdplugin5) + +------------------------------------------------------------------- +Fri Nov 19 16:24:28 UTC 2021 - Bj??rn Lie <[email protected]> + +- Update to version 1.7.2: + * This release adds the following features: + + Add a new HSI check that PCR registers 0-7 are not empty + + Add several compile flags to reduce the install size by over + 300Kb + + Allow overriding HwId data from the daemon.conf config file + + Allow overriding the firmware GType from a quirk file + + Export the component release ID over DBus + + Remove support for the SoloKey and ChaosKey devices + + Show a daemon warning if quirk flags are malformed + + Speed up the daemon startup by ~40% by doing less at startup + * This release fixes the following bugs: + + Be case insensitive when fixing the device model + + Fix a critial warning in ccgx found by the fuzzer + + Fix a DFU crash if the attach failed due to a hardware fault + + Fix a Redfish crash when specifying a URL without a port + + Fix CLI downloads when using fwupdmgr --ipfs + + Fix critical warning when /etc/machine-id does not exist + + Inhibit thunderbolt devices to correctly use UPDATABLE_HIDDEN + + Set SSL_VERIFYHOST=0 when using Redfish to fix OpenBMC auth + + Skip UEFI devices that fail coldplug + * This release adds support for the following hardware: All + exported MTD block devices +- Changes from version 1.7.1: + * This release adds the following features: + + Allow specifying 'fwupdmgr device-test foo --json' for + unattended testing + + Allow using a filename when using set-approved-firmware + + Inhibit ModemManager device in mbim-qdu + + Share the Common Flash Memory Interface quirks between + plugins + + Show changes in HSI attributes when using 'fwupdmgr security' + + Show the user a warning if updating may affect + full-disk-encryption + + Show translated firmware release notes when provided + + Support loading remotes from /var/lib/fwupd/remotes.d + * This release fixes the following bugs: + + Fix a CCGX regression when loading firmware + + Fix a potential crash when dumping Parade devices + + Fix build error when sys/io.h is not available + + Fix building the Synaptics RMI self tests on s390x + + Fix the CSME CVE detection for new generations + + Handle EPERM when running the self tests on systems with IPMI + + Mark as SUPPORTED even if on battery power + + Only save the HSI attributes to the database if different + + Raise the client timeout value from 25 seconds to fix Redfish + startup + + Redirect the old HSI links to the correct place + + Relax the ITE SuperIO signature checks for new hardware + support + + Set device time and timezone for logitech bulkcontroller + devices + + Set the verfmt of the returned device when the daemon device + is unset + * This release adds support for the following hardware: + + Dell Atomic Dock + + HP Thunderbolt Dock G4 + + More PixArt devices + + Steelseries Stratus + + Wacom 3rd-gen Intuos BT +- Changes from version 1.7.0: + * This release adds the following features: + + Add FuCfuPayload and FuCfuOffer for future usage + + Add support for an 'unreachable' device flag + + Add support for Logitech devices supporting the Unified + Battery feature + + Allow adding GUIDs to each HSI security attribute + + Allow installing the LVFS remote, but with it disabled by + default + + Convert security attributes to JSON and write then to the + database + + Convert the device test script to a fwupdmgr subcommand + + Create Redfish user accounts automatically using IPMI + + Use an interactive request to restart some Logitech DFU + devices + * This release fixes the following bugs: + + Abort on invalid SREC files early to avoid a fuzzing timeout + + Allow using interrupt transfers for HID devices + + Allow waiting for multiple devices to replug + + Fix a critical warning on a Unifying flash failure + + Fix a regression in flashing the Dell dock + + Fix Thunderbolt host controller probing + + Forcefully set checksums found in cabinet files to lowercase + + Force UX-capsule over full size BGRT + + Make the SuperIO ports and timeouts specific to the DMI model + + Only probe SynapticsMST devices that have opted-in + + Remove support for --ignore-power as it did not work for UEFI + firmware + + Reset the CMOS as required when changing system firmware + branch + + Restart the daemon if any of the the plugin config files are + modified + + Show HSiLevel=0 attributes in JSON security output + + Update the child composite ID if the parent changes + + Use a per-device global percentage completion + + Write the BMP image upside down to avoid using a negative + bitmap height + * This release adds support for the following hardware: + + A huge number of Synaptics CAPE devices + + Elan fingerprint readers + + Logitech Bolt peripherals, receivers and radio hardware + + Logitech devices supporting the bulk controller protocol + + More supported PixArt devices + + More supported StarBook coreboot devices + + Union Point SPI hardware +- Add pkgconfig(libprotobuf-c) and pkgconfig(protobuf) + BuildRequires: New dependencies. +- Refresh patches with quilt. +- Drop sub-package fwupdtpmevlog, no longer built. +- Update URL in _service, new home. + +------------------------------------------------------------------- Old: ---- fwupd-1.6.4.obscpio New: ---- fwupd-1.7.3.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fwupd.spec ++++++ --- /var/tmp/diff_new_pack.y86ZJD/_old 2021-12-21 18:40:50.257884935 +0100 +++ /var/tmp/diff_new_pack.y86ZJD/_new 2021-12-21 18:40:50.257884935 +0100 @@ -37,14 +37,14 @@ %endif Name: fwupd -Version: 1.6.4 +Version: 1.7.3 Release: 0 Summary: Device firmware updater daemon License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: System/Management URL: https://fwupd.org/ # Do not use upstream tarball, we are using source service! -#Source: https://github.com/hughsie/%%{name}/archive/%%{version}.tar.gz +#Source: https://github.com/%%{name}/%%{name}/archive/%%{version}.tar.gz Source: %{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE fwupd-bsc1130056-shim-path.patch bsc#1130056 @@ -97,8 +97,10 @@ BuildRequires: pkgconfig(libcurl) >= 7.62.0 BuildRequires: pkgconfig(libelf) BuildRequires: pkgconfig(libgcab-1.0) >= 1.0 +BuildRequires: pkgconfig(libprotobuf-c) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103 +BuildRequires: pkgconfig(protobuf) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(tss2-esys) >= 2.0 BuildRequires: pkgconfig(udev) @@ -111,6 +113,9 @@ %ifarch %{ix86} x86_64 BuildRequires: pkgconfig(libsmbios_c) >= 2.3.0 %endif +%if 0%{?suse_version} < 1550 +BuildRequires: protobuf-c +%endif %if %{with efi_fw_update} Obsoletes: dbxtool <= 8 Obsoletes: fwupdate <= 12 @@ -138,12 +143,12 @@ fwupd is a daemon to allows session software to update device firmware on the local machine. -%package -n libfwupdplugin2 +%package -n libfwupdplugin5 Summary: Allow session software to update device firmware Group: System/Libraries Requires: %{name} >= %{version} -%description -n libfwupdplugin2 +%description -n libfwupdplugin5 fwupd is a daemon to allows session software to update device firmware on the local machine. @@ -170,18 +175,11 @@ %description -n dfu-tool A generic tool to upload firmware to USB Devices based on Device Firmware Upgrade (DFU). -%package -n fwupdtpmevlog -Summary: Debugging utility for the TPM event log -Group: Development/Tools/Other - -%description -n fwupdtpmevlog -A debugging utility for the TPM event log. - %package devel Summary: Allow session software to update device firmware Group: Development/Languages/C and C++ Requires: libfwupd2 = %{version} -Requires: libfwupdplugin2 = %{version} +Requires: libfwupdplugin5 = %{version} %description devel fwupd is a daemon to allows session software to update device firmware on @@ -229,6 +227,7 @@ -Ddocs=gtkdoc \ -Dsupported_build=true \ -Dtests=false \ + %{nil} %meson_build %install @@ -256,8 +255,8 @@ %post -n libfwupd2 -p /sbin/ldconfig %postun -n libfwupd2 -p /sbin/ldconfig -%post -n libfwupdplugin2 -p /sbin/ldconfig -%postun -n libfwupdplugin2 -p /sbin/ldconfig +%post -n libfwupdplugin5 -p /sbin/ldconfig +%postun -n libfwupdplugin5 -p /sbin/ldconfig %preun %service_del_preun %{name}.service fwupd-offline-update.service fwupd-refresh.service @@ -343,7 +342,7 @@ %{_sysconfdir}/grub.d/35_fwupd %endif %{_udevrulesdir}/90-fwupd-devices.rules -%{_libdir}/fwupd-plugins-3/ +%{_libdir}/fwupd-plugins-5/ %dir %{_datadir}/metainfo %{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml %{_datadir}/bash-completion/completions/fwupdmgr @@ -360,14 +359,10 @@ %{_bindir}/dfu-tool %{_mandir}/man1/dfu-tool.1%{?ext_man} -%files -n fwupdtpmevlog -%{_bindir}/fwupdtpmevlog -%{_mandir}/man1/fwupdtpmevlog.1%{?ext_man} - %files -n libfwupd2 %{_libdir}/libfwupd.so.* -%files -n libfwupdplugin2 +%files -n libfwupdplugin5 %{_libdir}/libfwupdplugin.so.* %files -n typelib-1_0-Fwupd-2_0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.y86ZJD/_old 2021-12-21 18:40:50.293884967 +0100 +++ /var/tmp/diff_new_pack.y86ZJD/_new 2021-12-21 18:40:50.293884967 +0100 @@ -1,15 +1,15 @@ <services> - <service name="obs_scm" mode="disabled"> - <param name="url">https://github.com/hughsie/fwupd.git</param> + <service name="obs_scm" mode="manual"> + <param name="url">https://github.com/fwupd/fwupd.git</param> <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">1.6.4</param> + <param name="revision">1.7.3</param> </service> <service name="tar" mode="buildtime"/> <service name="recompress" mode="buildtime"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> - <service name="set_version" mode="disabled"/> + <service name="set_version" mode="manual"/> </services> ++++++ fwupd-1.6.4.obscpio -> fwupd-1.7.3.obscpio ++++++ /work/SRC/openSUSE:Factory/fwupd/fwupd-1.6.4.obscpio /work/SRC/openSUSE:Factory/.fwupd.new.2520/fwupd-1.7.3.obscpio differ: char 46, line 1 ++++++ fwupd-bsc1130056-change-shim-path.patch ++++++ --- /var/tmp/diff_new_pack.y86ZJD/_old 2021-12-21 18:40:50.321884993 +0100 +++ /var/tmp/diff_new_pack.y86ZJD/_new 2021-12-21 18:40:50.325884996 +0100 @@ -1,24 +1,12 @@ -From f8bbcefe3eed253cda0c86a4c2443292beca82ee Mon Sep 17 00:00:00 2001 -From: Gary Lin <[email protected]> -Date: Thu, 28 Mar 2019 15:26:28 +0800 -Subject: [PATCH] Change the path to shim.efi - -For openSUSE/SLE, we use shim.efi instead of shimx64.efi. - -Signed-off-by: Gary Lin <[email protected]> ---- - plugins/uefi/fu-uefi-bootmgr.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -Index: fwupd-1.5.2/plugins/uefi/fu-uefi-bootmgr.c +Index: fwupd-1.7.2/plugins/uefi-capsule/fu-uefi-bootmgr.c =================================================================== ---- fwupd-1.5.2.orig/plugins/uefi-capsule/fu-uefi-bootmgr.c -+++ fwupd-1.5.2/plugins/uefi-capsule/fu-uefi-bootmgr.c -@@ -274,7 +274,8 @@ fu_uefi_bootmgr_bootnext (FuDevice *devi - secure_boot = fu_efivar_secure_boot_enabled (); +--- fwupd-1.7.2.orig/plugins/uefi-capsule/fu-uefi-bootmgr.c ++++ fwupd-1.7.2/plugins/uefi-capsule/fu-uefi-bootmgr.c +@@ -294,7 +294,8 @@ fu_uefi_bootmgr_bootnext(FuDevice *devic + secure_boot = fu_efivar_secure_boot_enabled(); if (secure_boot) { /* test to make sure shim is there if we need it */ -- shim_app = fu_uefi_get_esp_app_path (device, esp_path, "shim", error); +- shim_app = fu_uefi_get_esp_app_path(device, esp_path, "shim", error); + shim_app = g_strdup_printf ("%s/shim.efi", + fu_uefi_get_esp_path_for_os (device, esp_path)); if (shim_app == NULL) ++++++ fwupd-jscSLE-11766-close-efidir-leap-gap.patch ++++++ --- /var/tmp/diff_new_pack.y86ZJD/_old 2021-12-21 18:40:50.337885007 +0100 +++ /var/tmp/diff_new_pack.y86ZJD/_new 2021-12-21 18:40:50.341885011 +0100 @@ -1,19 +1,19 @@ -diff --git a/plugins/uefi-capsule/fu-uefi-common.c b/plugins/uefi-capsule/fu-uefi-common.c -index 6cd55672..6a710cdb 100644 ---- a/plugins/uefi-capsule/fu-uefi-common.c -+++ b/plugins/uefi-capsule/fu-uefi-common.c -@@ -227,9 +227,13 @@ fu_uefi_get_esp_path_for_os (const gchar *base) +Index: fwupd-1.7.2/plugins/uefi-capsule/fu-uefi-common.c +=================================================================== +--- fwupd-1.7.2.orig/plugins/uefi-capsule/fu-uefi-common.c ++++ fwupd-1.7.2/plugins/uefi-capsule/fu-uefi-common.c +@@ -196,9 +196,13 @@ fu_uefi_get_esp_path_for_os(FuDevice *de g_autofree gchar *esp_path = NULL; g_autoptr(GError) error_local = NULL; - g_autoptr(GHashTable) os_release = fwupd_get_os_release (&error_local); + g_autoptr(GHashTable) os_release = fwupd_get_os_release(&error_local); + g_auto(GStrv) split = NULL; /* try to lookup /etc/os-release ID key */ if (os_release != NULL) { - os_release_id = g_hash_table_lookup (os_release, "ID"); + os_release_id = g_hash_table_lookup(os_release, "ID"); + /* Overide os_release_id for SLE and openSUSE */ + split = g_strsplit (g_hash_table_lookup (os_release, "NAME"), " ", 2); + os_release_id = g_ascii_strdown (split[0], -1); } else { - g_debug ("failed to get ID: %s", error_local->message); + g_debug("failed to get ID: %s", error_local->message); } ++++++ fwupd.obsinfo ++++++ --- /var/tmp/diff_new_pack.y86ZJD/_old 2021-12-21 18:40:50.361885028 +0100 +++ /var/tmp/diff_new_pack.y86ZJD/_new 2021-12-21 18:40:50.365885032 +0100 @@ -1,6 +1,6 @@ name: fwupd -version: 1.6.4 -mtime: 1632469876 -commit: 8dfa00ae193869c983bc432a4e25e409e1861e5e +version: 1.7.3 +mtime: 1639397742 +commit: 054fb048605f2a529835631b9268669953993fe2 ++++++ harden_fwupd-offline-update.service.patch ++++++ --- /var/tmp/diff_new_pack.y86ZJD/_old 2021-12-21 18:40:50.373885039 +0100 +++ /var/tmp/diff_new_pack.y86ZJD/_new 2021-12-21 18:40:50.377885043 +0100 @@ -1,7 +1,7 @@ -Index: fwupd-1.6.2/data/fwupd-offline-update.service.in +Index: fwupd-1.7.2/data/fwupd-offline-update.service.in =================================================================== ---- fwupd-1.6.2.orig/data/fwupd-offline-update.service.in -+++ fwupd-1.6.2/data/fwupd-offline-update.service.in +--- fwupd-1.7.2.orig/data/fwupd-offline-update.service.in ++++ fwupd-1.7.2/data/fwupd-offline-update.service.in @@ -8,6 +8,16 @@ After=sysinit.target system-update-pre.t Before=shutdown.target system-update.target ++++++ harden_fwupd-refresh.service.patch ++++++ --- /var/tmp/diff_new_pack.y86ZJD/_old 2021-12-21 18:40:50.385885050 +0100 +++ /var/tmp/diff_new_pack.y86ZJD/_new 2021-12-21 18:40:50.389885054 +0100 @@ -1,7 +1,7 @@ -Index: fwupd-1.6.2/data/motd/fwupd-refresh.service.in +Index: fwupd-1.7.2/data/motd/fwupd-refresh.service.in =================================================================== ---- fwupd-1.6.2.orig/data/motd/fwupd-refresh.service.in -+++ fwupd-1.6.2/data/motd/fwupd-refresh.service.in +--- fwupd-1.7.2.orig/data/motd/fwupd-refresh.service.in ++++ fwupd-1.7.2/data/motd/fwupd-refresh.service.in @@ -13,5 +13,13 @@ SystemCallFilter=~@mount ProtectKernelModules=yes ProtectControlGroups=yes
