From owner-freebsd-ports Sun Mar 10 8:20:19 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BFD7F37B41E for ; Sun, 10 Mar 2002 08:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2AGK1Y03883; Sun, 10 Mar 2002 08:20:01 -0800 (PST) (envelope-from gnats) Received: from cicero2.cybercity.dk (cicero2.cybercity.dk [212.242.40.53]) by hub.freebsd.org (Postfix) with ESMTP id 843AC37B404 for ; Sun, 10 Mar 2002 08:18:51 -0800 (PST) Received: from marvin.thegler.dk (port156.ds1-bav.adsl.cybercity.dk [217.157.188.161]) by cicero2.cybercity.dk (Postfix) with ESMTP id 2C083100174 for ; Sun, 10 Mar 2002 17:18:50 +0100 (CET) Received: by marvin.thegler.dk (Postfix, from userid 1001) id E65CD7B50; Sun, 10 Mar 2002 17:18:50 +0100 (CET) Message-Id: <20020310161850.E65CD7B50@marvin.thegler.dk> Date: Sun, 10 Mar 2002 17:18:50 +0100 (CET) From: Lars Thegler Reply-To: Lars Thegler To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35741: New port: www/p5-CGI-SpeedyCGI - Speed up perl CGI scripts Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35741 >Category: ports >Synopsis: New port: www/p5-CGI-SpeedyCGI - Speed up perl CGI scripts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 10 08:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Lars Thegler >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: >Environment: System: FreeBSD marvin.thegler.dk 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Sun Dec 30 17:02:45 CET 2001 root@marvin.thegler.dk:/usr/obj/usr/src/sys/GENERIC i386 >Description: SpeedyCGI is a way to run CGI perl scripts persistently, which usually makes them run much more quickly. A script can be converted to SpeedyCGI by changing the interpreter line at the top of the script. After the script is initially run, instead of exiting, SpeedyCGI keeps the perl interpreter running. During subsequent runs, this interpreter is used to handle new requests instead of starting a new perl interpreter for each execution. WWW: http://daemoninc.com/SpeedyCGI/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-CGI-SpeedyCGI # p5-CGI-SpeedyCGI/Makefile # p5-CGI-SpeedyCGI/distinfo # p5-CGI-SpeedyCGI/pkg-plist # p5-CGI-SpeedyCGI/pkg-comment # p5-CGI-SpeedyCGI/pkg-descr # echo c - p5-CGI-SpeedyCGI mkdir -p p5-CGI-SpeedyCGI > /dev/null 2>&1 echo x - p5-CGI-SpeedyCGI/Makefile sed 's/^X//' >p5-CGI-SpeedyCGI/Makefile << 'END-of-p5-CGI-SpeedyCGI/Makefile' X# New ports collection makefile for: CGI-SpeedyCGI X# Date created: Sun Mar 10 16:44:06 CET 2002 X# Whom: Lars Thegler X# X# $FreeBSD$ X# X XPORTNAME= CGI-SpeedyCGI XPORTVERSION= 2.11 XCATEGORIES= www perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= CGI XPKGNAMEPREFIX= p5- X XMAINTAINER= lars@thegler.dk X XSITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} XPERL_CONFIGURE= yes X X.include END-of-p5-CGI-SpeedyCGI/Makefile echo x - p5-CGI-SpeedyCGI/distinfo sed 's/^X//' >p5-CGI-SpeedyCGI/distinfo << 'END-of-p5-CGI-SpeedyCGI/distinfo' XMD5 (CGI-SpeedyCGI-2.11.tar.gz) = fce7ed7417d8d4166f5e7b54bfbcac13 END-of-p5-CGI-SpeedyCGI/distinfo echo x - p5-CGI-SpeedyCGI/pkg-plist sed 's/^X//' >p5-CGI-SpeedyCGI/pkg-plist << 'END-of-p5-CGI-SpeedyCGI/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI/SpeedyCGI/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/CGI/SpeedyCGI.pm Xbin/speedy Xbin/speedy_backend X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI/SpeedyCGI X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/CGI 2>/dev/null || true END-of-p5-CGI-SpeedyCGI/pkg-plist echo x - p5-CGI-SpeedyCGI/pkg-comment sed 's/^X//' >p5-CGI-SpeedyCGI/pkg-comment << 'END-of-p5-CGI-SpeedyCGI/pkg-comment' XSpeed up perl CGI scripts by running them persistently END-of-p5-CGI-SpeedyCGI/pkg-comment echo x - p5-CGI-SpeedyCGI/pkg-descr sed 's/^X//' >p5-CGI-SpeedyCGI/pkg-descr << 'END-of-p5-CGI-SpeedyCGI/pkg-descr' XSpeedyCGI is a way to run CGI perl scripts persistently, which usually Xmakes them run much more quickly. A script can be converted to XSpeedyCGI by changing the interpreter line at the top of the Xscript. After the script is initially run, instead of exiting, XSpeedyCGI keeps the perl interpreter running. During subsequent runs, Xthis interpreter is used to handle new requests instead of starting a Xnew perl interpreter for each execution. X XWWW: http://daemoninc.com/SpeedyCGI/ X X- Lars Thegler Xlars@thegler.dk END-of-p5-CGI-SpeedyCGI/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message