diff options
author | roam <roam@FreeBSD.org> | 2003-10-08 10:49:08 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2003-10-08 10:49:08 +0000 |
commit | 077fcd42e2bac87b52dd684cf0c802dcb0297436 (patch) | |
tree | 1d812de37e2edff076e9797f6382b65d4cb70dd5 /www/mod_injection | |
parent | c45c2eb7bba412da6e4628cb6a5acf42c8373dbe (diff) | |
download | FreeBSD-ports-077fcd42e2bac87b52dd684cf0c802dcb0297436.zip FreeBSD-ports-077fcd42e2bac87b52dd684cf0c802dcb0297436.tar.gz |
Add mod_injection 0.3.1 - an Apache module allowing the injection of
text after any given HTML tag or text string.
PR: 57658
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Diffstat (limited to 'www/mod_injection')
-rw-r--r-- | www/mod_injection/Makefile | 31 | ||||
-rw-r--r-- | www/mod_injection/distinfo | 1 | ||||
-rw-r--r-- | www/mod_injection/pkg-descr | 5 | ||||
-rw-r--r-- | www/mod_injection/pkg-plist | 23 |
4 files changed, 60 insertions, 0 deletions
diff --git a/www/mod_injection/Makefile b/www/mod_injection/Makefile new file mode 100644 index 0000000..a68accf --- /dev/null +++ b/www/mod_injection/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: mod_injection +# Date created: Sun Oct 5 +# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> +# +# $FreeBSD$ +# + +PORTNAME= mod_injection +PORTVERSION= 0.3.1 +CATEGORIES= www +MASTER_SITES= http://pmade.org/software/mod_injection/download/ + +MAINTAINER= sheepkiller@cultdeadsheep.org +COMMENT= Injects text in the HTTP response after a HTML tag + +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 +RUN_DEPENDS= ${BUILD_DEPENDS} + +APXS?= ${LOCALBASE}/sbin/apxs + +do-build: + @(cd ${WRKSRC}/src && ${APXS} -c ${PORTNAME}.c) + +do-install: + @(cd ${WRKSRC}/src && ${APXS} -A -i ${PORTNAME}.la) +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${CP} -Rf ${WRKSRC}/docs/* ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/www/mod_injection/distinfo b/www/mod_injection/distinfo new file mode 100644 index 0000000..7860666 --- /dev/null +++ b/www/mod_injection/distinfo @@ -0,0 +1 @@ +MD5 (mod_injection-0.3.1.tar.gz) = 0ba75046af2d6f230e3c37fe90275b94 diff --git a/www/mod_injection/pkg-descr b/www/mod_injection/pkg-descr new file mode 100644 index 0000000..57ab897 --- /dev/null +++ b/www/mod_injection/pkg-descr @@ -0,0 +1,5 @@ +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/ diff --git a/www/mod_injection/pkg-plist b/www/mod_injection/pkg-plist new file mode 100644 index 0000000..1d5b4b8 --- /dev/null +++ b/www/mod_injection/pkg-plist @@ -0,0 +1,23 @@ +libexec/apache2/mod_injection.so +@exec %D/sbin/apxs -e -a -n injection %D/%f +%%PORTDOCS%%%%DOCSDIR%%/manual/Makefile +%%PORTDOCS%%%%DOCSDIR%%/manual/build.xml +%%PORTDOCS%%%%DOCSDIR%%/manual/changelog.xml +%%PORTDOCS%%%%DOCSDIR%%/manual/config.xml +%%PORTDOCS%%%%DOCSDIR%%/manual/credits.xml +%%PORTDOCS%%%%DOCSDIR%%/manual/manual.xml +%%PORTDOCS%%%%DOCSDIR%%/manual/readme.xml +%%PORTDOCS%%%%DOCSDIR%%/manual/requirements.xml +%%PORTDOCS%%%%DOCSDIR%%/VERSION +%%PORTDOCS%%%%DOCSDIR%%/project/Makefile +%%PORTDOCS%%%%DOCSDIR%%/project/download.xml +%%PORTDOCS%%%%DOCSDIR%%/project/news.xml +%%PORTDOCS%%%%DOCSDIR%%/project/project.xml +%%PORTDOCS%%%%DOCSDIR%%/project/resources.xml +%%PORTDOCS%%%%DOCSDIR%%/manual.txt +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%@dirrm %%DOCSDIR%%/manual +%%PORTDOCS%%@dirrm %%DOCSDIR%%/project +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@unexec echo "===> If you do not plan on reinstalling mod_injection, you must manually remove"; echo "===> references to it in httpd.conf." + |