eb818ba0a8
AfterGlow is a collection of scripts which facilitate the process of generating event graphs and treemaps. AfterGlow 1.x is written in Perl and generates output that can be read by GraphViz or LGL. All the scripts and other files for afterglow are installed in ${DATADIR} WWW: http://sourceforge.net/projects/afterglow PR: ports/115186 Submitted by: Paul Schmehl <pauls@utdallas.edu>
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
# New ports collection makefile for: afterglow
|
|
# Date created: 1 Aug 2007
|
|
# Whom: pauls
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= afterglow
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= security graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= afterglow
|
|
|
|
MAINTAINER= pauls@utdallas.edu
|
|
COMMENT= A collection of graph-generating scripts
|
|
|
|
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
|
|
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
DB_SCRIPTS= attackchains.pl deltacalc2.pl deltacalc.pl iptolong.pl \
|
|
snortalert.pl snortdirection.pl snortservice.pl subquery.pl \
|
|
tcpdump2sql.pl
|
|
GRAPH_SCRIPTS= afterglow-lgl.pl afterglow-lgl2.pl afterglow-walrus.pl afterglow.pl
|
|
PARSERS= pf2csv.pl sendmail_parser.pl tcpdump2csv.pl
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
${MKDIR} ${DATADIR}/data
|
|
${MKDIR} ${DATADIR}/database
|
|
${MKDIR} ${DATADIR}/graph
|
|
${MKDIR} ${DATADIR}/parsers
|
|
(cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${DATADIR}/data "! -name generate.pl")
|
|
(cd ${WRKSRC}/src/perl/database/ && ${COPYTREE_SHARE} \* ${DATADIR}/database "! -name *\.pl")
|
|
(cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_SHARE} \* ${DATADIR}/graph "! -name *\.pl")
|
|
(cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_SHARE} \* ${DATADIR}/parsers "! -name *\.pl")
|
|
${INSTALL_SCRIPT} ${WRKSRC}/data/generate.pl ${DATADIR}/data/
|
|
.for f in ${DB_SCRIPTS}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/database/${f} ${DATADIR}/database/${f}
|
|
.endfor
|
|
.for f in ${GRAPH_SCRIPTS}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/graph/${f} ${DATADIR}/graph/${f}
|
|
.endfor
|
|
.for f in ${PARSERS}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/parsers/${f} ${DATADIR}/parsers/${f}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|