diff options
author | jlam <jlam@pkgsrc.org> | 2001-10-01 02:12:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-10-01 02:12:59 +0000 |
commit | 42500b7205fa0c3cd9240df9bf508df173406ce8 (patch) | |
tree | 3b13184eede90c524e415ef5f2e091aeaa375551 /www/p5-Apache-SSI | |
parent | 1c954a10b35b6927ddaa710c8964174cce617119 (diff) | |
download | pkgsrc-42500b7205fa0c3cd9240df9bf508df173406ce8.tar.gz |
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).
Diffstat (limited to 'www/p5-Apache-SSI')
-rw-r--r-- | www/p5-Apache-SSI/Makefile | 20 | ||||
-rw-r--r-- | www/p5-Apache-SSI/distinfo | 5 | ||||
-rw-r--r-- | www/p5-Apache-SSI/patches/patch-aa | 19 | ||||
-rw-r--r-- | www/p5-Apache-SSI/pkg/DESCR | 6 | ||||
-rw-r--r-- | www/p5-Apache-SSI/pkg/PLIST | 1 |
5 files changed, 51 insertions, 0 deletions
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 '', <DATA>); +-*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 $ |