Commit graph

12 commits

Author SHA1 Message Date
he
d3f87e8eb2 Protect against an overflow in gs_heap_alloc_bytes().
Fixes CVE-2015-3228.
Bump PKGREVISION.  OK wiz@
2015-09-23 08:25:09 +00:00
wiz
edbb722f33 Use memmove instead of memcpy in one place.
It seems the arguments sometimes overlap, and _FORTIFY_SOURCE=2 causes it
to dump core in this case.

Bump PKGREVISION.
2015-08-12 22:20:00 +00:00
wiz
e954bde72b Rely on header to provide memset().
Gets us further in a PKGSRC_USE_FORT build; however, still fails with:

[1]   Abort trap (core dumped) ./soobj/aux/mkro...
base/lib.mak:3063: recipe for target 'soobj/gsromfs1_.c' failed
2015-08-11 18:16:50 +00:00
spz
643ca01432 add patches against CVE-2014-8137 CVE-2014-8138 CVE-2014-8157 and
CVE-2014-8158 originating from the Fedora project
2015-03-11 20:58:26 +00:00
markd
44a23886c7 Allow cups>=2.0 2015-02-24 08:21:07 +00:00
dholland
2555f3d023 Clone patch from graphics/jasper for CVE-2014-9029, and adjust slightly
to match the older jasper that ships with ghostscript. (Unfortunately,
it's been modified so we can't have ghostscript use the pkgsrc version.)
2014-12-30 07:52:41 +00:00
ryoon
da978d728d Fix SCO OpenServer 5.0.7/3.2 build. 2014-07-18 08:56:37 +00:00
richard
a662a47261 reapply lost patch:
'cups' option needs to ensure BUILD_TARGET 'cups' is added.
configure adjusted to correctly accept CUPSVERSION and, while we're at it,
add missing space between '!' and parens in test for contrib directory.
2014-05-01 04:11:01 +00:00
wiz
542b12061c Update to 9.06 from mef via pkgsrc-wip.
(Upstream) Version 9.06 (2012-08-08)

This is the sixth full release in the stable 9.x series.

Highlights in this release include:

  * PDF/A-2 - pdfwrite now supports the creation of PDF/A-2 files. The 'PDFA'
    command line switch can now take a numeric parameter:
      + 0 = not PDF/A compliant
      + 1 = PDF/A-1b compliant
      + 2 = PDF/A-2b compliant

    Simply specifying "-dPDFA" continues to have the old behaviour of creating
    PDF/A-1b files. For PDF/A-2 the command line should include "-dPDFA=2".
  * pdfwrite "Server mode" - pdfwrite can now be run in "server mode" which
    allows the device to be closed without closing the interpreter. This means
    it is no longer necessary to terminate GS before starting a new PDF
    conversion. This leads on to:
  * pdfwrite now supports the "%d" format in the OutputFile switch. If this is
    set then pdfwrite will output each page of input to an individual file.
  * ps2write - recent exposure to a range of PostScript devices has thrown up
    some interesting deficiencies in those devices. ps2write now emits
    PostScript in slightly different ways in order to produce output on a wider
    variety of devices. In some cases this also results in improved print times
    but it is still important to set the resolution appropriately for the
    output device, especially if the input contains transparency.
  * Ghostscript can now use output intents defined in PDFs by using the
    "-dUsePDFX3Profile" command line option. See ICC Color Parameters for
    details.
  * tiffsep/tiffsep1: support for large numbers of separations improved. The
    previous implementation of those devices utilised a "compressed color
    encoding" to represent the tints for all the plates in one 64 bit value. As
    the number of plates increased, fewer bits were available for the tint for
    each plate, ultimately resulting in an "unencodable pixels" error. These
    revisions remove the reliance on the compressed color encoding, thus
    ensuring that we have a consistent color bit depth, regardless of the
    number of plates, and ensuring the "unencodable pixels" error will never
    occur.

    Also as a result of these changes, there are substantial performance
    improvements in jobs with separations and transparency.
  * tiffsep, psdcmyk and psdrgb now support the "downscaler" functionality.
    This brings the "tiffscaled" style functionality to the DeviceN output
    devices, so jobs can be rendered internally in contone and at a high
    resolution, and the output optionally downsampled by a level specified by
    "-dDownScaleFactor=n", and also optionally error diffused to 1bpp output.
  * Third party libraries: libtiff, libpng, libjpeg , Freetype and zlib have
    all be updated.
  * clist storage, for rendering pages in bands, is now a run-time option:
    -sBandListStorage={file|memory}.
  * Plus the usual round of bug fixes, compatibility changes, and incremental
    improvements.
2014-04-26 13:51:40 +00:00
richard
4285b90588 'cups' option needs to ensure BUILD_TARGET 'cups' is added.
configure adjusted to correctly accept CUPSVERSION and, while we're at it,
add missing space between '!' and parens in test for contrib directory.
2014-04-07 07:36:20 +00:00
ryoon
00714bb56c Fix build on OpenBSD 5.3.
* Pass LDFLAGS to gsx build etc.
* Pass -lxcb to LDFLAGS for OpenBSD
2013-10-05 05:13:07 +00:00
dholland
3c745dbb39 Copy the pre-update ghostscript 9.05 package as ghostscript-gpl. 2013-03-16 21:32:00 +00:00