Subject: CVS commit: pkgsrc/print/ghostscript-agpl
From: Thomas Klausner
Date: 2024-03-11 13:45:37
Message id: 20240311124537.40261FA2C@cvs.NetBSD.org

Log Message:
ghostscript-agpl: update to 10.03.0.

Version 10.03.0 (2024-03-06)

Highlights in this release include:

  • A vulnerability was identified in the way Ghostscript/GhostPDL called
    tesseract for the OCR devices, which could allow arbitrary code execution.
    As as result, we strongly urge anyone including the OCR devices in their
    build to update as soon as possible.
  • As of this release (10.03.0) pdfwrite creates PDF files with XRef streams
    and ObjStm streams. This can result in considerably smaller PDF output
    files. See Vector Devices for more details.
  • Ghostscript/pdfwrite now supports passing through PDF "Optional \ 
Content".
  • Our efforts in code hygiene and maintainability continue.
  • The usual round of bug fixes, compatibility changes, and incremental
    improvements.

Incompatible changes

  • (10.03.0) Almost all the "internal" PostScript procedures \ 
defined during
    the interpreter startup are now "executeonly", further reducing \ 
the attack
    surface of the interpreter.

    The nature of these procedures means there should be no impact for
    legitimate usage, but it is possible it will impact uses which abuse the
    previous accessibility (even for legitimate reasons). Such cases may now
    require "DELAYBIND", See DELAYBIND
  • (10.03.0) The "makeimagedevice" non-standard operator has been \ 
removed. It
    allowed low level access to the graphics library in a way that was,
    essentially impossible to secure.
  • (10.03.0) The "putdeviceprops", "getdeviceprops", \ 
"finddevice",
    "copydevice", "findprotodevice" non-standard operators \ 
have all been
    removed. They provided functionality that is either accessible through
    standard operators, or should not be used by user PostScript.
  • (10.03.0) The process of "tidying" the PostScript namespace \ 
should have
    removed only non-standard and undocumented operators. Nevertheless, it is
    possible that any integrations or utilities that rely on those non-standard
    and undocumented operators may stop working or may change behaviour.

    If you encounter such a case, please contact us (Discord, #ghostscript IRC
    channel, or the gs-devel mailing list would be best), and we'll work with
    you to either find an alternative solution or return the previous
    functionality, if there is genuinely no other option.

Files:
RevisionActionfile
1.84modifypkgsrc/print/ghostscript-agpl/Makefile
1.33modifypkgsrc/print/ghostscript-agpl/Makefile.common
1.26modifypkgsrc/print/ghostscript-agpl/PLIST
1.48modifypkgsrc/print/ghostscript-agpl/distinfo