aboutsummaryrefslogtreecommitdiff
path: root/security/fwanalog
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2002-04-07 02:55:07 +0000
committerCy Schubert <cy@FreeBSD.org>2002-04-07 02:55:07 +0000
commit149ce449af9e763f39e8037d5442819635340d91 (patch)
tree09d7d24a7bab11da720dac15b8c95702bf4aa20c /security/fwanalog
parent3f0a665050ee886628c6c7ca507bb9b5a6d7159f (diff)
downloadports-149ce449af9e763f39e8037d5442819635340d91.tar.gz
ports-149ce449af9e763f39e8037d5442819635340d91.zip
Add fwanalog 0.5.1, a firewall log summarizer that uses Analog.
PR: 35758 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
Notes
Notes: svn path=/head/; revision=57400
Diffstat (limited to 'security/fwanalog')
-rw-r--r--security/fwanalog/Makefile50
-rw-r--r--security/fwanalog/distinfo1
-rw-r--r--security/fwanalog/pkg-comment1
-rw-r--r--security/fwanalog/pkg-descr8
-rw-r--r--security/fwanalog/pkg-plist10
5 files changed, 70 insertions, 0 deletions
diff --git a/security/fwanalog/Makefile b/security/fwanalog/Makefile
new file mode 100644
index 000000000000..882e13b4cb85
--- /dev/null
+++ b/security/fwanalog/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: fwanalog
+# Date created: 11 March 2002
+# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fwanalog
+PORTVERSION= 0.5.1
+CATEGORIES= security
+MASTER_SITES= http://tud.at/programm/fwanalog/
+
+MAINTAINER= fuyuki@mj.0038.net
+
+RUN_DEPENDS= analog:${PORTSDIR}/www/analog
+
+ETCDIR= ${PREFIX}/etc/${PORTNAME}
+PLIST_SUB+= ETCDIR=${ETCDIR}
+CONFFILES= fwanalog-dom.tab \
+ fwanalog.analog.conf \
+ fwanalog.analog.conf.local \
+ fwanalog.lng \
+ fwanalog.opts \
+ services.conf
+
+post-patch:
+ ${PERL} -pi -e "s,the script's directory.*$$,${ETCDIR},;" \
+ -e 's,cd .*$$,cd ${ETCDIR},; s,sh\$$/,\$$/.,' \
+ ${WRKSRC}/fwanalog.sh
+ ${PERL} -pi -e 's/"freebsd/"ipf/; s/"ipflog/"messages/' \
+ ${WRKSRC}/fwanalog.opts.freebsd
+
+do-build:
+ ${LN} ${WRKSRC}/fwanalog.opts.freebsd ${WRKSRC}/fwanalog.opts
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/fwanalog.sh ${PREFIX}/sbin/fwanalog
+ ${MKDIR} ${ETCDIR}
+.for i in ${CONFFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${ETCDIR}/${i}-dist
+ ${TEST} -f ${ETCDIR}/${i} || ${INSTALL_DATA} ${WRKSRC}/${i} ${ETCDIR}/${i}
+.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/fwanalog/distinfo b/security/fwanalog/distinfo
new file mode 100644
index 000000000000..4a861f4af66b
--- /dev/null
+++ b/security/fwanalog/distinfo
@@ -0,0 +1 @@
+MD5 (fwanalog-0.5.1.tar.gz) = fe655d7181ff608527e997e5aa3ee767
diff --git a/security/fwanalog/pkg-comment b/security/fwanalog/pkg-comment
new file mode 100644
index 000000000000..6c6a7ac1a4bd
--- /dev/null
+++ b/security/fwanalog/pkg-comment
@@ -0,0 +1 @@
+A firewall log summarizer that uses Analog
diff --git a/security/fwanalog/pkg-descr b/security/fwanalog/pkg-descr
new file mode 100644
index 000000000000..b83f66d90f7e
--- /dev/null
+++ b/security/fwanalog/pkg-descr
@@ -0,0 +1,8 @@
+fwanalog is a shell script that parses and summarizes firewall
+logfiles. It uses the excellent log analysis program Analog to create
+its reports.
+
+WWW: http://tud.at/programm/fwanalog/
+
+- Kimura Fuyuki
+fuyuki@mj.0038.net
diff --git a/security/fwanalog/pkg-plist b/security/fwanalog/pkg-plist
new file mode 100644
index 000000000000..8e95f1bbd1f8
--- /dev/null
+++ b/security/fwanalog/pkg-plist
@@ -0,0 +1,10 @@
+sbin/fwanalog
+etc/fwanalog/fwanalog-dom.tab-dist
+etc/fwanalog/fwanalog.analog.conf-dist
+etc/fwanalog/fwanalog.analog.conf.local-dist
+etc/fwanalog/fwanalog.lng-dist
+etc/fwanalog/fwanalog.opts-dist
+etc/fwanalog/services.conf-dist
+%%PORTDOCS%%share/doc/fwanalog/README
+%%PORTDOCS%%@dirrm share/doc/fwanalog
+@unexec echo If permanently deleting this package, %%ETCDIR%%/fwanalog must be removed manually