From 46e0c638d3e34d87d0d4747bbdadff8afc6ab82e Mon Sep 17 00:00:00 2001 From: adrianp Date: Tue, 22 Jun 2004 21:34:50 +0000 Subject: Import SpeedyCGI v2.22 from pkgsrc-wip Ok'ed wiz@/snj@ SpeedyCGI is a way to run perl scripts persistently, which can make them run much more quickly. A script can be made to to run persistently by changing the interpreter line at the top of the script from: #!${LOCALBASE}/bin/perl to #!${LOCALBASE}/bin/speedy After the script is initially run, instead of exiting, the perl interpreter is kept running. During subsequent runs, this interpreter is used to handle new executions instead of starting a new perl interpreter each time. A very fast frontend program, written in C, is executed for each request. This fast frontend then contacts the persistent Perl process, which is usually already running, to do the work and return the results. --- www/SpeedyCGI/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 www/SpeedyCGI/Makefile (limited to 'www/SpeedyCGI/Makefile') diff --git a/www/SpeedyCGI/Makefile b/www/SpeedyCGI/Makefile new file mode 100644 index 00000000000..f29cdc4cd73 --- /dev/null +++ b/www/SpeedyCGI/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/22 21:34:50 adrianp Exp $ + +DISTNAME= CGI-SpeedyCGI-2.22 +PKGNAME= SpeedyCGI-2.22 +CATEGORIES= www +MASTER_SITES= http://daemoninc.com/SpeedyCGI/ + +MAINTAINER= adrianp@stindustries.net +HOMEPAGE= http://daemoninc.com/speedycgi/ +COMMENT= Speed up perl scripts by running them persistently + +USE_PERL5= YES + +USE_BUILDLINK3= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/SpeedyCGI/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3