Package: sympa
Version: 5.2.3-0.7
Severity: normal
Tags: experimental patch
This bug apply also on 5.2.3-0.2
--- debian/postinst.old 2006-12-19 16:09:12.000000000 +0100
+++ debian/postinst 2006-12-19 16:18:33.000000000 +0100
@@ -28,7 +28,12 @@
# Install sympa.conf
if [ -f /etc/sympa/sympa.conf ]; then
# Replace obsolete msgcat setting in configuration file
- perl -i -pe 's%^msgcat(.*)%localedir /usr/lib/sympa/locale%'
/etc/sympa/sympa.conf
+ perl -i -pe 's[:blank:]*msgcat(.*)%localedir /usr/lib/sympa/locale%'
/etc/sympa/sympa.conf
+fi
+
+if [ -f /etc/sympa/sympa.conf ]; then
+ # Remove obsolete queueexpire setting in configuration file
+ perl -i -pe 's%^([:blank:]*queueexpire.*)%# $1%' /etc/sympa/sympa.conf
fi
if [ ! -f /etc/sympa/sympa.conf ]; then
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (100, 'testing'), (10, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages sympa depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf 1.4.30.13 Debian configuration management sy
ii libarchive-zip-perl 1.14-1 Module for manipulation of ZIP arc
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libcgi-fast-perl 5.8.4-8sarge5 CGI::Fast Perl module
ii libcrypt-ciphersaber- 0.61-4 Perl module implementing CipherSab
ii libdbd-mysql-perl 2.9006-1 A Perl5 database interface to the
ii libdbi-perl 1.46-6 Perl5 database interface by Tim Bu
ii libfcgi-perl 0.67-1 FastCGI Perl module
ii libintl-perl 1.11-1 Uniforum message translations syst
ii libio-stringy-perl 2.110-1 Perl5 modules for IO from scalars
ii libmailtools-perl 1.62-1 Manipulate email in perl programs
ii libmd5-perl 2.03-1 backwards-compatible wrapper for D
ii libmime-perl 5.417-1 Perl5 modules for MIME-compliant m
ii libmsgcat-perl 1.03-3 Locale::Msgcat perl module
ii libnet-ldap-perl 0.3202-3 A Client interface to LDAP servers
ii libregexp-common-perl 2.120-1 Provide commonly requested regular
ii libtemplate-perl 2.14-1 template processing system written
ii libxml-libxml-perl 1.58-0.3 Perl module for using the GNOME li
ii mhonarc 2.6.10-1 Mail to HTML converter
ii perl [libmime-base64- 5.8.4-8sarge5 Larry Wall's Practical Extraction
ii perl-suid 5.8.4-8sarge5 Runs setuid Perl scripts
ii postfix [mail-transpo 2.1.5-9 A high-performance mail transport
ii sysklogd [system-log- 1.4.1-17 System Logging Daemon
-- debconf information:
* sympa/listmaster: [EMAIL PROTECTED]
* wwsympa/wwsympa_url: http://listes.u-picardie.fr/wws
* wwsympa/webserver_restart: true
* sympa/db_options:
* sympa/db_configured: true
* sympa/db_user: sympa
* sympa/welcome:
* sympa/db_askifpassneeded: true
* wwsympa/webserver_type: Apache
* sympa/soap_url: http://listes.u-picardie.fr/sympasoap
sympa/wwsympa_configured: true
* wwsympa/cookie_domain: .u-picardie.fr
* sympa/language: French
* sympa/db_removeonpurge: false
* sympa/remove_spool: false
* sympa/hostname: listes.u-picardie.fr
* wwsympa/title: Service de listes de diffusions de l'UPJV
* sympa/db_hostname: localhost
* wwsympa/cookie_expire: 30
* sympa/use_db: true
* sympa/use_soap: true
* wwsympa/fastcgi: true
sympa/db_authtype: Ident-based
sympa/db_port:
* sympa/db_name: sympa
* wwsympa/webserver_modifconf: false
* sympa/db_type: MySQL
sympa/soap_configured: true
* wwsympa/remove_spool: false
* sympa/use_wwsympa: true
* sympa/smime_support: true
--- debian/postinst.old 2006-12-19 16:09:12.000000000 +0100
+++ debian/postinst 2006-12-19 16:18:33.000000000 +0100
@@ -28,7 +28,12 @@
# Install sympa.conf
if [ -f /etc/sympa/sympa.conf ]; then
# Replace obsolete msgcat setting in configuration file
- perl -i -pe 's%^msgcat(.*)%localedir /usr/lib/sympa/locale%'
/etc/sympa/sympa.conf
+ perl -i -pe 's[:blank:]*msgcat(.*)%localedir /usr/lib/sympa/locale%'
/etc/sympa/sympa.conf
+fi
+
+if [ -f /etc/sympa/sympa.conf ]; then
+ # Remove obsolete queueexpire setting in configuration file
+ perl -i -pe 's%^([:blank:]*queueexpire.*)%# $1%' /etc/sympa/sympa.conf
fi
if [ ! -f /etc/sympa/sympa.conf ]; then