]> git.pld-linux.org Git - packages/rpm.git/commitdiff
disable header verification
authorElan Ruusamäe <glen@delfi.ee>
Wed, 11 Feb 2015 17:33:12 +0000 (19:33 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 11 Feb 2015 17:33:12 +0000 (19:33 +0200)
disable-header-verification.patch [new file with mode: 0644]
rpm.spec

diff --git a/disable-header-verification.patch b/disable-header-verification.patch
new file mode 100644 (file)
index 0000000..ab553fe
--- /dev/null
@@ -0,0 +1,20 @@
+http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2015-February/024241.html
+
+--- rpm-5.4.15/lib/verify.c~   2015-02-11 12:07:41.000000000 +0200
++++ rpm-5.4.15/lib/verify.c    2015-02-11 17:31:05.418447510 +0200
+@@ -563,6 +563,7 @@
+   {
+     /* Verify header digest/signature. */
++#if NOTYET
+     if (qva->qva_flags & (VERIFY_DIGEST | VERIFY_SIGNATURE))
+     {
+       const char * horigin = headerGetOrigin(h);
+@@ -577,6 +578,7 @@
+       uh = _free(uh);
+       msg = _free(msg);
+     }
++#endif
+     /* Verify file digests. */
+     if (fc > 0 && (qva->qva_flags & VERIFY_FILES))
index ea4df58f5250498b630863497d8f907e057305d6..ead7168ab3bbff1ca5f600b9bd252bb46b224e95 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -51,7 +51,7 @@ Summary(ru.UTF-8):    Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       5.4.15
-Release:       10
+Release:       11
 License:       LGPL v2.1
 Group:         Base
 # http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm
@@ -175,6 +175,7 @@ Patch85:    rpm-CVE-2013-6435.patch
 Patch86:       rpm-CVE-2014-8118.patch
 Patch87:       %{name}-file-output-for-ELF.patch
 Patch88:       %{name}-rpmtdnext.patch
+Patch89:       disable-header-verification.patch
 
 # Patches imported from Mandriva
 
@@ -956,6 +957,7 @@ cd -
 %patch86 -p1
 %patch87 -p1
 %patch88 -p1
+%patch89 -p1
 
 %patch1000 -p1
 %patch1001 -p1
This page took 0.200076 seconds and 4 git commands to generate.