Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 333271A9239 for ; Thu, 25 Nov 2021 15:06:51 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 96FC284E86; Thu, 25 Nov 2021 15:06:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CF52084D79 for ; Thu, 25 Nov 2021 15:06:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id rkP8S5-tgJja for ; Thu, 25 Nov 2021 15:06:49 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E694284CBC for ; Thu, 25 Nov 2021 15:06:48 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D974BFAEC; Thu, 25 Nov 2021 15:06:48 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1637852808269820" MIME-Version: 1.0 Date: Thu, 25 Nov 2021 15:06:48 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/print/qpdf To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20211125150648.D974BFAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1637852808269820 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: ryoon Date: Thu Nov 25 15:06:48 UTC 2021 Modified Files: pkgsrc/print/qpdf: Makefile distinfo pkgsrc/print/qpdf/patches: patch-make_libtool.mk Log Message: qpdf: Update to 10.4.0 Changelog: 10.4.0: November 16, 2021 + Handling of Weak Cryptography Algorithms o 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. For additional information, see Chapter 6, Weak Cryptography. + Bug Fixes o Fix potential bounds error when handling shell completion that could occur when given bogus input. o Properly handle overlay/underlay on completely empty pages (with no resource dictionary). o Fix crash that could occur under certain conditions when using --pages with files that had form fields. + Library Enhancements o Make QPDF::findPage functions public. o Add methods to Pl_Flate to be able to receive warnings on certain recoverable conditions. o 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 o Improve diagnostics around parsing --pages command-line options + Packaging Changes o The Windows binary distribution is now built with crypto provided by OpenSSL 3.0. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 pkgsrc/print/qpdf/Makefile cvs rdiff -u -r1.37 -r1.38 pkgsrc/print/qpdf/distinfo cvs rdiff -u -r1.4 -r1.5 pkgsrc/print/qpdf/patches/patch-make_libtool.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1637852808269820 Content-Disposition: inline Content-Length: 3109 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/print/qpdf/Makefile diff -u pkgsrc/print/qpdf/Makefile:1.46 pkgsrc/print/qpdf/Makefile:1.47 --- pkgsrc/print/qpdf/Makefile:1.46 Thu Nov 25 14:46:57 2021 +++ pkgsrc/print/qpdf/Makefile Thu Nov 25 15:06:48 2021 @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.46 2021/11/25 14:46:57 ryoon Exp $ +# $NetBSD: Makefile,v 1.47 2021/11/25 15:06:48 ryoon Exp $ -DISTNAME= qpdf-10.3.2 -PKGREVISION= 1 +DISTNAME= qpdf-10.4.0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qpdf/} Index: pkgsrc/print/qpdf/distinfo diff -u pkgsrc/print/qpdf/distinfo:1.37 pkgsrc/print/qpdf/distinfo:1.38 --- pkgsrc/print/qpdf/distinfo:1.37 Tue Oct 26 11:12:16 2021 +++ pkgsrc/print/qpdf/distinfo Thu Nov 25 15:06:48 2021 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.37 2021/10/26 11:12:16 nia Exp $ +$NetBSD: distinfo,v 1.38 2021/11/25 15:06:48 ryoon Exp $ -BLAKE2s (qpdf-10.3.2.tar.gz) = f455582d4ef40408abc27605489003beded4b230e4a83e579bd2e2476b29ec2e -SHA512 (qpdf-10.3.2.tar.gz) = 4e630959abf27d1801e36d0cbd754945ded42ade9299057a6b9a642c7cb2a3f8242e274642f1c33a65b4a5a77562d91dcbe64fd5772d483cbe5edb4a6a389219 -Size (qpdf-10.3.2.tar.gz) = 18943834 bytes +BLAKE2s (qpdf-10.4.0.tar.gz) = 4031a8960bb39d97be4c871a544ba121fee5e0300ddcdd68e7e2dee0467fe53b +SHA512 (qpdf-10.4.0.tar.gz) = 7a17cc2b3168bb60ac05d01b585d34d94f62e44e309b86635351b2564bc2c3b7846d3a008ae0d6c068bce3b1d9c42d3a3ab40de3f85a1ec4952280cf8321a041 +Size (qpdf-10.4.0.tar.gz) = 18942833 bytes SHA1 (patch-libqpdf.pc.in) = f592899487bb958a01931afbe4ddf3c749ea103e -SHA1 (patch-make_libtool.mk) = bb639bd38ceec45fef03899a0a6d17a2aeb7717e +SHA1 (patch-make_libtool.mk) = f8856a20274b26686731a886e12587006394366d Index: pkgsrc/print/qpdf/patches/patch-make_libtool.mk diff -u pkgsrc/print/qpdf/patches/patch-make_libtool.mk:1.4 pkgsrc/print/qpdf/patches/patch-make_libtool.mk:1.5 --- pkgsrc/print/qpdf/patches/patch-make_libtool.mk:1.4 Thu Dec 24 20:35:25 2020 +++ pkgsrc/print/qpdf/patches/patch-make_libtool.mk Thu Nov 25 15:06:48 2021 @@ -1,9 +1,7 @@ -$NetBSD: patch-make_libtool.mk,v 1.4 2020/12/24 20:35:25 yhardy Exp $ +$NetBSD: patch-make_libtool.mk,v 1.5 2021/11/25 15:06:48 ryoon Exp $ libtool does not need bash. -make the libtool tags explicit (fixes compiling on NetBSD/i386). - --- make/libtool.mk.orig 2020-10-27 15:57:48.000000000 +0000 +++ make/libtool.mk @@ -1,7 +1,7 @@ @@ -15,21 +13,3 @@ make the libtool tags explicit (fixes co OBJ=o LOBJ=lo -@@ -60,7 +60,7 @@ endef - # 1 2 - # Usage: $(call libcompile,src,includes) - define libcompile -- $(LIBTOOL) --quiet --mode=compile \ -+ $(LIBTOOL) --quiet --mode=compile --tag=CXX \ - $(CXX) $(CXXFLAGS) \ - $(call libdepflags,$(basename $(call src_to_obj,$(1)))) \ - $(foreach I,$(2),-I$(I)) \ -@@ -72,7 +72,7 @@ endef - # 1 2 - # Usage: $(call libcompile,src,includes) - define c_libcompile -- $(LIBTOOL) --quiet --mode=compile \ -+ $(LIBTOOL) --quiet --mode=compile --tag=CC \ - $(CC) $(CFLAGS) \ - $(call libdepflags,$(basename $(call c_src_to_obj,$(1)))) \ - $(foreach I,$(2),-I$(I)) \ --_----------=_1637852808269820--