summaryrefslogtreecommitdiff
path: root/www/ap2-fastcgi
diff options
context:
space:
mode:
authorcube <cube>2004-10-28 21:04:16 +0000
committercube <cube>2004-10-28 21:04:16 +0000
commitb909111572cb7318a47bc39148b0305bedff4007 (patch)
treec2266415315aebf518c2919e9fb918024fd91456 /www/ap2-fastcgi
parenta53d400e9289a1bf8f99077f6daf0d630379b940 (diff)
downloadpkgsrc-b909111572cb7318a47bc39148b0305bedff4007.tar.gz
Initial import of ap2-fastcgi, version 2.4.2 into the NetBSD Packages
Collection. FastCGI provides a high-performance alternative to CGI for writing Web server applications in a variety of languages, including Perl, C, C++, Java, and Python. FastCGI gets its speed by having keeping application processes running between requests. So, unlike CGI, you do not have the overhead of starting up a new process and doing application initialization (e.g. connecting to a database) each time somebody requests a document. This package works with Apache version 2 series. In order to use FastCGI with the version 1.3 series, use www/ap-fastcgi instead.
Diffstat (limited to 'www/ap2-fastcgi')
-rw-r--r--www/ap2-fastcgi/DESCR9
-rw-r--r--www/ap2-fastcgi/Makefile18
2 files changed, 27 insertions, 0 deletions
diff --git a/www/ap2-fastcgi/DESCR b/www/ap2-fastcgi/DESCR
new file mode 100644
index 00000000000..fd3d6e4652e
--- /dev/null
+++ b/www/ap2-fastcgi/DESCR
@@ -0,0 +1,9 @@
+FastCGI provides a high-performance alternative to CGI for writing Web
+server applications in a variety of languages, including Perl, C, C++,
+Java, and Python. FastCGI gets its speed by having keeping application
+processes running between requests. So, unlike CGI, you do not have the
+overhead of starting up a new process and doing application initialization
+(e.g. connecting to a database) each time somebody requests a document.
+
+This package works with Apache version 2 series. In order to use FastCGI
+with the version 1.3 series, use www/ap-fastcgi instead.
diff --git a/www/ap2-fastcgi/Makefile b/www/ap2-fastcgi/Makefile
new file mode 100644
index 00000000000..4fee9bd68c9
--- /dev/null
+++ b/www/ap2-fastcgi/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/28 21:04:16 cube Exp $
+
+.include "../../www/ap-fastcgi/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/mod_/ap2-/}
+PKG_APACHE_ACCEPTED= apache2
+APACHE_MANUAL= manual
+
+SUBST_CLASSES+= ap2
+SUBST_STAGE.ap2= pre-build
+SUBST_FILES.ap2= ${WRKSRC}/Makefile
+SUBST_SED.ap2= -e s,/usr/local/apache2,${PREFIX}/share/httpd,
+
+post-patch:
+ ${CP} ${WRKSRC}/Makefile.AP2 ${WRKSRC}/Makefile
+
+.include "../../mk/apache.mk"
+.include "../../mk/bsd.pkg.mk"