Your message dated Sun, 18 Oct 2009 12:17:35 +0000
with message-id <[email protected]>
and subject line Bug#530096: fixed in haproxy 1.3.21-1
has caused the Debian Bug report #530096,
regarding haproxy: bashism in /bin/sh script
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.)


-- 
530096: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530096
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: haproxy
Severity: minor
Version: 1.3.15.7-2
User: [email protected]
Usertags: goal-dash

Hello maintainer,

While performing an archive wide checkbashisms (from the 'devscripts' package)
check I've found your package containing a /bin/sh script making use
of a bashism.

checkbashisms' output:
> possible bashism in ./usr/share/doc/haproxy/examples/init.haproxy line 22
> ('$[' should be '$(('):
> maxfd=$[$maxconn*2 + $maintfd]
> possible bashism in ./usr/share/doc/haproxy/examples/init.haproxy line 34
> ('function' is useless):
> function do_stop {
> possible bashism in ./usr/share/doc/haproxy/examples/init.haproxy line 44
> ('function' is useless):
> function do_status {
> possible bashism in ./usr/share/doc/haproxy/examples/build.cfg line 8
> ('function' is useless):
> function do_compile_only {
> possible bashism in ./usr/share/doc/haproxy/examples/build.cfg line 13
> ('function' is useless):
> function do_prepack {
> possible bashism in
> ./usr/share/doc/haproxy/examples/haproxy-1.1.21-flx.1.pkg line 3
> ('function' is useless):
> function do_compile {
> possible bashism in
> ./usr/share/doc/haproxy/examples/haproxy-1.1.21-flx.1.pkg line 7
> ('function' is useless):
> function do_prepack {


Not using bash (or a Debian Policy conformant shell interpreter which doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours.
Please be aware that although bash is currently the default /bin/sh there was
a release goal for Lenny to make dash the default /bin/sh[1], and has been
proposed for squeeze as well[2].

If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html

For more information supporting this goal please refer to Debian Policy,
section 10.4, at:
http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts

Hints about how to fix bashisms:
Sometimes these bugs are already fixed in Ubuntu, look at the PTS.
If not already fixed you can read:
https://wiki.ubuntu.com/DashAsBinSh

If you still don't know how to fix the bashisms don't hesitate to reply to
this email, or tag the bug as 'help'.

[1]http://release.debian.org/lenny/goals.txt
[2]http://lists.debian.org/debian-release/2009/04/msg00133.html

Thank you,
Raphael Geissert



--- End Message ---
--- Begin Message ---
Source: haproxy
Source-Version: 1.3.21-1

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

haproxy_1.3.21-1.diff.gz
  to pool/main/h/haproxy/haproxy_1.3.21-1.diff.gz
haproxy_1.3.21-1.dsc
  to pool/main/h/haproxy/haproxy_1.3.21-1.dsc
haproxy_1.3.21-1_amd64.deb
  to pool/main/h/haproxy/haproxy_1.3.21-1_amd64.deb
haproxy_1.3.21.orig.tar.gz
  to pool/main/h/haproxy/haproxy_1.3.21.orig.tar.gz



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.
Arnaud Cornet <[email protected]> (supplier of updated haproxy 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, 18 Oct 2009 14:01:29 +0200
Source: haproxy
Binary: haproxy
Architecture: source amd64
Version: 1.3.21-1
Distribution: unstable
Urgency: low
Maintainer: Arnaud Cornet <[email protected]>
Changed-By: Arnaud Cornet <[email protected]>
Description: 
 haproxy    - fast and reliable load balancing reverse proxy
Closes: 530096 538992
Changes: 
 haproxy (1.3.21-1) unstable; urgency=low
 .
   [ Michael Shuler ]
   * New Upstream Version (Closes: #538992)
   * Added override for example shell scripts in docs (Closes: #530096)
   * Added upstream changelog to docs
   * Added debian/watch
   * Updated debian/copyright format
   * Added haproxy.1-hyphen.patch, to fix hyphen in man page
   * Upgrade Standards-Version to 3.8.3 (no change needed)
   * Upgrade debian/compat to 7 (no change needed)
 .
   [ Arnaud Cornet ]
   * New upstream version.
   * Merge Michael's work, few changelog fixes
   * Add debian/README.source to point to quilt doc
   * Depend on debhelper >= 7.0.50~ and use overrides in debian/rules
Checksums-Sha1: 
 1e844ddce393a8efa73dc1ea184fbdffe82033cf 1010 haproxy_1.3.21-1.dsc
 4b1f2e13e8c3b3561a2367e25cf64734d8d4e368 654676 haproxy_1.3.21.orig.tar.gz
 78938b7f67799254124a94f720fd9a3e21db8974 7785 haproxy_1.3.21-1.diff.gz
 b0b9b4b04c5385e4be494e3a5edced9b126194ce 431982 haproxy_1.3.21-1_amd64.deb
Checksums-Sha256: 
 e9da0976f65b8e9b45ee4397318b553a909741fc5c83850e52bd979b2379be1a 1010 
haproxy_1.3.21-1.dsc
 2145a242167302fef9c41fe6ac5546dfa721be316e7b442774e2642e8e04b14a 654676 
haproxy_1.3.21.orig.tar.gz
 35f62a07afc75924bb2edb3ac29b62195a287e26cb57311f7567ca0aa6e1da42 7785 
haproxy_1.3.21-1.diff.gz
 e9e84b60e0b1b3127011f51cc58554beca4c7536ff553d85dafd6bde1084705e 431982 
haproxy_1.3.21-1_amd64.deb
Files: 
 2cd33dd5887beba3d05d355ce0cad1f1 1010 net optional haproxy_1.3.21-1.dsc
 d591cc9aca0b81ea8ccda8db958c1f44 654676 net optional haproxy_1.3.21.orig.tar.gz
 bc1f33befdca44710f153f9bcb8d57fb 7785 net optional haproxy_1.3.21-1.diff.gz
 d7f7ad20b0107f223d71ed5698198666 431982 net optional haproxy_1.3.21-1_amd64.deb

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

iEYEARECAAYFAkrbA+QACgkQsk+dgCIlhI5JdgCdFyTpKOnHVGkuSK9ZwEaCR0dJ
BpgAni3p6zUYN1oX8yi7ZzwgWfUD6nhn
=rW6L
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to