Your message dated Sat, 18 Jun 2016 16:20:36 +0000
with message-id <[email protected]>
and subject line Bug#815158: fixed in debhelper 9.20160618
has caused the Debian Bug report #815158,
regarding debhelper: dpkg-maintscript-helper is not portable among recent shell 
releases
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.)


-- 
815158: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Serverity: minor

Hi,

recent releases of yash and mksh follow POSIX' wording regarding
backslashes in backquotes, the other shells follow POSIX' presumable
intention and the historically correct behaviour, for example (run on
Debian stable):

    $ bash -c 'echo "`echo \"x\"`"'; yash -c 'echo "`echo \"x\"`"'
    x
    "x"

In debhelper's git repository, these lines, using the above-mentioned
non-portable pattern, can be found:

    autoscripts/preinst-moveconffile:               if [ "`md5sum \"#OLD#\" | 
sed -e \"s/ .*//\"`" = \
    autoscripts/preinst-moveconffile:                    "`dpkg-query -W 
-f='${Conffiles}' #PACKAGE# | sed -n -e \"\\\\' #OLD# '{s/ obsolete$//;s/.* 
//p}\"`" ]

Given that Debian does not care about shells from about 1970, the most
obvious fix is to use $() instead of ``. This would also improve the
code's readability.


Regards
Carsten

--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 9.20160618

We believe that the bug you reported is fixed in the latest version of
debhelper, 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.
Niels Thykier <[email protected]> (supplier of updated debhelper 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: SHA256

Format: 1.8
Date: Sat, 18 Jun 2016 14:41:05 +0000
Source: debhelper
Binary: debhelper
Architecture: source
Version: 9.20160618
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Description:
 debhelper  - helper programs for debian/rules
Closes: 805405 811059 815158 818933 820446 820508 820711 824490 825005
Changes:
 debhelper (9.20160618) unstable; urgency=medium
 .
   * dh: Fix bug where "--help" or "--list" would not work
     unless "debian/compat" existed and had a supported
     compat level.  (Closes: #820508)
   * dh_compress: Gracefully handle debian (or any other
     path segment in the package "tmpdir") being a symlink
     pointing outside the same directory.  Thanks to
     Bernhard Miklautz for the report.  (Closes: #820711)
   * Dh_Lib.pm: Compat files are now mandatory.
   * dh_clean: Remove work around for missing compat file.
     This removes a confusing warning when the package is
     not built by CDBS.  (Closes: #811059)
   * debhelper.pod: Add a line stating that debian/compat
     is mandatory.  (Closes: #805405)
   * dh_strip: Apply patch from Peter Pentchev to only strip
     static libraries with a basename matching "lib.*\.a".
     (Closes: #820446)
   * ant.pm: Apply patch from Emmanuel Bourg to pass a
     normalised "user.name" parameter to ant.
     (Closes: #824490)
   * dh_installudev/dh_installmodules: Drop maintainer
     script snippets for migrating conffiles.
     - Side effect, avoids portability issue with certain
       shell implementations.  (Closes: #815158)
   * autoscripts/*inst-moveconffile: Remove unused files.
   * dh: Update documentation to reflect the current
     implementation.
   * Remove support for compat 4.
   * dh_strip: Add debuglinks to ELF binaries even with
     DEB_BUILD_OPTIONS=noautodbgsym to make the regular deb
     bit-for-bit reproducible with vs. without this flag.
     Thanks to Helmut Grohne for the report.
   * dh_installcatalogs: Apply patch from Helmut Grohne to
     explicitly trigger a new update-sgmlcatalog trigger,
     since dpkg does not triger conffiles on package removal.
     (Closes: #825005)
   * dh_installcatalos: Apply patch from Helmut Grohne to
     remove autoscript for a transition that completed in
     Wheezy.
   * dh_strip: Unconditionally pass --enable-deterministic-archives
     to strip for static libs as the stable version of binutils
     supports it.
   * dh_strip: Use file(1) to determine the build-id when
     available.  This saves an readelf call for every binary in
     the package.
   * dh_strip: Cache file(1) output to avoid calling file(1)
     twice on all ELF binaries in the package.
   * Dh_Lib.pm: Add better error messages when a debhelper program
     fails due to an executable config file not terminating with
     success.  (Closes: #818933)
   * dh_strip: Pass -e to file(1) to skip tests for file formats
     that dh_strip does not care about.
   * Bump standards-version to 3.9.8 - no changes required.
Checksums-Sha1:
 816b35631150fe84036276884e82dfe2a860e608 1708 debhelper_9.20160618.dsc
 7e228a1c15a99f28513951251b0f428d37536adf 337800 debhelper_9.20160618.tar.xz
Checksums-Sha256:
 ce0ebd64a0a83f35c96b2004f85ad2e17479cf9854f0f78b545e2ef4c695da5b 1708 
debhelper_9.20160618.dsc
 0321e1b345143a1717c8f252a9b55db283f75a78b4e19ae980c1ba4a356fe1ff 337800 
debhelper_9.20160618.tar.xz
Files:
 c5da85a37d9832cb69321a048c160ddd 1708 devel optional debhelper_9.20160618.dsc
 351f32fd092ea7a590ccd02d8b005313 337800 devel optional 
debhelper_9.20160618.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXZV77AAoJEAVLu599gGRCuqsP+wZ9E2LBdS5JjQ7umBn0yR0O
QaYzIp55CUAphbVe/zomZWpBPzKKJGuR5/ujgcFzlZM4IqVDp3jHt4W/8t5T9RAm
SoHMnKVPm0JMlr20TbWaSbDyZgEVHYpOgKtgrSAQ9NoxiwEWsSvIP8MqyejaLrIp
aD+lcDOr/RWPLgYUUYhomY6fA7zC12gOJGl/Qa0ybwIzx/Zb09ksJrUne0H4X9Uj
3w9Vh3Oaw2FQuBpTaGNc+13PpDE0eIGPzMLD3SK2eXk0G0qijiPU8TeqVVklPzJq
ozcvSEnYAcEGHmiBxqnR16mA1fV+jVx1p9RIdZO12tpyeE5xFq7DvCxwjLO0x2dr
Mg3KzFLhrN1Qe2MW88ecZEkBvvIA95ILfgb7OhhrkOCi6x5tredOdiwvPx+rpUJW
jr4xbo3BL24YtlOLFNkLB4oJ0dX/mRKiedqlMIdDUM2K3U5VEvfnn9bxUQ3tVU4N
csdq/I1KQ2+6Dt+0503M9BVtMKIgO0lrdFYQvI/mVu9iGRiSiLK9pwnDPp0fGQ/E
8BVY9u5VMUvMF95dBVP095ZNu6uF3RwlhueuFAa/zWfH/cQsFqgoPzshYLG0+Jbl
ni9orjJ+qOFwx/SSkk4dDQx4PyQIUes9nbBhJsH5TgBk64dhbtpdIisLyRwN0qJo
hDSX7JDn+EVPFevVEfS5
=l9jd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to