1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add p5-Apache-Filter 1.016, a perl module to alter the output of

previous handlers.

PR:		26290
Submitted by:	Alex Kapranoff <kapr@crosswinds.net>
This commit is contained in:
Will Andrews 2001-04-07 04:33:24 +00:00
parent 78864e8862
commit e5092d6e1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40993
7 changed files with 72 additions and 0 deletions

View File

@ -155,6 +155,7 @@
SUBDIR += p5-Apache-AuthenURL
SUBDIR += p5-Apache-AutoIndex
SUBDIR += p5-Apache-DBI
SUBDIR += p5-Apache-Filter
SUBDIR += p5-Apache-Icon
SUBDIR += p5-Apache-Language
SUBDIR += p5-Apache-MP3

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: p5-Apache-Filter
# Date created: March 30th 2001
# Whom: Alex Kapranoff <kapr@crosswinds.net>
#
# $FreeBSD$
#
PORTNAME= Apache-Filter
PORTVERSION= 1.016
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
PKGNAMEPREFIX= p5-
MAINTAINER= kapr@crosswinds.net
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
PERL_CONFIGURE= yes
INSTALL_TARGET= pure_install
MAN3= Apache::Filter.3 Apache::PerlRunFilter.3 \
Apache::RegistryFilter.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Apache-Filter-1.016.tar.gz) = bff9089882d3f9834fafa1822a4f37f6

View File

@ -0,0 +1,16 @@
--- Makefile.PL.orig Mon Apr 2 16:06:30 2001
+++ Makefile.PL Mon Apr 2 16:06:59 2001
@@ -1,13 +1,4 @@
use ExtUtils::MakeMaker;
-use lib 't/lib'; # distributed here until changes are incorporated into the real version
-use Apache::test;
-
-my %params = Apache::test->get_test_params();
-chomp (my $cwd = `pwd`);
-Apache::test->write_httpd_conf
- (%params,
- include => do {local $/; <DATA>});
-*MY::test = sub { Apache::test->MM_test(%params) };
my $module = 'Apache::Filter';
my ($name, $dir);

View File

@ -0,0 +1 @@
Perl module to alter the output of previous handlers

View File

@ -0,0 +1,20 @@
This module lets you stack handlers so that the next one will handle
or "filter" the output of previous one.
From README:
When you've got this module, you can use the same handler both as a
stand-alone handler, and as an element in a chain. Just make sure that
whenever you're chaining, all the handlers in the chain are "Filter-
aware," i.e. they each call $r->filter_register() exactly once, before
they start printing to STDOUT. There should be almost no overhead for
doing this when there's only one element in the chain.
Currently the following public modules are Filter-aware.
Apache::Registry (using Apache::RegistryFilter, included here)
Apache::SSI
Apache::ASP
HTML::Mason
Apache::SimpleReplace
-- Alex Kapranoff <kapr@crosswinds.net>

View File

@ -0,0 +1,7 @@
lib/perl5/site_perl/%%PERL_VER%%/Apache/PerlRunFilter.pm
lib/perl5/site_perl/%%PERL_VER%%/Apache/Filter.pm
lib/perl5/site_perl/%%PERL_VER%%/Apache/RegistryFilter.pm
@unexec rmdir lib/perl5/site_perl/%%PERL_VER%%/Apache 2>/dev/null || true
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/Filter/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/Filter
@unexec rmdir lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true