Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 1999 20:20:03 -0400 (EDT)
From:      kbyanc@posi.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14564: new port: www/p5-FastCGI
Message-ID:  <199910280020.UAA01063@kronos.alcnet.com>

next in thread | raw e-mail | index | archive | help

>Number:         14564
>Category:       ports
>Synopsis:       new port: www/p5-FastCGI
>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:   Wed Oct 27 17:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910280020.UAA01063>