diff options
author | manu <manu@pkgsrc.org> | 2009-03-03 10:13:34 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2009-03-03 10:13:34 +0000 |
commit | 2f598b667ee95d25c98df3dab7eec940c4252e56 (patch) | |
tree | 2ea7b1eb71fd77b8f86b01d6595732558e104637 | |
parent | be6555ac2e65ddc502beae1c0c9b1310ea09bfee (diff) | |
download | pkgsrc-2f598b667ee95d25c98df3dab7eec940c4252e56.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
-rw-r--r-- | www/ap-scgi/DESCR | 6 | ||||
-rw-r--r-- | www/ap-scgi/MESSAGE | 10 | ||||
-rw-r--r-- | www/ap-scgi/Makefile | 24 | ||||
-rw-r--r-- | www/ap-scgi/PLIST | 2 |
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 |