Your message dated Sat, 18 May 2013 17:32:57 +0000
with message-id <[email protected]>
and subject line Bug#694856: fixed in debiandoc-sgml 1.2.28-1
has caused the Debian Bug report #694856,
regarding debiandoc-sgml: debiandoc2dbkpo relentlessly overwrites files with a 
symlink
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.)


-- 
694856: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694856
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debiandoc-sgml
Version: 1.2.27
Severity: normal
Tags: patch

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***

If the script finds an SGML input file without a localization infix,
it creates a symlink to it with '.en' as an infix, regardless of
whether one is present.

I have included a more cautious version of the code as a patch, with
all the quoting I usually use, which is more of a change than is
really required.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages debiandoc-sgml depends on:
ii  libhtml-parser-perl  3.69-2
ii  libroman-perl        1.23-1
ii  libtext-format-perl  0.56-1
ii  perl                 5.14.2-15
ii  sgml-base            1.26+nmu3
ii  sgml-data            2.0.8
ii  sgmlspl              1.03ii-32
ii  sp                   1.3.4-1.2.1-47.1+b1

Versions of packages debiandoc-sgml recommends:
ii  ghostscript          9.05~dfsg-6.2
ii  texinfo              4.13a.dfsg.1-10
ii  texlive              2012.20120611-5
ii  texlive-latex-extra  2012.20120611-2

Versions of packages debiandoc-sgml suggests:
ii  debiandoc-sgml-doc  1.1.22
pn  latex-cjk-all       <none>
pn  texlive-lang-all    <none>

-- no debconf information
>From 1cf42630e29770eff09499b84048fe2af5a32641 Mon Sep 17 00:00:00 2001
From: Felix Gatzemeier <[email protected]>
Date: Sat, 1 Dec 2012 12:38:02 +0100
Subject: [PATCH] Be more cautious about overwriting manuals.

---
 debiandoc-bin/debiandoc2dbkpo |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/debiandoc-bin/debiandoc2dbkpo b/debiandoc-bin/debiandoc2dbkpo
index af7d76d..b4b81b3 100755
--- a/debiandoc-bin/debiandoc2dbkpo
+++ b/debiandoc-bin/debiandoc2dbkpo
@@ -49,13 +49,19 @@ shift
 LANGS="$@"
 
 #
-# If English dos not have .en. , then make symlink
-#
-if [ -r $MANUAL.sgml ]; then
-    ln -sf $MANUAL.sgml $MANUAL.en.sgml
-elif [ ! -r $MANUAL.en.sgml ]; then
-    echo "Neither $MANUAL.en.sgml nor $MANUAL.sgml found." >&2
-    exit 1
+# If there is no ".en" source, but one without encoding, that that is
+# probably an English one and we make a symlink.
+#
+if [ ! -r "${MANUAL}.en.sgml" ] ; then
+    if [ -r "${MANUAL}.sgml" ]; then
+	echo "Warning: No '${MANUAL}.en.sgml' found, but a '${MANUAL}.sgml'."
+	echo "         Creating a symlink."
+	echo "         Beware: Your project may have mor complicated building instructions."
+	ln -sf "${MANUAL}.sgml" "${MANUAL}.en.sgml"
+    else
+	echo "Error: Neither '${MANUAL}.en.sgml' nor '${MANUAL}.sgml' found." >&2
+	exit 1
+    fi
 fi
 
 #
-- 
1.7.10.4


--- End Message ---
--- Begin Message ---
Source: debiandoc-sgml
Source-Version: 1.2.28-1

We believe that the bug you reported is fixed in the latest version of
debiandoc-sgml, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Osamu Aoki <[email protected]> (supplier of updated debiandoc-sgml 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: Sun, 19 May 2013 02:20:15 +0900
Source: debiandoc-sgml
Binary: debiandoc-sgml
Architecture: source all
Version: 1.2.28-1
Distribution: unstable
Urgency: low
Maintainer: Osamu Aoki <[email protected]>
Changed-By: Osamu Aoki <[email protected]>
Description: 
 debiandoc-sgml - DebianDoc SGML DTD and formatting tools
Closes: 616043 685046 694856
Changes: 
 debiandoc-sgml (1.2.28-1) unstable; urgency=low
 .
   * Jessie development cycle is ON!
   * Switch to 3.0(quilt) format.
   * Fix URLs containing '&' (ampersand) using a patch provided by Ben
     Hutchings, thanks. Closes: #685046
   * Make <a name> anchors enclose heading text using a patch provided by
     Samuel Bronson. Closes: #616043
   * Make debiandoc2dbkpo behave with an SGML without the localization
     infix using a patch provided by Felix Gatzemeier.  Closes: #694856
Checksums-Sha1: 
 8d08b3919764fc99d6a17562fa9dc28883b9e49b 1246 debiandoc-sgml_1.2.28-1.dsc
 86e9069b0055b1e12b7ca43e8769ae0b6a60e108 127871 
debiandoc-sgml_1.2.28.orig.tar.gz
 5b0a91fea8af7b45352e59f94f8e653fb3742768 25379 
debiandoc-sgml_1.2.28-1.debian.tar.gz
 5d247b2024b052a0cf4bf2f548c2e9e96c49a96f 129600 debiandoc-sgml_1.2.28-1_all.deb
Checksums-Sha256: 
 6b410422e5958cb14c5711ccc815cf622dd04f86741af58e00a93ec3d2e11edd 1246 
debiandoc-sgml_1.2.28-1.dsc
 9a10f735eef5dee2325f3e1ca9e232971b335d273d7f228f5f9af7bdc157415e 127871 
debiandoc-sgml_1.2.28.orig.tar.gz
 91aa51789a19131b80dcfc1a9dd947445670b78b82d3a424248916c49f2324f7 25379 
debiandoc-sgml_1.2.28-1.debian.tar.gz
 9288399be345993654fb02f9460ea381378a3ee4193b4114c2678ec912e9c09b 129600 
debiandoc-sgml_1.2.28-1_all.deb
Files: 
 f726b38dbe09bb0019ac6cf38f50e8d2 1246 text optional debiandoc-sgml_1.2.28-1.dsc
 ed2afef42388c705fb15186f037bae82 127871 text optional 
debiandoc-sgml_1.2.28.orig.tar.gz
 1aecd6693ecd8324870412e4a7b5f960 25379 text optional 
debiandoc-sgml_1.2.28-1.debian.tar.gz
 0f956000be689c106ee3bd4b5b573cc2 129600 text optional 
debiandoc-sgml_1.2.28-1_all.deb

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

iEYEARECAAYFAlGXuM0ACgkQ6A/EwagGHzLwNgCfXo078/jMih/obVDhbxIsjcPL
x9MAnjBw5RIl4fEUsnWYT6Oc17JCB3/D
=2Gei
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to