diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-11-20 15:02:41 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-11-20 15:02:41 +0800 |
commit | ce5d234ebc61a4b1e5ab8a841d3a2b03ef7140f4 (patch) | |
tree | ff5b42c148d87086c88f5f7f226ff79c29b11e55 /security/fwlogwatch | |
parent | 30acbb4728d16fdc3d596f5d6807ce16bffe61e1 (diff) | |
download | freebsd-ports-graphics-ce5d234ebc61a4b1e5ab8a841d3a2b03ef7140f4.tar.gz freebsd-ports-graphics-ce5d234ebc61a4b1e5ab8a841d3a2b03ef7140f4.tar.zst freebsd-ports-graphics-ce5d234ebc61a4b1e5ab8a841d3a2b03ef7140f4.zip |
add fwlogwatch
A packet filter and firewall log analyzer
Diffstat (limited to 'security/fwlogwatch')
-rw-r--r-- | security/fwlogwatch/Makefile | 33 | ||||
-rw-r--r-- | security/fwlogwatch/distinfo | 1 | ||||
-rw-r--r-- | security/fwlogwatch/files/patch-Makefile | 39 | ||||
-rw-r--r-- | security/fwlogwatch/files/patch-po::Makefile | 10 | ||||
-rw-r--r-- | security/fwlogwatch/pkg-comment | 1 | ||||
-rw-r--r-- | security/fwlogwatch/pkg-descr | 19 | ||||
-rw-r--r-- | security/fwlogwatch/pkg-plist | 6 |
7 files changed, 109 insertions, 0 deletions
diff --git a/security/fwlogwatch/Makefile b/security/fwlogwatch/Makefile new file mode 100644 index 00000000000..7dd470c1d98 --- /dev/null +++ b/security/fwlogwatch/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# New ports collection makefile for: fwlogwatch +# Date created: Nov 20, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= fwlogwatch +PORTVERSION= 0.5.1 +CATEGORIES= security +MASTER_SITES= http://www.kyb.uni-stuttgart.de/boris/sw/ + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= autob5:${PORTSDIR}/chinese/autoconvert +LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext + +INSTALL_TARGET= install install-i18n +MANCOMPRESSES= no +MAN8= fwlogwatch.8 + +post-patch: + @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \ + s,/etc,${PREFIX}/etc,g ; \ + s,/usr/local,${PREFIX},g ; \ + s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/Makefile + @${PERL} -pi -e "s,/etc,${PREFIX}/etc,g ; \ + s,/usr/share,${PREFIX}/share,g ; \ + s,/usr/local,${PREFIX},g" ${WRKSRC}/main.h + @${PERL} -pi -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/${MAN8} + +.include <bsd.port.mk> diff --git a/security/fwlogwatch/distinfo b/security/fwlogwatch/distinfo new file mode 100644 index 00000000000..1ed4173a0dc --- /dev/null +++ b/security/fwlogwatch/distinfo @@ -0,0 +1 @@ +MD5 (fwlogwatch-0.5.1.tar.gz) = e718416ccd80bb1a2f472601d38b636f diff --git a/security/fwlogwatch/files/patch-Makefile b/security/fwlogwatch/files/patch-Makefile new file mode 100644 index 00000000000..2084ca5fa28 --- /dev/null +++ b/security/fwlogwatch/files/patch-Makefile @@ -0,0 +1,39 @@ +--- Makefile.orig Mon Nov 19 01:12:29 2001 ++++ Makefile Tue Nov 20 15:00:49 2001 +@@ -1,10 +1,10 @@ + # $Id: Makefile,v 1.51 2001/11/18 17:12:29 bw Exp $ + + # Linux +-CC = gcc +-CFLAGS = -pipe -O2 -Wall #-pedantic #-g #-p +-LDFLAGS = #-g #-static -p +-LIBS = -lcrypt -lz #-lc_p ++#CC = gcc ++#CFLAGS = -pipe -O2 -Wall #-pedantic #-g #-p ++#LDFLAGS = #-g #-static -p ++#LIBS = -lcrypt -lz #-lc_p + + # Solaris + #LIBS = -lnsl -lsocket -lz -lcrypt +@@ -23,8 +23,8 @@ + + # FreeBSD + #CC = gcc +-#CFLAGS = -pipe -O2 -Wall -I/usr/local/include +-#LIBS = -L/usr/local/lib -lintl -lcrypt -lz ++CFLAGS += -I%%LOCALBASE%%/include ++LIBS = -L%%LOCALBASE%%/lib -lintl -lcrypt -lz + + # You might want to add -DSHORT_NAMES to CFLAGS if you only intend to + # analyze log formats with short list/chain/branch/interface names like +@@ -82,8 +82,8 @@ + install-i18n: + cd po; make + $(INSTALL_DATA) po/de.mo /usr/share/locale/de/LC_MESSAGES/fwlogwatch.mo +- $(INSTALL_DATA) po/pt_BR.mo /usr/share/locale/pt/LC_MESSAGES/fwlogwatch.mo +- $(INSTALL_DATA) po/zh.mo /usr/share/locale/zh/LC_MESSAGES/fwlogwatch.mo ++ $(INSTALL_DATA) po/pt_BR.mo /usr/share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo ++ $(INSTALL_DATA) po/zh.mo /usr/share/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo + + uninstall: + @rm -f /usr/local/sbin/fwlogwatch \ diff --git a/security/fwlogwatch/files/patch-po::Makefile b/security/fwlogwatch/files/patch-po::Makefile new file mode 100644 index 00000000000..3301a63601f --- /dev/null +++ b/security/fwlogwatch/files/patch-po::Makefile @@ -0,0 +1,10 @@ +--- po/Makefile.orig Tue Nov 20 14:51:50 2001 ++++ po/Makefile Tue Nov 20 14:53:23 2001 +@@ -3,6 +3,7 @@ + all: + msgfmt -v -o de.mo de.po + msgfmt -v -o pt_BR.mo pt_BR.po ++ mv zh.po tmp ; cat tmp | autob5 > zh.po + msgfmt -v -o zh.mo zh.po + + strings: diff --git a/security/fwlogwatch/pkg-comment b/security/fwlogwatch/pkg-comment new file mode 100644 index 00000000000..c21dd745147 --- /dev/null +++ b/security/fwlogwatch/pkg-comment @@ -0,0 +1 @@ +A packet filter and firewall log analyzer diff --git a/security/fwlogwatch/pkg-descr b/security/fwlogwatch/pkg-descr new file mode 100644 index 00000000000..20e117b5d3c --- /dev/null +++ b/security/fwlogwatch/pkg-descr @@ -0,0 +1,19 @@ +fwlogwatch is a packet filter and firewall log analyzer + +General features: + - Can detect and process log entries in the following formats: + - Linux ipchains, Linux netfilter/iptables, Solaris/BSD/Irix/HP-UX + ipfilter, Cisco IOS and Cisco PIX. + - Entries can be parsed in combined log files, the parsers to be used + can be selected. + - Gzip-compressed logs are supported. + - Can separate recent from old entries and detects timewarps in log files. + - Can recognize 'last message repeated' entries concerning the firewall. + - Integrated resolver for protocols, services and host names. + - Can do lookups in the whois database. + - Own DNS and whois information cache for faster lookups. + - Ports and hosts can be selected or excluded as needed. + - Support for internationalization (available in english, german, + portuguese and chinese). + +WWW: http://cert.uni-stuttgart.de/projects/fwlogwatch/ diff --git a/security/fwlogwatch/pkg-plist b/security/fwlogwatch/pkg-plist new file mode 100644 index 00000000000..8ecee0c1dd8 --- /dev/null +++ b/security/fwlogwatch/pkg-plist @@ -0,0 +1,6 @@ +sbin/fwlogwatch +sbin/fwlw_notify +sbin/fwlw_respond +share/locale/de/LC_MESSAGES/fwlogwatch.mo +share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo +share/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo |