From 08558f34c22def31aaf4ad9bce7b50db5ec76b59 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 1 Oct 2001 02:09:46 +0000 Subject: p5-Apache-Filter: alter the output of previous Apache handlers These modules provide the ability to chain PerlHandler routines together, so that the output of one handler/filter becomes the input of the next handler/filter. The following Perl modules are known to be "Filter-aware": Apache::Registry (using Apache::RegistryFilter) Apache::SSI Apache::ASP HTML::Mason Apache::SimpleReplace --- www/p5-Apache-Filter/Makefile | 19 +++++++++++++++++++ www/p5-Apache-Filter/distinfo | 5 +++++ www/p5-Apache-Filter/patches/patch-aa | 29 +++++++++++++++++++++++++++++ www/p5-Apache-Filter/pkg/DESCR | 9 +++++++++ www/p5-Apache-Filter/pkg/PLIST | 1 + 5 files changed, 63 insertions(+) create mode 100644 www/p5-Apache-Filter/Makefile create mode 100644 www/p5-Apache-Filter/distinfo create mode 100644 www/p5-Apache-Filter/patches/patch-aa create mode 100644 www/p5-Apache-Filter/pkg/DESCR create mode 100644 www/p5-Apache-Filter/pkg/PLIST (limited to 'www') diff --git a/www/p5-Apache-Filter/Makefile b/www/p5-Apache-Filter/Makefile new file mode 100644 index 00000000000..44c577a1117 --- /dev/null +++ b/www/p5-Apache-Filter/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/01 02:09:46 jlam Exp $ + +DISTNAME= Apache-Filter-1.019 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/} + +MAINTAINER= packages@netbsd.org +COMMENT= perl5 module to alter the output of previous Apache handlers + +DEPENDS+= ap-perl>=1.25:../../www/ap-perl + +USE_PERL5= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Apache/Filter/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-Apache-Filter/distinfo b/www/p5-Apache-Filter/distinfo new file mode 100644 index 00000000000..13817fa110e --- /dev/null +++ b/www/p5-Apache-Filter/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/01 02:09:46 jlam Exp $ + +SHA1 (Apache-Filter-1.019.tar.gz) = 66e5ab2c7798d7053ccca3e1f12dfde4856e2897 +Size (Apache-Filter-1.019.tar.gz) = 25509 bytes +SHA1 (patch-aa) = f9d99a57056051115b494f9d51f5071863f28b29 diff --git a/www/p5-Apache-Filter/patches/patch-aa b/www/p5-Apache-Filter/patches/patch-aa new file mode 100644 index 00000000000..89e8095d8a3 --- /dev/null +++ b/www/p5-Apache-Filter/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/01 02:09:46 jlam Exp $ + +--- Makefile.PL.orig Wed Aug 29 14:33:47 2001 ++++ Makefile.PL +@@ -1,14 +1,6 @@ + use strict; + use ExtUtils::MakeMaker; + use lib 't/lib'; # distributed here until changes are incorporated into the real version +-use Apache::test qw(have_httpd); +- +-my %params = Apache::test->get_test_params(); +-chomp (my $cwd = `pwd`); +-Apache::test->write_httpd_conf +- (%params, +- include => do {local $/; }); +-*MY::test = sub { Apache::test->MM_test(%params) } if have_httpd(); + + my $module = 'Apache::Filter'; + my ($name, $dir); +@@ -27,9 +19,6 @@ + ), + }, + 'clean' => {FILES => "t/httpd t/httpd.conf t/error_log"}, +- 'PREREQ_PM' => { +- have_httpd() ? ('mod_perl' => '1.24_01') : (), +- }, + ); + + ################################################################## diff --git a/www/p5-Apache-Filter/pkg/DESCR b/www/p5-Apache-Filter/pkg/DESCR new file mode 100644 index 00000000000..9317ae584c1 --- /dev/null +++ b/www/p5-Apache-Filter/pkg/DESCR @@ -0,0 +1,9 @@ +These modules provide the ability to chain PerlHandler routines together, +so that the output of one handler/filter becomes the input of the next +handler/filter. The following Perl modules are known to be "Filter-aware": + + Apache::Registry (using Apache::RegistryFilter) + Apache::SSI + Apache::ASP + HTML::Mason + Apache::SimpleReplace diff --git a/www/p5-Apache-Filter/pkg/PLIST b/www/p5-Apache-Filter/pkg/PLIST new file mode 100644 index 00000000000..4a37c66ea57 --- /dev/null +++ b/www/p5-Apache-Filter/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/01 02:09:46 jlam Exp $ -- cgit v1.2.3