Version in base suite: 9.53.3~dfsg-7+deb11u2 Base version: ghostscript_9.53.3~dfsg-7+deb11u2 Target version: ghostscript_9.53.3~dfsg-7+deb11u3 Base file: /srv/ftp-master.debian.org/ftp/pool/main/g/ghostscript/ghostscript_9.53.3~dfsg-7+deb11u2.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/g/ghostscript/ghostscript_9.53.3~dfsg-7+deb11u3.dsc changelog | 8 ++++++++ patches/020201214~c616676.patch | 33 +++++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 42 insertions(+) diff -Nru ghostscript-9.53.3~dfsg/debian/changelog ghostscript-9.53.3~dfsg/debian/changelog --- ghostscript-9.53.3~dfsg/debian/changelog 2022-01-04 14:09:14.000000000 +0000 +++ ghostscript-9.53.3~dfsg/debian/changelog 2023-01-25 07:11:34.000000000 +0000 @@ -1,3 +1,11 @@ +ghostscript (9.53.3~dfsg-7+deb11u3) bullseye; urgency=medium + + * Non-maintainer upload. + * Cherry-pick upstream patch to fix path for PostScript helper file in + ps2epsi. Closes: #1003926, #1029541 + + -- HÃ¥vard F. Aasen Wed, 25 Jan 2023 08:11:34 +0100 + ghostscript (9.53.3~dfsg-7+deb11u2) bullseye-security; urgency=high * Non-maintainer upload by the Security Team. diff -Nru ghostscript-9.53.3~dfsg/debian/patches/020201214~c616676.patch ghostscript-9.53.3~dfsg/debian/patches/020201214~c616676.patch --- ghostscript-9.53.3~dfsg/debian/patches/020201214~c616676.patch 1970-01-01 00:00:00.000000000 +0000 +++ ghostscript-9.53.3~dfsg/debian/patches/020201214~c616676.patch 2023-01-25 07:11:34.000000000 +0000 @@ -0,0 +1,33 @@ +From: Ray Johnston +Date: Mon, 14 Dec 2020 08:39:50 -0800 +Subject: Fix bug 703270: Wrong path for PostScript helper file in ps2epsi +Origin: http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=c6166768c6e963b0fe28ccdb266629443e521381 +Bug: https://bugs.ghostscript.com/show_bug.cgi?id=703270 +Bug-Debian: https://bugs.debian.org/1003926 +Bug-Debian: https://bugs.debian.org/1029541 + +In the change mentioned in the bug, rather than rely on the LIBPATH +search method, the ps2epsi script assumed that pd2epsi.ps would be +in the same directory as the 'gs' executable, which is not correct. + +Change to use bare 'ps2epsi.ps' so that it will be found on the +LIBPATH as instialled by: make install +--- + lib/ps2epsi | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/ps2epsi b/lib/ps2epsi +index 7590cb5a7..dbfc9fb3d 100755 +--- a/lib/ps2epsi ++++ b/lib/ps2epsi +@@ -40,8 +40,8 @@ else + outfile=$2 + fi + +-# Note, we expect 'ps2epsi.ps' to be in the same directory as 'ps2epsi' ++# Note, we expect 'ps2epsi.ps' to be on one of the search paths which can be seen by: gs -h + "$GS_EXECUTABLE" -q -dNOOUTERSAVE -dNODISPLAY -dLastPage=1 -sOutputFile="${outfile}" \ +- --permit-file-all="${infile}" -- "$LIBDIR/ps2epsi.ps" "${infile}" 1>&2 ++ --permit-file-all="${infile}" -- ps2epsi.ps "${infile}" 1>&2 + + exit 0 diff -Nru ghostscript-9.53.3~dfsg/debian/patches/series ghostscript-9.53.3~dfsg/debian/patches/series --- ghostscript-9.53.3~dfsg/debian/patches/series 2022-01-04 14:09:14.000000000 +0000 +++ ghostscript-9.53.3~dfsg/debian/patches/series 2023-01-25 07:11:34.000000000 +0000 @@ -1,6 +1,7 @@ 020201007~c6ce09a.patch 020201028~41ef9a0.patch 020201120~bd48c43.patch +020201214~c616676.patch 020210130~d787dad.patch 020210201~41130dd.patch 020210212~7861fca.patch