mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
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>
This commit is contained in:
parent
3c111dc407
commit
705676161e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90613
@ -215,6 +215,7 @@
|
||||
SUBDIR += mod_gzip
|
||||
SUBDIR += mod_hosts_access
|
||||
SUBDIR += mod_index_rss
|
||||
SUBDIR += mod_injection
|
||||
SUBDIR += mod_jk
|
||||
SUBDIR += mod_jk2
|
||||
SUBDIR += mod_layout
|
||||
|
31
www/mod_injection/Makefile
Normal file
31
www/mod_injection/Makefile
Normal file
@ -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>
|
1
www/mod_injection/distinfo
Normal file
1
www/mod_injection/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (mod_injection-0.3.1.tar.gz) = 0ba75046af2d6f230e3c37fe90275b94
|
5
www/mod_injection/pkg-descr
Normal file
5
www/mod_injection/pkg-descr
Normal file
@ -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/
|
23
www/mod_injection/pkg-plist
Normal file
23
www/mod_injection/pkg-plist
Normal file
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user