98f3f5595f
Fix dependency PR: 26336 Approved by: will No Response: maintainer
39 lines
1.5 KiB
Makefile
39 lines
1.5 KiB
Makefile
# New ports collection makefile for: acid
|
|
# Date created: Mon Sep 25 16:05:01 CST 2000
|
|
# Whom: Foxfair Hu <foxfair@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= acid
|
|
PORTVERSION= 0.9.6b1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.andrew.cmu.edu/~rdanyliw/snort/
|
|
DISTFILES= acid-0.9.6b1.tar.gz
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MAINTAINER= foxfair@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
|
|
${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 \
|
|
${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql323-server \
|
|
${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort
|
|
|
|
post-configure:
|
|
${MKDIR} ${LOCALBASE}/share/doc/apache/acid
|
|
${CP} ${FILESDIR}/Makefile.acid ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
@${ECHO} "*****************************************************************************"
|
|
@${ECHO} "Please modify the file '${LOCALBASE}/share/doc/apache/acid/acid_conf.php', "
|
|
@${ECHO} "and customize the following variables to fit your system: "
|
|
@${ECHO} " "
|
|
@${ECHO} "'alert_dbname' : MySQL database name where the alerts are stored "
|
|
@${ECHO} "'alert_host' : host where the database is stored "
|
|
@${ECHO} "'alert_port' : port where the database is stored "
|
|
@${ECHO} "'alert_user' : username into the database "
|
|
@${ECHO} "'alert_password' : password for the username "
|
|
@${ECHO} "*****************************************************************************"
|
|
|
|
.include <bsd.port.mk>
|