From f47505a9f99f12f46423c9d52da94e5302d66205 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 1 Oct 2001 02:12:59 +0000 Subject: p5-Apache-SSI - implements Server Side Includes in Perl Apache::SSI implements the functionality of mod_include for handling server-parsed html documents. It runs under Apache's mod_perl. In my mind, there are two main reasons you might want to use this module: you can sub-class it to implement your own custom SSI directives, and/or you can parse the output of other mod_perl handlers, or send the SSI output through another handler (use Apache::Filter to do this). --- www/p5-Apache-SSI/Makefile | 20 ++++++++++++++++++++ www/p5-Apache-SSI/distinfo | 5 +++++ www/p5-Apache-SSI/patches/patch-aa | 19 +++++++++++++++++++ www/p5-Apache-SSI/pkg/DESCR | 6 ++++++ www/p5-Apache-SSI/pkg/PLIST | 1 + 5 files changed, 51 insertions(+) create mode 100644 www/p5-Apache-SSI/Makefile create mode 100644 www/p5-Apache-SSI/distinfo create mode 100644 www/p5-Apache-SSI/patches/patch-aa create mode 100644 www/p5-Apache-SSI/pkg/DESCR create mode 100644 www/p5-Apache-SSI/pkg/PLIST (limited to 'www') diff --git a/www/p5-Apache-SSI/Makefile b/www/p5-Apache-SSI/Makefile new file mode 100644 index 00000000000..b3185e6bf79 --- /dev/null +++ b/www/p5-Apache-SSI/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/01 02:12:59 jlam Exp $ + +DISTNAME= Apache-SSI-2.16 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/} + +MAINTAINER= packages@netbsd.org +COMMENT= perl5 module to implement Server Side Includes + +DEPENDS+= ap-perl>=1.19:../../www/ap-perl +DEPENDS+= p5-HTML-SimpleParse>=0.06:../../www/p5-HTML-SimpleParse + +USE_PERL5= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Apache/SSI/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-Apache-SSI/distinfo b/www/p5-Apache-SSI/distinfo new file mode 100644 index 00000000000..8c67a243171 --- /dev/null +++ b/www/p5-Apache-SSI/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/01 02:12:59 jlam Exp $ + +SHA1 (Apache-SSI-2.16.tar.gz) = a6e133fea2352ec364d68e0f2c67309c8a49524d +Size (Apache-SSI-2.16.tar.gz) = 24483 bytes +SHA1 (patch-aa) = b526801d502ebb6bda48b03d41a5b74f7c5b0051 diff --git a/www/p5-Apache-SSI/patches/patch-aa b/www/p5-Apache-SSI/patches/patch-aa new file mode 100644 index 00000000000..1fab08e51db --- /dev/null +++ b/www/p5-Apache-SSI/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/01 02:12:59 jlam Exp $ + +--- Makefile.PL.orig Fri Nov 3 15:43:38 2000 ++++ Makefile.PL +@@ -2,14 +2,6 @@ + use lib 't/lib'; + use Apache::test; + +-my %params = Apache::test->get_test_params(); +-chomp (my $cwd = `pwd`); +-Apache::test->write_httpd_conf +- (%params, +- include => join '', ); +-*MY::test = sub { Apache::test->MM_test(%params) }; +- +- + my $module = 'Apache::SSI'; + my ($name, $dir); + ($name = $module) =~ s/.*::(\w+)/$1.pm/; diff --git a/www/p5-Apache-SSI/pkg/DESCR b/www/p5-Apache-SSI/pkg/DESCR new file mode 100644 index 00000000000..0e7d283212d --- /dev/null +++ b/www/p5-Apache-SSI/pkg/DESCR @@ -0,0 +1,6 @@ +Apache::SSI implements the functionality of mod_include for handling +server-parsed html documents. It runs under Apache's mod_perl. In my mind, +there are two main reasons you might want to use this module: you can +sub-class it to implement your own custom SSI directives, and/or you can +parse the output of other mod_perl handlers, or send the SSI output through +another handler (use Apache::Filter to do this). diff --git a/www/p5-Apache-SSI/pkg/PLIST b/www/p5-Apache-SSI/pkg/PLIST new file mode 100644 index 00000000000..4e03f10d50a --- /dev/null +++ b/www/p5-Apache-SSI/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/01 02:12:59 jlam Exp $ -- cgit v1.2.3