Skip site navigation (1)Skip section navigation (2)
Date:      1 Jan 2002 23:04:03 -0000
From:      Seamus Venasse <svenasse@polaris.ca>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33454: New port: Filter output from other modules inside of Apache
Message-ID:  <20020101230403.90612.qmail@pris.polaris.ca>

next in thread | raw e-mail | index | archive | help

>Number:         33454
>Category:       ports
>Synopsis:       New port: Filter output from other modules inside of Apache
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 01 15:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Seamus Venasse
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Polaris Computing
>Environment:
System: FreeBSD pitou.polaris.ca 4.4-STABLE FreeBSD 4.4-STABLE #1: Wed Nov 7 01:23:05 PST 2001 root@pitou.polaris.ca:/usr/obj/usr/src/sys/PITOU 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:
#
#	mod_filter
#	mod_filter/distinfo
#	mod_filter/Makefile
#	mod_filter/pkg-descr
#	mod_filter/pkg-message
#	mod_filter/pkg-plist
#	mod_filter/pkg-comment
#
echo c - mod_filter
mkdir -p mod_filter > /dev/null 2>&1
echo x - mod_filter/distinfo
sed 's/^X//' >mod_filter/distinfo << 'END-of-mod_filter/distinfo'
XMD5 (mod_filter-1.4.1.tar.gz) = 5d55f66ea04f48c81dd2dc3991b49e28
END-of-mod_filter/distinfo
echo x - mod_filter/Makefile
sed 's/^X//' >mod_filter/Makefile << 'END-of-mod_filter/Makefile'
X# New ports collection makefile for:	mod_filter
X# Date created:				1 Jan 2002
X# Whom:					Seamus Venasse <svenasse@polaris.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		mod_filter
XPORTVERSION=		1.4.1
XCATEGORIES=		www
XMASTER_SITES=		http://software.tangent.org/download/
X
XMAINTAINER=		svenasse@polaris.ca
X
XBUILD_DEPENDS=		${APXS}:${PORTSDIR}/www/apache13
XRUN_DEPENDS=		${BUILD_DEPENDS}
X
XAPXS=			${LOCALBASE}/sbin/apxs
XDOCS=			README
XCONTRIB_DOCS=		contrib/README contrib/echo.cgi contrib/eecummings.cgi contrib/head.cgi
X
Xdo-build:
X	@cd ${WRKSRC} && \
X	${APXS} -c mod_filter.c
X
Xdo-install:
X	${APXS} -i -A -n filter ${WRKSRC}/mod_filter.so
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/mod_filter
X	${MKDIR} ${PREFIX}/share/doc/mod_filter/contrib
X.for f in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_filter/
X.endfor
X.for f in ${CONTRIB_DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_filter/contrib
X.endfor
X.endif
X	${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-mod_filter/Makefile
echo x - mod_filter/pkg-descr
sed 's/^X//' >mod_filter/pkg-descr << 'END-of-mod_filter/pkg-descr'
Xmod_filter allows you to filter output from other modules inside
Xof Apache. This allows you to implement filters (think Swedish Chef,
Xjive, etc.). You can also use it to retailer output for your locale.
XThis works with HTML documents, mod_perl, PHP, JServ, CGIs, and for
Xthat matter just about any sort of custom handler you might have.
X
XWWW: http://software.tangent.org/
X
XSeamus Venasse <svenasse@polaris.ca>
END-of-mod_filter/pkg-descr
echo x - mod_filter/pkg-message
sed 's/^X//' >mod_filter/pkg-message << 'END-of-mod_filter/pkg-message'
X************************************************************
XPlease edit your apache.conf or httpd.conf to enable and
Xsetup this module.
X
XYou can always refer to the useful documents held in
X${PREFIX}/share/doc/mod_filter/, where ${PREFIX} is
Xtypically /usr/local.
X
XWhen it's done, do the following to take effect:
X
X  apachectl configtest	(and correct any errors reported)
X  apachectl restart
X
X************************************************************
END-of-mod_filter/pkg-message
echo x - mod_filter/pkg-plist
sed 's/^X//' >mod_filter/pkg-plist << 'END-of-mod_filter/pkg-plist'
X@exec %D/sbin/apxs -e -a -n filter
X@unexec %D/sbin/apxs -e -A -n filter mod_filter.so
Xlibexec/apache/mod_filter.so
X%%PORTDOCS%%share/doc/mod_filter/README
X%%PORTDOCS%%share/doc/mod_filter/contrib/README
X%%PORTDOCS%%share/doc/mod_filter/contrib/echo.cgi
X%%PORTDOCS%%share/doc/mod_filter/contrib/eecummings.cgi
X%%PORTDOCS%%share/doc/mod_filter/contrib/head.cgi
X%%PORTDOCS%%@dirrm share/doc/mod_filter/contrib
X%%PORTDOCS%%@dirrm share/doc/mod_filter
END-of-mod_filter/pkg-plist
echo x - mod_filter/pkg-comment
sed 's/^X//' >mod_filter/pkg-comment << 'END-of-mod_filter/pkg-comment'
XFilter output from other modules inside of Apache
END-of-mod_filter/pkg-comment
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020101230403.90612.qmail>