Package: mimedefang
Version: 2.63-1
Severity: grave
Justification: renders package unusable
Hi,
In the latest mimedefang package, the init.d script fails due to a
missing ` on line 251, producing the following output:
# /etc/init.d/mimedefang
/etc/init.d/mimedefang: line 357: unexpected EOF while looking for
matching ``'
/etc/init.d/mimedefang: line 377: syntax error: unexpected end of file
The attached patch fixes this problem, tested here.
Thanks,
--
James
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.9
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- mimedefang.orig 2007-12-09 17:21:45.382157722 +0000
+++ mimedefang 2007-12-09 17:21:58.433302243 +0000
@@ -248,7 +248,7 @@
`[ "$MX_RECIPIENT_CHECK" = "yes" ] && echo "-t"` \
`[ "$KEEP_FAILED_DIRECTORIES" = "yes" ] && echo "-k"` \
`[ "$MD_EXTRA" != "" ] && echo $MD_EXTRA` \
- `[ "$MD_SKIP_BAD_RCPTS" = "yes" ] && echo "-N" \
+ `[ "$MD_SKIP_BAD_RCPTS" = "yes" ] && echo "-N"` \
"`[ -n "$X_SCANNED_BY" ] && \
( [ "$X_SCANNED_BY" = "-" ] && \
echo "-X" || echo "-x$X_SCANNED_BY" )`" \