Package: ilohamail Version: 0.8.14-0rc3sid4 Severity: important Tags: patch
The postinst script will fail to configure a selected apache-ssl server on initial install since the debconf value for ilohamail/webserver_type is held in a different case to the value used in the CASE statement used to select. I enclose a patch to resolve this... -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (200, 'stable'), (50, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.16.30.2006110301 (PREEMPT) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB) Shell: /bin/sh linked to /bin/bash Versions of packages ilohamail depends on: ii apache [httpd] 1.3.34-4.1 versatile, high-performance HTTP s ii apache-ssl [httpd] 1.3.34-4.1 versatile, high-performance HTTP s ii apache2-mpm-prefork [httpd] 2.2.3-4+b1 Traditional model for Apache HTTPD ii debconf 1.5.13 Debian configuration management sy ii exim4-daemon-heavy [mail-tran 4.67-1 exim MTA (v4) daemon with extended ii libapache2-mod-php5 5.2.2-1+b1 server-side, HTML-embedded scripti ii php4 6:4.4.6-2 server-side, HTML-embedded scripti ii php5 5.2.2-1 server-side, HTML-embedded scripti ii wwwconfig-common 0.0.48 Debian web auto configuration Versions of packages ilohamail recommends: ii aspell 0.60.5-1 GNU Aspell spell-checker ii gnupg 1.4.6-2 GNU privacy guard - a free PGP rep ii mysql-client-5.0 [mysql-cli 5.0.38-3 mysql database client binaries ii php4-mysql 6:4.4.6-2+b1 MySQL module for php4 ii php5-mysql 5.2.2-1+b1 MySQL module for php5 -- debconf information: * ilohamail/webserver_type: Apache-ssl * ilohamail/weblocation: /IlohaMail
--- ilohamail.postinst.ORG 2007-05-14 14:34:31.000000000 +0100 +++ ilohamail.postinst 2007-05-14 15:05:23.000000000 +0100 @@ -46,7 +46,7 @@ case "$WWWTYPE" in "Apache") webservers="apache" ;; - "Apache-SSL") + "Apache-ssl") webservers="apache-ssl" ;; "Apache2") webservers="apache2" ;; @@ -83,7 +83,7 @@ echo "." # Preserve changes from sarge upgrades. (#422411) -if dpkg --compare-versions "$2" lt "0.8.14-0rc3sid1"; then +if [[ x"$2" -ne x"" && dpkg --compare-versions "$2" lt "0.8.14-0rc3sid1" ]]; then echo "I: Copying login.inc to login.php" cp /etc/IlohaMail/login.inc /etc/IlohaMail/login.php fi