Hi.

I'm proposing the following attached patch to be applied to the
package's sources for allowing use of libapache2-mod-fcgid.

I've not in much detail that this fastcgi module supports wwsympa's
execution as well as mod_fastcgi, but that's working for the very basic
use of wwsympa I've tried.

Hope this helps.

Best regards,
-- 
Olivier BERGER <[EMAIL PROTECTED]> (ATTENTION : new address)
Ingénieur Recherche - Dept INF
GET/INT at Evry (http://www.int-edu.eu/)
OpenPGP-Id: 1024D/6B829EEC

diff -Naur sympa-5.2.3-2.1OBE.orig/debian/changelog sympa-5.2.3/debian/changelog
--- sympa-5.2.3-2.1OBE.orig/debian/changelog	2007-04-25 17:13:20.000000000 +0200
+++ sympa-5.2.3/debian/changelog	2007-04-25 17:22:35.000000000 +0200
@@ -1,3 +1,9 @@
+sympa (5.2.3-2.1) unstable; urgency=low
+
+  * my NMU : fix #420905
+
+ -- Olivier Berger <[EMAIL PROTECTED]>  Wed, 25 Apr 2007 15:51:27 +0200
+
 sympa (5.2.3-2) unstable; urgency=medium
 
   * fixed incorrect typography in debconf templates (Closes: #413623,
diff -Naur sympa-5.2.3-2.1OBE.orig/debian/postinst sympa-5.2.3/debian/postinst
--- sympa-5.2.3-2.1OBE.orig/debian/postinst	2007-04-25 17:12:41.000000000 +0200
+++ sympa-5.2.3/debian/postinst	2007-04-25 17:20:31.000000000 +0200
@@ -412,14 +412,24 @@
 	fastcgi="$RET"
 	
 	if [ $fastcgi = "true" ]; then
+	    fastcgi="false"
 		if [ $webserver = "apache2" ]; then
-			if [ ! -f /etc/apache2/mods-enabled/fastcgi.load ]; then
-				echo "FastCGI module not enabled, skipping."
+			if [ -f /etc/apache2/mods-enabled/fastcgi.load ]; then
+				echo "FastCGI module mod_fastcgi enabled."
+				fastcgi="true"
+			elif [ -f /etc/apache2/mods-enabled/fcgid.load ]; then
+				echo "FastCGI module mod_fcgid enabled."
+				fastcgi="true"
+			else
+				echo "No FastCGI module could be found, skipping."
 				fastcgi="false"
 			fi
 		elif [ $webserver != "none" ]; then
-			if [ ! -f /usr/lib/apache/1.3/mod_fastcgi.so ]; then
-				echo "FastCGI module not enabled, skipping."
+			if [ -f /usr/lib/apache/1.3/mod_fastcgi.so ]; then
+				echo "FastCGI module mod_fastcgi enabled."
+				fastcgi="true"
+			else
+				echo "No FastCGI module could be found, skipping."
 				fastcgi="false"
 			fi
 		fi
diff -Naur sympa-5.2.3-2.1OBE.orig/debian/templates sympa-5.2.3/debian/templates
--- sympa-5.2.3-2.1OBE.orig/debian/templates	2007-04-25 17:12:41.000000000 +0200
+++ sympa-5.2.3/debian/templates	2007-04-25 17:20:54.000000000 +0200
@@ -221,7 +221,7 @@
 Default: false
 _Description: Do you want WWSympa to run with FastCGI?
  FastCGI is an Apache module that makes WWSympa run much faster. This
- option will be activated only if the `libapache-mod-fastcgi' package is
+ option will be activated only if a package providing FastCGI is
  installed on your system. Please first make sure you installed this
  package. FastCGI is required for using the Sympa SOAP server.
 

Reply via email to