pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea78aba61855
branches:  trunk
changeset: 345167:ea78aba61855
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Dec 04 13:05:20 2019 +0000

description:
Update to 9.1.0

Changelog:
2019-11-17  Jay Berkenbilt  <ejb%ql.org@localhost>

        * 9.1.0: release

2019-11-09  Jay Berkenbilt  <ejb%ql.org@localhost>

        * 9.1.rc1: release

        * Improve behavior of wildcard expansion for msvc executable when
        run from the Windows cmd.exe shell. Unlike in UNIX environments,
        Windows leaves it up to the executable to expand its own
        wildcards. Fixes #224.

        * When reading /P from the encryption dictionary, use static_cast
        instead of QIntC to convert the value to a signed integer. The
        value of /P is a bit field, and PDF files have been found in the
        wild where /P is represented as an unsigned integer even though
        the spec states that it is a signed 32-bit value. By using
        static_cast, we allow qpdf to compensate for writers that
        incorrectly represent the correct bit field as an unsigned value.
        Fixes #382.

2019-11-05  Jay Berkenbilt  <ejb%ql.org@localhost>

        * Add support for pluggable crypto providers, enabling multiple
        implementations of the cryptographic functions needed by qpdf.
        This feature was added by request of Red Hat, which recognized the
        use of qpdf's native crypto implementations as a potential
        security liability, preferring instead to get all crypto
        functionality from a third-party library that receives a lot of
        scrutiny. However it was also important to me to not impose any
        unnecessary third party dependencies on my users or packagers,
        some of which build qpdf for lots of environments, some of which
        may not easily support gnutls. Starting in qpdf 9.1.0, it is be
        possible to build qpdf with both the native and gnutls crypto
        providers or with either in isolation. In support of this feature,
        new classes QPDFCryptoProvider and QPDFCryptoImpl have been added
        to the public interface. See QPDFCryptoImpl.hh for details about
        adding your own crypto provider and QPDFCryptoProvider.hh for
        details about choosing which one is used. Note that selection of
        crypto providers is invisible to anyone who doesn't explicitly
        care. Neither end users nor developers have to be concerned about
        it.

        * The environment variable QPDF_CRYPTO_PROVIDER can be used to
        override qpdf's default choice of crypto provider. The
        --show-crypto flag to the qpdf CLI can be used to present a list
        of supported crypto providers with the default provider always
        listed first.

        * Add gnutls crypto provider. Thanks to Zdenek Dohnal for
        contributing the code that I ultimately used in the gnutls crypto
        provider and for engaging in an extended discussion about this
        feature. Fixes #218.

2019-10-22  Jay Berkenbilt  <ejb%ql.org@localhost>

        * Incorporate changes from Masamichi Hosoda <trueroad%trueroad.jp@localhost>
        to properly handle signature in the following ways:
          - Always represent /Contents in a signature dictionary as a hex
            string
          - Do not compress signature dictionaries when generating object
            streams
          - Do not encrypt/decrypt the /Contents field of the signature
            dictionary when creating or reading encrypted files

        * Incorporate changes from Masamichi Hosoda <trueroad%trueroad.jp@localhost>
        to add additional methods for making it possible to gain deeper
        insight into cross reference tables and object renumbering. These
        new API calls make it possible for applications to go into PDF
        files created by qpdf and make changes to them that go beyond
        working with the PDF at the object level. The specific use case
        for these changes was to write an external tool to perform digital
        signature, but there could be other uses as well. New methods
        include the following, all of which are described in their
        respective headers:
          - QPDF::getXRefTable()
          - QPDFObjectHandle::getParsedOffset()
          - QPDFWriter::getRenumberedObjGen(QPDFObjGen)
          - QPDFWriter::getWrittenXRefTable()

diffstat:

 print/qpdf/Makefile |   4 ++--
 print/qpdf/PLIST    |   4 +++-
 print/qpdf/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 8 deletions(-)

diffs (47 lines):

diff -r 105d129dd1f7 -r ea78aba61855 print/qpdf/Makefile
--- a/print/qpdf/Makefile       Wed Dec 04 12:57:35 2019 +0000
+++ b/print/qpdf/Makefile       Wed Dec 04 13:05:20 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2019/10/15 13:27:15 ryoon Exp $
+# $NetBSD: Makefile,v 1.32 2019/12/04 13:05:20 ryoon Exp $
 
-DISTNAME=      qpdf-9.0.2
+DISTNAME=      qpdf-9.1.0
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=qpdf/}
 
diff -r 105d129dd1f7 -r ea78aba61855 print/qpdf/PLIST
--- a/print/qpdf/PLIST  Wed Dec 04 12:57:35 2019 +0000
+++ b/print/qpdf/PLIST  Wed Dec 04 13:05:20 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2019/09/15 00:11:29 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.10 2019/12/04 13:05:20 ryoon Exp $
 bin/fix-qdf
 bin/qpdf
 bin/zlib-flate
@@ -25,6 +25,8 @@
 include/qpdf/QPDF.hh
 include/qpdf/QPDFAcroFormDocumentHelper.hh
 include/qpdf/QPDFAnnotationObjectHelper.hh
+include/qpdf/QPDFCryptoImpl.hh
+include/qpdf/QPDFCryptoProvider.hh
 include/qpdf/QPDFDocumentHelper.hh
 include/qpdf/QPDFExc.hh
 include/qpdf/QPDFFormFieldObjectHelper.hh
diff -r 105d129dd1f7 -r ea78aba61855 print/qpdf/distinfo
--- a/print/qpdf/distinfo       Wed Dec 04 12:57:35 2019 +0000
+++ b/print/qpdf/distinfo       Wed Dec 04 13:05:20 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.26 2019/10/15 13:27:15 ryoon Exp $
+$NetBSD: distinfo,v 1.27 2019/12/04 13:05:20 ryoon Exp $
 
-SHA1 (qpdf-9.0.2.tar.gz) = ba3a9ce177186288ed2cc77ad070f37467770edf
-RMD160 (qpdf-9.0.2.tar.gz) = 30f1ac4a8fda5ac7e57ce1197dc8a4c3ddd9ff54
-SHA512 (qpdf-9.0.2.tar.gz) = 275ca81603d53601e4389cb34eaebea1c5d52b310ef28f3375fbeee255a28edf9375f03f31649f580dbc3df73b851a2c8498feb3dd7b30067955571b05c9e69c
-Size (qpdf-9.0.2.tar.gz) = 18168977 bytes
+SHA1 (qpdf-9.1.0.tar.gz) = 14312ba0f30c86ae8cd71b4e82e2ec907734c9f1
+RMD160 (qpdf-9.1.0.tar.gz) = ca95b5499f1b8e34e0f7697f1447fe7afe48b60c
+SHA512 (qpdf-9.1.0.tar.gz) = 7561ffc366dbce9df58cc85ff18480b28b0d46de04733ba463139188bee95690f92cf0960a328619f0c9f34ce865598db490fa1c6aaa76ee87d2c034a5f7f57e
+Size (qpdf-9.1.0.tar.gz) = 18285597 bytes
 SHA1 (patch-libqpdf.pc.in) = f592899487bb958a01931afbe4ddf3c749ea103e
 SHA1 (patch-make_libtool.mk) = 8622d6a446da284269102dde38bf14271363dfdc



Home | Main Index | Thread Index | Old Index