diff --git a/www/mod_fastcgi/lp381384.patch b/www/mod_fastcgi/lp381384.patch new file mode 100644 index 000000000..414a1ef0a --- /dev/null +++ b/www/mod_fastcgi/lp381384.patch @@ -0,0 +1,50 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../mod_fastcgi/lp381384.patch +# Copyright (C) 2012 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +References: +http://thread.gmane.org/gmane.comp.web.fastcgi.devel/2613 +http://article.gmane.org/gmane.comp.web.fastcgi.devel/1167 +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509116 +https://bugs.launchpad.net/ubuntu/+source/libapache-mod-fastcgi/+bug/381384 + +Patch extracted from the SNAP-0811090952 snapshot tarball. +2009-05-28 Martin von Gagern + +diff -ru mod_fastcgi-2.4.6/CHANGES mod_fastcgi-2.4.6-lp381384/CHANGES +--- mod_fastcgi-2.4.6/CHANGES 2007-11-13 13:26:35.000000000 +0100 ++++ mod_fastcgi-2.4.6-lp381384/CHANGES 2009-05-28 21:02:31.000000000 +0200 +@@ -1,3 +1,6 @@ ++ *) Don't let the Content-Length header propagate on errors or across ++ redirects. [Artur Zaprzala ] ++ + 2.4.6 + + *) Fix a bug I introduced in 2.4.4 that broke dynamic application +diff -ru mod_fastcgi-2.4.6/mod_fastcgi.c mod_fastcgi-2.4.6-lp381384/mod_fastcgi.c +--- mod_fastcgi-2.4.6/mod_fastcgi.c 2007-11-13 00:00:10.000000000 +0100 ++++ mod_fastcgi-2.4.6-lp381384/mod_fastcgi.c 2009-05-28 21:02:31.000000000 +0200 +@@ -753,6 +753,11 @@ + ap_table_set(r->headers_out, "Location", value); + continue; + } ++ ++ if (strcasecmp(name, "Content-Length") == 0) { ++ ap_table_set(r->headers_out, name, value); ++ continue; ++ } + + /* If the script wants them merged, it can do it */ + ap_table_add(r->err_headers_out, name, value); diff --git a/www/mod_fastcgi/mod_fastcgi.cache b/www/mod_fastcgi/mod_fastcgi.cache new file mode 100644 index 000000000..e971d179e --- /dev/null +++ b/www/mod_fastcgi/mod_fastcgi.cache @@ -0,0 +1,26 @@ + +[TIMESTAMP] 1327601719 Thu Jan 26 19:15:19 2012 +[BUILDTIME] 0 (5) +[SIZE] 0.09 MB, 7 files + +[DEP] apache +[DEP] apr +[DEP] apr-util +[DEP] bash +[DEP] binutils +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gawk +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] linux-header +[DEP] make +[DEP] runit +[DEP] sed +[DEP] sysfiles +[DEP] tar +[DEP] util-linux diff --git a/www/mod_fastcgi/mod_fastcgi.conf b/www/mod_fastcgi/mod_fastcgi.conf new file mode 100644 index 000000000..6935aa8da --- /dev/null +++ b/www/mod_fastcgi/mod_fastcgi.conf @@ -0,0 +1,18 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../mod_fastcgi/mod_fastcgi.conf +# Copyright (C) 2012 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +hook_add premake 5 'cp -a Makefile.AP2 Makefile' +pkgprefix -t apache +var_append makeopt ' ' 'top_dir=$root$localstatedir/lib' +var_append makeinstopt ' ' 'top_dir=$root$localstatedir/lib' diff --git a/www/mod_fastcgi/mod_fastcgi.desc b/www/mod_fastcgi/mod_fastcgi.desc new file mode 100644 index 000000000..6ee6d13c1 --- /dev/null +++ b/www/mod_fastcgi/mod_fastcgi.desc @@ -0,0 +1,32 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../mod_fastcgi/mod_fastcgi.desc +[COPY] Copyright (C) 2012 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A FastCGI module for Apache + +[T] A third party module for enabling FastCGI in Apache. + +[U] http://www.fastcgi.com + +[A] Open Market, Inc +[M] Nagy Karoly Gabriel + +[C] extra/server + +[L] BSD +[S] Stable +[V] 2.4.6 +[P] X -----5---9 800.000 + +[D] 433736536 mod_fastcgi-2.4.6.tar.gz http://fastcgi.com/dist/ +