aboutsummaryrefslogtreecommitdiff
path: root/security/acid
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-02-26 08:28:54 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-02-26 08:28:54 +0000
commit13e4356373ad6df0fe50c37c3c97d32c720a132b (patch)
treeeca68586c951850b81877ae5d62f7c2710776dc9 /security/acid
parent6378beedbe018b31969a9ea0c7f26c149fed5ed0 (diff)
downloadports-13e4356373ad6df0fe50c37c3c97d32c720a132b.tar.gz
ports-13e4356373ad6df0fe50c37c3c97d32c720a132b.zip
Make Apache2 + php happier, also resolve 'make deinstall' problem.
Notes
Notes: svn path=/head/; revision=76486
Diffstat (limited to 'security/acid')
-rw-r--r--security/acid/Makefile9
-rw-r--r--security/acid/pkg-plist2
2 files changed, 8 insertions, 3 deletions
diff --git a/security/acid/Makefile b/security/acid/Makefile
index 540b804e23a7..ca37c216a5d2 100644
--- a/security/acid/Makefile
+++ b/security/acid/Makefile
@@ -13,11 +13,16 @@ MASTER_SITES= http://www.andrew.cmu.edu/~rdanyliw/snort/
MAINTAINER= ports@FreeBSD.org
COMMENT= Analysis Console for Intrusion Databases (ACID) with Snort and MySQL
-RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 \
- ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql323-server \
+RUN_DEPENDS= ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql323-server \
${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \
${LOCALBASE}/www/data.default/php/adodb:${PORTSDIR}/databases/adodb
+.if defined(WITH_APACHE2)
+RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
+.else
+RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.endif
+
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
diff --git a/security/acid/pkg-plist b/security/acid/pkg-plist
index ec5003555777..5fae0cfe3bd8 100644
--- a/security/acid/pkg-plist
+++ b/security/acid/pkg-plist
@@ -10,7 +10,6 @@ www/acid/acid_app_faq.php
www/acid/acid_cache.inc
www/acid/acid_common.php
www/acid/acid_conf.php
-www/acid/acid_conf.php.orig
www/acid/acid_constants.inc
www/acid/acid_db.inc
www/acid/acid_db_common.php
@@ -56,3 +55,4 @@ www/acid/create_acid_tbls_mysql.sql
www/acid/create_acid_tbls_pgsql.sql
www/acid/create_acid_tbls_pgsql_extra.sql
www/acid/index.html
+@dirrm www/acid