Package: hylafax-server
Version: 2:4.3.4-1
Severity: important
Tags: patch

Hi

There is a bug in the common-functions shell script which corrupts 
base64 encoded attachments sent by faxrcvd. The following patch fixes 
the problem for me.

Thanks.

--- common-functions-old 2007-06-19 16:55:03.422092111 +1200
+++ common-functions 2007-06-19 16:53:29.396997914 +1200
@@ -201,7 +201,7 @@
    # $BASE64ENCODE may contain parameters
    cmd=`programOfCommand $BASE64ENCODE`
    if [ -x "$cmd" ]; then
-       (eval $BASE64ENCODE) < $1 2>$ERRORSTO
+       (eval $BASE64ENCODE) < $1 | $GREP -v "====$" 2>$ERRORSTO
    else
        $AWK -f bin/b64-encode.awk < $1 2>$ERRORSTO
    fi


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

Kernel: Linux 2.6.17-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages hylafax-server depends on:
ii  adduser          3.102                   Add and remove users and groups
ii  debconf [debconf 1.5.13                  Debian configuration management sy
ii  gs               8.56.dfsg.1-1.1         Transitional package
ii  gs-esp [gs]      8.15.3.dfsg.1-1         The Ghostscript PostScript interpr
ii  gs-gpl [gs]      8.56.dfsg.1-1.1         The GPL Ghostscript PostScript int
hi  hylafax-client   2:4.3.4-1               Flexible client/server fax softwar
ii  libc6            2.5-11                  GNU C Library: Shared libraries
ii  libgcc1          1:4.2-20070609-1        GCC support library
ii  libpam0g         0.79-4                  Pluggable Authentication Modules l
ii  libstdc++6       4.2-20070609-1          The GNU Standard C++ Library v3
ii  libtiff-tools    3.8.2-7                 TIFF manipulation and conversion t
ii  libtiff4         3.8.2-7                 Tag Image File Format (TIFF) libra
ii  lsb-base         3.1-23.1                Linux Standard Base 3.1 init scrip
ii  mailx            1:8.1.2-0.20070424cvs-1 A simple mail user agent
ii  metamail         2.7-53                  implementation of MIME
ii  psmisc           22.5-1                  Utilities that use the proc filesy
ii  sed              4.1.5-2                 The GNU sed stream editor
ii  sharutils        1:4.6.3-1               shar, unshar, uuencode, uudecode
ii  zlib1g           1:1.2.3-15              compression library - runtime

Versions of packages hylafax-server recommends:
ii  metamail                      2.7-53     implementation of MIME

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to