Package: duma Version: 2.5.15-1.1 Severity: important Tags: patch Dear Maintainer,
The script duma included in the package duma has a number of issues: 1. assumes the library is in '.', which is certainly not the case. ATM it is in /usr/lib . It should eventually move to an arch-dependent directory? 2. It uses '$*' to expand parameters. It should use '"$@"'. 3. It uses /bin/bash on the shebang line. At first glance I see no reason why it should not be a /bin/sh script. Attached a patch for (1) and (2), both of which break that script badly. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-rc4-rt-amd64 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages duma depends on: ii libc6 2.13-24 ii libgcc1 1:4.6.2-11 ii libstdc++6 4.6.2-11 duma recommends no packages. duma suggests no packages. -- no debconf information
--- /usr/bin/duma 2009-11-29 02:11:49.000000000 +0200 +++ duma 2012-01-14 18:00:25.317041199 +0200 @@ -14,4 +14,4 @@ fi # Set the environment to (pre)load duma library. -(export LD_PRELOAD=./libduma.so.0.0.0; export DYLD_INSERT_LIBRARIES=libduma.dylib; export DYLD_FORCE_FLAT_NAMESPACE=1; exec $*) +(export LD_PRELOAD=/usr/lib/libduma.so.0.0.0; export DYLD_INSERT_LIBRARIES=libduma.dylib; export DYLD_FORCE_FLAT_NAMESPACE=1; exec "$@")