Your message dated Mon, 01 Jun 2009 21:15:00 +0000
with message-id <[email protected]>
and subject line Bug#473704: fixed in ser 2.0.0-1
has caused the Debian Bug report #473704,
regarding ser: 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.)


-- 
473704: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473704
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ser
Severity: important
Version: 0.9.7-1
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 several /bin/sh scripts making 
use of a bashism.

checkbashisms' output:
> possible bashism in ./usr/sbin/ser_mysql.sh line 173 ($RANDOM):
>   PHPLIB_ID=`$GENHA1 "$RANDOM" "$NOW" $SIP_DOMAIN`
> possible bashism in ./usr/sbin/serctl line 565 (should be 'b = a'):
>                         if [ "$MODE" == "add" ] ; then
> possible bashism in ./usr/sbin/serctl line 917 (should be 'b = a'):
>                 if [ "$2" == "" ]; then
> possible bashism in ./etc/init.d/ser line 74 (echo -e):
>             echo -e "\nThere are errors in the configuration file. Please
> fix them first" possible bashism in ./etc/init.d/ser line 75 (echo -e):
>             echo -e "\n$out\n"

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's a 
release goal for Lenny to make dash the default /bin/sh[1].

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 please refer to the Debian Policy section 10.4 supporting 
this argument 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

[1]http://release.debian.org/lenny/goals.txt

Thank you,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



--- End Message ---
--- Begin Message ---
Source: ser
Source-Version: 2.0.0-1

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

ser-acc-db-module_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-acc-db-module_2.0.0-1_i386.deb
ser-acc-radius-module_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-acc-radius-module_2.0.0-1_i386.deb
ser-cpl-module_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-cpl-module_2.0.0-1_i386.deb
ser-jabber-module_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-jabber-module_2.0.0-1_i386.deb
ser-mysql-module_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-mysql-module_2.0.0-1_i386.deb
ser-osp-module_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-osp-module_2.0.0-1_i386.deb
ser-pa-module_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-pa-module_2.0.0-1_i386.deb
ser-postgres-module_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-postgres-module_2.0.0-1_i386.deb
ser-radius-modules_2.0.0-1_i386.deb
  to pool/main/s/ser/ser-radius-modules_2.0.0-1_i386.deb
ser_2.0.0-1.diff.gz
  to pool/main/s/ser/ser_2.0.0-1.diff.gz
ser_2.0.0-1.dsc
  to pool/main/s/ser/ser_2.0.0-1.dsc
ser_2.0.0-1_i386.deb
  to pool/main/s/ser/ser_2.0.0-1_i386.deb
ser_2.0.0.orig.tar.gz
  to pool/main/s/ser/ser_2.0.0.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.
