aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-05-06 06:20:29 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-05-06 06:20:29 +0800
commitbe2bf9b872f0579e18741de9cafaea4c64a1ed67 (patch)
tree1408396b8639a20fa4dbacb6b30972ffe96eb82c
parentffc28ed49aaf54a6f30c0916a710246f1efdfd7e (diff)
downloadfreebsd-ports-gnome-be2bf9b872f0579e18741de9cafaea4c64a1ed67.tar.gz
freebsd-ports-gnome-be2bf9b872f0579e18741de9cafaea4c64a1ed67.tar.zst
freebsd-ports-gnome-be2bf9b872f0579e18741de9cafaea4c64a1ed67.zip
- Install check_forensic script if mod_log_forensic is enabled
PR: ports/144292 Submitted by: Dan Mahoney <danm@prime.gushi.org> With Hat: apache@
-rw-r--r--www/apache22/Makefile5
-rw-r--r--www/apache22/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 9e982d13a10e..38e52a9dbccc 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -9,7 +9,7 @@
PORTNAME= apache
PORTVERSION= 2.2.15
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= httpd-${PORTVERSION}
@@ -216,6 +216,9 @@ post-install:
@${MKDIR} ${PREFIX}/etc/apache22/envvars.d
@${MKDIR} ${PREFIX}/etc/apache22/Includes
@${INSTALL_DATA} ${FILESDIR}/no-accf.conf ${PREFIX}/etc/apache22/Includes
+.if defined(WITH_LOG_FORENSIC)
+ @${INSTALL_SCRIPT} ${WRKSRC}/support/check_forensic ${PREFIX}/sbin
+.endif
.if !defined(NOPORTDOCS)
.for dir in style/lang style/xsl/util style/xsl
@[ -d ${DOCSDIR}/${dir}/ ] && ${TOUCH} ${DOCSDIR}/${dir}/.keepme
diff --git a/www/apache22/pkg-plist b/www/apache22/pkg-plist
index 50734208c0ec..d041aa734060 100644
--- a/www/apache22/pkg-plist
+++ b/www/apache22/pkg-plist
@@ -273,6 +273,7 @@ sbin/ab
sbin/apachectl
sbin/apxs
sbin/checkgid
+%%MOD_LOG_FORENSIC%%sbin/check_forensic
sbin/dbmmanage
sbin/envvars
sbin/htcacheclean