summaryrefslogtreecommitdiff
path: root/www/ap-scgi
diff options
context:
space:
mode:
authormanu <manu>2009-03-03 10:13:34 +0000
committermanu <manu>2009-03-03 10:13:34 +0000
commit1d8d8560d1524ddaa98c9e96795194ca5ece332d (patch)
tree2ea7b1eb71fd77b8f86b01d6595732558e104637 /www/ap-scgi
parentceda3aac5febe14c83740a2b3b28ab27d4a7de7a (diff)
downloadpkgsrc-1d8d8560d1524ddaa98c9e96795194ca5ece332d.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/ap-scgi')
-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