Skip to Content.
Sympa Menu

sm-spell-submit - [SM-Spell-Submit]New spell: mod_fastcgi [section: http]

sm-spell-submit AT lists.ibiblio.org

Subject: Submit list for new spells

List archive

Chronological Thread  
  • From: Sergey A Lipnevich <sergeyli AT pisem.net>
  • To: jrocha AT sourcemage.org, sm-spell-submit <sm-spell-submit AT lists.ibiblio.org>
  • Subject: [SM-Spell-Submit]New spell: mod_fastcgi [section: http]
  • Date: Thu, 17 Oct 2002 18:13:45 -0400

Hi Justin,

The following diff adds a new spell, mod_fastcgi. It's geared towards Apache 2 now, but can be extended to support Apache 1.3. With your permission, I can check this in myself. Thanks!

--Sergey.

Index: BUILD
===================================================================
RCS file: BUILD
diff -N BUILD
--- /dev/null Sun Nov 11 06:49:59 2001
+++ BUILD Thu Oct 17 15:27:06 2002
@@ -0,0 +1,12 @@
+(
+
+ message "${MESSAGE_COLOR}Checking for Apache 2.x${DEFAULT_COLOR}" &&
+ httpd -v | grep -q "Apache/2\." &&
+
+ patch -p1 < $SCRIPT_DIRECTORY/Makefile.patch &&
+ mv Makefile.AP2 Makefile &&
+ make &&
+ prepare_install &&
+ make install
+
+) > $C_FIFO 2>&1
Index: DEPENDS
===================================================================
RCS file: DEPENDS
diff -N DEPENDS
--- /dev/null Sun Nov 11 06:49:59 2001
+++ DEPENDS Thu Oct 17 15:27:06 2002
@@ -0,0 +1 @@
+requires webserver
Index: DETAILS
===================================================================
RCS file: DETAILS
diff -N DETAILS
--- /dev/null Sun Nov 11 06:49:59 2001
+++ DETAILS Thu Oct 17 15:27:06 2002
@@ -0,0 +1,16 @@
+ SPELL=mod_fastcgi
+ VERSION=SNAP-0209222210
+ SOURCE=$SPELL-$VERSION.tar.gz
+ MD5[0]=11b369eb366afdeb5c8b1f91e7062fb5
+ LICENSE[0]=
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=http://www.fastcgi.com/dist/$SOURCE
+ WEB_SITE=http://www.fastcgi.com/
+ ENTERED=20021017
+ UPDATED=20021017
+ SHORT="FastCGI is a language independent, scalable, open extension to CGI"
+cat << EOF
+FastCGI is a language independent, scalable, open extension to CGI
+that provides high performance without the limitations of server
+specific APIs. See the docs for more details.
+EOF
Index: HISTORY
===================================================================
RCS file: HISTORY
diff -N HISTORY
--- /dev/null Sun Nov 11 06:49:59 2001
+++ HISTORY Thu Oct 17 15:27:06 2002
@@ -0,0 +1,3 @@
+2002-10-17 Sergey Lipnevich <sergeyli AT pisem.net>
+
+ Spell created.
Index: Makefile.patch
===================================================================
RCS file: Makefile.patch
diff -N Makefile.patch
--- /dev/null Sun Nov 11 06:49:59 2001
+++ Makefile.patch Thu Oct 17 15:27:06 2002
@@ -0,0 +1,21 @@
+diff -urN mod_fastcgi-SNAP-0209222210/Makefile.AP2 mod_fastcgi/Makefile.AP2
+--- mod_fastcgi-SNAP-0209222210/Makefile.AP2 2002-07-28 21:36:34.000000000 -0400
++++ mod_fastcgi/Makefile.AP2 2002-10-17 15:05:35.000000000 -0400
+@@ -4,7 +4,7 @@
+
+ builddir = .
+
+-top_dir = /usr/local/apache2
++top_dir = /usr/share/apache2
+
+ top_srcdir = ${top_dir}
+ top_builddir = ${top_dir}
+@@ -15,7 +15,7 @@
+ APACHECTL = apachectl
+
+ #DEFS=-Dmy_define=my_value
+-#INCLUDES=-Imy/include/dir
++INCLUDES=-I/usr/include/apache2
+ #LIBS=-Lmy/lib/dir -lmylib
+
+ all: local-shared-build
Index: POST_INSTALL
===================================================================
RCS file: POST_INSTALL
diff -N POST_INSTALL
--- /dev/null Sun Nov 11 06:49:59 2001
+++ POST_INSTALL Thu Oct 17 15:27:06 2002
@@ -0,0 +1 @@
+/etc/init.d/apache2.sh stop
Index: POST_REMOVE
===================================================================
RCS file: POST_REMOVE
diff -N POST_REMOVE
--- /dev/null Sun Nov 11 06:49:59 2001
+++ POST_REMOVE Thu Oct 17 15:27:06 2002
@@ -0,0 +1 @@
+/etc/init.d/apache2.sh restart


ðÏÌÕÞÉÔÅ ÂÅÓÐÌÁÔÎÙÊ ÐÏÞÔÏ×ÙÊ ÑÝÉË 20í ÎÁ http://www.hotbox.ru

  • [SM-Spell-Submit]New spell: mod_fastcgi [section: http], Sergey A Lipnevich, 10/17/2002

Archive powered by MHonArc 2.6.24.

Top of Page