[packages/ghostscript] up to 10.05.0 (multiple security fixes)

atler atler at pld-linux.org
Thu Mar 13 04:01:48 CET 2025


commit af5c732e591cdf138d1fb47a277881ef9e8b5495
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 13 02:17:20 2025 +0100

    up to 10.05.0 (multiple security fixes)
    
    CVE-2025-27835, CVE-2025-27832, CVE-2025-27831, CVE-2025-27836,
    CVE-2025-27830, CVE-2025-27833, CVE-2025-27837, CVE-2025-27834

 ghostscript-missquotes.patch | 11 -----------
 ghostscript.spec             |  8 +++-----
 2 files changed, 3 insertions(+), 16 deletions(-)
---
diff --git a/ghostscript.spec b/ghostscript.spec
index cd37716..acd504a 100644
--- a/ghostscript.spec
+++ b/ghostscript.spec
@@ -21,13 +21,13 @@ Summary(ja.UTF-8):	PostScript インタープリタ・レンダラー
 Summary(pl.UTF-8):	Bezpłatny interpreter i renderer PostScriptu i PDF
 Summary(tr.UTF-8):	PostScript & PDF yorumlayıcı ve gösterici
 Name:		ghostscript
-Version:	10.04.0
+Version:	10.05.0
 Release:	1
 License:	AGPL v3+
 Group:		Applications/Graphics
 #Source0Download: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
-Source0:	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10040/%{name}-%{version}.tar.xz
-# Source0-md5:	a86a78cac91b6e1fc674c7961e760c3f
+Source0:	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10050/%{name}-%{version}.tar.xz
+# Source0-md5:	917dd03b426d37de0b5105f76178a21f
 Source1:	http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5:	9b5953aa0cc155f4364f20036b848585
 Patch0:		%{name}-missquotes.patch
@@ -331,7 +331,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/gslj
 %attr(755,root,root) %{_bindir}/gslp
 %attr(755,root,root) %{_bindir}/gsnd
-%attr(755,root,root) %{_bindir}/pdf2dsc
 %attr(755,root,root) %{_bindir}/pdf2ps
 %attr(755,root,root) %{_bindir}/pf2afm
 %attr(755,root,root) %{_bindir}/pfbtopfa
@@ -370,7 +369,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/gslj.1*
 %{_mandir}/man1/gslp.1*
 %{_mandir}/man1/gsnd.1*
-%{_mandir}/man1/pdf2dsc.1*
 %{_mandir}/man1/pdf2ps.1*
 %{_mandir}/man1/pf2afm.1*
 %{_mandir}/man1/pfbtopfa.1*
diff --git a/ghostscript-missquotes.patch b/ghostscript-missquotes.patch
index 77c0356..1a14bbb 100644
--- a/ghostscript-missquotes.patch
+++ b/ghostscript-missquotes.patch
@@ -19,17 +19,6 @@ diff -urN espgs-7.07.1rc2.org/lib/dvipdf espgs-7.07.1rc2/lib/dvipdf
  fi
  
  # We have to include the options twice because -I only takes effect if it
---- ghostscript-9.54.0/lib/pdf2dsc.orig	2021-04-25 20:34:00.760212192 +0200
-+++ ghostscript-9.54.0/lib/pdf2dsc	2021-04-25 20:44:48.926966311 +0200
-@@ -28,7 +28,7 @@ fi
- 
- pdffile=$1
- dscfile=$2
--: ${dscfile:=`echo $pdffile | sed 's,\.[^/.]*,,'`.dsc}
-+: ${dscfile:=`echo "$pdffile" | sed 's,\.[^/.]*,,'`.dsc}
- 
- exec "$GS_EXECUTABLE" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER\
-     -sPDFname="$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit
 diff -urN espgs-7.07.1rc2.org/lib/pdf2ps espgs-7.07.1rc2/lib/pdf2ps
 --- espgs-7.07.1rc2.org/lib/pdf2ps	Sun Sep 14 18:43:09 2003
 +++ espgs-7.07.1rc2/lib/pdf2ps	Sun Sep 14 18:43:26 2003
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghostscript.git/commitdiff/af5c732e591cdf138d1fb47a277881ef9e8b5495



More information about the pld-cvs-commit mailing list