summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2009-03-03 10:13:34 +0000
committermanu <manu@pkgsrc.org>2009-03-03 10:13:34 +0000
commite563543de96dad32088725a9220c8cec8cb66075 (patch)
tree2ea7b1eb71fd77b8f86b01d6595732558e104637 /www
parentcba6db2715240d7cd0e349a0dba341ba36ac2285 (diff)
downloadpkgsrc-e563543de96dad32088725a9220c8cec8cb66075.tar.gz
The SCGI protocol is a replacement for the Common Gateway Interface
(CGI) protocol. It is a standard for applications to interface with HTTP servers. It is similar to FastCGI but is designed to be easier to implement. This package provide SCGI for Apache
Diffstat (limited to 'www')
-rw-r--r--www/ap-scgi/DESCR6
-rw-r--r--www/ap-scgi/MESSAGE10
-rw-r--r--www/ap-scgi/Makefile24
-rw-r--r--www/ap-scgi/PLIST2
4 files changed, 42 insertions, 0 deletions
diff --git a/www/ap-scgi/DESCR b/www/ap-scgi/DESCR
new file mode 100644
index 00000000000..c9bf489ea59
--- /dev/null
+++ b/www/ap-scgi/DESCR
@@ -0,0 +1,6 @@
+The SCGI protocol is a replacement for the Common Gateway Interface
+(CGI) protocol. It is a standard for applications to interface with
+HTTP servers. It is similar to FastCGI but is designed to be easier
+to implement.
+
+This package provide SCGI for Apache
diff --git a/www/ap-scgi/MESSAGE b/www/ap-scgi/MESSAGE
new file mode 100644
index 00000000000..08a6a6ea2b1
--- /dev/null
+++ b/www/ap-scgi/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/03/03 10:13:34 manu Exp $
+
+In order to use ${PKGNAME}, you must add something like this to your Apache
+configuration:
+
+LoadModule scgi_module lib/httpd/mod_scgi.so
+SCGIMount /dynamic 127.0.0.1:4000
+
+===========================================================================
diff --git a/www/ap-scgi/Makefile b/www/ap-scgi/Makefile
new file mode 100644
index 00000000000..23dd811b343
--- /dev/null
+++ b/www/ap-scgi/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/03 10:13:34 manu Exp $
+#
+
+PKGNAME= ${APACHE_PKG_PREFIX}-scgi
+
+COMMENT= Simple Common Gateway Interface for Apache
+
+PKG_DESTDIR_SUPPORT= destdir
+
+DEPENDS+= ${PYPKGPREFIX}-scgi:../../www/py-scgi
+
+APACHE_MODULE= yes
+.include "../../mk/apache.mk"
+
+do-build:
+ cd ${WRKSRC}/apache${APACHE_PKG_PREFIX:C/^ap(2)?.*/\1/} && \
+ ${APXS} -c mod_scgi.c
+
+do-install:
+ cd ${WRKSRC}/apache${APACHE_PKG_PREFIX:C/^ap(2)?.*/\1/} && \
+ ${APXS} -i mod_scgi.la
+
+.include "../../lang/python/pyversion.mk"
+.include "../../www/py-scgi/Makefile.common"
diff --git a/www/ap-scgi/PLIST b/www/ap-scgi/PLIST
new file mode 100644
index 00000000000..c2ad826492a
--- /dev/null
+++ b/www/ap-scgi/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/03 10:13:34 manu Exp $
+lib/httpd/mod_scgi.so