ports/57658: [new port] www/mod_injection: Injects text in the HTTP response after a HTML tag
Clement Laforet
sheepkiller at cultdeadsheep.org
Mon Oct 6 17:50:36 UTC 2003
>Number: 57658
>Category: ports
>Synopsis: [new port] www/mod_injection: Injects text in the HTTP response after a HTML tag
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 06 10:50:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386
>Description:
mod_injection is an Apache 2.0.X filter module. It allows you to inject text in
the HTTP response after a HTML tag or after any given text string. The main
intention of this module is to add a banner to several HTML pages on the fly.
WWW: http://pmade.org/software/mod_injection/
>How-To-Repeat:
N/A.
>Fix:
--- mod_injection.shar begins here ---
# 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_injection
# mod_injection/pkg-descr
# mod_injection/Makefile
# mod_injection/pkg-plist
# mod_injection/distinfo
#
echo c - mod_injection
mkdir -p mod_injection > /dev/null 2>&1
echo x - mod_injection/pkg-descr
sed 's/^X//' >mod_injection/pkg-descr << 'END-of-mod_injection/pkg-descr'
Xmod_injection is an Apache 2.0.X filter module. It allows you to inject text in
Xthe HTTP response after a HTML tag or after any given text string. The main
Xintention of this module is to add a banner to several HTML pages on the fly.
X
XWWW: http://pmade.org/software/mod_injection/
END-of-mod_injection/pkg-descr
echo x - mod_injection/Makefile
sed 's/^X//' >mod_injection/Makefile << 'END-of-mod_injection/Makefile'
X# New ports collection makefile for: mod_injection
X# Date created: Sun Oct 5
X# Whom: Clement Laforet <sheepkiller at cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mod_injection
XPORTVERSION= 0.3.1
XCATEGORIES= www
XMASTER_SITES= http://pmade.org/software/mod_injection/download/
X
XMAINTAINER= sheepkiller at cultdeadsheep.org
XCOMMENT= Injects text in the HTTP response after a HTML tag
X
XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XAPXS?= ${LOCALBASE}/sbin/apxs
X
Xdo-build:
X @(cd ${WRKSRC}/src && ${APXS} -c ${PORTNAME}.c)
X
Xdo-install:
X @(cd ${WRKSRC}/src && ${APXS} -A -i ${PORTNAME}.la)
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X @${CP} -Rf ${WRKSRC}/docs/* ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mod_injection/Makefile
echo x - mod_injection/pkg-plist
sed 's/^X//' >mod_injection/pkg-plist << 'END-of-mod_injection/pkg-plist'
Xlibexec/apache2/mod_injection.so
X at exec %D/sbin/apxs -e -a -n injection %D/%f
X%%PORTDOCS%%%%DOCSDIR%%/manual/Makefile
X%%PORTDOCS%%%%DOCSDIR%%/manual/build.xml
X%%PORTDOCS%%%%DOCSDIR%%/manual/changelog.xml
X%%PORTDOCS%%%%DOCSDIR%%/manual/config.xml
X%%PORTDOCS%%%%DOCSDIR%%/manual/credits.xml
X%%PORTDOCS%%%%DOCSDIR%%/manual/manual.xml
X%%PORTDOCS%%%%DOCSDIR%%/manual/readme.xml
X%%PORTDOCS%%%%DOCSDIR%%/manual/requirements.xml
X%%PORTDOCS%%%%DOCSDIR%%/VERSION
X%%PORTDOCS%%%%DOCSDIR%%/project/Makefile
X%%PORTDOCS%%%%DOCSDIR%%/project/download.xml
X%%PORTDOCS%%%%DOCSDIR%%/project/news.xml
X%%PORTDOCS%%%%DOCSDIR%%/project/project.xml
X%%PORTDOCS%%%%DOCSDIR%%/project/resources.xml
X%%PORTDOCS%%%%DOCSDIR%%/manual.txt
X%%PORTDOCS%%%%DOCSDIR%%/CREDITS
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/manual
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/project
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at unexec echo "===> If you do not plan on reinstalling mod_injection, you must manually remove"; echo "===> references to it in httpd.conf."
X
END-of-mod_injection/pkg-plist
echo x - mod_injection/distinfo
sed 's/^X//' >mod_injection/distinfo << 'END-of-mod_injection/distinfo'
XMD5 (mod_injection-0.3.1.tar.gz) = 0ba75046af2d6f230e3c37fe90275b94
END-of-mod_injection/distinfo
exit
--- mod_injection.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list