diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-20 07:02:41 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-20 07:02:41 +0000 |
commit | dd56201cc7d7c85a447afb17d6cfdf8d07cc7671 (patch) | |
tree | 1cea039e30c7e357ff9ede159408d4f860e6a66e /security | |
parent | ef28dd30a227257ff3973bee2b2b00c81af5fcb6 (diff) | |
download | ports-dd56201cc7d7c85a447afb17d6cfdf8d07cc7671.tar.gz ports-dd56201cc7d7c85a447afb17d6cfdf8d07cc7671.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-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 |
8 files changed, 110 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 52db28a25219..a498d8f697d7 100644 --- a/security/Makefile +++ b/security/Makefile @@ -46,6 +46,7 @@ SUBDIR += fressh SUBDIR += fuzz SUBDIR += fwbuilder + SUBDIR += fwlogwatch SUBDIR += fwtk SUBDIR += gag SUBDIR += geheimnis diff --git a/security/fwlogwatch/Makefile b/security/fwlogwatch/Makefile new file mode 100644 index 000000000000..7dd470c1d989 --- /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 000000000000..1ed4173a0dc8 --- /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 000000000000..2084ca5fa28b --- /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 000000000000..3301a63601fe --- /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 000000000000..c21dd7451471 --- /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 000000000000..20e117b5d3c5 --- /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 000000000000..8ecee0c1dd8b --- /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 |