mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Add fwanalog 0.5.1, a firewall log summarizer that uses Analog.
PR: 35758 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
This commit is contained in:
parent
3f0a665050
commit
149ce449af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57400
@ -48,6 +48,7 @@
|
||||
SUBDIR += fressh
|
||||
SUBDIR += fsh
|
||||
SUBDIR += fuzz
|
||||
SUBDIR += fwanalog
|
||||
SUBDIR += fwbuilder
|
||||
SUBDIR += fwlogwatch
|
||||
SUBDIR += fwtk
|
||||
|
50
security/fwanalog/Makefile
Normal file
50
security/fwanalog/Makefile
Normal file
@ -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>
|
1
security/fwanalog/distinfo
Normal file
1
security/fwanalog/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (fwanalog-0.5.1.tar.gz) = fe655d7181ff608527e997e5aa3ee767
|
1
security/fwanalog/pkg-comment
Normal file
1
security/fwanalog/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A firewall log summarizer that uses Analog
|
8
security/fwanalog/pkg-descr
Normal file
8
security/fwanalog/pkg-descr
Normal file
@ -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
|
10
security/fwanalog/pkg-plist
Normal file
10
security/fwanalog/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user