freebsd-ports/security/acid/Makefile
Foxfair Hu dea7ae9957 Add acid to our ports tree. (not out, sorry)
This is acid v0.9.4, Analysis Console for Intrusion Databases (ACID) with
Snort and MySQL. Before someone complain about it, I need to say portlint
doesn't like this port so much. That's because the naming rule of
DISTFILES(from the author) has a bad style.

ACID needs snort 1.6.3(maybe higher) and php3/mysql, we are waitng for
upgrading the development version of snort to make this port happy.

Submitted by: Yen-Ming Chen <yenming.chen@foundstone.com>
2000-09-26 02:58:04 +00:00

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.4
CATEGORIES= security
MASTER_SITES= http://www.cert.org/kb/acid/
DISTFILES= acid.0.9.4.tar.gz
WRKSRC= ${WRKDIR}/${PORTNAME}
MAINTAINER= foxfair@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3 \
${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql322-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>