package libapache2-mod-fcgid
tags 391757 + patch
tags 393020 + patch
thanks

I've patched the libapache2-mod-fcgid source package to compile correctly
against Apache 2.2 - it seems to be necessary to include the APR 1.0 include
directory in the CFLAGS, and stop overriding Apache's idea of the correct
libtool to use. The interdiff follows.

The patched source compiles OK in an up-to-date sid schroot/sbuild instance,
and the resulting binary package appears to run Python FastCGI scripts
correctly on an up-to-date sid system.

Regards,
        Simon

diff -u libapache2-mod-fcgid-1.10/debian/control 
libapache2-mod-fcgid-1.10/debian/control
--- libapache2-mod-fcgid-1.10/debian/control
+++ libapache2-mod-fcgid-1.10/debian/control
@@ -2,13 +2,13 @@
 Section: web
 Priority: optional
 Maintainer: Tatsuki Sugiura <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), apache2-threaded-dev, libtool, cdbs
+Build-Depends: debhelper (>= 4.0.0), apache2-threaded-dev (>= 2.2.3-2), 
libtool, cdbs, libapr1-dev, pkg-config
 Standards-Version: 3.7.2
 Uploaders: Taku YASUI <[EMAIL PROTECTED]>
 
 Package: libapache2-mod-fcgid
 Architecture: any
-Depends: apache2-common
+Depends: apache2.2-common
 Description: an alternative module compat with mod_fastcgi
  It is a binary compatibility alternative to Apache module mod_fastcgi.
  mod_fcgid has a new process management strategy, which concentrates on
diff -u libapache2-mod-fcgid-1.10/debian/rules 
libapache2-mod-fcgid-1.10/debian/rules
--- libapache2-mod-fcgid-1.10/debian/rules
+++ libapache2-mod-fcgid-1.10/debian/rules
@@ -5,8 +5,7 @@
 
 MAKE_DEFS = top_dir=/usr/share/apache2 \
            APXS=apxs2 APACHECTL=apachectl2 \
-           LIBTOOL=libtool SH_LIBTOOL=libtool \
-           INCLUDES="-I$(CURDIR) -I/usr/include/apache2 -I /usr/include/apr-0"
+           INCLUDES="-I$(CURDIR) -I/usr/include/apache2 `pkg-config --cflags 
apr-1`"
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/makefile.mk
diff -u libapache2-mod-fcgid-1.10/debian/changelog 
libapache2-mod-fcgid-1.10/debian/changelog
--- libapache2-mod-fcgid-1.10/debian/changelog
+++ libapache2-mod-fcgid-1.10/debian/changelog
@@ -1,3 +1,10 @@
+libapache2-mod-fcgid (1.10-1.1~smcv0) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Compile against Apache 2.2 and APR 1.0 (Closes: #391757, #393020).
+
+ -- Simon McVittie <[EMAIL PROTECTED]>  Sun, 15 Oct 2006 15:17:28 +0100
+
 libapache2-mod-fcgid (1.10-1) unstable; urgency=low
 
   * New upstream release

Attachment: signature.asc
Description: Digital signature

Reply via email to