From d43484083ee87665f210fc557a7302c789560d38 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Mon, 14 Oct 2002 08:27:27 +0000 Subject: Add mod_filter 1.4.1, an Apache module to filter output from other modules inside of Apache. PR: 33454 Submitted by: Seamus Venasse --- www/Makefile | 1 + www/mod_filter/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ www/mod_filter/distinfo | 1 + www/mod_filter/pkg-comment | 1 + www/mod_filter/pkg-descr | 9 +++++++++ www/mod_filter/pkg-message | 14 ++++++++++++++ www/mod_filter/pkg-plist | 10 ++++++++++ 7 files changed, 76 insertions(+) create mode 100644 www/mod_filter/Makefile create mode 100644 www/mod_filter/distinfo create mode 100644 www/mod_filter/pkg-comment create mode 100644 www/mod_filter/pkg-descr create mode 100644 www/mod_filter/pkg-message create mode 100644 www/mod_filter/pkg-plist (limited to 'www') diff --git a/www/Makefile b/www/Makefile index 65da1a1db075..cbc2054242c0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/mod_filter/Makefile b/www/mod_filter/Makefile new file mode 100644 index 000000000000..dbcb0e4dba9e --- /dev/null +++ b/www/mod_filter/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: mod_filter +# Date created: 1 Jan 2002 +# Whom: Seamus Venasse +# +# $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 diff --git a/www/mod_filter/distinfo b/www/mod_filter/distinfo new file mode 100644 index 000000000000..7b8df50d64ac --- /dev/null +++ b/www/mod_filter/distinfo @@ -0,0 +1 @@ +MD5 (mod_filter-1.4.1.tar.gz) = 5d55f66ea04f48c81dd2dc3991b49e28 diff --git a/www/mod_filter/pkg-comment b/www/mod_filter/pkg-comment new file mode 100644 index 000000000000..b1d48a9066ca --- /dev/null +++ b/www/mod_filter/pkg-comment @@ -0,0 +1 @@ +Filter output from other modules inside of Apache diff --git a/www/mod_filter/pkg-descr b/www/mod_filter/pkg-descr new file mode 100644 index 000000000000..bc68ec7eb26f --- /dev/null +++ b/www/mod_filter/pkg-descr @@ -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 diff --git a/www/mod_filter/pkg-message b/www/mod_filter/pkg-message new file mode 100644 index 000000000000..723f44fea130 --- /dev/null +++ b/www/mod_filter/pkg-message @@ -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 + +************************************************************ diff --git a/www/mod_filter/pkg-plist b/www/mod_filter/pkg-plist new file mode 100644 index 000000000000..3ca8696f126e --- /dev/null +++ b/www/mod_filter/pkg-plist @@ -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 -- cgit v1.2.3