[libcgi-fast-perl] 04/05: add patch which was in libcgi-pm-perl
gregor herrmann
gregoa at debian.org
Mon Jun 2 16:24:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libcgi-fast-perl.
commit 173efc808771e81b7946e84fa91dc1b2c61e9df1
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jun 2 17:57:06 2014 +0200
add patch which was in libcgi-pm-perl
---
debian/patches/man-cgi-fast.patch | 35 +++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 36 insertions(+)
diff --git a/debian/patches/man-cgi-fast.patch b/debian/patches/man-cgi-fast.patch
new file mode 100644
index 0000000..b154ca2
--- /dev/null
+++ b/debian/patches/man-cgi-fast.patch
@@ -0,0 +1,35 @@
+Description: fix paths to FastCGI scripts
+Author: AGOSTINI Yves <agostini at univ-metz.fr>
+Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2013-12-10
+--- a/lib/CGI/Fast.pm
++++ b/lib/CGI/Fast.pm
+@@ -149,7 +149,7 @@
+ FastCGI scripts must end in the extension .fcgi. For each script you
+ install, you must add something like the following to srm.conf:
+
+- FastCgiServer /usr/etc/httpd/fcgi-bin/file_upload.fcgi -processes 2
++ FastCgiServer /usr/lib/cgi-bin/file_upload.fcgi -processes 2
+
+ This instructs Apache to launch two copies of file_upload.fcgi at
+ startup time.
+@@ -167,7 +167,7 @@
+ webserver to connect to an external FastCGI server, you would add the following
+ to your srm.conf:
+
+- FastCgiExternalServer /usr/etc/httpd/fcgi-bin/file_upload.fcgi -host sputnik:8888
++ FastCgiExternalServer /usr/lib/cgi-bin/file_upload.fcgi -host sputnik:8888
+
+ Two environment variables affect how the C<CGI::Fast> object is created,
+ allowing C<CGI::Fast> to be used as an external FastCGI server. (See C<FCGI>
+@@ -188,7 +188,7 @@
+
+ For example:
+
+- #!/usr/local/bin/perl # must be a FastCGI version of perl!
++ #!/usr/bin/perl
+ use CGI::Fast;
+ &do_some_initialization();
+ $ENV{FCGI_SOCKET_PATH} = "sputnik:8888";
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e27d884
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+man-cgi-fast.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcgi-fast-perl.git
More information about the Pkg-perl-cvs-commits
mailing list