Your message dated Tue, 02 Aug 2005 10:02:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#280370: fixed in a2ps 1:4.13b-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Aug 2004 07:33:27 +0000
>From [EMAIL PROTECTED] Mon Aug 23 00:33:27 2004
Return-path: <[EMAIL PROTECTED]>
Received: from iproxy2.ericsson.dk [213.159.160.69] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Bz9KZ-0008Mc-00; Mon, 23 Aug 2004 00:33:27 -0700
Received: from unixmail.ted.dk.eu.ericsson.se (knud.ted.dk.eu.ericsson.se 
[213.159.188.246])
        by iproxy2.ericsson.dk (8.12.9/8.12.9) with ESMTP id i7N7Ul37003694;
        Mon, 23 Aug 2004 09:30:47 +0200 (CEST)
Received: from nellike.ted.dk.eu.ericsson.se (nellike.ted.dk.eu.ericsson.se 
[213.159.189.18])
        by unixmail.ted.dk.eu.ericsson.se (8.10.1/8.10.1/TEDmain-1.0) with 
ESMTP id i7N7WkX26243;
        Mon, 23 Aug 2004 09:32:49 +0200 (MEST)
Received: from tedpcn by nellike.ted.dk.eu.ericsson.se with local (Exim 4.34)
        id 1Bz9Jt-0005h8-JH; Mon, 23 Aug 2004 09:32:45 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Peder Chr. Norgaard" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: a2ps option "-P" does not work 
X-Mailer: reportbug 2.64
Date: Mon, 23 Aug 2004 09:32:45 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: "Peder Chr. Norgaard" <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: a2ps
Version: 1:4.13b-4
Severity: important

The wrapper script has a rather serious bug.  When "a2ps" is invoked with
"-P" option, the script is invoked with "-d" and the argument of "-P".  But
the script only transfer the first shell argument - in this case "-d" - to
the "lp" command, which then fails.

I have observed this on a system with "lprng" installed; I am pretty sure that
"cupsys-client" based system will have the same problem.

This patch fixes the problem.


*** a2ps-lpr-wrapper~   Mon Aug 16 21:04:51 2004
--- a2ps-lpr-wrapper    Mon Aug 23 09:10:52 2004
***************
*** 5,11 ****
  
  # If /usr/bin/lp (from cupsys-client) exists, just use it.
  if [ -x /usr/bin/lp ]; then
!   /usr/bin/lp $1
  else
    # In case /usr/bin/lp is not available, then fall back /usr/bin/lpr.
    /usr/bin/lpr $1
--- 5,11 ----
  
  # If /usr/bin/lp (from cupsys-client) exists, just use it.
  if [ -x /usr/bin/lp ]; then
!   /usr/bin/lp $*
  else
    # In case /usr/bin/lp is not available, then fall back /usr/bin/lpr.
    /usr/bin/lpr $1

Two incidental comments:

The presence of /usr/bin/lp is not an indicator for "cupsys-client"; that
file is also provided by the "lprng" package.

In a system with no /usr/bin/lp - that would probably be one with the
original "lpr" package install - "-P" will also fail, as the "lpr" program
uses "-d" option for something quite different.  In this case, the "-d"
option from "a2ps" will have to be converted back into a "-P" option by
the script.
-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-ted
Locale: LANG=C, LC_CTYPE=C

Versions of packages a2ps depends on:
ii  emacsen-common              1.4.15       Common facilities for all emacsen.
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libpaper1                   1.1.14-0.4   Library for handling paper charact

-- no debconf information

---------------------------------------
Received: (at 280370-close) by bugs.debian.org; 2 Aug 2005 17:24:22 +0000
>From [EMAIL PROTECTED] Tue Aug 02 10:24:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E009X-0006IT-00; Tue, 02 Aug 2005 10:02:07 -0700
From: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#280370: fixed in a2ps 1:4.13b-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 02 Aug 2005 10:02:07 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 6

Source: a2ps
Source-Version: 1:4.13b-5

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

a2ps_4.13b-5.diff.gz
  to pool/main/a/a2ps/a2ps_4.13b-5.diff.gz
a2ps_4.13b-5.dsc
  to pool/main/a/a2ps/a2ps_4.13b-5.dsc
a2ps_4.13b-5_i386.deb
  to pool/main/a/a2ps/a2ps_4.13b-5_i386.deb



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Masayuki Hatta (mhatta) <[EMAIL PROTECTED]> (supplier of updated a2ps 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  3 Aug 2005 00:37:02 +0900
Source: a2ps
Binary: a2ps
Architecture: source i386
Version: 1:4.13b-5
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Changed-By: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Description: 
 a2ps       - GNU a2ps - 'Anything to PostScript' converter and pretty-printer
Closes: 147598 156636 193036 193530 246296 267527 269409 274798 280370 283134 
286385 286387 291749 314127
Changes: 
 a2ps (1:4.13b-5) unstable; urgency=low
 .
   * Acknowledged NMUs - closes: #283134, #274798, #286385, #286387
   * Updated Standards-Version (no physical changes).
   * Only Suggests: emacsen-common - closes: #246296, #269409
   * Now uses html2ps instead of netscape, thanks Russ Allbery - closes: 
#193036, #156636, #147598
   * Improved documentation on option -d - closes: #193530
   * Much improved a2ps-lpr-wrapper, thanks guys - closes: #280370, #267527
   * Updated de.po - closes: #314127
   * Now gives gv correct option - closes: #291749
Files: 
 eb88db2e7bcc33a9a28193721859af48 735 text optional a2ps_4.13b-5.dsc
 da5a85b79574699b12b772919563fea0 129197 text optional a2ps_4.13b-5.diff.gz
 66687d376c86e96dac1838eb76f9303b 637456 text optional a2ps_4.13b-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC76I9y2+jQOcHWlQRAhhIAKCSeeOrMAxpDWFcgSFRPJKHMk34cgCglm3x
dj16J7aEWmyHlPcSmw0Q5+k=
=9KQQ
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to