aboutsummaryrefslogtreecommitdiffstats
path: root/security/fwanalog
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2002-04-07 10:55:07 +0800
committercy <cy@FreeBSD.org>2002-04-07 10:55:07 +0800
commit8c706c157395fb7c7bd7f280a888cd894d5631d5 (patch)
treef7154c0304f7623723a76d1d9d529e85ade3b2ba /security/fwanalog
parent77f08a488fe28101912ed455e935bfa07a602855 (diff)
downloadfreebsd-ports-gnome-8c706c157395fb7c7bd7f280a888cd894d5631d5.tar.gz
freebsd-ports-gnome-8c706c157395fb7c7bd7f280a888cd894d5631d5.tar.zst
freebsd-ports-gnome-8c706c157395fb7c7bd7f280a888cd894d5631d5.zip
Add fwanalog 0.5.1, a firewall log summarizer that uses Analog.
PR: 35758 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
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