From 54ee603214fe8dd5625358760d05e3b5ce37dfa4 Mon Sep 17 00:00:00 2001 From: adamw Date: Mon, 10 Nov 2003 03:12:22 +0000 Subject: 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 --- www/Makefile | 1 + www/p5-CGI-SSI/Makefile | 28 ++++++++++++++++++++++++++++ www/p5-CGI-SSI/distinfo | 1 + www/p5-CGI-SSI/pkg-descr | 6 ++++++ www/p5-CGI-SSI/pkg-plist | 5 +++++ 5 files changed, 41 insertions(+) create mode 100644 www/p5-CGI-SSI/Makefile create mode 100644 www/p5-CGI-SSI/distinfo create mode 100644 www/p5-CGI-SSI/pkg-descr create mode 100644 www/p5-CGI-SSI/pkg-plist (limited to 'www') diff --git a/www/Makefile b/www/Makefile index 3a14094858eb..b51b473238bf 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/p5-CGI-SSI/Makefile b/www/p5-CGI-SSI/Makefile new file mode 100644 index 000000000000..a5aaff880dda --- /dev/null +++ b/www/p5-CGI-SSI/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: p5-CGI-SSI +# Date created: 09 November 2003 +# Whom: Adam Weinberger +# +# $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 diff --git a/www/p5-CGI-SSI/distinfo b/www/p5-CGI-SSI/distinfo new file mode 100644 index 000000000000..b784928dcc99 --- /dev/null +++ b/www/p5-CGI-SSI/distinfo @@ -0,0 +1 @@ +MD5 (CGI-SSI-0.53.tar.gz) = d0975494be7575ffa6d7b4d00f5ba547 diff --git a/www/p5-CGI-SSI/pkg-descr b/www/p5-CGI-SSI/pkg-descr new file mode 100644 index 000000000000..cb19c15f23c1 --- /dev/null +++ b/www/p5-CGI-SSI/pkg-descr @@ -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. diff --git a/www/p5-CGI-SSI/pkg-plist b/www/p5-CGI-SSI/pkg-plist new file mode 100644 index 000000000000..0558346c7e48 --- /dev/null +++ b/www/p5-CGI-SSI/pkg-plist @@ -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 -- cgit