ports/66833: [PATCH] security/fwlogwatch: update to 1.0
Toni Viemero
toni.viemero at iki.fi
Tue May 18 23:12:46 UTC 2004
>Number: 66833
>Category: ports
>Synopsis: [PATCH] security/fwlogwatch: update to 1.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue May 18 15:20:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Toni Viemero
>Release: FreeBSD 4.10-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD perplex.selfdestruct.net 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #0: Tue May 18 11:06:16 EEST 2004
>Description:
- Update to 1.0
Port maintainer (jim at corebsd.or.id) is cc'd.
>How-To-Repeat:
>Fix:
--- fwlogwatch-1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/Makefile /home/toni/ports/fwlogwatch/Makefile
--- /usr/ports/security/fwlogwatch/Makefile Wed Feb 4 06:36:23 2004
+++ /home/toni/ports/fwlogwatch/Makefile Tue May 18 21:43:56 2004
@@ -7,15 +7,13 @@
#
PORTNAME= fwlogwatch
-PORTVERSION= 0.9.3
-PORTREVISION= 2
+PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= http://www.kybs.de/boris/sw/
MAINTAINER= jim at corebsd.or.id
COMMENT= A packet filter and firewall log analyzer
-USE_BZIP2= yes
USE_GETTEXT= yes
USE_REINPLACE= yes
MAKE_ENV= MKDIR="${MKDIR}"
diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/distinfo /home/toni/ports/fwlogwatch/distinfo
--- /usr/ports/security/fwlogwatch/distinfo Wed Mar 31 06:10:59 2004
+++ /home/toni/ports/fwlogwatch/distinfo Tue May 18 21:40:58 2004
@@ -1,2 +1,2 @@
-MD5 (fwlogwatch-0.9.3.tar.bz2) = c7aa8286f38cf16b5ebba58df083bffc
-SIZE (fwlogwatch-0.9.3.tar.bz2) = 79650
+MD5 (fwlogwatch-1.0.tar.gz) = 7fff74be5a5c6277b771f6d963e3ac7e
+SIZE (fwlogwatch-1.0.tar.gz) = 105304
diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/files/patch-Makefile /home/toni/ports/fwlogwatch/files/patch-Makefile
--- /usr/ports/security/fwlogwatch/files/patch-Makefile Fri May 2 07:21:39 2003
+++ /home/toni/ports/fwlogwatch/files/patch-Makefile Tue May 18 21:47:05 2004
@@ -1,6 +1,7 @@
---- Makefile.orig Thu Oct 3 23:07:30 2002
-+++ Makefile Mon Mar 31 10:37:53 2003
-@@ -2,9 +2,9 @@
+--- Makefile.orig Sun Apr 4 17:42:16 2004
++++ Makefile Tue May 18 21:46:48 2004
+@@ -2,10 +2,10 @@
+ # $Id: Makefile,v 1.73 2004/04/04 14:42:16 bw Exp $
# Linux
-CC = gcc
@@ -14,7 +15,7 @@
# Solaris
#LIBS = -lnsl -lsocket -lcrypt -lz
-@@ -22,9 +22,12 @@
+@@ -23,9 +23,12 @@
#LIBS = -L/usr/local/lib -lz -lintl
# FreeBSD
@@ -30,7 +31,7 @@
# 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
-@@ -37,12 +40,12 @@
+@@ -38,12 +41,12 @@
LFLAGS = -B #-f #-p -p -d
INSTALL = install
@@ -47,9 +48,9 @@
+CONF_DIR = ${INSTALL_DIR}/etc
+LOCALE_DIR = ${INSTALL_DIR}
- OBJS = cisco_ios.o cisco_pix.o compare.o ipchains.o ipfilter.o lancom.o \
- main.o modes.o net.o netfilter.o netscreen.o output.o parser.o \
-@@ -82,18 +85,23 @@
+ OBJS = cisco_ios.o cisco_pix.o compare.o ipchains.o ipfilter.o ipfw.o \
+ lancom.o main.o modes.o net.o netfilter.o netscreen.o output.o \
+@@ -85,19 +88,25 @@
$(INSTALL_PROGRAM) fwlogwatch $(INSTALL_DIR)/sbin/fwlogwatch
$(INSTALL_SCRIPT) contrib/fwlw_notify $(INSTALL_DIR)/sbin/fwlw_notify
$(INSTALL_SCRIPT) contrib/fwlw_respond $(INSTALL_DIR)/sbin/fwlw_respond
@@ -65,11 +66,13 @@
+ cd po; $(MAKE)
+ ${MKDIR} $(LOCALE_DIR)/share/locale/de/LC_MESSAGES
$(INSTALL_DATA) po/de.mo $(LOCALE_DIR)/share/locale/de/LC_MESSAGES/fwlogwatch.mo
++ ${MKDIR} $(LOCALE_DIR)/share/locale/ja/LC_MESSAGES
+ $(INSTALL_DATA) po/ja.mo $(LOCALE_DIR)/share/locale/ja/LC_MESSAGES/fwlogwatch.mo
+ ${MKDIR} $(LOCALE_DIR)/share/locale/pt_BR/LC_MESSAGES
$(INSTALL_DATA) po/pt_BR.mo $(LOCALE_DIR)/share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo
+ ${MKDIR} $(LOCALE_DIR)/share/locale/sv/LC_MESSAGES
$(INSTALL_DATA) po/sv.mo $(LOCALE_DIR)/share/locale/sv/LC_MESSAGES/fwlogwatch.mo
-+ ${MKDIR} $(LOCALE_DIR)/share/locale/zh_CN/LC_MESSAGES
++ ${MKDIR} $(LOCALE_DIR)/share/locale/zh_CH/LC_MESSAGES
$(INSTALL_DATA) po/zh_CN.mo $(LOCALE_DIR)/share/locale/zh_CN/LC_MESSAGES/fwlogwatch.mo
+ ${MKDIR} $(LOCALE_DIR)/share/locale/zh_TW/LC_MESSAGES
$(INSTALL_DATA) po/zh_TW.mo $(LOCALE_DIR)/share/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo
diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/files/patch-net.c /home/toni/ports/fwlogwatch/files/patch-net.c
--- /usr/ports/security/fwlogwatch/files/patch-net.c Thu Jan 1 02:00:00 1970
+++ /home/toni/ports/fwlogwatch/files/patch-net.c Tue May 18 21:51:17 2004
@@ -0,0 +1,10 @@
+--- net.c.orig Wed Mar 31 22:16:29 2004
++++ net.c Tue May 18 21:51:03 2004
+@@ -15,6 +15,7 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <signal.h>
++#include <limits.h>
+
+ #ifndef __OpenBSD__
+ #ifndef __FreeBSD__
diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/pkg-descr /home/toni/ports/fwlogwatch/pkg-descr
--- /usr/ports/security/fwlogwatch/pkg-descr Tue Nov 20 09:02:41 2001
+++ /home/toni/ports/fwlogwatch/pkg-descr Tue May 18 21:43:50 2004
@@ -3,17 +3,19 @@
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.
+ ipfilter, BSD ipfw, Cisco IOS, Cisco PIX / FWSM, NetScreen,
+ Windows XP firewall, Elsa Lancom router, Snort IDS
+ - Entries can be parsed from single, multiple and combined log files,
+ the parsers to be used can be selected.
+ - Gzip-compressed logs are supported transparently.
- 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.
+ - Hosts, networks, ports, chains and branches (targets) can be selected or
+ excluded as needed.
- Support for internationalization (available in english, german,
- portuguese and chinese).
+ portuguese, simplified and traditional chinese, swedish and japanese).
-WWW: http://cert.uni-stuttgart.de/projects/fwlogwatch/
+WWW: http://fwlogwatch.inside-security.de/
diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/pkg-plist /home/toni/ports/fwlogwatch/pkg-plist
--- /usr/ports/security/fwlogwatch/pkg-plist Sat Mar 9 19:57:56 2002
+++ /home/toni/ports/fwlogwatch/pkg-plist Tue May 18 21:41:40 2004
@@ -5,6 +5,7 @@
sbin/fwlw_notify
sbin/fwlw_respond
share/locale/de/LC_MESSAGES/fwlogwatch.mo
+share/locale/ja/LC_MESSAGES/fwlogwatch.mo
share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo
share/locale/sv/LC_MESSAGES/fwlogwatch.mo
share/locale/zh_CN/LC_MESSAGES/fwlogwatch.mo
--- fwlogwatch-1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list