Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2018 17:07:44 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479032 - in head/print/ghostscript9-agpl-base: . files
Message-ID:  <201809051707.w85H7icF046297@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Wed Sep  5 17:07:44 2018
New Revision: 479032
URL: https://svnweb.freebsd.org/changeset/ports/479032

Log:
  Add a patch to give Ghostscript read permission on
  /usr/local/share/ghostscript/9.24/iccprofiles/* in -dSAFER mode.
  
  Upstream bug:	https://bugs.ghostscript.com/show_bug.cgi?id=699722
  Reported by:	antoine

Added:
  head/print/ghostscript9-agpl-base/files/patch-Resource_Init_gs_init.ps   (contents, props changed)
Modified:
  head/print/ghostscript9-agpl-base/Makefile

Modified: head/print/ghostscript9-agpl-base/Makefile
==============================================================================
--- head/print/ghostscript9-agpl-base/Makefile	Wed Sep  5 16:50:03 2018	(r479031)
+++ head/print/ghostscript9-agpl-base/Makefile	Wed Sep  5 17:07:44 2018	(r479032)
@@ -2,6 +2,7 @@
 
 PORTNAME=	ghostscript
 PORTVERSION=	9.24
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
 PKGNAMESUFFIX=	9-agpl-base

Added: head/print/ghostscript9-agpl-base/files/patch-Resource_Init_gs_init.ps
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/ghostscript9-agpl-base/files/patch-Resource_Init_gs_init.ps	Wed Sep  5 17:07:44 2018	(r479032)
@@ -0,0 +1,10 @@
+--- Resource/Init/gs_init.ps.orig	2018-09-03 08:50:27 UTC
++++ Resource/Init/gs_init.ps
+@@ -2041,6 +2041,7 @@ readonly def
+             % Default resources (OpenVMS, see comment above.) :
+           [ currentsystemparams /GenericResourceDir get] (*) .file_name_separator (*)
+             concatstrings concatstrings .generate_dir_list_templates
++          currentuserparams /ICCProfilesDir get copystring dup dup length 1 sub (*) putinterval
+         } if
+       ]
+       /PermitFileWriting [



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809051707.w85H7icF046297>