Mark Purcell <[email protected]> (supplier of updated ser 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, 31 May 2009 10:51:00 +1000
Source: ser
Binary: ser ser-mysql-module ser-jabber-module ser-cpl-module ser-pa-module 
ser-radius-modules ser-postgres-module ser-acc-db-module ser-acc-radius-module 
ser-osp-module
Architecture: source i386
Version: 2.0.0-1
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <[email protected]>
Changed-By: Mark Purcell <[email protected]>
Description: 
 ser        - high-performance SIP server
 ser-acc-db-module - accounting module for SER (dummy package)
 ser-acc-radius-module - accounting module for SER, with RADIUS support (dummy 
package)
 ser-cpl-module - Call Processing Language interpreter for SER
 ser-jabber-module - Jabber bridge module for the SIP Express Router
 ser-mysql-module - MySQL database connectivity module for SER
 ser-osp-module - Open Settlement Protocol module for for SER
 ser-pa-module - presence module for the SIP Express Router
 ser-postgres-module - PostgreSQL database connectivity module for SER
 ser-radius-modules - RADIUS modules for the SIP Express Router
Closes: 468472 469144 473704
Changes: 
 ser (2.0.0-1) unstable; urgency=low
 .
   [ Marcus Better ]
   * New upstream release.
   * Improved package descriptions. (Closes: #468472)
   * Removed bashism from the init script. Thanks to Chris Lamb.
     (Closes: #473704)
   * Added man page for sercmd. (Closes: #469144)
   * The serctl utility is no longer bundled with SER.
   * The ser_mysql.sh script is now installed in
     /usr/share/doc/ser/examples, along with other database generation
     scripts.
   * The gen_ha1 utility is no longer included in the package.
   * debian/rules: Only invoke make once during build, and install into
     debian/tmp.
   * debian/ser.examples: Install all the examples.
   * debian/control: Build-depend on libcurl3-dev (for xcap module),
     libreadline5-dev (for sercmd) and uuid-dev (for eval module).
   * debian/control: Removed Andrei Pelinescu-Onciul and Jan Janak from
     Uploaders field on own request.
   * Merge the acc_db module into the main ser package, and the acc_radius
     module into the ser-radius-modules package, since they have no extra
     dependencies.
   * New patch dont-link-extra-system-libs: Avoid unnecessary linking of
     shared libraries.
   * Bump compat version to 5.
   * Build with hardening-wrapper for improved security.
   * Move control socket and FIFO from /tmp to /var/run/ser.
 .
   [ Patrick Matthäi ]
   * Bumped Standards-Version to 3.8.1.
 .
   [ Kilian Krause ]
   * Fix debian/watch.
   * Remove -N from wget args in get-orig-source target as -O is already
     used.
 .
   [ Mark Purcell ]
   * Fixup debian/watch to future proof dir numbers
Checksums-Sha1: 
 62406a73b7c7e4e09a4c5fad7100e96c6f074cbf 1571 ser_2.0.0-1.dsc
 6bbb5dc0b06cb166f8d144c9259f93240eed56a2 2684155 ser_2.0.0.orig.tar.gz
 413983001b7ca8c3eb4b64036290659c915a0333 14398 ser_2.0.0-1.diff.gz
 3ffbc599d1b79e56c818787a68ec9778a0d2bb5a 1444590 ser_2.0.0-1_i386.deb
 a80395113b0ae964a7128aadbf98a7776f93487f 20618 
ser-mysql-module_2.0.0-1_i386.deb
 f0c49055b8657c65a2b9c19aed626171947b4755 81508 
ser-jabber-module_2.0.0-1_i386.deb
 dae6fd3b6282e83dd01e65a9e6341b1345472e78 88102 ser-cpl-module_2.0.0-1_i386.deb
 68631a2577bf399a39c6d042d34e33e6193fb7a9 182310 ser-pa-module_2.0.0-1_i386.deb
 52b9e4433de31b8b3abd18efd42cd39c99575cdb 35050 
ser-radius-modules_2.0.0-1_i386.deb
 8dfd89f2bd1e32e99343ae84f48e0f0d7e0ebf48 24796 
ser-postgres-module_2.0.0-1_i386.deb
 b1f706dab175f4a3144352f58969a0325a5b6c7f 4562 
ser-acc-db-module_2.0.0-1_i386.deb
 5e0496a31f3c7c29f02eb12fea0194243ccaa558 4558 
ser-acc-radius-module_2.0.0-1_i386.deb
 e218ed5f003b1056b67ba826744980aadcb70971 46486 ser-osp-module_2.0.0-1_i386.deb
Checksums-Sha256: 
 23eae25e1759b5f21c91191d0b358b90cfa6b2dc14537598d1fb72b039c203e1 1571 
ser_2.0.0-1.dsc
 bae04920b378ec65955b5becbba2e887b7b6cce9d9249b961253adc106101578 2684155 
ser_2.0.0.orig.tar.gz
 654d09a6f05e0c32fbbfb06b2f7bb2664337f459a5f548639409a0af2065726c 14398 
ser_2.0.0-1.diff.gz
 88ecb124efeca602217846f05aeb661f8dcada5ad8fb693953d22898a7310cd5 1444590 
ser_2.0.0-1_i386.deb
 4d045b9ec22ebc8d82e21d189c698260863b17c6f3998c22a5e4b5e50dc59068 20618 
ser-mysql-module_2.0.0-1_i386.deb
 59a1ae7962e592d3beb3105e1660a146981378b02fd0bdece8a56eb40bfc594a 81508 
ser-jabber-module_2.0.0-1_i386.deb
 2d99a1583f1fb9f49e7a00ec9807d8c1150e6752010a0647f331229168234640 88102 
ser-cpl-module_2.0.0-1_i386.deb
 9b0f2ee91bfaa839b83284b10ff78499313128f6a01e0852d2487d2c81b0dd4f 182310 
ser-pa-module_2.0.0-1_i386.deb
 abcfec0b5bc47ae9b5fb610c0cbfec42fce2cec8f599f42d21b1b6c690048b03 35050 
ser-radius-modules_2.0.0-1_i386.deb
 5c11dbb4beeb656164b0cbb6161e39c626d7f215e33e85e29e31b300e7ffc879 24796 
ser-postgres-module_2.0.0-1_i386.deb
 e0a36648f70b5be1bd2507c7847a3b1e71c54bc1125fb6047927e0945a6eacc1 4562 
ser-acc-db-module_2.0.0-1_i386.deb
 9427f72d92f4f3a81302ba04b6d8b71cf83461dcbb546829c683d270d2d9387a 4558 
ser-acc-radius-module_2.0.0-1_i386.deb
 dbc6425503c2999021fbeda6ce30684e8b9c033cd9cc73cdece914c2a7b1dc23 46486 
ser-osp-module_2.0.0-1_i386.deb
Files: 
 9eebd2053fd24b292cbb86b5a89f6099 1571 net optional ser_2.0.0-1.dsc
 935705b0ab3aacaa965ae98d112db9c4 2684155 net optional ser_2.0.0.orig.tar.gz
 93204541c856901bc7bf72bd74d100d9 14398 net optional ser_2.0.0-1.diff.gz
 f1a637abef9f380d4b2aa95f00276ad6 1444590 net optional ser_2.0.0-1_i386.deb
 11b12fbb19bfb41dd280658ccda82cbc 20618 net optional 
ser-mysql-module_2.0.0-1_i386.deb
 be6e159baf7d48dbd419b79bd687269f 81508 net optional 
ser-jabber-module_2.0.0-1_i386.deb
 b6a9023abf6364bda9ce9cb82f96530b 88102 net optional 
ser-cpl-module_2.0.0-1_i386.deb
 65481381efb9a816c63d7e8b20e18a11 182310 net optional 
ser-pa-module_2.0.0-1_i386.deb
 efbb394a426d461905accf5b4c52c3f2 35050 net optional 
ser-radius-modules_2.0.0-1_i386.deb
 f8458ee3d64f66383b054b9808272a93 24796 net optional 
ser-postgres-module_2.0.0-1_i386.deb
 d4c9632dc6ac8a61f9df00b9cd01f665 4562 net optional 
ser-acc-db-module_2.0.0-1_i386.deb
 09f26f402c697090430edb60929799f4 4558 net optional 
ser-acc-radius-module_2.0.0-1_i386.deb
 69ed490c3f91b43f94b5aa284766a600 46486 net optional 
ser-osp-module_2.0.0-1_i386.deb

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

iEYEARECAAYFAkoh1qYACgkQoCzanz0IthIhVQCgnOI4hz//Rqwl7i32hqNJC0Nd
TaoAn0MHJ+zX3hNpBizhIu49aZfj8VFG
=o/ls
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to