yum backend: patched to enable overriding signature checks [release 1.1.6-2mamba;Wed Nov 15 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 17:51:43 +01:00
parent 85e93f43ec
commit 14dbb810d1
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -Nru PackageKit-1.1.6.orig/backends/yum/yumBackend.py PackageKit-1.1.6/backends/yum/yumBackend.py
--- PackageKit-1.1.6.orig/backends/yum/yumBackend.py 2016-09-02 10:05:30.000000000 +0200
+++ PackageKit-1.1.6/backends/yum/yumBackend.py 2017-11-15 02:28:33.226701894 +0100
@@ -1710,7 +1710,7 @@
if hasattr(self.yumbase, "_override_sigchecks"):
# _override_sigchecks logic is reversed
- override_sigchecks = not only_trusted
+ override_sigchecks = 1
self.yumbase._override_sigchecks = override_sigchecks

View File

@ -1,6 +1,6 @@
Name: PackageKit
Version: 1.1.6
Release: 1mamba
Release: 2mamba
Summary: A system designed to make installing and updating software on your computer easier
Group: System/Management
Vendor: openmamba
@ -22,6 +22,7 @@ Patch10: %{name}-0.6.21-revert_utf8_for_smart.patch
Patch11: PackageKit-0.6.22-display_smart_errors_as_html.patch
Patch12: PackageKit-0.8.11-smartBackend-fix-remove-packages.patch
Patch13: PackageKit-0.9.5-smartBackend-correctly-raise-exceptions.patch
Patch14: PackageKit-1.1.6-yumBackend-override_sigchecks.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -179,6 +180,7 @@ This package contains static libraries and header files need for development.
##%patch12 -p1
##%patch13 -p1
#sed -i "s|/usr/bin/python$|/usr/bin/python%{python27_version}|" backends/smart/smartBackend.py
%patch14 -p1
%build
%configure \
@ -294,6 +296,9 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db
#%{_libdir}/pkgconfig/packagekit-plugin.pc
%changelog
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-2mamba
- yum backend: patched to enable overriding signature checks
* Sat Aug 26 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-1mamba
- update to 1.1.6