summaryrefslogtreecommitdiff
path: root/www/mod_filter
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-10-14 08:27:27 +0000
committerWill Andrews <will@FreeBSD.org>2002-10-14 08:27:27 +0000
commitd43484083ee87665f210fc557a7302c789560d38 (patch)
tree3dc7c4414d104b75dfad2b2fd0fc63dd809d873a /www/mod_filter
parentUpgrade to 1.3.1_05. (diff)
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>
Notes
Notes: svn path=/head/; revision=68015
Diffstat (limited to 'www/mod_filter')
-rw-r--r--www/mod_filter/Makefile40
-rw-r--r--www/mod_filter/distinfo1
-rw-r--r--www/mod_filter/pkg-comment1
-rw-r--r--www/mod_filter/pkg-descr9
-rw-r--r--www/mod_filter/pkg-message14
-rw-r--r--www/mod_filter/pkg-plist10
6 files changed, 75 insertions, 0 deletions
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 <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>
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 <svenasse@polaris.ca>
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