pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap-scgi The SCGI protocol is a replacement for the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/deb5ff194f8f
branches:  trunk
changeset: 555483:deb5ff194f8f
user:      manu <manu%pkgsrc.org@localhost>
date:      Tue Mar 03 10:13:34 2009 +0000

description:
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:

 www/ap-scgi/DESCR    |   6 ++++++
 www/ap-scgi/MESSAGE  |  10 ++++++++++
 www/ap-scgi/Makefile |  24 ++++++++++++++++++++++++
 www/ap-scgi/PLIST    |   2 ++
 4 files changed, 42 insertions(+), 0 deletions(-)

diffs (58 lines):

diff -r 7bb45dc145e5 -r deb5ff194f8f www/ap-scgi/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-scgi/DESCR Tue Mar 03 10:13:34 2009 +0000
@@ -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 -r 7bb45dc145e5 -r deb5ff194f8f www/ap-scgi/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-scgi/MESSAGE       Tue Mar 03 10:13:34 2009 +0000
@@ -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 -r 7bb45dc145e5 -r deb5ff194f8f www/ap-scgi/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-scgi/Makefile      Tue Mar 03 10:13:34 2009 +0000
@@ -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 -r 7bb45dc145e5 -r deb5ff194f8f www/ap-scgi/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-scgi/PLIST Tue Mar 03 10:13:34 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index