pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/qpdf qpdf: Update to 10.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01b69c895249
branches:  trunk
changeset: 770125:01b69c895249
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Nov 25 15:06:48 2021 +0000

description:
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.

diffstat:

 print/qpdf/Makefile                      |   5 ++---
 print/qpdf/distinfo                      |  10 +++++-----
 print/qpdf/patches/patch-make_libtool.mk |  22 +---------------------
 3 files changed, 8 insertions(+), 29 deletions(-)

diffs (65 lines):

diff -r c36f2fe63928 -r 01b69c895249 print/qpdf/Makefile
--- a/print/qpdf/Makefile       Thu Nov 25 14:46:57 2021 +0000
+++ b/print/qpdf/Makefile       Thu Nov 25 15:06:48 2021 +0000
@@ -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/}
 
diff -r c36f2fe63928 -r 01b69c895249 print/qpdf/distinfo
--- a/print/qpdf/distinfo       Thu Nov 25 14:46:57 2021 +0000
+++ b/print/qpdf/distinfo       Thu Nov 25 15:06:48 2021 +0000
@@ -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
diff -r c36f2fe63928 -r 01b69c895249 print/qpdf/patches/patch-make_libtool.mk
--- a/print/qpdf/patches/patch-make_libtool.mk  Thu Nov 25 14:46:57 2021 +0000
+++ b/print/qpdf/patches/patch-make_libtool.mk  Thu Nov 25 15:06:48 2021 +0000
@@ -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 @@
  
  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)) \



Home | Main Index | Thread Index | Old Index