[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#992893: marked as done (ps2ascii: odd option handling)



Your message dated Fri, 22 Mar 2024 05:07:04 +0000
with message-id <E1rnX7Q-00ErXK-Vp@fasolo.debian.org>
and subject line Bug#992893: fixed in ghostscript 10.03.0~dfsg-1
has caused the Debian Bug report #992893,
regarding ps2ascii: odd option handling
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
992893: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992893
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ghostscript
Version: 9.53.3~dfsg-7
Severity: minor
Tags: patch

Dear Maintainer,

ps2ascii handles default arguments really oddly, including shelling out
for each test (note the "()") and doesn't quote GS_EXECUTABLE,
unlike the other scripts in lib/; please consider the attached patch,
which also uses symbolic names for the trap signals

Best,
наб

-- System Information:
Debian Release: 10.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-17-amd64 (SMP w/24 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ghostscript depends on:
ii  libc6   2.28-10
ii  libgs9  9.27~dfsg-2+deb10u4

Versions of packages ghostscript recommends:
ii  gsfonts  1:8.11+urwcyr1.0.7~pre44-4.4

Versions of packages ghostscript suggests:
ii  ghostscript-x  9.27~dfsg-2+deb10u4

-- no debconf information
--- ghostscript-9.53.3~dfsg.orig/lib/ps2ascii
+++ ghostscript-9.53.3~dfsg/lib/ps2ascii
@@ -9,13 +9,6 @@
 # executable name set in the makefile
 GS_EXECUTABLE=gs
 
-trap "rm -f _temp_.err _temp_.out" 0 1 2 15
+trap "rm -f _temp_.err _temp_.out" EXIT HUP INT TERM
 
-OPTIONS="-q -dSAFER -sDEVICE=txtwrite"
-if ( test $# -eq 0 ) then
-    $GS_EXECUTABLE $OPTIONS -o - -
-elif ( test $# -eq 1 ) then
-    $GS_EXECUTABLE $OPTIONS -o - "$1"
-else
-    $GS_EXECUTABLE $OPTIONS -o "$2" "$1"
-fi
+"$GS_EXECUTABLE" -q -dSAFER -sDEVICE=txtwrite -o "${2:--}" "${1:--}"

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ghostscript
Source-Version: 10.03.0~dfsg-1
Done: Steve M. Robbins <smr@debian.org>

We believe that the bug you reported is fixed in the latest version of
ghostscript, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 992893@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve M. Robbins <smr@debian.org> (supplier of updated ghostscript package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 21 Mar 2024 22:44:42 -0500
Source: ghostscript
Architecture: source
Version: 10.03.0~dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Steve M. Robbins <smr@debian.org>
Closes: 992893 1065396
Changes:
 ghostscript (10.03.0~dfsg-1) unstable; urgency=medium
 .
   [ Steve Robbins ]
   * [d50c139] Add "breaks" relationship with manpages-l10n to transition
     German manpages. Closes: #1065396.
   * [9adc766] Simplify ps2ascii script. Closes: #992893.
   * [15664c9] New upstream version 10.03.0~dfsg
   * [2396e20] Remove 0001_fix_pagelist.patch, applied in new version.
   * [e3b0739] Add build-dep on python3-sphinx-copybutton
   * [ff6b89f] Fix break relationship versioning.
   * [2020bbc] Update obsolete dependency package names.
Checksums-Sha1:
 61f74d8bf9013efbd3b0f46b1a7e35ea769db3a3 2817 ghostscript_10.03.0~dfsg-1.dsc
 be930c13717fd4db91998295c6ef81f658f40c6a 30100208 ghostscript_10.03.0~dfsg.orig.tar.xz
 4bbbc892e97129e78afdbb07fcfdd6e823989315 84048 ghostscript_10.03.0~dfsg-1.debian.tar.xz
 d575078430fe345a7b19c0c4723ad59ecb492339 11903 ghostscript_10.03.0~dfsg-1_source.buildinfo
Checksums-Sha256:
 786795c4c80c1352215826cd09c66d785764245605c5989d8bb422ae3dbe11c2 2817 ghostscript_10.03.0~dfsg-1.dsc
 b0e9d8acb9e42b8b3244bb2cd5ad0fbf3348204d478ba3e7c00897b81288cd4d 30100208 ghostscript_10.03.0~dfsg.orig.tar.xz
 b584bb3d96a4091128fd0ba883cbe6f1ebf55f37c8c7ff4a496d904c90c085c6 84048 ghostscript_10.03.0~dfsg-1.debian.tar.xz
 a70e4575d03aa5428e9a570beffa927c5ae67a6096b415f3b451f5c49602396a 11903 ghostscript_10.03.0~dfsg-1_source.buildinfo
Files:
 b7967c6df18ea1ea6193481d458aec65 2817 text optional ghostscript_10.03.0~dfsg-1.dsc
 7625e4fe7b91fc23fcf0f83ab1716f05 30100208 text optional ghostscript_10.03.0~dfsg.orig.tar.xz
 6ed2508d78e8e3b969b980e870fd2bc0 84048 text optional ghostscript_10.03.0~dfsg-1.debian.tar.xz
 8b536f19d344fcc3958b4e303b26edc0 11903 text optional ghostscript_10.03.0~dfsg-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCAAtFiEEy89k8fa3rclNjyokyeVeL63I9LkFAmX9CIsPHHNtckBkZWJp
YW4ub3JnAAoJEMnlXi+tyPS5/DEP/Ryfk4IhxBII8MGGqIWld8awbv9Hm3BhfKSE
s6s1Z/WmzyM3Dn7+PYNfRB+REx42xldScqY9kSQgl3nA0yH/PIf2+NGsgpHZiOaP
qZ4VnE/qIrnRw9idWQnTWNg/Mah1oCCkdgCZ7ZUcOSY7R6GLDWfk5/+w1VbC1U7S
39yUe9NFTWibu6Z+oZnIVcbpnTS1BteadCvuzmSYYj/MpCOe4x3A9BAuXCLCOGB9
UToutcWWMVnB0LlZPw4aBbPlTWtpnt4l97Jzm+/4TvtLnd0lQ+05eCZfvOA9yRqi
il4rIL2K8ZCQJRO4EygvrlySiIzmMOOFGNyZbM9dAvDXWOhF+XzvPl9+wzLJEt9L
PmXLCo+Wunkk0x/gKe9o+lp8Q6/JFvG6ewNGjHM06r8NHLDcWn15EWH4HJ8+1zU8
LbkpguYDygkr64Q44PAoRkpHq94aJaMMwIYyeW2TlRm81FKOa5VTqAlqvkBCCi31
vWSxldj0tWQtZbsJj7OHSmLcDuEPZenycMxU6sP1/4OFHWh4tMI3WCOZq54EyyJW
s0qL0yFEs5LHvkIJf+7r6Y5N5XjTXklThAkcQ+5Ewc7pOlEfjrE4jac33018t8Az
b6M1wXjZ4uAK0cXqTmqEdNnhAdXkOftrMR6yeiyxz4Z0NSJfhMVCw2DNO4gwtZde
TcCBg7a7
=neOW
-----END PGP SIGNATURE-----

Attachment: pgpAAiOYWSkON.pgp
Description: PGP signature


--- End Message ---

Reply to: