[meta-oe] qpdf: upgrade 10.3.2 -> 10.4.0

Message ID 1637593430-99394-2-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series [meta-oe] qpdf: upgrade 10.3.2 -> 10.4.0 | expand

Commit Message

Mingyu Wang (Fujitsu) Nov. 22, 2021, 3:03 p.m. UTC
Changelog is as follows:
Handling of Weak Cryptography Algorithms

From the qpdf CLI, the --allow-weak-crypto is now required to suppress a warning
when explicitly creating PDF files using RC4 encryption. While qpdf will always
retain the ability to read and write such files, doing so will require explicit
acknowledgment moving forward. For qpdf 10.4, this change only affects the
command-line tool. Starting in qpdf 11, there will be small API changes to
require explicit acknowledgment in those cases as well.

Bug Fixes:
Fix potential bounds error when handling shell completion that could occur when
given bogus input.
Properly handle overlay/underlay on completely empty pages (with no resource
dictionary).
Fix crash that could occur under certain conditions when using --pages with
files that had form fields.

Library Enhancements:
Make QPDF::findPage functions public.
Add methods to Pl_Flate to be able to receive warnings on certain recoverable
conditions.
Add an extra check to the library to detect when foreign objects are inserted
directly (instead of using QPDF::copyForeignObject) at the time of insertion
rather than when the file is written. Catching the error sooner makes it much
easier to locate the incorrect code.

CLI Enhancements:
Improve diagnostics around parsing --pages command-line options

Packaging Changes:
The Windows binary distribution is now built with crypto provided by OpenSSL 3.0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../recipes-printing/qpdf/{qpdf_10.3.2.bb => qpdf_10.4.0.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-printing/qpdf/{qpdf_10.3.2.bb => qpdf_10.4.0.bb} (91%)

Patch

diff --git a/meta-oe/recipes-printing/qpdf/qpdf_10.3.2.bb b/meta-oe/recipes-printing/qpdf/qpdf_10.4.0.bb
similarity index 91%
rename from meta-oe/recipes-printing/qpdf/qpdf_10.3.2.bb
rename to meta-oe/recipes-printing/qpdf/qpdf_10.4.0.bb
index cfbe529f33..964becf1dd 100644
--- a/meta-oe/recipes-printing/qpdf/qpdf_10.3.2.bb
+++ b/meta-oe/recipes-printing/qpdf/qpdf_10.4.0.bb
@@ -7,7 +7,7 @@  DEPENDS = "libpcre zlib libjpeg-turbo"
 SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz"
 
 LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3"
-SRC_URI[sha256sum] = "062808c40ef8741ec8160ae00168638a712cfa1d4bf673e8e595ab5eba1da947"
+SRC_URI[sha256sum] = "9ac6e691cc3f35a9fe44632e3fba727e1b6ef21181c0a883287abf5cf97ae222"
 
 inherit autotools-brokensep gettext