Your message dated Wed, 04 Jun 2008 12:47:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#399947: fixed in docbook-utils 0.6.14-1.1
has caused the Debian Bug report #399947,
regarding docbook-utils: docbook2man doesn't escape correctly . and '
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 [EMAIL PROTECTED]
immediately.)


-- 
399947: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399947
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: docbook-utils
Version: 0.6.14-1
Severity: important
Tags: patch

Hello,

docbook2man escapes . and ' only at the beginning of a line :
$_[0] =~ s/^\./\\\&\./;

So if there are some spaces or tab before . or ', they are not escaped
while they should be.
That can break some manpages, without any warning on build.

See attached the patch provided by Nicolas François.

Regards,

-- 
Simon Paillard


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (999, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages docbook-utils depends on:
ii  docbook-dsssl            1.79-4          modular DocBook DSSSL stylesheets,
ii  jadetex                  3.13-7.1        generator of printable output from
ii  lynx                     2.8.5-2sarge2.1 Text-mode WWW Browser
ii  perl                     5.8.8-6.1       Larry Wall's Practical Extraction 
ii  sgmlspl                  1.03ii-31       SGMLS-based example Perl script fo
ii  sp                       1.3.4-1.2.1-47  James Clark's SGML parsing tools

Versions of packages docbook-utils recommends:
ii  docbook-xml                   4.4-5      standard XML documentation system,

-- no debconf information
--- docbook2man-spec.pl.bak     2006-11-19 19:50:12.000000000 +0100
+++ docbook2man-spec.pl.new     2006-11-23 00:14:28.000000000 +0100
@@ -1199,8 +1199,8 @@
        $_[0] =~ s/\\/\\\\/g;
 
        # Escape dots and single quotes in column 1
-       $_[0] =~ s/^\./\\\&\./;
-       $_[0] =~ s/^\'/\\\&\'/;
+       $_[0] =~ s/^[ \t]*\./\\\&\./;
+       $_[0] =~ s/^[ \t]*\'/\\\&\'/;
 
        # In non-'pre'-type elements:
        if(!$nocollapse_whitespace) {

--- End Message ---
--- Begin Message ---
Source: docbook-utils
Source-Version: 0.6.14-1.1

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

docbook-utils_0.6.14-1.1.diff.gz
  to pool/main/d/docbook-utils/docbook-utils_0.6.14-1.1.diff.gz
docbook-utils_0.6.14-1.1.dsc
  to pool/main/d/docbook-utils/docbook-utils_0.6.14-1.1.dsc
docbook-utils_0.6.14-1.1_all.deb
  to pool/main/d/docbook-utils/docbook-utils_0.6.14-1.1_all.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.
Chris Lamb <[EMAIL PROTECTED]> (supplier of updated docbook-utils 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.8
Date: Mon, 02 Jun 2008 03:40:32 +0100
Source: docbook-utils
Binary: docbook-utils
Architecture: source all
Version: 0.6.14-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian XML/SGML Group <[EMAIL PROTECTED]>
Changed-By: Chris Lamb <[EMAIL PROTECTED]>
Description: 
 docbook-utils - Convert Docbook files to other formats (HTML, RTF, PS, man, 
PDF)
Closes: 399947 472894
Changes: 
 docbook-utils (0.6.14-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix bashism in 'jw' script (Closes: #472894)
   * Apply patch to escape "." and "'" properly which was causing breakage
     in some manpages. Patch by Nicolas François. (Closes: #399947)
   * Bump Standards-Version to 3.7.3
Checksums-Sha1: 
 9ef1c915de635bd7fe1aaa5e3993a676a4b39d4e 1137 docbook-utils_0.6.14-1.1.dsc
 63ec9279f8eac0c6bf6d64aab120fb271a7c4cf8 8008 docbook-utils_0.6.14-1.1.diff.gz
 3936af4efc5d4e59506773a76e70693fda275295 74078 docbook-utils_0.6.14-1.1_all.deb
Checksums-Sha256: 
 920e436a36d36b4fb4edff68af9cf9662bae918349aaf4b1a89041ba6da3a89f 1137 
docbook-utils_0.6.14-1.1.dsc
 387f0f7797466128abe5079029d955547f8e47e89b6c5b0a0d65150c895201d4 8008 
docbook-utils_0.6.14-1.1.diff.gz
 d32bc2de7863c7a82fe26ba779cf28e9dad5bad2bb3a596ac0bd491076437bde 74078 
docbook-utils_0.6.14-1.1_all.deb
Files: 
 42b23e76da4aeb31e8902cf4c169dffe 1137 text optional 
docbook-utils_0.6.14-1.1.dsc
 2bda91759daa9aac4500504eb9b0adcb 8008 text optional 
docbook-utils_0.6.14-1.1.diff.gz
 8a8e65156f6b1238ea7c60135879f9ae 74078 text optional 
docbook-utils_0.6.14-1.1_all.deb

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

iEYEARECAAYFAkhGjQIACgkQ+C5cwEsrK56WjwCfQbjh8F8r2YqGy80ax/Zsi5LQ
JhAAoLh1IY+PRhTY5YFQjekfYi1+pHXP
=META
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to