Package: sympa
Followup-For: Bug #411983
Here's a patch I'm proposing on the package, to help configure the
settings in the case the SOAP interface needs to be used.
Note I've also added small corrections in the template translation to
french and small other bits.
I've also changed some of the suggests dependancies in the control file
to help configure in the case apache2 is used for modcgi.
Hope this helps.
Best regards,
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages sympa depends on:
ii adduser 3.102 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii exim4-daemon-light [mail-tr 4.63-17 lightweight exim MTA (v4) daemon
ii libarchive-zip-perl 1.16-1 Module for manipulation of ZIP arc
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcgi-fast-perl 5.8.8-7 CGI::Fast Perl module
ii libcrypt-ciphersaber-perl 0.61-4 Perl module implementing CipherSab
ii libdbd-mysql-perl 3.0008-1 A Perl5 database interface to the
ii libdbi-perl 1.53-1 Perl5 database interface by Tim Bu
ii libfcgi-perl 0.67-2 FastCGI Perl module
ii libintl-perl 1.16-1 Uniforum message translations syst
ii libio-stringy-perl 2.110-2 Perl5 modules for IO from scalars
ii libmailtools-perl 1.74-1 Manipulate email in perl programs
ii libmd5-perl 2.03-1 backwards-compatible wrapper for D
ii libmime-perl 5.420-0.1 Perl5 modules for MIME-compliant m
ii libmsgcat-perl 1.03-3 Locale::Msgcat perl module
ii libnet-ldap-perl 1:0.33-2 A Client interface to LDAP servers
ii libtemplate-perl 2.14-1 template processing system written
ii libxml-libxml-perl 1.59-2 Perl module for using the GNOME li
ii mhonarc 2.6.16-1 Mail to HTML converter
ii perl [libmime-base64-perl] 5.8.8-7 Larry Wall's Practical Extraction
ii perl-suid 5.8.8-7 Runs setuid Perl scripts
ii sysklogd [system-log-daemon 1.4.1-18 System Logging Daemon
Versions of packages sympa recommends:
ii doc-base 0.7.21 utilities to manage online documen
ii logrotate 3.7.1-3 Log rotation utility
-- debconf information excluded
diff -irbwu sympa-orig/sympa-5.2.3/debian/changelog
sympa/sympa-5.2.3/debian/changelog
--- sympa-orig/sympa-5.2.3/debian/changelog 2007-04-03 22:32:37.000000000
+0200
+++ sympa/sympa-5.2.3/debian/changelog 2007-04-03 16:13:50.000000000 +0200
@@ -1,3 +1,9 @@
+sympa (5.2.3-1.3) unstable; urgency=low
+
+ * NMU
+
+ -- Olivier Berger <[EMAIL PROTECTED]> Tue, 3 Apr 2007 16:13:29 +0200
+
sympa (5.2.3-1.2) unstable; urgency=low
* Non-maintainer upload to re-fix l10n issues
diff -irbwu sympa-orig/sympa-5.2.3/debian/config sympa/sympa-5.2.3/debian/config
--- sympa-orig/sympa-5.2.3/debian/config 2007-04-03 22:32:37.000000000
+0200
+++ sympa/sympa-5.2.3/debian/config 2007-04-03 22:26:56.000000000 +0200
@@ -1,5 +1,7 @@
#!/bin/sh -e
+#set -x
+
# Debconf configuration script for Sympa.
# by Jerome Marant <[EMAIL PROTECTED]>
@@ -266,6 +268,9 @@
while [ "$pass_ok" != "true" ]; do
# Ask for password
+ db_get sympa/db_user
+ db_subst sympa/db_passwd user "$RET"
+
db_input critical sympa/db_passwd || [ $? -eq 30 ]
db_go
@@ -365,8 +370,10 @@
db_get sympa/use_soap
use_soap="$RET"
- if [ use_soap="true" ]; then
+ if [ "$use_soap" = "true" ]; then
+
soap_url="http://${host}/sympasoap"
+
if [ -f /etc/sympa/sympa.conf ]; then
# Get the soap url from sympa.conf
orig_soap_url=`perl -nle 'if (/^\s*soap_url\s+(\d)$/)
{print $1;}' /etc/sympa/sympa.conf`
@@ -376,13 +383,13 @@
else
soap_url="$orig_soap_url";
fi
+ fi
db_set sympa/soap_url "$soap_url"
db_input medium sympa/soap_url || [ $? -eq 30 ]
db_go
fi
- fi
db_input high wwsympa/webserver_restart || [ $? -eq 30 ]
db_go
diff -irbwu sympa-orig/sympa-5.2.3/debian/control
sympa/sympa-5.2.3/debian/control
--- sympa-orig/sympa-5.2.3/debian/control 2007-04-03 22:32:37.000000000
+0200
+++ sympa/sympa-5.2.3/debian/control 2007-04-03 21:54:34.000000000 +0200
@@ -12,7 +12,7 @@
Provides: wwsympa
Conflicts: wwsympa
Recommends: logrotate, doc-base
-Suggests: mysql-server | postgresql, apache | apache-ssl | httpd, openssl (>=
0.9.5a), libapache-mod-fastcgi
+Suggests: mysql-server | postgresql, apache | apache-ssl | httpd, openssl (>=
0.9.5a), libapache-mod-fastcgi | libapache2-mod-fastcgi, libsoap-lite-perl
Description: Modern mailing list manager
Sympa is a scalable and highly customizable modern mailing list manager
which can cope with big lists (200,000 subscribers).
Seulement dans sympa/sympa-5.2.3/debian/: files
diff -irbwu sympa-orig/sympa-5.2.3/debian/po/fr.po
sympa/sympa-5.2.3/debian/po/fr.po
--- sympa-orig/sympa-5.2.3/debian/po/fr.po 2007-04-03 22:32:37.000000000
+0200
+++ sympa/sympa-5.2.3/debian/po/fr.po 2007-04-03 19:00:37.000000000 +0200
@@ -11,7 +11,7 @@
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-01-20 18:08+0100\n"
-"PO-Revision-Date: 2007-01-20 18:08+0100\n"
+"PO-Revision-Date: 2007-04-03 19:00+0200\n"
"Last-Translator: Christian Perrier <[EMAIL PROTECTED]>\n"
"Language-Team: French <[email protected]>\n"
"MIME-Version: 1.0\n"
@@ -663,8 +663,7 @@
msgid ""
"Once installed, you will be able to access the SOAP server at the following "
"address."
-msgstr ""
-"Une fois installé, vous pouvez accéder à WWSympa à l'adresse suivante :"
+msgstr "Une fois installé, vous pouvez accéder au serveur SOAP à l'adresse
suivante :"
#. Type: boolean
#. Description
diff -irbwu sympa-orig/sympa-5.2.3/debian/postinst
sympa/sympa-5.2.3/debian/postinst
--- sympa-orig/sympa-5.2.3/debian/postinst 2007-04-03 22:32:37.000000000
+0200
+++ sympa/sympa-5.2.3/debian/postinst 2007-04-03 22:27:00.000000000 +0200
@@ -1,5 +1,7 @@
#!/bin/sh -e
+#set -x
+
# creating sympa user if he isn't already there
if ! id sympa >/dev/null 2>/dev/null ; then
echo Adding system user: sympa.
@@ -457,6 +459,11 @@
db_get sympa/soap_url
soap_url="$RET"
+ if ! grep -q soap_url /etc/sympa/sympa.conf
+ then
+ echo >> /etc/sympa/sympa.conf
+ echo "soap_url http://mykerinos/sympasoap" >> /etc/sympa/sympa.conf
+ fi
perl -i -pe "s%^(soap_url\s+).*%soap_url ${soap_url}%"
/etc/sympa/sympa.conf
# Tell Debconf SOAP has been configured