From kappa@zombie.antar.bryansk.ru  Mon Apr  2 05:17:21 2001
Return-Path: <kappa@zombie.antar.bryansk.ru>
Received: from zombie.antar.bryansk.ru (zombie.antar.bryansk.ru [195.239.214.68])
	by hub.freebsd.org (Postfix) with ESMTP id 3098237B71C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Apr 2001 05:17:20 -0700 (PDT)
	(envelope-from kappa@zombie.antar.bryansk.ru)
Received: (from kappa@localhost)
	by zombie.antar.bryansk.ru (8.11.3/8.11.3) id f32CHDn24219;
	Mon, 2 Apr 2001 16:17:13 +0400 (MSD)
	(envelope-from kappa)
Message-Id: <200104021217.f32CHDn24219@zombie.antar.bryansk.ru>
Date: Mon, 2 Apr 2001 16:17:13 +0400 (MSD)
From: Alex Kapranoff <kappa@zombie.antar.bryansk.ru>
Reply-To: kappa@zombie.antar.bryansk.ru
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [New port] p5-Apache-Filter - stack handlers
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         26290
>Category:       ports
>Synopsis:       [New port] p5-Apache-Filter - stack handlers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 02 05:20:01 PDT 2001
>Closed-Date:    Fri Apr 6 21:33:12 PDT 2001
>Last-Modified:  Fri Apr 06 21:33:25 PDT 2001
>Originator:     Alex Kapranoff
>Release:        FreeBSD 4.3-RC i386
>Organization:
Inner Mongolia
>Environment:
System: FreeBSD zombie.antar.bryansk.ru 4.3-RC FreeBSD 4.3-RC #5: Mon Mar 26 12:42:11 MSD 2001 root@zombie.antar.bryansk.ru:/usr/src/sys/compile/ZOMBIE i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Apache-Filter/
#	p5-Apache-Filter/Makefile
#	p5-Apache-Filter/distinfo
#	p5-Apache-Filter/pkg-comment
#	p5-Apache-Filter/pkg-descr
#	p5-Apache-Filter/pkg-plist
#	p5-Apache-Filter/files
#	p5-Apache-Filter/files/patch-Makefile.PL
#
echo c - p5-Apache-Filter/
mkdir -p p5-Apache-Filter/ > /dev/null 2>&1
echo x - p5-Apache-Filter/Makefile
sed 's/^X//' >p5-Apache-Filter/Makefile << 'END-of-p5-Apache-Filter/Makefile'
X# New ports collection makefile for:	p5-Apache-Filter
X# Date created:				March 30th 2001
X# Whom:	      				Alex Kapranoff <kapr@crosswinds.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Apache-Filter
XPORTVERSION=	1.016
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Apache
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	kapr@crosswinds.net
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
X
XPERL_CONFIGURE=	yes
XINSTALL_TARGET=	pure_install
X
XMAN3=		Apache::Filter.3 Apache::PerlRunFilter.3 \
X		Apache::RegistryFilter.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-Apache-Filter/Makefile
echo x - p5-Apache-Filter/distinfo
sed 's/^X//' >p5-Apache-Filter/distinfo << 'END-of-p5-Apache-Filter/distinfo'
XMD5 (Apache-Filter-1.016.tar.gz) = bff9089882d3f9834fafa1822a4f37f6
END-of-p5-Apache-Filter/distinfo
echo x - p5-Apache-Filter/pkg-comment
sed 's/^X//' >p5-Apache-Filter/pkg-comment << 'END-of-p5-Apache-Filter/pkg-comment'
XApache::Filter - Alter the output of previous handlers
END-of-p5-Apache-Filter/pkg-comment
echo x - p5-Apache-Filter/pkg-descr
sed 's/^X//' >p5-Apache-Filter/pkg-descr << 'END-of-p5-Apache-Filter/pkg-descr'
XThis module lets you stack handlers so that the next one will handle
Xor "filter" the output of previous one.
X
XFrom README:
X    In basic operation, each of the handlers Filter1, Filter2, and Filter3
X    will make a call to $r->filter_input(), which will return a filehandle.
X    For Filter1, the filehandle points to the requested file. For Filter2,
X    the filehandle contains whatever Filter1 wrote to STDOUT. For Filter3,
X    it contains whatever Filter3 wrote to STDOUT. The output of Filter3 goes
X    directly to the browser.
X
X    When you've got this module, you can use the same handler both as a
X    stand-alone handler, and as an element in a chain. Just make sure that
X    whenever you're chaining, all the handlers in the chain are "Filter-
X    aware," i.e. they each call $r->filter_register() exactly once, before
X    they start printing to STDOUT. There should be almost no overhead for
X    doing this when there's only one element in the chain.
X
X    Currently the following public modules are Filter-aware.
X
X     Apache::Registry (using Apache::RegistryFilter, included here)
X     Apache::SSI
X     Apache::ASP
X     HTML::Mason
X     Apache::SimpleReplace
X
X-- Alex Kapranoff <kapr@crosswinds.net>
END-of-p5-Apache-Filter/pkg-descr
echo x - p5-Apache-Filter/pkg-plist
sed 's/^X//' >p5-Apache-Filter/pkg-plist << 'END-of-p5-Apache-Filter/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/Apache/PerlRunFilter.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Apache/Filter.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Apache/RegistryFilter.pm
X@unexec rmdir lib/perl5/site_perl/%%PERL_VER%%/Apache 2>/dev/null || true
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/Filter/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/Filter
X@unexec rmdir lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true
END-of-p5-Apache-Filter/pkg-plist
echo c - p5-Apache-Filter/files
mkdir -p p5-Apache-Filter/files > /dev/null 2>&1
echo x - p5-Apache-Filter/files/patch-Makefile.PL
sed 's/^X//' >p5-Apache-Filter/files/patch-Makefile.PL << 'END-of-p5-Apache-Filter/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Mon Apr  2 16:06:30 2001
X+++ Makefile.PL	Mon Apr  2 16:06:59 2001
X@@ -1,13 +1,4 @@
X use ExtUtils::MakeMaker;
X-use lib 't/lib';  # distributed here until changes are incorporated into the real version
X-use Apache::test;
X-
X-my %params = Apache::test->get_test_params();
X-chomp (my $cwd = `pwd`);
X-Apache::test->write_httpd_conf
X-    (%params,
X-     include => do {local $/; <DATA>});
X-*MY::test = sub { Apache::test->MM_test(%params) };
X 
X my $module = 'Apache::Filter';
X my ($name, $dir);
END-of-p5-Apache-Filter/files/patch-Makefile.PL
exit

>Release-Note:
>Audit-Trail:

From: Alex Kapranoff <kappa@antar.bryansk.ru>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/26290: [New port] p5-Apache-Filter - stack handlers
Date: Tue, 3 Apr 2001 11:32:04 +0400

 Phew, I got a braino storm yesterday. This port should of course be
 under www/.
 Sorry for confusion, thanks.
 
 --- Makefile.orig	Tue Apr  3 11:29:34 2001
 +++ Makefile	Tue Apr  3 11:29:40 2001
 @@ -7,7 +7,7 @@
  
  PORTNAME=	Apache-Filter
  PORTVERSION=	1.016
 -CATEGORIES=	devel perl5
 +CATEGORIES=	www perl5
  MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
  MASTER_SITE_SUBDIR=	Apache
  PKGNAMEPREFIX=	p5-
 
 -- 
 Alex Kapranoff,
 +7(0832)791845
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Fri Apr 6 21:33:12 PDT 2001 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26290 
>Unformatted:
