1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Add mod_filter 1.4.1, an Apache module to filter output from

other modules inside of Apache.

PR:		33454
Submitted by:	Seamus Venasse <svenasse@polaris.ca>
This commit is contained in:
Will Andrews 2002-10-14 08:27:27 +00:00
parent 544ed9e45b
commit d43484083e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68015
7 changed files with 76 additions and 0 deletions

View File

@ -179,6 +179,7 @@
SUBDIR += mod_dtcl
SUBDIR += mod_extract_forwarded
SUBDIR += mod_fastcgi
SUBDIR += mod_filter
SUBDIR += mod_frontpage
SUBDIR += mod_gzip
SUBDIR += mod_hosts_access

40
www/mod_filter/Makefile Normal file
View File

@ -0,0 +1,40 @@
# New ports collection makefile for: mod_filter
# Date created: 1 Jan 2002
# Whom: Seamus Venasse <svenasse@polaris.ca>
#
# $FreeBSD$
#
PORTNAME= mod_filter
PORTVERSION= 1.4.1
CATEGORIES= www
MASTER_SITES= http://software.tangent.org/download/
MAINTAINER= svenasse@polaris.ca
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${BUILD_DEPENDS}
APXS= ${LOCALBASE}/sbin/apxs
DOCS= README
CONTRIB_DOCS= contrib/README contrib/echo.cgi contrib/eecummings.cgi contrib/head.cgi
do-build:
@cd ${WRKSRC} && \
${APXS} -c mod_filter.c
do-install:
${APXS} -i -A -n filter ${WRKSRC}/mod_filter.so
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/mod_filter
${MKDIR} ${PREFIX}/share/doc/mod_filter/contrib
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_filter/
.endfor
.for f in ${CONTRIB_DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_filter/contrib
.endfor
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

1
www/mod_filter/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (mod_filter-1.4.1.tar.gz) = 5d55f66ea04f48c81dd2dc3991b49e28

View File

@ -0,0 +1 @@
Filter output from other modules inside of Apache

9
www/mod_filter/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
mod_filter allows you to filter output from other modules inside
of Apache. This allows you to implement filters (think Swedish Chef,
jive, etc.). You can also use it to retailer output for your locale.
This works with HTML documents, mod_perl, PHP, JServ, CGIs, and for
that matter just about any sort of custom handler you might have.
WWW: http://software.tangent.org/
Seamus Venasse <svenasse@polaris.ca>

View File

@ -0,0 +1,14 @@
************************************************************
Please edit your apache.conf or httpd.conf to enable and
setup this module.
You can always refer to the useful documents held in
${PREFIX}/share/doc/mod_filter/, where ${PREFIX} is
typically /usr/local.
When it's done, do the following to take effect:
apachectl configtest (and correct any errors reported)
apachectl restart
************************************************************

10
www/mod_filter/pkg-plist Normal file
View File

@ -0,0 +1,10 @@
@exec %D/sbin/apxs -e -a -n filter
@unexec %D/sbin/apxs -e -A -n filter mod_filter.so
libexec/apache/mod_filter.so
%%PORTDOCS%%share/doc/mod_filter/README
%%PORTDOCS%%share/doc/mod_filter/contrib/README
%%PORTDOCS%%share/doc/mod_filter/contrib/echo.cgi
%%PORTDOCS%%share/doc/mod_filter/contrib/eecummings.cgi
%%PORTDOCS%%share/doc/mod_filter/contrib/head.cgi
%%PORTDOCS%%@dirrm share/doc/mod_filter/contrib
%%PORTDOCS%%@dirrm share/doc/mod_filter