--- libapache2-mod-fcgid-2.3.7.orig/debian/copyright +++ libapache2-mod-fcgid-2.3.7/debian/copyright @@ -0,0 +1,9 @@ +This package was debianized by Tatsuki Sugiura on +Wed, 21 Jul 2004 06:38:33 +0900. + +It was downloaded from http://httpd.apache.org/download.cgi#mod_fcgid + +Upstream Author: Pan qingfeng + +Copyright: Copyright 2009 The Apache Software Foundation under Apache License 2.0, +details for /usr/share/common-licenses/Apache-2.0 --- libapache2-mod-fcgid-2.3.7.orig/debian/README.Debian +++ libapache2-mod-fcgid-2.3.7/debian/README.Debian @@ -0,0 +1,10 @@ +libapache2-mod-fcgid for Debian +------------------------------ + + On Debian System, just put a file has .fcgi suffix in directory with ExecCGI, + and you can run the scripts as FastCGI. + + If you need more information, visit website of upstream author; + http://fastcgi.coremail.cn/ + + -- Tatsuki Sugiura , Wed, 21 Jul 2004 06:38:33 +0900 --- libapache2-mod-fcgid-2.3.7.orig/debian/compat +++ libapache2-mod-fcgid-2.3.7/debian/compat @@ -0,0 +1 @@ +5 --- libapache2-mod-fcgid-2.3.7.orig/debian/fcgid.conf +++ libapache2-mod-fcgid-2.3.7/debian/fcgid.conf @@ -0,0 +1,4 @@ + + AddHandler fcgid-script .fcgi + FcgidConnectTimeout 20 + --- libapache2-mod-fcgid-2.3.7.orig/debian/fcgid.load +++ libapache2-mod-fcgid-2.3.7/debian/fcgid.load @@ -0,0 +1 @@ +LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so --- libapache2-mod-fcgid-2.3.7.orig/debian/changelog +++ libapache2-mod-fcgid-2.3.7/debian/changelog @@ -0,0 +1,201 @@ +libapache2-mod-fcgid (1:2.3.7-0ubuntu1) quantal; urgency=low + + * New upstream release. (LP: #1038877) + * Drop 20_honor_FcgidMaxProcessesPerClass_setting.dpatch, applied upstream. + * Pass build flags to the upstream build system. + + -- Felix Geyer Mon, 20 Aug 2012 13:41:21 +0200 + +libapache2-mod-fcgid (1:2.3.6-1.1) unstable; urgency=low + + * Non-maintainer upload. + * import r1037727 from upstream to fix vhost-specific process controls + (Closes: #615814) + + -- Daniel Kahn Gillmor Wed, 07 Mar 2012 17:00:08 -0500 + +libapache2-mod-fcgid (1:2.3.6-1) unstable; urgency=low + + * New upstream release (Closes: #595276) + + -- Tatsuki Sugiura Thu, 11 Nov 2010 02:48:54 +0900 + +libapache2-mod-fcgid (1:2.3.5-2) unstable; urgency=low + + * Fix build problem with new ash (Closes: #583025) + Thanks Hideki Yamane and Igor Galić. + + -- Tatsuki Sugiura Mon, 08 Feb 2010 09:58:38 +0900 + +libapache2-mod-fcgid (1:2.3.5-1) unstable; urgency=medium + + * New upstream release + * Change default shared memory path to /var/lib/apache2/fcgid/shm. + * Update watch file. + + -- Tatsuki Sugiura Mon, 01 Feb 2010 05:29:36 +0900 + +libapache2-mod-fcgid (1:2.3.4-2) unstable; urgency=medium + + * Fix segfault with empty outout from fcgi process (Closes: #468559) + * Add -dbg package + * Update package description from official site. + + -- Tatsuki Sugiura Thu, 28 Jan 2010 04:59:12 +0900 + +libapache2-mod-fcgid (1:2.3.4-1) unstable; urgency=low + + * New upstream release (Closes: #561913, #531851) + + -- Tatsuki Sugiura Sat, 23 Jan 2010 12:20:20 +0900 + +libapache2-mod-fcgid (1:2.2-1) unstable; urgency=medium + + * New upstream release (Closes: #446585) + * fixed debian/watch to new version (Closes: #446586) + + -- Tatsuki Sugiura Sun, 14 Oct 2007 17:37:02 +0900 + +libapache2-mod-fcgid (1:2.1-3) unstable; urgency=low + + * Built-in default settings was changed to compat with Debian policy. + Now, you don't need to specify SocketPath and SharememPath in config. + (Closes: #431215) + + -- Tatsuki Sugiura Sun, 01 Jul 2007 05:00:25 +0900 + +libapache2-mod-fcgid (1:2.1-2) unstable; urgency=medium + + * Add proper dependency by shlibs:Depends (Closes: #427046, #427120) + + -- Tatsuki Sugiura Sat, 02 Jun 2007 18:01:15 +0900 + +libapache2-mod-fcgid (1:2.1-1) unstable; urgency=low + + * New upstream release (Closes: #420910) + * Add SharememPath to default config. Thanks to Philipp Wollermann. + + -- Tatsuki Sugiura Mon, 14 May 2007 02:53:56 +0900 + +libapache2-mod-fcgid (1:1.10-2) unstable; urgency=high + + * rewind upstream version temporary for etch release. (Related: #401938) + + -- Tatsuki Sugiura Wed, 31 Jan 2007 18:25:18 +0900 + +libapache2-mod-fcgid (2.0-1) unstable; urgency=high + + * New upstream release + * Apply NMU Update (Closes: #394473) + + -- Tatsuki Sugiura Wed, 1 Nov 2006 13:28:02 +0900 + +libapache2-mod-fcgid (1.10-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Update for apache 2.2 (Closes: #391757). + * Stop overriding what libtool to use (Closes: #393020). + + -- Luk Claes Sat, 21 Oct 2006 15:36:56 +0200 + +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 Sun, 15 Oct 2006 15:17:28 +0100 + +libapache2-mod-fcgid (1.10-1) unstable; urgency=low + + * New upstream release + * Update app kill patch: Rename Directive ErrorTimeout -> ShutdownTimeout + + -- Tatsuki Sugiura Wed, 5 Jul 2006 13:24:02 +0900 + +libapache2-mod-fcgid (1.09-2) UNRELEASED; urgency=low + + * NOT RELEASED YET + + -- Tatsuki Sugiura Mon, 15 May 2006 07:06:17 +0900 + +libapache2-mod-fcgid (1.09-1) unstable; urgency=low + + * New upstream release (Closes: #361975, #361579, #345752) + * Set "IPCConnectTimeout 20" in default config file (Closes: #352498) + + -- Tatsuki Sugiura Mon, 15 May 2006 06:06:03 +0900 + +libapache2-mod-fcgid (1.07-1) unstable; urgency=low + + * New upstream release (Closes: #339604) + * Unnecessary dependency has been removed. Those provied from + apache2-common. (Closes: #334011) + + -- Tatsuki Sugiura Mon, 21 Nov 2005 05:55:39 +0900 + +libapache2-mod-fcgid (1.06-2) UNRELEASED; urgency=low + + * add ErrorTimeout directive for timeout of force kill + + -- Tatsuki Sugiura Wed, 16 Nov 2005 05:47:41 +0900 + +libapache2-mod-fcgid (1.06-1) unstable; urgency=low + + * New upstream release + + -- Tatsuki Sugiura Tue, 16 Aug 2005 07:33:24 +0900 + +libapache2-mod-fcgid (1.05-1) unstable; urgency=low + + * New upstream release + + -- Tatsuki Sugiura Thu, 7 Apr 2005 16:31:07 +0900 + +libapache2-mod-fcgid (1.04-1) unstable; urgency=low + + * New upstream release + + -- Tatsuki Sugiura Sun, 19 Dec 2004 01:43:57 +0900 + +libapache2-mod-fcgid (1.03-2) unstable; urgency=low + + * supports non HTTP_OK status code + + -- Tatsuki Sugiura Thu, 11 Nov 2004 09:37:41 +0900 + +libapache2-mod-fcgid (1.03-1) unstable; urgency=low + + * New upstream release + + -- Tatsuki Sugiura Wed, 10 Nov 2004 17:24:08 +0900 + +libapache2-mod-fcgid (1.02-1) unstable; urgency=low + + * New upstream release + + -- Tatsuki Sugiura Wed, 13 Oct 2004 15:53:34 +0900 + +libapache2-mod-fcgid (1.01-1) unstable; urgency=low + + * New upstream release + + -- Tatsuki Sugiura Sat, 25 Sep 2004 02:20:16 +0900 + +libapache2-mod-fcgid (0.86-1) unstable; urgency=low + + * New upstream release + + -- Tatsuki Sugiura Wed, 25 Aug 2004 15:01:09 +0900 + +libapache2-mod-fcgid (0.80-1) unstable; urgency=low + + * New upstream release + + -- Tatsuki Sugiura Thu, 12 Aug 2004 09:59:01 +0900 + +libapache2-mod-fcgid (0.77-1) unstable; urgency=low + + * Initial Release. + + -- Tatsuki Sugiura Wed, 21 Jul 2004 06:38:33 +0900 + --- libapache2-mod-fcgid-2.3.7.orig/debian/README.source +++ libapache2-mod-fcgid-2.3.7/debian/README.source @@ -0,0 +1,38 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + + +--- + +this documentation is part of dpatch package, and may be used by +packages using dpatch to comply with policy on README.source. This +documentation is meant to be useful to users who are not proficient in +dpatch in doing work with dpatch-based packages. Please send any +improvements to the BTS of dpatch package. + +original text by Gerfried Fuchs, edited by Junichi Uekawa +10 Aug 2008. --- libapache2-mod-fcgid-2.3.7.orig/debian/dirs +++ libapache2-mod-fcgid-2.3.7/debian/dirs @@ -0,0 +1 @@ +usr/lib --- libapache2-mod-fcgid-2.3.7.orig/debian/control +++ libapache2-mod-fcgid-2.3.7/debian/control @@ -0,0 +1,39 @@ +Source: libapache2-mod-fcgid +Section: httpd +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Tatsuki Sugiura +Build-Depends: debhelper (>= 5.0.0), apache2-threaded-dev (>= 2.2.3-2), libtool, cdbs, libapr1-dev, pkg-config, dpatch +Standards-Version: 3.9.1 +Uploaders: Taku YASUI +Homepage: http://httpd.apache.org/mod_fcgid/ + +Package: libapache2-mod-fcgid +Architecture: any +Depends: ${shlibs:Depends}, apache2.2-common, ${misc:Depends} +Description: an alternative module compat with mod_fastcgi + mod_fcgid is a high performance alternative to mod_cgi or mod_cgid, + which starts a sufficient number instances of the CGI program to handle + concurrent requests, and these programs remain running to handle further + incoming requests. It is favored by the PHP developers, for example, + as a preferred alternative to running mod_php in-process, delivering + very similar performance. + . + It is a binary compatibility alternative to Apache module mod_fastcgi. + +Package: libapache2-mod-fcgid-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libapache2-mod-fcgid (= ${binary:Version}), ${misc:Depends} +Description: debugging symbols for mod_fcgid + mod_fcgid is a high performance alternative to mod_cgi or mod_cgid, + which starts a sufficient number instances of the CGI program to handle + concurrent requests, and these programs remain running to handle further + incoming requests. It is favored by the PHP developers, for example, + as a preferred alternative to running mod_php in-process, delivering + very similar performance. + . + It is a binary compatibility alternative to Apache module mod_fastcgi. + . + This package contains the debugging symbols for mod_fcgid. --- libapache2-mod-fcgid-2.3.7.orig/debian/rules +++ libapache2-mod-fcgid-2.3.7/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# -*- makefile -*- +-include /usr/share/dpkg/buildflags.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +DEB_FIXPERMS_EXCLUDE = var/lib/apache2/fcgid/sock +CUR_PKGDEST=$(CURDIR)/debian/$(cdbs_curpkg) +DEB_INSTALL_CHANGELOGS_ALL=CHANGES-FCGID +DEB_DH_STRIP_ARGS := --dbg-package=libapache2-mod-fcgid-dbg -k + +configure/libapache2-mod-fcgid:: + APXS=apxs2 ./configure.apxs + +build/libapache2-mod-fcgid:: + make CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" + +install/libapache2-mod-fcgid:: + make install DESTDIR=$(CUR_PKGDEST) + rm -r $(CUR_PKGDEST)/usr/share/apache2 $(CUR_PKGDEST)/etc + +binary-install/libapache2-mod-fcgid:: + mkdir -p $(CUR_PKGDEST)/etc/apache2/mods-available + install -m 644 debian/fcgid.load debian/fcgid.conf $(CUR_PKGDEST)/etc/apache2/mods-available + mkdir -p $(CUR_PKGDEST)/var/lib/apache2/fcgid/sock + chown -R www-data:www-data $(CUR_PKGDEST)/var/lib/apache2/fcgid + chmod -R 755 $(CUR_PKGDEST)/var/lib/apache2/fcgid --- libapache2-mod-fcgid-2.3.7.orig/debian/watch +++ libapache2-mod-fcgid-2.3.7/debian/watch @@ -0,0 +1,7 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=3 +http://httpd.apache.org/download.cgi \ +.*/dist/httpd/mod_fcgid/mod_fcgid-(.*)\.tar\.(gz|bz2) --- libapache2-mod-fcgid-2.3.7.orig/debian/libapache2-mod-fcgid.prerm +++ libapache2-mod-fcgid-2.3.7/debian/libapache2-mod-fcgid.prerm @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +case "$1" in + remove) + test -e /etc/apache2/mods-enabled/fcgid.load && a2dismod fcgid + ;; + upgrade|deconfigure|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + +#DEBHELPER# + +exit 0 --- libapache2-mod-fcgid-2.3.7.orig/debian/libapache2-mod-fcgid.postinst +++ libapache2-mod-fcgid-2.3.7/debian/libapache2-mod-fcgid.postinst @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + test ! -e /etc/apache2/mods-enabled/fastcgi.load \ + -a ! -e /etc/apache2/mods-enabled/fcgid.load && \ + a2enmod fcgid + chown www-data /var/lib/apache2/fcgid + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- libapache2-mod-fcgid-2.3.7.orig/debian/docs +++ libapache2-mod-fcgid-2.3.7/debian/docs @@ -0,0 +1,7 @@ +debian/README.source +README-FCGID +STATUS-FCGID +docs/manual/mod/mod_fcgid.xml.meta +docs/manual/mod/mod_fcgid.xml +docs/manual/mod/mod_fcgid.html +docs/manual/mod/mod_fcgid.html.en --- libapache2-mod-fcgid-2.3.7.orig/debian/patches/10_debian_default_path.dpatch +++ libapache2-mod-fcgid-2.3.7/debian/patches/10_debian_default_path.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_debian_default_sockprefix.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change default socket and shm path to compt with debian layout. + +@DPATCH@ +diff -urNad libapache2-mod-fcgid~/modules/fcgid/fcgid_conf.c libapache2-mod-fcgid/modules/fcgid/fcgid_conf.c +--- libapache2-mod-fcgid~/modules/fcgid/fcgid_conf.c 2010-02-01 05:15:22.000000000 +0900 ++++ libapache2-mod-fcgid/modules/fcgid/fcgid_conf.c 2010-02-01 05:19:23.281304519 +0900 +@@ -39,8 +39,8 @@ + #define DEFAULT_ERROR_SCAN_INTERVAL 3 + #define DEFAULT_ZOMBIE_SCAN_INTERVAL 3 + #define DEFAULT_PROC_LIFETIME (60*60) +-#define DEFAULT_SOCKET_PREFIX DEFAULT_REL_RUNTIMEDIR "/fcgidsock" +-#define DEFAULT_SHM_PATH DEFAULT_REL_RUNTIMEDIR "/fcgid_shm" ++#define DEFAULT_SOCKET_PREFIX "/var/lib/apache2/fcgid/sock" ++#define DEFAULT_SHM_PATH "/var/lib/apache2/fcgid/shm" + #define DEFAULT_SPAWNSOCRE_UPLIMIT 10 + #define DEFAULT_SPAWN_SCORE 1 + #define DEFAULT_TERMINATION_SCORE 2 --- libapache2-mod-fcgid-2.3.7.orig/debian/patches/00list +++ libapache2-mod-fcgid-2.3.7/debian/patches/00list @@ -0,0 +1 @@ +10_debian_default_path.dpatch