aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/afterglow/Makefile50
-rw-r--r--security/afterglow/distinfo3
-rw-r--r--security/afterglow/pkg-descr7
-rw-r--r--security/afterglow/pkg-plist39
5 files changed, 100 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 11b11cf6eec7..39c9daa6ab7a 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -10,6 +10,7 @@
SUBDIR += acid
SUBDIR += aescrypt
SUBDIR += aespipe
+ SUBDIR += afterglow
SUBDIR += aide
SUBDIR += aimsniff
SUBDIR += altivore
diff --git a/security/afterglow/Makefile b/security/afterglow/Makefile
new file mode 100644
index 000000000000..a3a15c8f6c3f
--- /dev/null
+++ b/security/afterglow/Makefile
@@ -0,0 +1,50 @@
+# 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>
diff --git a/security/afterglow/distinfo b/security/afterglow/distinfo
new file mode 100644
index 000000000000..d7743fccc610
--- /dev/null
+++ b/security/afterglow/distinfo
@@ -0,0 +1,3 @@
+MD5 (afterglow-1.5.tar.gz) = 9482ea9dcf0e1dad984084cadf97b653
+SHA256 (afterglow-1.5.tar.gz) = cba1ad5a9529d8cf54d0c1fbeb672051ac3e8e87567e05887d722959a6c1f618
+SIZE (afterglow-1.5.tar.gz) = 35619
diff --git a/security/afterglow/pkg-descr b/security/afterglow/pkg-descr
new file mode 100644
index 000000000000..f519d0c65891
--- /dev/null
+++ b/security/afterglow/pkg-descr
@@ -0,0 +1,7 @@
+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
diff --git a/security/afterglow/pkg-plist b/security/afterglow/pkg-plist
new file mode 100644
index 000000000000..7c974ee81698
--- /dev/null
+++ b/security/afterglow/pkg-plist
@@ -0,0 +1,39 @@
+%%DATADIR%%/data/example.dot
+%%DATADIR%%/data/firewall.count.csv
+%%DATADIR%%/data/firewall.count.tm3
+%%DATADIR%%/data/firewall.csv
+%%DATADIR%%/data/firewall.tm3
+%%DATADIR%%/data/generate.pl
+%%DATADIR%%/data/userLogin.csv
+%%DATADIR%%/data/userLogin.csv2
+%%DATADIR%%/data/vulnerabilities.2.csv
+%%DATADIR%%/data/vulnerabilities.csv
+%%DATADIR%%/data/vulnerabilities.list
+%%DATADIR%%/database/README
+%%DATADIR%%/database/attackchains.pl
+%%DATADIR%%/database/createDB.sql
+%%DATADIR%%/database/deltacalc.pl
+%%DATADIR%%/database/deltacalc2.pl
+%%DATADIR%%/database/iptolong.pl
+%%DATADIR%%/database/snortalert.pl
+%%DATADIR%%/database/snortdirection.pl
+%%DATADIR%%/database/snortservice.pl
+%%DATADIR%%/database/subquery.pl
+%%DATADIR%%/database/tcpdump2sql.pl
+%%DATADIR%%/graph/README
+%%DATADIR%%/graph/afterglow-lgl.pl
+%%DATADIR%%/graph/afterglow-lgl2.pl
+%%DATADIR%%/graph/afterglow-walrus.pl
+%%DATADIR%%/graph/afterglow.pl
+%%DATADIR%%/graph/color.properties
+%%DATADIR%%/parsers/README
+%%DATADIR%%/parsers/color.properties
+%%DATADIR%%/parsers/color.sendmail.properties
+%%DATADIR%%/parsers/pf2csv.pl
+%%DATADIR%%/parsers/sendmail_parser.pl
+%%DATADIR%%/parsers/tcpdump2csv.pl
+@dirrm %%DATADIR%%/parsers
+@dirrm %%DATADIR%%/graph
+@dirrm %%DATADIR%%/database
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%