Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hplip for openSUSE:Factory checked in at 2026-06-10 15:44:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hplip (Old) and /work/SRC/openSUSE:Factory/.hplip.new.2375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hplip" Wed Jun 10 15:44:52 2026 rev:169 rq:1358044 version:3.26.4 Changes: -------- --- /work/SRC/openSUSE:Factory/hplip/hplip.changes 2026-05-25 21:52:38.578697484 +0200 +++ /work/SRC/openSUSE:Factory/.hplip.new.2375/hplip.changes 2026-06-10 15:45:19.129239073 +0200 @@ -1,0 +2,6 @@ +Wed Jun 3 18:10:49 UTC 2026 - Martin Wilck <[email protected]> + +- hp-plugin: fix plugin installation from local file (lp#2154206) + * add pluginhandler-fix-plugin-installation-from-local-fil.patch + +------------------------------------------------------------------- New: ---- pluginhandler-fix-plugin-installation-from-local-fil.patch ----------(New B)---------- New:- hp-plugin: fix plugin installation from local file (lp#2154206) * add pluginhandler-fix-plugin-installation-from-local-fil.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hplip.spec ++++++ --- /var/tmp/diff_new_pack.yRheSn/_old 2026-06-10 15:45:20.841310020 +0200 +++ /var/tmp/diff_new_pack.yRheSn/_new 2026-06-10 15:45:20.845310186 +0200 @@ -148,6 +148,8 @@ Patch614: hplip-sane-fix-compilation-with-gcc-15.patch # lp#2139771 Patch615: hplip-fix-handling-of-ConfigParser-.readfp-vs.-read_.patch +# lp#2154206, fixup for patch 607 +Patch616: pluginhandler-fix-plugin-installation-from-local-fil.patch # Compatibility patches for old SUSE releases Patch701: hpcups-fix-compilation-on-SLE12.patch @@ -505,6 +507,7 @@ %patch -P 613 -p1 %patch -P 614 -p1 %patch -P 615 -p1 +%patch -P 616 -p1 %if 0%{?suse_version} < 1500 # python2 compatibility %patch -P 701 -p1 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.yRheSn/_old 2026-06-10 15:45:20.897312341 +0200 +++ /var/tmp/diff_new_pack.yRheSn/_new 2026-06-10 15:45:20.901312507 +0200 @@ -1,5 +1,5 @@ -mtime: 1770148292 -commit: 9fe62f807fb292b6d8b4e1e1b886816ff58e8b1bf88551ac265b565300a491c0 +mtime: 1780935330 +commit: 55f5a7b8de65043fe0269b5e0504884ad2164a09ad098bc2966823dd33573225 url: https://src.opensuse.org/mwilck/hplip revision: factory ++++++ build.specials.obscpio ++++++ --- old/.gitignore 2026-02-03 20:59:03.000000000 +0100 +++ new/.gitignore 2026-06-08 18:15:30.000000000 +0200 @@ -1,5 +1,8 @@ -.osc *~ \#* *.rej *.orig +*.obscpio +*.osc +_build.* +.pbuild ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-06-08 18:15:30.000000000 +0200 @@ -0,0 +1,8 @@ +*~ +\#* +*.rej +*.orig +*.obscpio +*.osc +_build.* +.pbuild ++++++ pluginhandler-fix-plugin-installation-from-local-fil.patch ++++++ >From c43d22b8371b740969f125ef39ac4263cdadaf20 Mon Sep 17 00:00:00 2001 From: Martin Wilck <[email protected]> Date: Wed, 3 Jun 2026 18:35:38 +0200 Subject: [PATCH] pluginhandler: fix plugin installation from local file If the plugin is installed from a previously downloaded local file, the checksum verification fails because hplip does not read the checksum from plugin.conf in this case. GPG signature verification must suffice. Fixes: 86071cd ("hplip/utils: Fix plugin verification with sha256") --- installer/pluginhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/pluginhandler.py b/installer/pluginhandler.py index 26b0033..75ab07a 100755 --- a/installer/pluginhandler.py +++ b/installer/pluginhandler.py @@ -219,7 +219,7 @@ class PluginHandle(object): #Validate Checksum calc_checksum = utils.get_checksum(open(plugin_file, 'rb').read()) log.debug("D/L file checksum=%s" % calc_checksum) - if utils.sha256_checksum(req_checksum) != calc_checksum: + if req_checksum and utils.sha256_checksum(req_checksum) != calc_checksum: return ERROR_CHECKSUM_ERROR, queryString(ERROR_CHECKSUM_ERROR, 0, plugin_file) #Validate Digital Signatures -- 2.54.0
