From kbyanc@kronos.alcnet.com Wed Oct 27 17:20:33 1999
Return-Path: <kbyanc@kronos.alcnet.com>
Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22])
	by hub.freebsd.org (Postfix) with ESMTP id 16C0B14E2D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Oct 1999 17:20:06 -0700 (PDT)
	(envelope-from kbyanc@kronos.alcnet.com)
Received: (from kbyanc@localhost)
	by kronos.alcnet.com (8.9.3/8.9.3/antispam) id UAA01063;
	Wed, 27 Oct 1999 20:20:03 -0400 (EDT)
Message-Id: <199910280020.UAA01063@kronos.alcnet.com>
Date: Wed, 27 Oct 1999 20:20:03 -0400 (EDT)
From: kbyanc@posi.net
Sender: kbyanc@kronos.alcnet.com
Reply-To: kbyanc@posi.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: new port: www/p5-FastCGI
X-Send-Pr-Version: 3.2

>Number:         14564
>Category:       ports
>Synopsis:       New port: www/p5-FastCGI
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 27 17:30:00 PDT 1999
>Closed-Date:    Fri Nov 26 11:34:25 PST 1999
>Last-Modified:  Fri Nov 26 11:36:28 PST 1999
>Originator:     Kelly Yancey
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:
>Description:

  Here it is (one day, I'll be able to commit these myself :) )

>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-FastCGI
#	p5-FastCGI/Makefile
#	p5-FastCGI/pkg
#	p5-FastCGI/pkg/PLIST
#	p5-FastCGI/pkg/COMMENT
#	p5-FastCGI/pkg/DESCR
#	p5-FastCGI/files
#	p5-FastCGI/files/md5
#	p5-FastCGI/patches
#	p5-FastCGI/patches/patch-aa
#
echo c - p5-FastCGI
mkdir -p p5-FastCGI > /dev/null 2>&1
echo x - p5-FastCGI/Makefile
sed 's/^X//' >p5-FastCGI/Makefile << 'END-of-p5-FastCGI/Makefile'
X# New ports collection makefile for:	p5-FastCGI
X# Version required:			0.48
X# Date created:				October 27th 1999
X# Whom:	      				Kelly Yancey <kbyanc@posi.net>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	FCGI-0.48
XPKGNAME=	p5-FastCGI-0.48
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	FCGI
X
XMAINTAINER=	kbyanc@posi.net
X
XBUILD_DEPENDS=	${PREFIX}/lib/libfcgi.a:${PORTSDIR}/www/fcgi
X
XUSE_PERL5=	YES
X
XMAN3=		FCGI.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
Xdo-configure:
X		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include <bsd.port.mk>
END-of-p5-FastCGI/Makefile
echo c - p5-FastCGI/pkg
mkdir -p p5-FastCGI/pkg > /dev/null 2>&1
echo x - p5-FastCGI/pkg/PLIST
sed 's/^X//' >p5-FastCGI/pkg/PLIST << 'END-of-p5-FastCGI/pkg/PLIST'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/FCGI.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/FCGI/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/FCGI/FCGI.so
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/FCGI/FCGI.bs
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/FCGI
END-of-p5-FastCGI/pkg/PLIST
echo x - p5-FastCGI/pkg/COMMENT
sed 's/^X//' >p5-FastCGI/pkg/COMMENT << 'END-of-p5-FastCGI/pkg/COMMENT'
XModules for perl5, for enabling FastCGI support in CGI scripts
END-of-p5-FastCGI/pkg/COMMENT
echo x - p5-FastCGI/pkg/DESCR
sed 's/^X//' >p5-FastCGI/pkg/DESCR << 'END-of-p5-FastCGI/pkg/DESCR'
XThis the the FCGI module for perl5 which enables CGI scripts to take
Xadvantage of servers that are FastCGI-enabled. This module does not abstract
Xthe writing of CGIs themselves, for that you should refer to the p5-CGI
Xmodule. For more information about FastCGI, the performance enhancements it
Xoffers, and how to write scripts using it, visit their web site at:
X	WWW: http://www.fastcgi.com/
X
X  -Kelly
X   kbyanc@posi.net
END-of-p5-FastCGI/pkg/DESCR
echo c - p5-FastCGI/files
mkdir -p p5-FastCGI/files > /dev/null 2>&1
echo x - p5-FastCGI/files/md5
sed 's/^X//' >p5-FastCGI/files/md5 << 'END-of-p5-FastCGI/files/md5'
XMD5 (FCGI-0.48.tar.gz) = 07ca386e4969d34391dc4d296b1f1b67
END-of-p5-FastCGI/files/md5
echo c - p5-FastCGI/patches
mkdir -p p5-FastCGI/patches > /dev/null 2>&1
echo x - p5-FastCGI/patches/patch-aa
sed 's/^X//' >p5-FastCGI/patches/patch-aa << 'END-of-p5-FastCGI/patches/patch-aa'
X--- Makefile.PL.orig	Wed Oct 27 19:56:24 1999
X+++ Makefile.PL	Wed Oct 27 20:01:08 1999
X@@ -25,7 +25,7 @@
X     # CPAN  
X     for $dir ("/usr", "/usr/local") {
X         if (-d "$dir/lib/" && -f "$dir/lib/libfcgi.a" 
X-        	&& -d "$dir/include" && !grep {!-f "$dir/include/$_"} (@h)) 
X+        	&& -d "$dir/include/fastcgi/" && !grep {!-f "$dir/include/fastcgi/$_"} (@h)) 
X         {
X             print "Found fcgi library and include files in $dir\n";
X             print "Will be using that instead of included files\n";
END-of-p5-FastCGI/patches/patch-aa
exit


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Fri Nov 26 11:34:25 PST 1999 
State-Changed-Why:  
New port committed, thanks! 
>Unformatted:
