Add CGI/SSI.pm

CGI::SSI is meant to be used as an easy way to filter shtml through CGI
scripts in a loose imitation of Apache's mod_include. If you're using
Apache, you may want to use either mod_include or the Apache::SSI module
instead of CGI::SSI. Limitations in a CGI script's knowledge of how the
server behaves make some SSI directives impossible to imitate from a CGI
script.

Requested by:	db_@besmirched.org
This commit is contained in:
Adam Weinberger 2003-11-10 03:12:22 +00:00
parent 70b773cefc
commit b66ffccfd7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93619
5 changed files with 41 additions and 0 deletions

View file

@ -343,6 +343,7 @@
SUBDIR += p5-CGI-FastTemplate
SUBDIR += p5-CGI-Kwiki
SUBDIR += p5-CGI-Minimal
SUBDIR += p5-CGI-SSI
SUBDIR += p5-CGI-Session
SUBDIR += p5-CGI-SpeedyCGI
SUBDIR += p5-CGI-Untaint

28
www/p5-CGI-SSI/Makefile Normal file
View file

@ -0,0 +1,28 @@
# New ports collection makefile for: p5-CGI-SSI
# Date created: 09 November 2003
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= CGI-SSI
PORTVERSION= 0.53
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Use SSI from CGI scripts
BUILD_DEPENDS= ${SITE_PERL}/HTML/SimpleParse.pm:${PORTSDIR}/www/p5-HTML-SimpleParse \
${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= CGI::SSI.3
.include <bsd.port.mk>

1
www/p5-CGI-SSI/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (CGI-SSI-0.53.tar.gz) = d0975494be7575ffa6d7b4d00f5ba547

6
www/p5-CGI-SSI/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
CGI::SSI is meant to be used as an easy way to filter shtml through CGI
scripts in a loose imitation of Apache's mod_include. If you're using
Apache, you may want to use either mod_include or the Apache::SSI module
instead of CGI::SSI. Limitations in a CGI script's knowledge of how the
server behaves make some SSI directives impossible to imitate from a CGI
script.

5
www/p5-CGI-SSI/pkg-plist Normal file
View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/CGI/SSI.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/SSI/.packlist
@unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/SSI 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true