Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 13:35:22 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@mj.0038.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35758: New port: security/fwanalog - a firewall log summarizer
Message-ID:  <200203110435.g2B4ZMf06173@ns.test>

next in thread | raw e-mail | index | archive | help

>Number:         35758
>Category:       ports
>Synopsis:       New port: security/fwanalog - a firewall log summarizer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 10 20:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.5-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD ns.test 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #7: Fri Mar 8 10:57:51 JST 2002 root@ns.test:/sack/obj/usr/src/sys/NS i386



>Description:
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/

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fwanalog
#	fwanalog/Makefile
#	fwanalog/distinfo
#	fwanalog/pkg-comment
#	fwanalog/pkg-descr
#	fwanalog/pkg-plist
#
echo c - fwanalog
mkdir -p fwanalog > /dev/null 2>&1
echo x - fwanalog/Makefile
sed 's/^X//' >fwanalog/Makefile << 'END-of-fwanalog/Makefile'
X# New ports collection makefile for:   fwanalog
X# Date created:                11 March 2002
X# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fwanalog
XPORTVERSION=	0.5.1
XCATEGORIES=	security
XMASTER_SITES=	http://tud.at/programm/fwanalog/
X
XMAINTAINER=	fuyuki@mj.0038.net
X
XRUN_DEPENDS=	analog:${PORTSDIR}/www/analog
X
XETCDIR=		${PREFIX}/etc/${PORTNAME}
XCONFFILES=	fwanalog-dom.tab \
X		fwanalog.analog.conf \
X		fwanalog.analog.conf.local \
X		fwanalog.lng \
X		fwanalog.opts \
X		services.conf
X
Xpost-patch:
X	${PERL} -pi -e "s,the script's directory.*$$,${ETCDIR},;" \
X		-e 's,cd .*$$,cd ${ETCDIR},; s,sh\$$/,\$$/.,' \
X		${WRKSRC}/fwanalog.sh
X	${PERL} -pi -e 's/"freebsd/"ipf/; s/"ipflog/"messages/' \
X		${WRKSRC}/fwanalog.opts.freebsd
X
Xdo-build:
X	${LN} ${WRKSRC}/fwanalog.opts.freebsd ${WRKSRC}/fwanalog.opts
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/fwanalog.sh ${PREFIX}/sbin/fwanalog
X	${MKDIR} ${ETCDIR}
X.for i in ${CONFFILES}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${ETCDIR}/${i}-dist
X.endfor
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-fwanalog/Makefile
echo x - fwanalog/distinfo
sed 's/^X//' >fwanalog/distinfo << 'END-of-fwanalog/distinfo'
XMD5 (fwanalog-0.5.1.tar.gz) = fe655d7181ff608527e997e5aa3ee767
END-of-fwanalog/distinfo
echo x - fwanalog/pkg-comment
sed 's/^X//' >fwanalog/pkg-comment << 'END-of-fwanalog/pkg-comment'
XA firewall log summarizer that uses Analog
END-of-fwanalog/pkg-comment
echo x - fwanalog/pkg-descr
sed 's/^X//' >fwanalog/pkg-descr << 'END-of-fwanalog/pkg-descr'
Xfwanalog is a shell script that parses and summarizes firewall
Xlogfiles. It uses the excellent log analysis program Analog to create
Xits reports.
X
XWWW: http://tud.at/programm/fwanalog/
X
X- Kimura Fuyuki
Xfuyuki@mj.0038.net
END-of-fwanalog/pkg-descr
echo x - fwanalog/pkg-plist
sed 's/^X//' >fwanalog/pkg-plist << 'END-of-fwanalog/pkg-plist'
Xsbin/fwanalog
Xetc/fwanalog/fwanalog-dom.tab-dist
Xetc/fwanalog/fwanalog.analog.conf-dist
Xetc/fwanalog/fwanalog.analog.conf.local-dist
Xetc/fwanalog/fwanalog.lng-dist
Xetc/fwanalog/fwanalog.opts-dist
Xetc/fwanalog/services.conf-dist
X@dirrm etc/fwanalog
X%%PORTDOCS%%share/doc/fwanalog/README
X%%PORTDOCS%%@dirrm share/doc/fwanalog
END-of-fwanalog/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203110435.g2B4ZMf06173>